Summarising routes on VOSS into Area 0

In the following example we have a VOSS switch configured with OSPF with area 0 and area 100. All local VLANs with IP enabled interfaces with the exception of the broadcast VLAN are IP OSPF passive addresses with class C subnets. The switch is an ABR.

VLAN 44 with IP 44.44.44.1/24.

Vlan44 44.44.44.1 255.255.255.0 enable up 44 false disable

To summarise these /24 routes as /16 and advertise into area 0 the following command can be used: 

router ospf enable
router ospf
area 0.0.0.100
area range 0.0.0.100 44.44.0.0/255.255.0.0 summary-link advertise-mode summarize
area range 0.0.0.100 44.44.0.0/255.255.0.0 summary-link advertise-metric 10
exit

The 44.44.44.0/24 subnet is summarised as a /16.

Extract from show ip ospf lsdb command…

Summary Lsas in Area 0.0.0.0

LSTYPE LINKSTATEID ADV_ROUTER AGE SEQ_NBR CSUM

Summary 44.44.0.0 151.58.1.0 17 0x80000001 0xe3e8

Routing table of OSPF neighbour in area 0…

VSP-8284XSQ:1(config)#show ip route

DST MASK NEXT VRF/ISID COST FACE PROT AGE TYPE PRF

44.44.0.0 255.255.0.0 55.55.55.1 GlobalRouter 111 55 OSPF 0 IB 25
55.55.55.0 255.255.255.0 55.55.55.2 – 1 55 LOC 0 DB 0

2 out of 2 Total Num of Route Entries, 2 Total Num of Dest Networks displayed.

TYPE Legend:
I=Indirect Route, D=Direct Route, A=Alternative Route, B=Best Route, E=Ecmp Route,
U=Unresolved Route, N=Not in HW, F=Replaced by FTN, V=IPVPN Route, S=SPBM Route
PROTOCOL Legend:
v=Inter-VRF route redistributed
VSP-8284XSQ:1(config)#

 

 

 

 

 

 

Leave a comment