Cisco Systems N5KC5596TFA management vpc-keepalive, peer-keepalive destination ipaddress source

Models: N5KC5596TFA

1 122
Download 122 pages 34.07 Kb
Page 95
Image 95
management vpc-keepalive}]

Configuring Virtual Port Channels

Configuring a vPC Keepalive Link and Messages

Procedure

 

Command or Action

Purpose

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# vpc domain domain-id

Creates a vPC domain on the switch if it does

 

 

not already exist, and enters the vpc-domain

 

 

configuration mode.

Step 3 switch(config-vpc-domain)# peer-keepalive destination ipaddress [hold-timeoutsecs interval msecs {timeout secs} precedence {prec-value network internet critical flash-override flash immediate priority routine} tos {tos-value max-reliability max-throughput min-delay min-monetary-cost normal} tos-byte

tos-byte-value} source ipaddress vrf {name

management vpc-keepalive}]

Step 4 switch(config-vpc-domain)# vpc

peer-keepalive destination ipaddress source

ipaddress

Configures the IPv4 address for the remote end of the vPC peer-keepalive link.

Note The system does not form the vPC peer

link until you configure a vPC peer-keepalive link.

The management ports and VRF are the defaults

(Optional)

Configures a separate VRF instance and puts a Layer 3 port from each vPC peer device into that VRF for the vPC peer-keepalive link.

Step 5

switch# show vpc peer-keepalive

(Optional)

 

 

Displays information about the configuration for

 

 

the keepalive messages.

Step 6

switch# copy running-config startup-config

(Optional)

 

 

Copies the running configuration to the startup

 

 

configuration.

This example shows how to configure the destination IP address for the vPC-peer-keepalive link:

switch# configure terminal switch(config)# vpc domain 5

switch(config-vpc-domain)#peer-keepalive destination 10.10.10.42

This example shows how to set up the peer keepalive link connection between the primary and secondary vPC device:

switch(config)# vpc domain

100

switch(config-vpc-domain)#

peer-keepalive destination 192.168.2.2 source 192.168.2.1

Note:--------

:: Management

VRF will be used as the default VRF ::--------

switch(config-vpc-domain)#

 

This example shows how to create a separate VRF named vpc_keepalive for the vPC keepalive link and how to verify the new VRF:

This example shows how to create a separate VRF named vpc_keepalive for the vPC keepalive link and how to verify the new VRF:

vrf context vpc_keepalive

Cisco Nexus 5000 Series NX-OS Interfaces Configuration Guide, Release 5.2(1)N1(1)

78-26881-OL

83

Page 95
Image 95
Cisco Systems N5KC5596TFA manual management vpc-keepalive, peer-keepalive destination ipaddress source, Procedure