3Com 5500G, 4210, 4200G manual Configure Switch D

Models: 4210 5500 5500G 4200G

1 336
Download 336 pages 59.74 Kb
Page 125
Image 125

Configuring OSPF Route Summarization 125

ip address 20.1.1.2 255.255.255.0

#

interface Vlan-interface300

ip address 20.1.2.1 255.255.255.0

#

ospf 1 router-id 3.3.3.3 import-route static area 0.0.0.2

network 20.1.1.0 0.0.0.255 network 20.1.2.0 0.0.0.255 nssa

#

ip route-static 2.1.3.0 255.255.255.0 20.1.2.2 preference 60 ip route-static 2.1.4.0 255.255.255.0 20.1.2.2 preference 60 ip route-static 2.1.5.0 255.255.255.0 20.1.2.2 preference 60 ip route-static 2.1.6.0 255.255.255.0 20.1.2.2 preference 60 ip route-static 2.1.7.0 255.255.255.0 20.1.2.2 preference 60

#

Configure Switch D.

#

vlan 200

#

vlan 300

#

interface Vlan-interface200

ip address 30.1.1.2 255.255.255.0

#

interface Vlan-interface300

ip address 30.1.2.1 255.255.255.0

#

ospf 1 router-id 4.4.4.4 import-route static area 0.0.0.2

network 30.1.1.0 0.0.0.255 network 30.1.2.0 0.0.0.255

#

ip route-static 1.1.3.0 255.255.255.0 30.1.2.2 preference 60 ip route-static 1.1.4.0 255.255.255.0 30.1.2.2 preference 60 ip route-static 1.1.5.0 255.255.255.0 30.1.2.2 preference 60 ip route-static 1.1.6.0 255.255.255.0 30.1.2.2 preference 60 ip route-static 1.1.7.0 255.255.255.0 30.1.2.2 preference 60

#

Precautions The abr-summarycommand is applicable to the ABR only to summarize contiguous networks into a single network. You can use the not-advertisekeyword to not advertise a specified summary route in a Type-3 LSA.

After the asbr-summarycommand is used on an ASBR, it will summarize the Type-5 LSAs falling into the specified address range; if the ASBR is in an NSSA area, it will summarize the Type-7 LSAs within the specified address range. If used on the ABR of an NSSA area, the asbr-summarycommand summarizes Type-5 LSAs translated from Type-7 LSAs. If the router is not the ABR in the NSSA area, no summarization is performed. You can use the not-advertisekeyword to not advertise a specified summary route in a LSA.

Page 125
Image 125
3Com 5500G, 4210, 4200G manual Configure Switch D