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

6509为主网络配置实例

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

  zsr-sw-01(vlan)#vtp client

  zsr-sw-01(vlan)#exit

  zsr-sw-1#configure terminal

  zsr-sw-1(config)#int f0/1

  zsr-sw-1(config-if)#switchport mode access

  zsr-sw-1(config-if)#switchport access vlan 31

  zsr-sw-1(config-if)#exit

  zsr-sw-1(config)#int f0/2

  。。。。。。

  zsr-sw-1(config)#int f0/48

  zsr-sw-1(config-if)#switchport mode access

  zsr-sw-1(config-if)#switchport access vlan 31

  zsr-sw-1(config-if)#exit

  zsr-sw-01(config)#int g0/1

  zsr-sw-01(config-if)#switchport mode trunk

  zsr-sw-01(config-if)#switchport trunk encapsulation dot1q

  zsr-sw-01(config-if)#switchport trunk allowed vlan all

  zsr-sw-01 (config-if)#spantree cost 10

  zsr-sw-01(config-if)#exit

  zsr-sw-01(config)#int g0/2

  zsr-sw-01(config-if)#switchport mode trunk

  zsr-sw-01(config-if)#switchport trunk encapsulation dot1q

  zsr-sw-01(config-if)#switchport trunk allowed vlan all

  zsr-sw-01 (config-if)#spantree cost 20

  zsr-sw-01(config-if)#exit

  zsr-sw-01#write memory

  3.3 局办公楼Catalyst 3548XL交换机配置方案

  switch#configure terminal

  Enter configuration commands, one per line. End with CNTL/Z.

  switch(config)#hostname yy-sw-01

  yy-sw-01(config)#enable password test

  yy-sw-01(config)#enable secret test

  yy-sw-01(config)#banner motd % Welcome to the C3548 in the Yi Yang Fen Ju %

  yy-sw-01(config)#line vty 0 4

  yy-sw-01(config.line)#login

  yy-sw-01(config.line)#password test

  yy-sw-01(config.line)#exit

  yy-sw-01(config)#int vlan 1

  yy-sw-01(config-if)#ip address 10.234.180.26 255.255.255.0

  yy-sw-01(config-if)#exit

  yy-sw-01(config)#ip default.gateway 10.234.180.234

  yy-sw-01(config)#end

  yy-sw-01#vlan database

  yy-sw-01(vlan)#vtp domain Corp_Net

  yy-sw-01(vlan)#vtp client

  yy-sw-01(vlan)#exit

  yy-sw-1#configure terminal

  yy-sw-1(config)#int f0/1

  yy-sw-1(config-if)#switchport mode access

[责任编辑:editor]

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