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

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

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

  switchport mode trunk

  switchport trunk encapsulation dotlq

  switchport trunk allowed vlan all

  interface gigabitethernet 0/6

  switchport mode trunk

  switchport trunk encapsulation dotlq

  switchport trunk allowed vlan all

  interface gigabitethernet 0/7

  switchport access vlan 9

  no shutdown

  interface range gigabitethernet 0/8 – 10

  switchport mode access

  switchport access vlan 8

  no shutdown

  spanning-tree portfast

  interface gigabitethernet 0/11

  switchport mode trunk

  switchport trunk encapsulation dotlq

  swithcprot trunk allowed vlan all

  interface gigabitethernet 0/12

  switchport mode trunk

  switchport trunk encapsulation dotlq

  switchport trunk allowed vlan all

  spanning-tree vlan 1-9 root secondary

  spanning-tree backbonefast

  interface vlan 1

  ip address 172.16.1.8 255.255.255.0

  no shutdown

  standby 1 ip 172.16.1.9

  standby 1 priority 100 preempt

  interface vlan 2

  ip address 172.16.2.253 255.255.255.0

  no shutdown

  standby 2 ip 172.16.2.254

  standby 2 priority 100 preempt

  interface vlan 3

  ip address 172.16.3.253 255.255.255.0

  not shutdown

  standby 3 ip 172.16.3.254

  standby 3 priority 100 preempt

  interface vlan 4

  ip address 172.16.4.253 255.255.255.0

  no shutdown

  standby 4 ip 172.16.4.254

  standby 4 priority 100 preempt

  interface vlan 5

  ip addess 172.16.5.253 255.255.255.0

  no shutdown

  standby 5 ip 172.16.5.253

  standby 5 priority 100 preempt

  interface vlan 6

  ip address 172.16.6.253 255.255.255.0

  no shutdown

  standby 6 ip 172.16.6.254

  standby 6 priority 100 preempt

  interface vlan 7

  ip address 172.16.7.253 255.255.255.0

  no shutdown

  standby 7 ip 172.16.7.254

  standby 7 priority 100 preempt

  interface vlan 8

  ip address 172.16.8.253 255.255.255.0

[责任编辑:editor]

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