新客网WWW.XKER.COM:致力做中国最专业的网络学院!
学院: 操作系统 - 网络应用 - 服务器 - 网络安全 - 工具软件 - 办公软件 - Web开发 - 数据库 - 网页设计 - 图形图像 - 媒体动画 - 硬件学堂 - 存储频道 - QQ专区
您的位置:首页 > 网络学院 > 网络应用 > 交换技术 > 正文:Cisco实战:配置三层交换的综合案例

Cisco实战:配置三层交换的综合案例

新客网 XKER.COM 2007-01-31 来源: 收藏本文
   

  no shutdown

  standby 8 ip 172.16.8.254

  standby 8 priority 100 preempt

  interface vlan 9

  ip address 172.16.9.253 255.255.255.0

  no shutdown

  standby 9 ip 172.16.9.254

  standby 9 priority 100 preempt

  exit

  ip classless

  ip route 0.0.0.0 0.0.0.0 172.16.9.250

  ip http server

  line con 0

  line aux 0

  line vty 0 15

  password 12345678

  login

  end

  copy running-config statup-config

  reload

  三、Catalyst 2950-24 vlan2 交换机配置:

  Enable

  Configure terminal

  Service pad

  Service password-encryption

  Hostname c2950-241

  Enable password 123456

  Enable secret 654321

  Ip subnet-zero

  Interface vlan 1

  Ip address 172.16.1.1 255.255.255.0

  management

  No shutdown

  Ip default-gateway 172.16.1.9

  Ip name-server 172.16.8.1 172.16.8.2

  exit

  Vlan database

  Vtp mode client

  Vtp domain centervtp

  Exit

  Configure terminal

  Interface range fastethernet 0/1 – 20

  Switchport mode access

  Switchport accesss vlan 2

  No shutdown

  Spanning-tree portfast

  Spanning-tree uplinkfast

  Spanning-tree backbonefast

  Interface gigabitethernet 0/1

  Switchport mode trunk

  Switchport trunk encapculation dotlq

  Switchport trunk allowed vlan all

  Spanning-tree cost 10

  Interface gigabitethernet 0/2

  Switchport mode trunk

  Switchport trunk encapculation dotlq

  Switchport trunk allowed vlan all

  Spanning-tree cost 20

  Exit

  Line con 0

  Line aux 0

  Line vty 0 15

  Password 12345678

  Login

  End

  Copy running-config statup-config

  Reload

  四、catalyst 2950-24 vlan 3 交换机配置:

  enable

  configure terminal

  service pad

  service password-encryption

  hostname c2950-242

  enable password 123456

  enable secret 654321

  ip subnet-zero

[责任编辑:editor]

收藏】 【评论】 【推荐】 【投稿】 【打印】 【关闭
发表评论
要记得去论坛讨论,点击注册新会员匿名评论
评论内容:不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
阅读排行
随机推荐
实用信息推荐