两极人生,八度空间

Fight for my CISSP and PMP

首页 新随笔 联系 聚合 管理
  156 Posts :: 22 Stories :: 67 Comments :: 0 Trackbacks

Here we used two switch taking an example so as to illustrate how to excute RSTP configuration.The specific steps as following:

The first step,let's configure switch A

SwitchA#vlan database

SwitchA#vlan 10 name pcs

SwitchA(config-vlan)#exit

SwitchA(config)#int fa0/1

SwitchA(config-if)#switchport access vlan 10

SwitchA(config-if)#exit

SwitchA(config)#int range fa0/ 1-4

SwitchA(config-if-range)#switchport  mode trunk

The second step to configure switch B

SwitchB#con t

SwitchB#vlan database

SwitchB(config)#vlan 10 name pcs

SwitchB(config-vlan)#exit

SwitchB(config)#int fa0/1

SwitchB(config-if)#switch access vlan 10

SwitchB(config-if)#exit

SwitchB(config)#int range fa 0/ 1-4

Switch(config-if-range)#switch mode trunk

The third step is to configure step

SwitchA#conf ter

SwitchA(config)#spannig-tree

SwitchA(config)#spannig-tree mode rstp

SwitchB#confter

SwitchB(config)#spannig-tree

SwitchB(config)#spannig-tree mode rstp

Finally,let's set up the priority on root switch

SwitchA(config)#spannig-tree priority 4096

Now,everything is ok. We can use show spanning-tree command to verify all configurations


posted on 2007-03-27 23:21 Jerome 阅读(630) 评论(0)  编辑 收藏 引用 所属分类: Cisco Network Technology
只有注册用户登录后才能发表评论。