【文章內(nèi)容簡介】
sco Systems, Inc. Compiled Mon 17Jul00 17:35 by ayounes Image textbase: 0x00003000, database: 0x00301F3C ROM: Bootstrap program is C2900XL boot loader Switch uptime is 4 minutes System returned to ROM by reload System image file is flash: cisco WSC2924XL (PowerPC403GA) processor (revision 0x11) with 8192K/1024K bytes of memory. Processor board ID FAB0432U1D2, with hardware revision 0x01 Last reset from warmreset Processor is running Enterprise Edition Software Cluster mand switch capable Cluster member switch capable 24 FastEther/IEEE interface(s) 交換機(jī)之 show version 命令 Ecshow run Building configuration... Current configuration: ! hostname Ec ! ip address ip defaultgateway ! interface Ether 0/1 text omitted interface Ether 0/24 ! Interface Ether 0/25 ! interface FastEther 0/26 ! interface FastEther 0/27 交換機(jī)之 show runningconfiguration 命令 interface VLAN1 no ip directedbroadcast no ip routecache ! interface VLAN10 no ip directedbroadcast no ip routecache shutdown ! interface VLAN20 no ip directedbroadcast no ip routecache shutdown ! ! line con 0 transport input none stopbits 1 line vty 0 4 login line vty 5 15 login ! end Catalyst 2924 Ecshow interfaces fastether 0/1 FastEther0/1 is down, line protocol is down Hardware is Fast Ether, address is (bia ) MTU 1500 bytes, BW 0 Kbit, DLY 100 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not set Autoduplex , Auto Speed , 100BaseTX/FX ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 00:07:14, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops。 input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 1 packets input, 64 bytes Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored more 交換機(jī)之 show interfaces命令 ? 配置模式 : – 全局配置模式 – Ec conf term – Ec(config) – 端口配置模式 – Ec(config) interface e0/1 – Ec(configif) 配置交換機(jī) 配置交換機(jī)的各種標(biāo)識 ? 為交換機(jī)設(shè)置本地標(biāo)識 交換機(jī)名 (config)hostname Ec Ec(config) Ec(configif) ip address {ip address} {mask} Ec(configif)ip address 配置交換機(jī)端口 IP地址 – 100baseT端口 : 自動(dòng)協(xié)商雙工模式 – 生成樹協(xié)議 : 開啟 – 控制臺密碼 : 無 Catalyst 2900系列的缺省配置 查看 MAC地址表 Ecshow macaddresstable Ecsh macaddresstable Number of permanent addresses : 0 Number of restricted static addresses : 0 Number of dynamic addresses : 6 Address Dest Interface Type Source Interface List Ether 0/2 Dynamic All FastEther 0/26 Dynamic All FastEther 0/26 Dynamic All FastEther 0/26 Dynamic All FastEther 0/26 Dynamic All FastEther 0/27 Dynamic All Ecshow macaddresstable 查看 MAC地址表 copy nvram tftp Ec 將配置文件發(fā)送到一個(gè) TFTP服務(wù)器 : 備份配置文件 copy tftp nvram copy nvram tftp Ec 將配置文件發(fā)送到一個(gè) TFTP服務(wù)器 : Ec 從一個(gè) TFTP服務(wù)器下載配置文件 : 管理配置文件 copy tftp nvram Eccopy nvram tftp Configuration upload is successfully pleted Eccopy tftp nvram TFTP successfully downloaded configuration file copy nvram tftp Ec Ec 將配置文件發(fā)送到一個(gè) TFTP服務(wù)器 : 從一個(gè) TFTP服務(wù)器下載配置文件 : 管理配置文件 CISOC R/S設(shè)備基本配置 Overview of Router Modes Saving Configurations Copies the current configuration to NVRAM RouterX RouterXcopy runningconfig startupconfig Destination filename [startupconfig]? Building configuration… RourterX Configuring Router Identification ConsoleLine Commands RouterX(config)line console 0 RouterX(configline)exectimeout 20 30 RouterX(config)line console 0 RouterX(configline)logging synchronous ? Modifies console session timeout ? Redisplays interrupted console input RouterX(config)interface type number RouterX(configif) ? type includes serial, ether, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, tunnel, and so on ? number is used to identify individual interfaces RouterX(configif)exit ? Quits from current interface configuration mode RouterX(config)interface type slot/port RouterX(configif) ? For modular routers, selects an interface Configuring an Interface RouterX(configif) description string ? string is a ment or a description to help you remember what is attached to this interface. ? The maximum number of characters for the string argument is 238. Configuring an Interface Description RouterXconfigure terminal RouterX(config)interface serial 0 RouterX(configif)no shutdown %LINK3UPDOWN: Interface Serial0, changed state to up %LINEPROTO5UPDOWN: Line Protocol on Interface Serial0, changed state to up ? Enables an interface that is administratively shut down RouterXconfigure terminal RouterX(config)interface serial 0 RouterX(configif)shutdown %LINK5CHANGED: Interface Serial0, changed state to administratively down %LINEPROTO5UPDOWN: Line protocol on Interface Serial0, changed state to down ? Administratively turns off an interface Disabling or Enabling an Interface ? Unique addressing allows munication between end stations ? Path choice is based on destination address Configuring IP Addresses Router show interfaces Command RouterXshow interfaces Ether0 is up, line protocol is up Hardware is Lance, address is (bia ) Inter address is MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:07, output 00:00:08, output hang n