1、Cisco交换机综合配置实例Cisco交换机综合配置实例本实例综合性很强,基本上包含了Cisco交换机的所有交换技术1.网络拓扑和相应设计目录:网络配置实例网络拓扑和相应设计Catalyst 5509 配置Catalyst 4003配置RSM配置Catalyst 5505配置网络拓扑和相关设计 网络拓扑图 Cisco交换机的基本配置及启动命令CISCO交换机命令全集加说明配置Cisco交换机启动及基本设置Cisco交换机基础Cisco交换机密码恢复CISCO交换机常见问题及解答配置cisco交换机三层交换的综合范例常见Cisco交换机端口监听配置Cisco交换机常见问题大整理Cisco交换机以
2、太网经典配置 2.Catalyst 5509 的配置下面列出 Catalyst 5509 的基本配置Enter password: Console enableEnter password: Console (enable) set system name 5509-ER-F1System name set.5509-ER-F1 (enable) set system location 1st Floor Equipment RoomSystem location set.5509-ER-F1 (enable) set system contactsysadminSystem contact
3、set.5509-ER-F1 (enable) set time 04/30/1999 9:30:00Fri Apr 30 1999, 09:30:00 5509-ER-F1 (enable) set passwordEnter old password: Enter new password: Retype new password: Password changed.5509-ER-F1 (enable) set enablepassEnter old password: Enter new password: Retype new password: Password changed.5
4、509-ER-F1 (enable) set banner motd %5509-ER-F1 (Catalyst 5509)Access Restricted%MOTD banner set5509-ER-F1 (enable) set interface sc0 10.10.1.10/24Interface sc0 IP address set.5509-ER-F1 (enable) set ip route default 10.10.1.1Route added.5509-ER-F1 (enable) set ip dns server 10.10.10.10010.10.10.100
5、added to DNS server table as primary server.5509-ER-F1 (enable) set ip dns domain Default DNS domain name set to 5509-ER-F1 (enable) set ip dns enableDNS is enabled5509-ER-F1 (enable) set vtp domain BigCorp mode serverVTP domain BigCorp modified5509-ER-F1 (enable) set vlan 10 name CorporateVlan 10 c
6、onfiguration successful5509-ER-F1 (enable) set vlan 20 name DevEngVlan 20 configuration successful5509-ER-F1 (enable) set vlan 30 name MfgVlan 30 configuration successful5509-ER-F1 (enable) set vlan 40 name QAVlan 40 configuration successful5509-ER-F1 (enable) set vlan 50 name Finance&AdminVlan 50 c
7、onfiguration successful5509-ER-F1 (enable) set vlan 60 name Sales&Mktg Vlan 60 configuration successful5509-ER-F1 (enable) set module name 1 Supervisor IIIModule name set.5509-ER-F1 (enable) set port flowcontrol 1/1-2 send offPorts 1/1-2 flow control send administration status set to off(ports will
8、not send flowcontrol to far end)5509-ER-F1 (enable) set port flowcontrol 1/1-2 receive offPorts 1/1-2 flow control receive administration status set to off(ports will not allow far end to send flowcontrol)5509-ER-F1 (enable) set port negotiation 1/1-2 enablePorts 1/1-2 negotiation enabled5509-ER-F1
9、(enable) set port name 1/1-2 GEC 802.1Q TrunkPorts 1/1-2 name set.5509-ER-F1 (enable) set port channel 1/1-2 desirablePort(s) 1/1-2 channel mode set to desirable.5509-ER-F1 (enable) set trunk 1/1 desirable dot1qPort(s) 1/1 trunk mode set to desirable.Port(s) 1/1 trunk type set to dot1q.5509-ER-F1 (e
10、nable) set module name 3 RSM (RSM-ER-F1)Module name set.5509-ER-F1 (enable) set module name 5 Fast Ether UplinksModule name set.5509-ER-F1 (enable) set port name 5/1-4 FEC ISL TrunkPorts 5/1-4 name set.5509-ER-F1 (enable) set port speed 5/1-4 100Ports 5/1-4 transmission speed set to 100Mbps.5509-ER-
11、F1 (enable) set port duplex 5/1-4 fullPorts 5/1-4 set to full-duplex.5509-ER-F1 (enable) set port flowcontrol 5/1-4 send offPorts 5/1-4 flow control send administration status set to off(ports will not send flowcontrol to far end)5509-ER-F1 (enable) set port flowcontrol 5/1-4 receive offPorts 5/1-4
12、flow control receive administration status set to off(ports will not allow far end to send flowcontrol)5509-ER-F1 (enable) set port negotiation 5/1-4 enablePorts 5/1-4 negotiation enabled5509-ER-F1 (enable) set port channel 5/1-4 desirablePort(s) 5/1-4 channel mode set to desirable.5509-ER-F1 (enabl
13、e) set trunk 5/1 desirable islPort(s) 5/1 trunk mode set to desirable.Port(s) 5/1 trunk type set to isl.5509-ER-F1 (enable) set module name 6 DevEng 100Mb HostsModule name set.5509-ER-F1 (enable) set port name 6/1 DE Sparc UltraPort 6/1 name set.5509-ER-F1 (enable) set port name 6/2-7 DE Sparc20Port
14、s 6/2-7 name set.5509-ER-F1 (enable) set port name 6/8-12 DE NT WorkstationPorts 6/8-12 name set.5509-ER-F1 (enable) set port speed 6/1-12 100Ports 6/1-12 transmission speed set to 100Mbps.5509-ER-F1 (enable) set port duplex 6/1-12 fullPorts 6/1-12 set to full-duplex.5509-ER-F1 (enable) set port flo
15、wcontrol 6/1-12 send desiredPorts 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 desiredPorts 6/1-12 flow control receive administration status set to desired(ports wi
16、ll allow far end to send flowcontrol if far end supports it)5509-ER-F1 (enable) set port channel 6/1-12 offPort(s) 6/1-12 channel mode set to off.5509-ER-F1 (enable) set trunk 6/1-12 offPort(s) 6/1-12 trunk mode set to off.5509-ER-F1 (enable) set spantree portfast 6/1-12 enableWarning: Spantree port
17、 fast start should only be enabled on ports connectedto a single host. Connecting hubs, concentrators, switches, bridges, etc. toa 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-12VLAN 20 modified
18、.VLAN 1 modified.VLANMod/Ports- -201/1-25/1-4 6/1-125509-ER-F1 (enable) set module name 7 Corp/Mfg 10Mb HostsModule name set.5509-ER-F1 (enable) set port name 7/1-12 Corp Win98 PCPorts 7/1-12 name set.5509-ER-F1 (enable) set port name 7/13-48 Mfg Win98 PCPorts 7/13-48 name set.5509-ER-F1 (enable) se
19、t port duplex 7/1-48 fullPorts 7/1-48 set to full-duplex.5509-ER-F1 (enable) set spantree portfast 7/1-48 enableWarning: Spantree port fast start should only be enabled on ports connectedto a single host. Connecting hubs, concentrators, switches, bridges, etc. toa fast start port can cause temporary
20、 spanning tree loops. Use with caution.Spantree ports 7/1-48 fast start enabled.5509-ER-F1 (enable) set vlan 10 7/1-12VLAN 10 modified.VLAN 1 modified.VLANMod/Ports- -101/1-25/1-4 7/1-125509-ER-F1 (enable) set vlan 30 7/13-48VLAN 30 modified.VLAN 1 modified.VLANMod/Ports- -301/1-25/1-4 7/13-485509-E
21、R-F1 (enable) set module name 8 DevEng 10Mb HostsModule name set.5509-ER-F1 (enable) set port name 8/1-48 DevEng WinNT PCPorts 8/1-48 name set.5509-ER-F1 (enable) set port duplex 8/1-48 fullPorts 8/1-48 set to full-duplex.5509-ER-F1 (enable) set spantree portfast 8/1-48 enableWarning: Spantree port
22、fast start should only be enabled on ports connectedto a single host. Connecting hubs, concentrators, switches, bridges, etc. toa 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-48VLAN 20 modified.
23、VLAN 1 modified.VLANMod/Ports- -201/1-25/1-4 6/1-128/1-485509-ER-F1 (enable) set module name 9 DevEng 10Mb HostsModule name set.5509-ER-F1 (enable) set port name 9/1-48 DevEng WinNT PCPorts 9/1-48 name set.5509-ER-F1 (enable) set port duplex 9/1-48 fullPorts 9/1-48 set to full-duplex.5509-ER-F1 (ena
24、ble) set spantree portfast 9/1-48 enableWarning: Spantree port fast start should only be enabled on ports connectedto a single host. Connecting hubs, concentrators, switches, bridges, etc. toa 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-48VLAN 20 modified.VLAN 1 modified.VLANMod/Ports- -201/1-25/1-4 6/1-128/1-489/1-485509-ER-F1 (enable)
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1