1、router2配置文档Router2配置文档Press Enter to StartRouterRouterenabRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname Router2Router2(config)#enab secret 501Router2(config)#Z%SYS-5-CONFIG_I: Configured from console by consoleRouter2#config tEnter configuration c
2、ommands, one per line. End with CNTL/Z.Router2(config)#int FastEthernet0/0Router2(config-if)#ip address 219.17.100.1 255.255.255.0Router2(config-if)#no shutdown%LINK-3-UPDOWN: Interface Ethernet0, changed state to upRouter2(config-if)#Z%SYS-5-CONFIG_I: Configured from console by consoleRouter2#show
3、int FastEthernet0/0Ethernet0 is up, line protocol is up Hardware is Lance, address is 000C.4925.9177 (bia 000C.4925.9177) Internet address is 219.17.100.0/24 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:
4、ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output 00:00:00, 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 1000 bits/sec, 2 packets/sec 5 minute output rate 1000 bits/sec, 2 packe
5、ts/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0
6、babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outRouter2#conf tEnter configuration commands, one per line. End with CNTL/Z.Router2(config)#int Serial0/0/0Router2(config-if)#ip address 199.6.13.1 255.255.255.0Router2(config-if)#n
7、o shutdownRouter2(config-if)#Z%SYS-5-CONFIG_I: Configured from console by consoleRouter2#conf tEnter configuration commands, one per line. End with CNTL/Z.Router2(config)#int Serial0/0/1Router2(config-if)#ip address 201.100.11.2 255.255.255.0Router2(config-if)#no shutdownRouter2(config-if)#Z%SYS-5-C
8、ONFIG_I: Configured from console by consoleRouter2#show int Serial0/0/0Serial0 is administratively down, line protocol is down Hardware is HD64570 Internet address is 199.6.13.1/24 MTU 1500 bytes, BW 1544 Kbit, DLY 1000 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive s
9、et (10 sec) Last input 00:00:00, output 00:00:00, 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 1000 bits/sec, 2 packets/sec 5 minute output rate 1000 bits/sec, 2 packets/sec 0 packet
10、s input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 babbles, 0 late
11、 collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outRouter2#show int Serial0/0/1Serial1 is administratively down, line protocol is down Hardware is HD64570 Internet address is 201.100.11.2/24 MTU 1500 bytes, BW 1544 Kbit, DLY 1000 usec, rely 255/
12、255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 00:00:00, output 00:00:00, 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 1000 bits/sec, 2 packe
13、ts/sec 5 minute output rate 1000 bits/sec, 2 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0
14、output errors, 0 collisions, 0 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped outRouter2#conf tEnter configuration commands, one per line. End with CNTL/Z.Router2(config)#router ripRouter2(config-router)#networ
15、k 201.100.11.0Router2(config-router)#network 219.17.100.0Router2(config-router)#network 199.6.13.0Router2(config-router)#Z%SYS-5-CONFIG_I: Configured from console by consoleRouter2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O
16、 - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static routeGateway of last resort is not setC 219.17.100.0/24 is directly connected, Ethernet0C 199.6.13.0/24 is directly
17、 connected, Serial0C 201.100.11.0/24 is directly connected, Serial1Router2#sh runBuilding configuration.!Version 12.1service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Router2enable secret 5 $sdf$6978yhg$jnb76sdenable password 403!ip subnet-zero!inter
18、face Serial0 ip address 199.6.13.1 255.255.255.0 no ip directed-broadcast!interface Serial1 ip address 201.100.11.2 255.255.255.0 no ip directed-broadcast!interface Serial2 no ip address no ip directed-broadcast shutdown!interface Serial3 no ip address no ip directed-broadcast shutdown!interface Ser
19、ial4 no ip address no ip directed-broadcast shutdown!interface Serial5 no ip address no ip directed-broadcast shutdown!Router2#conf tEnter configuration commands, one per line. End with CNTL/Z.Router2(config)#int Serial0/0/0Router2(config-if)#clock rate 64000%LINK-3-UPDOWN: Interface Serial0, change
20、d state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to upRouter2(config-if)#bandwidth 64Router2(config-if)#Z%SYS-5-CONFIG_I: Configured from console by consoleRouter2#show controller Serial0/0/0HD unit 0, idb = 0x1AE828, driver structure at 0x1B4BA0buffer size 1524 HD
21、 unit 0,V.35 DCE cablecpb = 0x7, eda = 0x58DC, cda = 0x58F0RX ring with 16 entries at 0x407580000 bd_ptr=0x5800 pak=0x1B5E24 ds=0x4079108 status=80 pak_size=1301 bd_ptr=0x5814 pak=0x1B85B8 ds=0x4080384 status=80 pak_size=1302 bd_ptr=0x5828 pak=0x1B880C ds=0x4080A40 status=80 pak_size=6903 bd_ptr=0x5
22、83C pak=0x1B8110 ds=0x407F60C status=80 pak_size=1304 bd_ptr=0x5850 pak=0x1B7EBC ds=0x407EF50 status=80 pak_size=1305 bd_ptr=0x5864 pak=0x1B7C68 ds=0x407E894 status=80 pak_size=1306 bd_ptr=0x5878 pak=0x1B7A14 ds=0x407E1D8 status=80 pak_size=1307 bd_ptr=0x588C pak=0x1B77C0 ds=0x407DB1C status=80 pak_
23、size=1308 bd_ptr=0x58A0 pak=0x1B756C ds=0x407D460 status=80 pak_size=6909 bd_ptr=0x58B4 pak=0x1B7318 ds=0x407CDA4 status=80 pak_size=1310 bd_ptr=0x58C8 pak=0x1B70C4 ds=0x407C6E8 status=80 pak_size=1311 bd_ptr=0x58DC pak=0x1B6E70 ds=0x407C02C status=80 pak_size=1312 bd_ptr=0x58F0 pak=0x1B69C8 ds=0x40
24、7B2B4 status=80 pak_size=1313 bd_ptr=0x5904 pak=0x1B6774 ds=0x407ABF8 status=80 pak_size=6914 bd_ptr=0x5918 pak=0x1B6520 ds=0x407A53C status=80 pak_size=1315 bd_ptr=0x592C pak=0x1B62CC ds=0x4079E80 status=80 pak_size=1316 bd_ptr=0x5940 pak=0x1B6078 ds=0x40797C4 status=80 pak_size=13cpb = 0x7, eda =
25、0x6014, cda = 0x6014TX ring with 1 entries at 0x407600000 bd_ptr=0x6000 pak=0x000000 ds=0x4084574 status=80 pak_size=1301 bd_ptr=0x6014 pak=0x000000 ds=0x4084574 status=80 pak_size=130 missed datagrams, 0 overruns0 bad datagram encapsulations, 0 memory errors0 transmitter underruns0 residual bit err
26、orsRouter2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - p
27、er-user static routeGateway of last resort is not setC 219.17.100.0/24 is directly connected, Ethernet0C 201.100.11.0/24 is directly connected, Serial1R 192.5.5.0/24 120/1 via 201.100.11.1, 00:04:38, Serial1C 199.6.13.0/24 is directly connected, Serial0R 223.8.151.0/24 120/1 via 199.6.13.2, 00:09:44, Serial0Router2#copy running-config startup-configDestination filename startup-config?Building configuration.OK
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1