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

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

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

  standby 6 ip 172.16.6.254

  standby 6 priority 110 preempt

  interface vlan 7

  ip address 172.16.7.252 255.255.255.0

  no shutdown

  standby 7 ip 172.16.7.254

  standby 7 priority 110 preempt

  interface vlan 8

  ip address 172.16.8.252 255.255.255.0

  no shutdown

  standby 8 ip 172.16.8.254

  standby 8 priority 110 preempt

  interface vlan 9

  ip address 172.16.9.252 255.255.255.0

  no shutdown

  standby 9 ip 172.16.9.254

  standby 9 priority 110 preempt

  exit

  ip classless

  ip route 0.0.0.0 0.0.0.0 172.16.9.250

  line con 0

  line aux 0

  line vty 0 15

  password 12345678

  login

  end

  copy running-config startup-config

  reload

  二、Catalyst 3550-12T交换机配置

  Enable

  Configure terminal

  service pad

  service password-encryption

  hostname c3550-12t

  enable password 123456

  enable secret 654321

  ip subnet-zero

  ip name-server 172.16.8.1. 172.16.8.2

  ip routing

  exit

  vlan database

  vtp mode server

  vtp domain centervtp

  vlan 2 name vlan2

  vlan 3 name vlan3

  vlan 4 name vlan4

  vlan 5 name vlan5

  vlan 6 name vlan6

  vlan 7 name vlan7

  vlan 8 name vlan8

  vlan 9 name vlan9

  exit

  configure terminal

  interface port-channel 1

  interface gigabitethernet 0/1

  channel-group 1

  interface gigabitethernet 0/2

  channel-group 1

  exit

  interface gigabitethernet 0/1

  switchport mode trunk

  switchport encapsulation dotlq

  swithchport trunk allowed vlan all

  interface gigabitethernet 0/3

  switchport mode trunk

  switchport trunk encapsulation dotlq

  swithcport trunk allowed vlan all

  interface gigabitethernet 0/4

  switchport mode trunk

  switchport trunk encapsulation dotlq

  switchport trunk allowed vlan all

  interface gigabitethernet 0/5

[责任编辑:editor]

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