API Guide

10. 将接口配置为 VLAN 中继端口并指定允许的 VLAN
AG1(config)# interface port-channel 11
AG1(conf-if-po-11)# switchport mode trunk
AG1(conf-if-po-11)# switchport trunk allowed vlan 1001
AG1(config)# interface port-channel 1
AG1(conf-if-po-1)# switchport mode trunk
AG1(conf-if-po-1)# switchport trunk allowed vlan 1301,2001
AG1(config)# interface port-channel 41
AG1(conf-if-po-41)# switchport mode trunk
AG1(conf-if-po-41)# switchport trunk allowed vlan 2001
AG1(config)# interface ethernet 1/1/6:2
AG1(conf-if-eth1/1/6:2)# switchport mode trunk
AG1(conf-if-eth1/1/6:2)# switchport trunk allowed vlan 2001
AG1(conf-if-eth1/1/6:2)# spanning-tree port type edge
AG2 交换机
1. 配置 RSTP
AG2(config)# spanning-tree mode rstp
AG2(config)# spanning-tree rstp priority 4096
2. 配置 VLT 域。
AG2(config)# interface ethernet 1/1/25:1
AG2(conf-if-eth1/1/25:1)# no switchport
AG2(config)#vlt-domain 1
AG2(conf-vlt-1)# backup destination 10.16.208.218
AG2(conf-vlt-1)# discovery-interface ethernet1/1/25:1
AG2(conf-vlt-1)# peer-routing
AG2(conf-vlt-1)# primary-priority 65535
AG2(conf-vlt-1)# vlt-mac de:11:de:11:de:11
3. 配置朝向 CR1 CR2 的端口通道接口。
AG2(config)# interface port-channel 11
AG2(config)# interface ethernet 1/1/1:1
AG2(conf-if-eth1/1/1:1)# channel-group 11 mode active
AG2(config)# interface ethernet 1/1/3:1
AG2(conf-if-eth1/1/3:1)# channel-group 11 mode active
AG2(config)# interface port-channel 11
AG2(conf-if-po-11)# vlt-port-channel 11
AG2(conf-if-po-11)# spanning-tree disable
4. 配置朝向 AG3 AG4 的端口通道接口。
AG2(config)# interface port-channel 1
AG2(conf-if-po-1)# vlt-port-channel 1
AG2(config)# interface ethernet 1/1/24:1
AG2(conf-if-eth1/1/24:1)# channel-group 1 mode active
AG2(config)# interface ethernet 1/1/26:1
AG2(conf-if-eth1/1/26:1)# channel-group 1 mode active
5. 配置朝向 TR1 的端口通道接口。
AG2(config)# interface port-channel 41
AG2(conf-if-po-41)# vlt-port-channel 41
多播
801