Auto-summary

How to configure Auto-summary?




Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#ip add 11.11.1.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
int fa 0/1
Router(config-if)#ip add 11.11.4.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
exit
Router(config)#router rip 
Router(config-router)#ver 2
Router(config-router)#net 11.0.0.0
Router(config-router)#no auto-s
Router(config-router)#no auto-summary 
Router(config-router)#do wr
Building configuration...
[OK]





Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Router1
Router1(config)#int fa 0/0
Router1(config-if)#ip address 11.11.1.2 255.255.255.0
Router1(config-if)#no sh

Router1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
int fa 0/1
Router1(config-if)#ip add 11.11.2.1 255.255.255.0
Router1(config-if)#no sh

Router1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
exit
Router1(config)#router rip
Router1(config-router)#ver 2
Router1(config-router)#net 11.0.0.0
Router1(config-router)#no auto-
Router1(config-router)#no auto-summary 
Router1(config-router)#do wr
Building configuration...
[OK]

Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Router2
Router2(config)#int fa 0/1
Router2(config-if)#ip add 11.11.2.2 255.255.255.0
Router2(config-if)#no sh

Router2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
int fa 0/0
Router2(config-if)#ip add 11.11.3.1 255.255.255.0
Router2(config-if)#no sh

Router2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
int fa 1/0
Router2(config-if)#ip add 12.12.12.1 255.255.255.0
Router2(config-if)#no sh

Router2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
exit
Router2(config)#router rip
Router2(config-router)#ver 2
Router2(config-router)#net 11.0.0.0
Router2(config-router)#net 12.12.12.0
Router2(config-router)#no auto
Router2(config-router)#no auto-summary 
Router2(config-router)#do wr
Building configuration...
[OK]

Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Router3
Router3(config)#int fa 0/0
Router3(config-if)#ip add 11.11.3.2 255.255.255.0
Router3(config-if)#no sh

Router3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
int fa 0/1
Router3(config-if)#ip add 11.11.4.2 255.255.255.0
Router3(config-if)#no sh

Router3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
exit
Router3(config)#router rip
Router3(config-router)#ver 2
Router3(config-router)#net 11.0.0.0
Router3(config-router)#no auto
Router3(config-router)#no auto-summary 
Router3(config-router)#do wr
Building configuration...
[OK]
Router3(config-router)#exit
Router3(config)#exit
Router3#
%SYS-5-CONFIG_I: Configured from console by console
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

     11.0.0.0/24 is subnetted, 4 subnets
R       11.11.1.0 [120/1] via 11.11.4.1, 00:00:25, FastEthernet0/1
R       11.11.2.0 [120/1] via 11.11.3.1, 00:00:03, FastEthernet0/0
C       11.11.3.0 is directly connected, FastEthernet0/0
C       11.11.4.0 is directly connected, FastEthernet0/1


Router>en
Router#config t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname Router4
Router4(config)#int fa 0/0
Router4(config-if)#ip add 12.12.12.2 255.255.255.0
Router4(config-if)#no sh

Router4(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
exit
Router4(config)#router rip
Router4(config-router)#ver 2
Router4(config-router)#net 12.12.12.0
Router4(config-router)#do 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

     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0
Router4(config-router)#exit
Router4(config)#exit
Router4#
%SYS-5-CONFIG_I: Configured from console by console

Router4#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

     11.0.0.0/24 is subnetted, 4 subnets
R       11.11.1.0 [120/2] via 12.12.12.1, 00:00:20, FastEthernet0/0
R       11.11.2.0 [120/1] via 12.12.12.1, 00:00:20, FastEthernet0/0
R       11.11.3.0 [120/1] via 12.12.12.1, 00:00:20, FastEthernet0/0
R       11.11.4.0 [120/2] via 12.12.12.1, 00:00:20, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, FastEthernet0/0


Share:

0 comments

Please leave your comments...... Thanks