Configuring Routing Policies 131
[SwitchA] router id 1.1.1.1
[SwitchA] ospf
# Configure an ACL.
[SwitchA] acl number 2000
# Apply ACL 2000 to filter the advertised routes.
[SwitchA] ospf
# Redistribute 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.
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.
[SwitchA] router id 1.1.1.1
[SwitchA] ospf