VTP+STP+三层交换+HSRP.doc

上传人:文库蛋蛋多 文档编号:4192784 上传时间:2023-04-09 格式:DOC 页数:8 大小:57.50KB
返回 下载 相关 举报
VTP+STP+三层交换+HSRP.doc_第1页
第1页 / 共8页
VTP+STP+三层交换+HSRP.doc_第2页
第2页 / 共8页
VTP+STP+三层交换+HSRP.doc_第3页
第3页 / 共8页
VTP+STP+三层交换+HSRP.doc_第4页
第4页 / 共8页
VTP+STP+三层交换+HSRP.doc_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《VTP+STP+三层交换+HSRP.doc》由会员分享,可在线阅读,更多相关《VTP+STP+三层交换+HSRP.doc(8页珍藏版)》请在三一办公上搜索。

1、路由器配置路由基本配置enconf tno ip do lolin c 0no exec-tlogg send接口配置conf tint f0/0ip add 1.1.1.1 255.255.255.0no shuint f1/0ip add 2.2.2.1 255.255.255.0no shuint loopback 1ip add 3.3.3.1 255.255.255.0no shuendrip路由协议配置conf trouter ripver 2no autonetwork 1.1.1.0network 2.2.2.0network 3.3.3.0end三层交换机S3Aconf tn

2、o ip do loho S3Alin c 0no exec-tlogg sendvlan datavtp domain benetvtp password 123456vtp v2-modevtp pruningvl 2vl 3vl 4exitconf tint f0/0no switchportip add 1.1.1.254 255.255.255.0no shuint vl 1ip add 192.168.1.254 255.255.255.0no shuint vl 2ip add 192.168.2.254 255.255.255.0no shuint vl 3ip add 192

3、.168.3.254 255.255.255.0no shuint vl 4ip add 192.168.4.254 255.255.255.0no shuendconf tspanning-tree vlan 1 root primaryspanning-tree vlan 2 root secondaryspanning-tree vlan 3 root primaryspanning-tree vlan 4 root secondaryspanning-tree backbonefastint f0/11sw mo trint f0/12sw mo trint f0/13sw mo tr

4、int range f0/14 - 15channel-group 1 mode onint port-channel 1sw mo trendconf trouter ripver 2no autonetwork 1.1.1.0network 192.168.1.0network 192.168.2.0network 192.168.3.0network 192.168.4.0endconf tint vl 1standby 1 ip 192.168.1.1standby 1 priority 180standby 1 preemptstandby 1 track f0/0 50int vl

5、 2standby 2 ip 192.168.2.1standby 2 priority 150int vl 3standby 3 ip 192.168.3.1standby 3 priority 180standby 3 preemptstandby 3 track f0/0 50int vl 4standby 4 ip 192.168.4.1standby 4 priority 150end三层交换机S3B基本配置conf tno ip do loho S3Blin c 0no exec-tlogg sendvtp与vlan的配置vlan datavtp domain benetvtp p

6、assword 123456vtp v2-modevtp pruningvl 2vl 3vl 4exitconf tint f0/0no switchportip add 2.2.2.254 255.255.255.0no shuint vl 1ip add 192.168.1.253 255.255.255.0no shuint vl 2ip add 192.168.2.253 255.255.255.0no shuint vl 3ip add 192.168.3.253 255.255.255.0no shuint vl 4ip add 192.168.4.253 255.255.255.

7、0no shuendconf tspanning-tree vlan 1 root secondaryspanning-tree vlan 2 root primaryspanning-tree vlan 3 root secondaryspanning-tree vlan 4 root primaryspanning-tree backbonefastint f0/11sw mo trint f0/12sw mo trint f0/13sw mo trint range f0/14 - 15channel-group 1 mode onint port-channel 1sw mo tren

8、dconf trouter ripver 2no autonetwork 2.2.2.0network 192.168.1.0network 192.168.2.0network 192.168.3.0network 192.168.4.0endconf tint vl 1standby 1 ip 192.168.1.1standby 1 priority 150int vl 2standby 2 ip 192.168.2.1standby 2 priority 180standby 2 preemptstandby 2 track f0/0 50int vl 3standby 3 ip 19

9、2.168.3.1standby 3 priority 150int vl 4standby 4 ip 192.168.4.1standby 4 priority 180standby 4 preemptstandby 4 track f0/0 50end二层交换机S2Aconf tno ip do lono ip routingho S2Alin c 0no exec-tlogg sendvlan datavtp clientvtp domain benetvtp password 123456exitconf tint f0/14sw mo trint f0/15sw mo trendco

10、nf tint f0/1spanning-tree portfastexitspanning-tree backbonefastspanning-tree uplinkfastend二层交换机S2Bconf tno ip do lono ip routingho S2Blin c 0no exec-tlogg sendvlan datavtp clientvtp domain benetvtp password 123456exitconf tint f0/14sw mo trint f0/15sw mo trendconf tint f0/2spanning-tree portfastexi

11、tspanning-tree backbonefastspanning-tree uplinkfastend二层交换机S2Cconf tno ip do lono ip routingho S2Clin c 0no exec-tlogg sendvlan datavtp clientvtp domain benetvtp password 123456exitconf tint f0/14sw mo trint f0/15sw mo trendconf tint f0/3spanning-tree portfastexitspanning-tree backbonefastspanning-tree uplinkfastend

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公文档 > 其他范文


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号