注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 网工人才缺口大 传统网管..
 帮助

在CISCO 3550上配置fallback bridging


2007-02-06 12:30:50
 标签:cisco 配置 路由   [推送到技术圈]

版权声明:原创作品,谢绝转载!否则将追究法律责任。
配置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  /*静态配置转发缓存
int ff0/2
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。这里就不再贴上了

本文出自 “穿过地狱去看海” 博客,谢绝转载!





    文章评论
 
2007-02-06 16:26:15
向你学习

2007-02-07 01:52:14
thanks!

2008-03-17 17:34:52
bridge 1 priority 100                     /*设置group的优先级

这个是用来做什么的呢?

2008-03-17 18:45:46
When two switches tie for position as the root switch, you configure an interface priority to break the tie. The switch with the lowest interface value is elected
文档上是这样写的

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: