| Cisco VSS Dual-Active Detection |
|
Cisco VSS Dual-Active Detection - In my last blog, I explained how to configure VSS. In this article I’ll explain how to configure Dual-Active Detection. This is an important function of VSS because it prevents both supervisors from becoming active in event of a VSL link failure. Dual-Active Detection can be configured to prevent this from happening. (Highly recommended.) To accomplish this, a means of communication between both VSS chassis outside the VSL link is established. If the standby switch were to go active (typically by loss of the VSL), the active switch will be informed and will go into recovery mode. In this mode, all ports except the VSL ports are shut down. Upon seeing the VSL ports come active again, the switch will reload and come back as the standby chassis with all its ports up. (Note: while in recovery mode it is possible to have some ports excluded from being shut down. However, we won’t be covering that feature.) In release 12.2(33)SXI there are 3 different forms of Dual-Active Detection.
I will be covering Enhanced PAgP and Fast Hello. Having only worked with releases that support Fast Hello, I’ve never had a need to configure IP BFD.
Enhanced PAgP Take a look at the following diagram. The VSS pair would be a Data Center pair to which servers are dual connected (not shown). The top switches are a distribution pair which is not running VSS. Each distribution switch is connected to both VSS chassis using an etherchannel. From the perspective of the distribution switch, it is a standard etherchannel. However, on the VSS pair it is a MEC (Multichassis Etherchannel) since it spans both chassis. As mentioned earlier, Dual-Active Detection needs to speak with both chassis “outside” the VSL. A MEC connected to an upstream switch can provide that connectivity.
An enhanced version of PAgP is used on the etherchannel and provides the Dual-Active Detection. Note: the IOS on the upstream switch must support enhanced PAgP such as the 6500 12.2(33)SHX or SHI for this to work. A Cisco doc referred me to Release Notes for Cisco IOS Release 12.2(33)SXH and Later Releases:
Enhanced PAgP Dual-Active Configuration ! Note: The port channel must be shutdown first before it can be trusted or an error occurs. interface port channel 10 switch virtual domain 9 interface port channel 10 That’s it! You’ve got PAgP Dual-Active Detection Configured. FYI - In the example above, you’d want to configure it on both etherchannels for redundancy. To display the PAgP status and Dual-Active state, issue either of the follow commands. Both give the same output. show switch virtual dual-active pagp Here is an example/excerpt from show switch virtual dual-active pagp
Take note in this example, Channelgroup 11 is not trusted and would not be providing Dual-Active Detection.
Fast Hello Dual-Active Detection When a PAgP etherchannel is not available or for Dual-Active Detection redundancy, Fast Hello Dual-Active Detection can be configured on any pair of ports connected to each of the 2 VSS chassis. For the purpose of my example, I show an RJ45 connection between (2) Gig ports at G1/9/48 and G2/9/48.
Fast Hello Dual-Active Detection Configuration ! With the Fast hello configuration, we start by telling the switch virtual domain dual-active detection is fast-hello. switch virtual domain 9 interface GigabitEthernet1/9/48 interface GigabitEthernet2/9/48
And that’s it. Fast Hello Dual-Active Detection is configured. Something worth mentioning. Any pair of ports can be used, up to 4 on each chassis, including fiber. Although I’m not sure it would be practical to waste 10G X2 ports on dual-active detection but I suppose there might be a reason to use 1G fiber. If fiber is used, UDLD is disabled. When a port is configured as a fast hello port, it cannot be used for anything else. In fact, no other commands are available per the docs, although I didn’t personally confirm it. To display the Fast Hello Dual-Active state, issue the follow command show switch virtual dual fast-hello Fast-hello dual-active detection enabled: Yes
Fast-hello dual-active interfaces: Port Local State Peer Port Remote State --------------------------------------------------- Gi1/9/48 Link up Gi2/9/48 Link up
-------------------------------------------------------------------------------------------------------------------------------------------------------- As mentioned in the last blog, here are some Cisco docs that will prove helpful. Catalyst 6500 Release 12.2SXH and Later Software Configuration Guide http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SX/configuration/guide/vss.html Cisco Catalyst 6500 Virtual Switching System Deployment Best Practices Replace Supervisor Module in Cisco Catalyst 6500 Virtual Switching System 1440
For all documentation, go to the Documentation area of Cisco’s Web site Documentation. Follow the selections for Products - LAN Switches - Cisco Catalyst 6500 Virtual Switching System 1440.
Comments (0)
![]() Write comment
|
||||||||||||||||||||||||||||||||||||||||||||||||||
















