| Cisco 交换机综合实例 |
|
| |
|
/8-12 name set. 5509-ER-F1> (enable) set port speed 6/1-12 100 Ports 6/1-12 transmission speed set to 100Mbps. 5509-ER-F1> (enable) set port duplex 6/1-12 full Ports 6/1-12 set to full-duplex. 5509-ER-F1> (enable) set port flowcontrol 6/1-12 send desired Ports 6/1-12 flow control send administration status set to desired (ports will send flowcontrol to far end if far end supports it) 5509-ER-F1> (enable) set port flowcontrol 6/1-12 receive desired Ports 6/1-12 flow control receive administration status set to desired (ports will allow far end to send flowcontrol if far end supports it) 5509-ER-F1> (enable) set port channel 6/1-12 off Port(s) 6/1-12 channel mode set to off. 5509-ER-F1> (enable) set trunk 6/1-12 off Port(s) 6/1-12 trunk mode set to off. 5509-ER-F1> (enable) set spantree portfast 6/1-12 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 6/1-12 fast start enabled. 5509-ER-F1> (enable) set vlan 20 6/1-12 VLAN 20 modified. VLAN 1 modified. VLAN Mod/Ports ---- ----------------------- 20 1/1-2 5/1-4 6/1-12 5509-ER-F1> (enable) set module name 7 Corp/Mfg 10Mb Hosts Module name set. 5509-ER-F1> (enable) set port name 7/1-12 Corp Win98 PC Ports 7/1-12 name set. 5509-ER-F1> (enable) set port name 7/13-48 Mfg Win98 PC Ports 7/13-48 name set. 5509-ER-F1> (enable) set port duplex 7/1-48 full Ports 7/1-48 set to full-duplex. 5509-ER-F1> (enable) set spantree portfast 7/1-48 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 7/1-48 fast start enabled. 5509-ER-F1> (enable) set vlan 10 7/1-12 VLAN 10 modified. VLAN 1 modified. VLAN Mod/Ports ---- ----------------------- 10 1/1-2 5/1-4 7/1-12 5509-ER-F1> (enable) set vlan 30 7/13-48 VLAN 30 modified. VLAN 1 modified. VLAN Mod/Ports ---- ----------------------- 30 1/1-2 5/1-4 7/13-48 5509-ER-F1> (enable) set module name 8 DevEng 10Mb Hosts Module name set. 5509-ER-F1> (enable) set port name 8/1-48 DevEng WinNT PC Ports 8/1-48 name set. 5509-ER-F1> (enable) set port duplex 8/1-48 full Ports 8/1-48 set to full-duplex. 5509-ER-F1> (enable) set spantree portfast 8/1-48 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 8/1-48 fast start enabled. 5509-ER-F1> (enable) set vlan 20 8/1-48 VLAN 20 modified. VLAN 1 modified. VLAN Mod/Ports ---- ----------------------- 20 1/1-2 5/1-4 6/1-12 8/1-48 5509-ER-F1> (enable) set module name 9 DevEng 10Mb Hosts Module name set. 5509-ER-F1> (enable) set port name 9/1-48 DevEng WinNT PC Ports 9/1-48 name set. 5509-ER-F1> (enable) set port duplex 9/1-48 full Ports 9/1-48 set to full-duplex. 5509-ER-F1> (enable) set spantree portfast 9/1-48 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 9/1-48 fast start enabled. 5509-ER-F1> (enable) set vlan 20 9/1-48 VLAN 20 modified. VLAN 1 modified. VLAN Mod/Ports ---- ----------------------- 20 1/1-2 5/1-4 6/1-12 8/1-48 9/1-48 5509-ER-F1> (enable)
[page] Catalyst 4003 的配置
下面给出Catalyst 4003 的配置清单
Enter password: <Return> Console> enable Enter password: <Return> Console> (enable) set system name 4003-ER-F1 System name set. 4003-ER-F1> (enable) set system location 1st Floor Equipment Room System location set. 4003-ER-F1> (enable) set system contact sysadmin@bigcorp.com System contact set. 4003-ER-F1> (enable) set time 04/30/1999 9:45:00 Fri Apr 30 1999, 09:45:00 4003-ER-F1> (enable) set password Enter old password: <Return> Enter new password: <new_login_password> Retype new password: <new_login_password> Password changed. 4003-ER-F1> (enable) set enablepass Enter old password: <Return> Enter new password: <new_enable_password> Retype new password: <new_enable_password> Password changed. 4003-ER-F1> (enable) set banner motd % 4003-ER-F1 (Catalyst 4003) Access Restricted % MOTD banner set 4003-ER-F1> (enable) set interface sc0 10.10.1.20/24 Interface sc0 IP address set. 4003-ER-F1> (enable) set ip route default 10.10.1.1 Route added. 4003-ER-F1> (enable) set ip dns server 10.10.10.100 10.10.10.100 added to DNS server table as primary server. 4003-ER-F1> (enable) set ip dns domain bigcorp.com Default DNS domain name set to bigcorp.com 4003-ER-F1> (enable) set ip dns enable DNS is enabled 4003-ER-F1> (enable) set vtp domain BigCorp mode client VTP domain BigCorp modified 4003-ER-F1> (enable) set module name 1 Supervisor Module name set. 4003-ER-F1> (enable) set module name 2 Gig Uplinks Module name set. 4003-ER-F1> (enable) set port flowcontrol 2/1-2 send off Ports 2/1-2 flow control send administration status set to off (ports will not send flowcontrol to far end) 4003-ER-F1> (enable) set port flowcontrol 2/1-2 receive off Ports 2/1-2 flow control receive administration status set to off (ports will not allow far end to send flowcontrol) 4003-ER-F1> (enable) set port negotiation 2/1-2 enable Ports 2/1-2 negotiation enabled 4003-ER-F1> (enable) set port name 2/1-2 GEC 802.1Q Trunk Ports 2/1-2 name set. 4003-ER-F1> (enable) set port channel 2/1-2 desirable Port(s) 2/1-2 channel mode set to desirable. 4003-ER-F1> (enable) set trunk 2/1 desirable dot1q Port(s) 2/1-2 trunk mode set to desirable. Port(s) 2/1-2 trunk type set to dot1q. 4003-ER-F1> (enable) set module name 3 Gig Server Links Module name set. 4003-ER-F1> (enable) set port name 3/1-2 Corporate Server Ports 3/1-2 name set. 4003-ER-F1> (enable) set port name 3/3 DevEng Server Port 3/3 name set. 4003-ER-F1> (enable) set port name 3/4 QA Server Port 3/4 name set. 4003-ER-F1> (enable) set port flowcontrol 3/1-4 send desired Ports 3/1-4 flow control send administration status set to desired (ports will send flowcontrol to far end if far end supports it) 4003-ER-F1> (enable) set port flowcontrol 3/1-4 receive desired Ports 3/1-4 flow control receive administration status set to desired (ports will allow far end to send flowcontrol if far end supports it) 4003-ER-F1> (enable) set port channel 3/1-2 off Port(s) 3/1-2 channel mode set to off. 4003-ER-F1> (enable) set port channel 3/3-4 off Port(s) 3/3-4 channel mode set to off. 4003-ER-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)
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 上一页 [1] [2] [3] 下一页
 |
频道声明:本频道的文章除部分特别声明禁止转载的专稿外,可以自由转载.但请务必注明出出处和原始作者 文章版权归本频道与文章作者所有.对于被频道转载文章的个人和网站,我们表示深深的谢意。
| 原始作者:佚名 |
录入时间:2006-10-10 1:47:23 |
| 信息来源:不详 |
投稿信箱:itqoo@126.com |
|
|
 |
|
|
|
| 文章录入:admin 责任编辑:admin |
|
上一篇文章: 关于Catalyst 6500 VLAN划分的问题
下一篇文章: 路由器配成桥的实例 |
| 【字体:小 大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 |