设为首页收藏本站language 语言切换
查看: 3980|回复: 38
收起左侧

[分享] Catalyst 3550三层路由和HSRP经典配置

[复制链接]
 成长值: 64820
发表于 2017-9-22 16:08:37 | 显示全部楼层 |阅读模式
vlan200和vlan201为2台交换机互连的vlan
ip subnet-zero
ip routing
no ip domain-lookup
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 200 priority 24576
spanning-tree vlan 201 priority 24576
spanning-tree vlan 202 priority 28672
spanning-tree vlan 203 priority 28672
spanning-tree vlan 204 priority 24576
spanning-tree vlan 205 priority 24576
spanning-tree vlan 206priority 28672
spanning-tree vlan 307 priority 24576
spanning-tree vlan 308 priority 24576
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/1
switchport access vlan 200
switchport mode access
no ip address
duplex full
speed 100
!
interface FastEthernet0/2
switchport access vlan 201
switchport mode access
no ip address
duplex full
speed 100
!
interface FastEthernet0/3
switchport access vlan 202
no ip address
!
interface FastEthernet0/4
no ip address
!
interface FastEthernet0/5
no ip address
!
interface FastEthernet0/6
switchport access vlan 203
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/7
switchport access vlan 203
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/8
switchport access vlan 203
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/9
switchport access vlan 203
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/10
switchport access vlan 203
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/11
switchport access vlan 204
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/12
switchport access vlan 204
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/13
switchport access vlan 204
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/14
switchport access vlan 205
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/15
switchport access vlan 205
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/16
switchport access vlan 206
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/17
switchport access vlan 206
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/18
switchport access vlan 206
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/19
switchport access vlan 207
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/
20
switchport access vlan 207
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 208
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/22
switchport access vlan 208
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/29
switchport access vlan 208
switchport mode access
no ip address
spanning-tree portfast
!
interface FastEthernet0/30
switchport access vlan 208
switchport mode access
no ip address
spanning-tree portfast
。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。。
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode on
!
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode on
!
interface Vlan1
ip address xxxxxxxxx
no ip redirects
standby 1 ip xxxxxxx
standby 1 priority 120
standby 1 preempt
!
interface Vlan200
ip address xxxxxxxxx
!
interface Vlan201
ip address xxxxxxxxx
!
interface Vlan202
ip address xxxxxxxxx
no ip redirects
standby 202 ip xxxxxxxxx
standby 202priority 120
standby 202 preempt
!
interface Vlan203
ip address xxxxxxxxx
no ip redirects
standby 203 ip xxxxxxxxx
standby 203priority 120
standby 203 preempt
!
interface Vlan204
ip address xxxxxxxxx
no ip redirects
standby 204 ip xxxxxxxxx
standby 204priority 120
standby 204 preempt
!
interface Vlan205
ip address xxxxxxxxx
no ip redirects
standby 205 ip xxxxxxxxx
standby 205priority 120
standby 205 preempt
!
。。。。。。。。。。。。。。。。。。
。。。。。。。。。。。。。。。。。
游客,如果您要查看本帖隐藏内容请回复


ip classless
end

发表于 2017-11-21 14:37:20 | 显示全部楼层
HSRP的需要回复才能看全~
5# 2017-11-21 14:37:20 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-1-5 16:48:30 | 显示全部楼层
11111111111111111111111111111
7# 2018-1-5 16:48:30 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-1-15 10:56:12 | 显示全部楼层
好资源,谢谢!
9# 2018-1-15 10:56:12 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-1-15 10:58:08 | 显示全部楼层
好资源,谢谢分享!
11# 2018-1-15 10:58:08 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-1-26 13:49:19 | 显示全部楼层
非常好,感谢版主分享!
13# 2018-1-26 13:49:19 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-1-26 21:29:07 | 显示全部楼层
额 水水水水
14# 2018-1-26 21:29:07 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2018-3-5 12:58:11 | 显示全部楼层
thank you sharing
15# 2018-3-5 12:58:11 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-8 12:33 , Processed in 0.084460 second(s), 22 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表