![]() |
删除动态路由:
![]()
Router>en
Router#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static routeGateway of last resort is not set
R 1.0.0.0/8 [120/2] via 6.6.6.100, 00:00:21, Serial3/0
R 2.0.0.0/8 [120/2] via 6.6.6.100, 00:00:21, Serial3/0
R 3.0.0.0/8 [120/1] via 6.6.6.100, 00:00:21, Serial3/0
R 4.0.0.0/8 [120/1] via 6.6.6.100, 00:00:21, Serial3/0
R 5.0.0.0/8 [120/1] via 6.6.6.100, 00:00:21, Serial3/0
C 6.0.0.0/8 is directly connected, Serial3/0
C 8.0.0.0/8 is directly connected, FastEthernet0/0
Router#conf
Configuring from terminal, memory, or network [terminal]? t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no route rip
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by consoleRouter#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
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, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static routeGateway of last resort is not set
C 6.0.0.0/8 is directly connected, Serial3/0
C 8.0.0.0/8 is directly connected, FastEthernet0/0
Router#