132CHAPTER 15: ROUTING CONFIGURATION GUIDE
#Configure route summarization to prevent network 30.0.0.0/8 from being advertised.
[SwitchA-ospf-1] asbr-summary 30.0.0.0 255.0.0.0 not-advertise
# Redistribute the static routes.
■Configure Switch B.
The configuration on Switch B is the same as that in method 1. Refer to “Configure Switch B.” on page 130.
Complete Configuration In the following complete configuration, the
■Perform the following configuration on Switch A.
#
router id 1.1.1.1
#
acl number 2000
rule 0 deny source 30.0.0.0 0.255.255.255 rule 1 permit
#
vlan 100
#
vlan 200
#
interface
#
interface
#
ospf 1
network 10.0.0.0 0.255.255.255
#
#
ip
#
■Perform the following configuration on Switch B.
#
router id 2.2.2.2
#
vlan 100
#
interface