快速业务通道

Cisco交换机综合实例(二)

作者 佚名技术 来源 网络技术 浏览 发布时间 2012-07-01
-F1> (enable) set trunk 3/1-4 off

Port(s) 3/1-4 trunk mode set to off.

4003-ER-F1> (enable) set spantree portfast 3/1-4 enable

Warning: Spantree port fast start should only be enabled on ports connected

to a single host. Connecting hubs, concentrators, switches, bridges, etc. to

a fast start port can cause temporary spanning tree loops. Use with caution.

Spantree ports 3/1-4 fast start enabled.

4003-ER-F1> (enable) set vlan 10 3/1-2

VLAN 10 modified.

VLAN 1 modified.

VLAN Mod/Ports

---- -----------------------

10 2/1-2

3/1-2

4003-ER-F1> (enable) set vlan 20 3/3

VLAN 20 modified.

VLAN 1 modified.

VLAN Mod/Ports

---- -----------------------

20 2/1-2

3/3

4003-ER-F1> (enable) set vlan 40 3/4

VLAN 40 modified.

VLAN 1 modified.

VLAN Mod/Ports

---- -----------------------

40 2/1-2

3/4

4003-ER-F1> (enable)

4. RSM 的配置

对于RSM模块的命令与Cisco的路由器相似

下面给出配置清单

5509-ER-F1> (enable) session 3

Trying Router-3...

Connected to Router-3.

Escape character is ''^]''.

Router>enable

Router#configure terminal

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

Router(config)#hostname RSM-ER-F1

RSM-ER-F1(config)#enable password extra_secret_word

RSM-ER-F1(config)#line vty 0 6

RSM-ER-F1(config-line)#password secret_word

RSM-ER-F1(config-line)#ip domain-name bigcorp.com

RSM-ER-F1(config)#ip name-server 10.10.10.100

RSM-ER-F1(config)#ip domain-lookup

RSM-ER-F1(config)#interface vlan 1

RSM-ER-F1(config-if)#description default (vlan1) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.1.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#interface vlan 10

RSM-ER-F1(config-if)#description Corporate (vlan10) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.10.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#interface vlan 20

RSM-ER-F1(config-if)#description DevEng (vlan20) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.20.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#interface vlan 30

RSM-ER-F1(config-if)#description Mfg (vlan30) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.30.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#interface vlan 40

RSM-ER-F1(config-if)#description QA (vlan40) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.40.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#interface vlan 50

RSM-ER-F1(config-if)#description Finance&Admin (vlan50) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.50.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#interface vlan 60

RSM-ER-F1(config-if)#description Sales&Mktg (vlan60) VLAN interface

RSM-ER-F1(config-if)#ip address 10.10.60.1 255.255.255.0

RSM-ER-F1(config-if)#no shutdown

RSM-ER-F1(config-if)#^Z

[1] [2] 下一页

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号