网站公告列表

  没有公告

加入收藏
设为首页
联系站长
您现在的位置: 局域网DIY—专业局域网网站 >> 局域网教程 >> 硬件与代理 >> [路由器专栏] >> 文章正文
  Catalyst 3550三层路由和HSRP经典配置          【字体:
Catalyst 3550三层路由和HSRP经典配置
作者:98pc.com    文章来源:150160.com    点击数:    更新时间:2006-4-6    
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

!

。。。。。。。。。。。。。。。。。。

。。。。。。。。。。。。。。。。。

router eigrp

network xxxxxxx

no auto-summary

ip classless

end

文章录入:wuwq    责任编辑:wuwq 
  • 上一篇文章:

  • 下一篇文章:
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    最新热点 最新推荐 相关文章
    SNIFFER帮助理解NAT(WIN200
    用SNIFFER分析NAT和变长子网
    Sniffer Portable看不见的网
    解析start在格式化硬盘网页中
    McAfee发出培果蠕虫变种Bagl
    多网卡绑定一个IP及SuperCac
    思科Catalyst8500配置实例
    Catalyst数据包监控类型SPAN
    Catalyst8500配置实例之HSRP
    Catalyst 4006交换机的配置实
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    局域网DIY】.版权所有 客服QQ:5820031 站长:晨光
    Copyright © 2000-2020 www.LANDIY.net All Rights Reserved
     


    粤ICP备05009256号