次の例は、強制プリエンプションを使用してポート チャネル スイッチポート バックアップのペアを設定する方法を示しています。 アクティブな interface port-channel10 が優先転送インターフェイスです。
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
次の例は、マルチキャスト高速コンバージェンスを使用した、ポート チャネル スイッチポート バックアップのペアを示しています。
switch(config)# interface port-channel10
switch(config-if)# switchport backup interface port-channel20 multicast fast-convergence
次の例は、Flex Link インターフェイス(po300 と po301)のマルチキャスト高速コンバージェンスの例を示します。 po300 で一般クエリーを受信すると、mrouter ポートと po301 が相互学習されます。
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
次の例は、po300 と po301 を mrouter ポート(po301 が相互学習される)として示します。これは、マルチキャスト高速コンバージェンスがディセーブルの場合、ハードウェア テーブルに追加されません。
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
次の例は、マルチキャスト高速コンバージェンスがイネーブルの場合に、相互学習された po301 がハードウェアに追加されることを示しています。
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
次の例は、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
次の例は、Flex Link インターフェイスの詳細を示します。 (scheduled) が表示されるため、強制プリエンプションが実行されようとしています。
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)