Catalyst4003的配置案例

发布者:上海IT外包来源:http://www.lanmon.net点击数:7246

Cisco公司的Catalyst4003是早期Cisco开发的一款中档模块化交换机,由于只有3个模块插槽,有一个还要被引擎插槽占用,其扩展性还是比较有限的,但是,其在中国大陆地区的应用还是比较管饭的,这里做个配置案例说明,供学习者参考。

Enter password:
Console> enable

Enter password:
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 [email protected]
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:
Enter new password:
Retype new password:
Password changed.
4003-ER-F1> (enable) set enablepass
Enter old password:
Enter new password:
Retype new 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)

备注:
1998年,蓝色学苑www.bluestudy.net创立了,我们翻译了大量路由交换的资料和调试案例,启蒙了大批网络技术爱好者。2002年,我们成立蓝盟www.lanmon.com 专注于网络维护、网管外包、电脑维护、服务器升级、网络改造、系统集成、网络咨询、服务管理、运维咨询、ITIL培训、ITSS咨询等一站式IT外包服务。转载请注明出处。如有版权疑问随时致电:021-51693198-226,我们将第一时间给予答复。
IT外包
>
400-635-8089
立即
咨询
电话咨询
服务热线
400-635-8089
微信咨询
微信咨询
微信咨询
公众号
公众号
公众号
返回顶部