Router>
Router>
Router>en
Router#
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#router ospf 1 ?
<cr>
Router(config)#router ospf 1
Router(config-router)#network 40.0.0.0 0.0.0.255 area 0 ?
<cr>
Router(config-router)#network 40.0.0.0 0.0.0.255 area 0
Router(config-router)#network 0.0.0.0 0.0.0.255 area 0
00:07:41: %OSPF-5-ADJCHG: Process 1, Nbr 40.0.0.1 on Serial1/0 from LOADING to FULL, Loading Done
Router(config-router)#network 50.0.0.0 0.0.0.255 area 0
Router(config-router)#
Router(config-router)#exit
Router(config)#
Router(config)#
Router(config)#sh ip route
^
% Invalid input detected at '^' marker.
Router(config)#
Router(config)#
Router(config)#
Router(config)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#
Router#
Router#sh ip route ?
WORD Network to display information about or hostname
bgp Border Gateway Protocol (BGP)
connected Connected
eigrp Enhanced Interior Routing Protocol (EIGRP)
ospf Open Shortest Path First (OSPF)
rip Routing Information Protocol (RIP)
static Static routes
<cr>
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 route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
O 10.0.0.0 [110/1563] via 40.0.0.1, 00:00:20, Serial1/0
20.0.0.0/30 is subnetted, 1 subnets
O 20.0.0.0 [110/1562] via 40.0.0.1, 00:00:20, Serial1/0
30.0.0.0/24 is subnetted, 1 subnets
O 30.0.0.0 [110/782] via 40.0.0.1, 00:00:20, Serial1/0
40.0.0.0/30 is subnetted, 1 subnets
C 40.0.0.0 is directly connected, Serial1/0
50.0.0.0/24 is subnetted, 1 subnets
C 50.0.0.0 is directly connected, FastEthernet0/0
Router#
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.