Transcription of 02.实验二:交换机管理 - hactcm.edu.cn
1 / .. 1 . 2 . 3 Console Telnet HTTP . 4 .. 2 .. 1 . 1 2 . 2 . Windows 7 PuTTY . 3 .. 4 . Console 2 .. 1 . 2 . 3 . 4 MAC . 5 MAC .. 1 Windows 7 .. 2 PuTTY . 3 COM . 4 . / 10 , 1 . / .. Telnet HTTP SNMP . Console .. 1 . 2 . 2 .. 5 . 2-1 . 2-1 .. 1. 2. 3. 4. 5. 6. 7. 8. 9.. / 10 , 2 . / . 1 . 2 Console . 3 Telnet . 4 HTTP . 5 .. DCS-3950 . 2 DCN DCS-3950 6 . 1 Console . 1 PuTTY . PuTTY . 2 COM Console . Console COM . 3 PuTTY Serial . Serial Line COM . Speed 9600 2-1 . 2-1 PuTTY . 2-2 Console . 4 Open 2-2 . Console .. System is booting, please Testing 0x04000000 RAM OK. Attaching to file system .. done. Loading .. Starting at / 10 , 3 . / . Attaching to file system .. done. Current time is Sun Jan 01 00:00:00 2006. DCS-3950-26C Series Switch Operating System Software Version DCNOS version is Compiled Jan 21 17:17:39 2011. 26 Ethernet/IEEE interface(s). Mac Addr 00-03-0f-17-ca-d8. Loading factory config.
2 %Jan 01 00:00:43 2006 %LINK-5-CHANGED: Interface Ethernet1/1, changed state to UP. 5 IP . DCS-3950-26C>enable DCS-3950-26C#config DCS-3950-26C(config)#interface vlan 1. DCS-3950-26C(config-if-vlan1)#ip address DCS-3950-26C(config-if-vlan1)#no shutdown 6 Telnet Telnet . DCS-3950-26C(config)#telnet-server enable DCS-3950-26C(config)#username LabsDemo privilege 15 password demopwd DCS-3950-26C(config)#authentication line vty login local . Telnet # (config) . username <username> privilege <privilege> [password (0 | 7) <password>] . Telnet privilege 15 password 0 . authentication line vty login local Telnet . 7 HTTP Web . DCS-3950-26C(config)#ip http server web server is on DCS-3950-26C(config)#authentication line web login local . HTTP Server # (config) . username <username> privilege <privilege> [password (0 | 7) <password>] . Telnet privilege 15 password 0 . authentication line web login local Web.
3 1 Console .. 2 Console . 2 . 2 Telnet . 1 Telnet . / 10 , 4 . / . IP Telnet . Telnet .. Telnet Telnet . 2 IP IP. IP . 3 PuTTY Telnet . Host Name IP . Port 23 2-3 . 4 Open 2-4 .. 2-4 Telnet . 2-3 Telnet .. 1 Telnet . 2 Telnet . 2 . 3 HTTP . 1 HTTP . IP HTTP Server . HTTP .. Web . 2 IP IP. IP . 3 2-5 . 4 Web 2-6 . / 10 , 5 . / . 2-5 . 2-6 .. 1 Web 3 . MAC . 2 Web Console .. 2 . 4 .. 1 .. DCS-3950-26C#show interface ethernet status . DCS-3950-26C#show interface ethernet counter packet . DCS-3950-26C#show interface ethernet counter rate 2 . 0/0/1 . DCS-3950-26C#show interface ethernet 0/0/1. Ethernet0/0/1 is up, line protocol is up Ethernet0/0/1 is layer 2 port, alias name is (null), index is 1. / 10 , 6 . / . Hardware is Fast-Ethernet, address is 00-03-0f-17-ca-d9. PVID is 1. MTU 1500 bytes, BW 100000 Kbit Encapsulation ARPA, Loopback not set Auto-duplex: Negotiation full-duplex, Auto-speed: Negotiation 100M bits FlowControl is off, MDI type is auto 5 minute input rate 251 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec The last 5 second input rate 0 bits/sec, 0 packets/sec The last 5 second output rate 0 bits/sec, 0 packets/sec Input packets statistics: 2154 input packets, 221560 bytes, 0 no buffer 910 unicast packets, 604 multicast packets, 640 broadcast packets 0 input errors, 0 CRC, 0 frame alignment, 0 overrun, 0 ignored, 0 abort, 0 length error, 0 pause frame Output packets statistics: 1160 output packets, 619064 bytes, 0 underruns 1154 unicast packets, 6 multicast packets, 0 broadcast packets 0 output errors, 0 collisions, 0 late collisions, 0 pause frame 3.
4 DCS-3950-26C#config . DCS-3950-26C(config)#interface ethernet 0/0/1. 0/0/1 R-X220. DCS-3950-26C(config-if-ethernet0/0/1)#na me R-X220.. DCS-3950-26C(config-if-ethernet0/0/1)#sh ow interface ethernet 0/0/1. Ethernet0/0/1 is up, line protocol is up Ethernet0/0/1 is layer 2 port, alias name is R-X220, index is 1. Hardware is Fast-Ethernet, address is 00-03-0f-17-ca-d9. PVID is 1. MTU 1500 bytes, BW 100000 Kbit Encapsulation ARPA, Loopback not set Auto-duplex: Negotiation full-duplex, Auto-speed: Negotiation 100M bits FlowControl is off, MDI type is auto 5 minute input rate 314 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec The last 5 second input rate 0 bits/sec, 0 packets/sec The last 5 second output rate 0 bits/sec, 0 packets/sec Input packets statistics: 2185 input packets, 225549 bytes, 0 no buffer 910 unicast packets, 620 multicast packets, 655 broadcast packets 0 input errors, 0 CRC, 0 frame alignment, 0 overrun, 0 ignored, 0 abort, 0 length error, 0 pause frame Output packets statistics: 1160 output packets, 619064 bytes, 0 underruns 1154 unicast packets, 6 multicast packets, 0 broadcast packets 0 output errors, 0 collisions, 0 late collisions, 0 pause frame / 10 , 7.
5 / . 4 . DCS-3950-26C(config-if-ethernet0/0/1)#sp eed-duplex auto force10-full force10-half force100-full force100-fx force100-half force10g-full force1g-full force1g-half . DCS-3950-26C(config-if-ethernet0/0/1)#sp eed-duplex auto 5 . DCS-3950-26C(config-if-ethernet0/0/1)#ba ndwidth control 10. both receive transmit 10 Mbps . DCS-3950-26C(config-if-ethernet0/0/1)#ba ndwidth control 10 receive Information: Your input 10 is scaled to 0.. DCS-3950-26C(config-if-ethernet0/0/1)#no bandwidth control 6 .. DCS-3950-26C(config-if-ethernet0/0/1)#sh utdown . DCS-3950-26C(config-if-ethernet0/0/1)#no shutdown . 1 2 . 2 Trunk . 2 .. 1 . 1 . 2 .. 2 . 2 . 1 . 2 .. 1 1 . 2 2 .. / 10 , 8 . / .. 1 . 1 3 2-7 . 2-7 3 . 2 3 IP IP IP . S-2 Telnet HTTP 3 . 2-2 IP . IP . 1 S-2. 2 S-1 S-2 1/24. 3 S-2 S-1 1/24 S-3 1/24. 4 S-3 S-2 1/1.. 1 IP 2-2 IP . 2 2 3 .. 2 . 1 3 4 2-8 . 2-8 3 4 . 2 4 2-3 . / 10 , 9 . / . 2-3 4.
6 1 A 20 Mbps S-1 1/10. 2 B 100M PC-B S-2 1/12. 3 C 100M 1M S-2 1/14. 4 D 1000M S-3 1/16.. 2 4 .. 1 . 1 / 28-37 . 2 84-90 . 3 Cisco/H3C . 2 . 4 . 2 . 1 IP 2012 04.. 2 . 2005 02 . 3 . ( ) 2011 03 . 4 2006 11 . 3 .. 4 .. / 10 , 10.
