130 CHAPTER 15: ROUTING CONFIGURATION GUIDE
# Configure an ACL.
[SwitchA] acl number 2000
# Configure a routing policy.
[SwitchA]
# Apply the routing policy when the static routes are redistributed.
[SwitchA] ospf
# Configure the IP address of the interface.
<SwitchB>
[SwitchB] interface
# Enable OSPF and specify VLAN interface 100 to belong to area 0.
[SwitchB] router id 2.2.2.2
[SwitchB] ospf
Filter routing information with the
■Configure Switch A.
# Configure the IP addresses of the interfaces.
<SwitchA>
[SwitchA] interface
# Configure three static routes.
[SwitchA] ip
[SwitchA] ip
[SwitchA] ip
# Enable OSPF and specify VLAN interface 100 to belong to area 0.