3Com 5500 Switch User Manual


 
Configuring OSPF Route Summarization 123
ospf 1 router-id 2.2.2.2
area 0.0.0.2
network 30.1.1.0 0.0.0.255
#
area 0.0.0.0
network 10.1.1.0 0.0.0.255
#
Configure Switch C.
#
vlan 200
#
vlan 300
#
interface Vlan-interface200
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
asbr-summary 1.1.4.0 255.255.252.0
asbr-summary 1.1.3.0 255.255.255.0 not-advertise
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