Cisco Cisco Nexus 5010 Switch Guida Alla Progettazione

Pagina di 119
 
 
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 95 of 119 
vPC Peer Keepalive or Fault-Tolerant Link 
A dual-active-detection configuration needs to be in place to prevent flooding in case the peer link is lost. You can 
accomplish this by configuring the peer keepalive. The peer keepalive that is used to resolve dual-active scenarios 
can be carried over a routed infrastructure; it does not need to be a direct point-to-point link. 
The following configuration illustrates the use of the mgmt0 interface: 
vpc domain 2 
  peer-keepalive destination <ip address of mgmt0 or SVI on Nexus 5000 peer> 
For faster recovery after loss of the peer link, you may want to tune the peer keepalive timer (the default is a 1-
second hello and a 5-second hold time): 
nexus5500-1(config-vpc-domain)# peer-keepalive destination <destination IP> 
source <source IP> interval <ms> timeout <seconds, minimum is 3s> 
The following sample configuration reduces the amount of traffic dropped for peer link failures to less than 3 
seconds: 
peer-keepalive destination 10.51.35.17 source 10.51.35.18 interval 500 timeout 3 
Repeat all the configurations in this section on both vPC peers. 
Autorecovery Reload Delay and Delay Restore 
The vPC configuration is completed by adding the autorecovery configuration. The default delay is 4 minutes, 
which is also the minimum value, and normally there is no need or reason to increase it. 
Delay restore is set by default with a value of 30 seconds, but you may want to increase the value based on your 
specific configuration and environment to a higher value of a couple minutes: for instance, 180 seconds. 
You also may want to reduce the SVI delay-restore value to 1 second. 
vpc domain 2 
  delay restore 180 
  auto-recovery reload-delay 240 
  delay restore interface-vlan 1 
Repeat the preceding configuration on both vPC peers. 
vPC Configuration Verification 
Before proceeding with the vPC port configuration, you may want to verify the peer link and keepalive status and 
make sure that all VLANs are trunked over the peer link: 
nexus5500-1# show vpc br 
Legend: 
                (*) - local vPC is down, forwarding via vPC peer-link 
vPC domain id                   : 2    
Peer status                     : peer adjacency formed ok       
vPC keep-alive status           : peer is alive                  
Configuration consistency status: success  
Per-vlan consistency status     : success                        
Type-2 consistency status       : success  
vPC role                        : primary                        
Number of vPCs configured       : 2