Professional Documents
Culture Documents
Configure R1-1229118:
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1-1229118
R1-1229118(config)#int g0/1
R1-1229118(config-if)#ip address 192.168.0.1 255.255.255.0
R1-1229118(config-if)#no shutdown
R1-1229118(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
R1-1229118(config-if)#exit
R1-1229118(config)#int s0/0/1
R1-1229118(config-if)#ip address 10.1.1.1 255.255.255.252
R1-1229118(config-if)#no shutdown
R1-1229118(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R1-1229118(config-if)#
Configure R3-1229118:
Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R3-1229118
R3-1229118(config)#int g0/1
R3-1229118(config-if)#ip address 192.168.1.1 255.255.255.0
R3-1229118(config-if)#no shutdown
R3-1229118(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
R3-1229118(config-if)#exit
R3-1229118(config)#int s0/0/0
R3-1229118(config-if)#clock rate 12800
R3-1229118(config-if)#ip address 10.1.1.2 255.255.255.252
R3-1229118(config-if)#no shutdown
R3-1229118(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
R3-1229118(config-if)#
%LINK-5-CHANGED: Interface Loopback1, changed state to up
R1-1229118#
R1-1229118#
R1-1229118#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 192.168.0.1 YES manual up up
Serial0/0/0 unassigned YES unset administratively down down
Serial0/0/1 10.1.1.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R1-1229118#
// R3 – ip interface brief
R3-1229118>
R3-1229118>enable
R3-1229118#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 192.168.1.1 YES manual up up
Serial0/0/0 10.1.1.2 YES manual up up
Serial0/0/1 unassigned YES unset administratively down down
Loopback0 209.165.200.225 YES manual up up
Loopback1 198.133.219.1 YES manual up up
Vlan1 unassigned YES unset administratively down down
R3-1229118#
R1 – show ip route
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R1-1229118#
R3 – show ip route
R3-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R3-1229118#
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R1-1229118#
R3 ip route
R3-1229118>enable
R3-1229118#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3-1229118(config)#ip route 192.168.0.0 255.255.255.0 s0/0/0
%Default route without gateway, if not a point-to-point interface, may impact performance
R3-1229118(config)#
R3-1229118(config)#exit
R3-1229118#
%SYS-5-CONFIG_I: Configured from console by console
Show ip route
R3-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R3-1229118#
R1 – configure a static route
R1-1229118#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-1229118(config)#ip route 198.133.219.0 255.255.255.0 10.1.1.2
R1-1229118(config)#ip route 209.165.200.224 255.255.255.224 s0/0/1
%Default route without gateway, if not a point-to-point interface, may impact performance
R1-1229118(config)#exit
R1-1229118#
%SYS-5-CONFIG_I: Configured from console by console
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R1-1229118#
R1-1229118#
R1-1229118#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-1229118(config)#no ip route 209.165.200.224 255.255.255.224 s0/0/1
R1-1229118(config)#no ip route 198.133.219.0 255.255.255.0 10.1.1.2
R1-1229118(config)#exit
R1-1229118#
%SYS-5-CONFIG_I: Configured from console by console
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R1-1229118#
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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 0.0.0.0 to network 0.0.0.0
R1-1229118#
R1-1229118#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-1229118(config)#no ip route 0.0.0.0 0.0.0.0 s0/0/1
R1-1229118(config)#exit
R1-1229118#
%SYS-5-CONFIG_I: Configured from console by console
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R1-1229118#
R1-1229118#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1-1229118(config)#ip route 0.0.0.0 0.0.0.0 s0/0/1
%Default route without gateway, if not a point-to-point interface, may impact performance
R1-1229118(config)#ip route 198.133.219.0 255.255.255.0 10.1.1.2
R1-1229118(config)#ip route 209.165.200.224 255.255.255.224 s0/0/1
R1-1229118(config)#
R1-1229118(config)#exit
R1-1229118#
%SYS-5-CONFIG_I: Configured from console by console
R1-1229118#show ip route
Codes: L - local, C - connected, S - static, 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
R1-1229118#