在CISCO 3550上配置fallback bridging
配置fallback bridge.。交换机的f0/1启用三层端口并连接到R1。F0/3和f0/4划分到VLAN 6中并分别连R3和R4。
SWITCH
conf t
ip routing
bridge 1 protocol vlan-bridge /*创建一个bridge group
no bridge 1 acquire /*启用交换机停止转发到动态学习到的MAC地址的帧,仅仅转发到井台配置的MAC地址的帧。
int f 0/1
no switchport
ip ad 10.10.10.7 255.255.255.0
no shut
bridge-group 1 /*把f0/1加入到group 1中
exit
vlan 6
exit
int range f 0/3 -4
switchport mode access
switchport access vlan 6
exit
int vlan 6
ip ad 10.10.11.7 255.255.255.0
bridge-group 1 /*把interface vlan 6加入到group1中
exit
bridge 1 aging-time 100 /*设置age time为100s, default 300s
bridge 1 hello-time 3 /*设置hello time 为3s, defautl:2
bridge 1 max-age 150 /*设置max time 为150 s , default 30
bridge 1 forward-time 50 /*设置forward time 为50s,default: 20
bridge 1 address 0000.9614.53e0 forward f0/1 /*静态配置转发缓存
bridge 1 priority 100 /*设置group的优先级
校验
sw1#sh span
Bridge group 1
Spanning tree enabled protocol vlan-bridge
Root ID Priority 100
Address 0013.1ab4.fe00
This bridge is the root
Hello Time 3 sec Max Age 150 sec Forward Delay 50 sec
Bridge ID Priority 100
Address 0013.1ab4.fe00
Hello Time 3 sec Max Age 150 sec Forward Delay 50 sec
Aging Time 100
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/1 Desg FWD 500 32.35 P2p
Vl6 Desg FWD 4 128.36 P2p
sw1#sh bridge 1
Br Group Mac Address State Type Ports
-------- ----------- ----- ---- -----
1 0000.9614.53e0 Forward STATIC Fa0/1
show bridge 1下面还有一些条目,因为使用了no bridge 1 acquire命令,状态被置为discard。这里就不再贴上了












文章评论
共有 0 位网友发表了评论 此处只显示部分留言 点击查看完整评论页面