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

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

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

  vlan 6 172.16.6.0/24 172.16.6.252-254

  vlan 7 172.16.7.0/24 172.16.7.252-254

  vlan 8 172.16.8.0/24 172.16.8.252-254

  vlan 9 172.16.9.0/24 172.16.9.252-254

  路由器配置

  一、cisco路由器配置:

  Enable

  Configure terminal

  Service password-encryption

  Hostname cisco1721

  Enable secret 654321

  Enable password 123456

  ip subnet-zero

  ip name-server 202.96.134.133 202.96.172.218

  interface fastethernet 0

  ip address 61.142.221.5 255.255.255.240

  speed auto

  no shutdown

  interface serial 0

  ip unnumbered fastethernet 0

  encapsulation ppp

  no fair-queue

  bandwidth 2048

  no shutdown

  exit

  ip classless

  ip route 0.0.0.0 0.0.0.0 serial 0

  no ip http server

  line con 0

  line aux 0

  line vty 0 4

  password 12345678

  login

  no scheduler allocate

  end

  copy running-config startup-config

  reload

  请注意NAT等是在防火墙设置的.

  交换机配置

  一、Catalyst 4006-s3交换机配置:

  Enable

  Configure terminal

  service pad

  service password-encryption

  hostname c4006-s3

  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 2/1

  channel-group 1

  Interface gigabitethernet 2/2

  channel-group 1

  Interface gigabitethernet 2/1

  switchport mode trunk

  switchport trunk encapsulation dotlq

  switchport trunk allowed vlan all

  interface gigabitethernet 2/3

[责任编辑:editor]

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