This example shows how to configure a port-channel switchport backup pair with forced preemption. The active interface port-channel10 is the preferred forwarding interface:
switch(config)# interface port-channel10
switch(config-if)# switchport backup interface port-channel20 preemption mode forced
switch(config-if)# switchport backup interface port-channel20 preemption delay 35
This example shows how to configure the port channel switchport backup pair with multicast fast convergence:
switch(config)# interface port-channel10
switch(config-if)# switchport backup interface port-channel20 multicast fast-convergence
This example shows an example of multicast convergence with a pair of Flex Link interfaces: po300 and po301. A general query received on po300 makes it an mrouter port and po301 as co-learned.
switch(config)# interface po300
Switch(config-if)# switchport backup interface po301
switch# show ip igmp snooping mrouter
Type: S - Static, D - Dynamic, V - vPC Peer Link, I - Internal, C - Co-learned
Vlan Router-port Type Uptime Expires
4 Po300 D 00:00:12 00:04:50
4 Po301 DC 00:00:12 00:04:50
This example shows po300 and po301 as mrouter ports (po301 is co-learned); it is not added to the hardware table when multicast fast-convergence is disabled.
switch# show ip igmp snooping groups vlan 4
Type: S - Static, D - Dynamic, R - Router port
Vlan Group Address Ver Type Port list
4 */* - R Po300 Po301
224.1.1.1 v2 D Eth1/31
switch# show platform fwm info hw-stm | grep 0100.5e01.0101
1.4 0100.5e01.0101 midx 36 1:2849:0 0:0:1:0 1.0.0.0.0.24 (e:0)
switch# show platform fwm info oifl 36
oifl 36 vdc 1 oifl 36: vdc 1 gpinif 0, mcast idx 36(alt:0), oifl_type 2
oifl 36 vdc 1 oifl 36: oifl iods 8,44
oifl 36 vdc 1 oifl 36: max_iod 8192, ref count 1000 num_oifs 2, seq_num 33
oifl 36 vdc 1 oifl 36: hw pgmd: 1 msg present: 0
oifl 36 vdc 1 oifl 36: l2_bum_ref_cnt 0, l3_macg_ref_cnt 1000
oifl 36 vdc 1 oifl 36: if_indexs - Po300 Eth1/31
This example shows co-learned po301 is added to hardware when multicast fast-convergence is enabled:
switch(config)# interface po300
Switch(config-if)# switchport backup interface po301 multicast fast-convergence
switch# show platform fwm info hw-stm | grep 0100.5e01.0101
1.4 0100.5e01.0101 midx 38 1:2849:0 0:0:1:0 1.0.0.0.0.26 (e:0)
switch# show platform fwm info oifl 38
oifl 38 vdc 1 oifl 38: vdc 1 gpinif 0, mcast idx 38(alt:0), oifl_type 2
oifl 38 vdc 1 oifl 38: oifl iods 8-9,44
oifl 38 vdc 1 oifl 38: max_iod 8192, ref count 1000 num_oifs 3, seq_num 35
oifl 38 vdc 1 oifl 38: hw pgmd: 1 msg present: 0
oifl 38 vdc 1 oifl 38: l2_bum_ref_cnt 0, l3_macg_ref_cnt 1000
oifl 38 vdc 1 oifl 38: if_indexs - Po300 Po301 Eth1/31
This example shows the running configuration of Flex Link:
switch# show running-config flexlink
!Command: show running-config flexlink
!Time: Thu Jan 1 03:21:12 2011
version 5.0(3)N2(1)
feature flexlink
logging level Flexlink 5
interface port-channel500
switchport backup interface port-channel501 preemption delay 36
switchport backup interface port-channel501 multicast fast-convergence
interface Ethernet2/2
switchport backup interface port-channel507 preemption mode forced
This example shows details about the Flex Link interface. Forced preemption is about to take place because (scheduled) is displayed.
switch# show interface switchport backup detail
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
port-channel300 port-channel301 Active Down/Backup Up
Preemption Mode : forced
Preemption Delay : 35 seconds (default) (scheduled)
Multicast Fast Convergence : Off
Bandwidth : 20000000 Kbit (port-channel300), 10000000 Kbit (port-channel301)