Ip Route Policy Configuration Example; Configuring To Filter Received Routing Information - 3Com 5500-EI PWR Install Manual

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

IP Route Policy Configuration Example

Configuring to Filter Received Routing Information

Network requirements
Switch A communicates with Switch B. OSPF protocol is enabled on both switches. The router ID of
Switch A is 1.1.1.1 and that of Switch B is 2.2.2.2.
Configure three static routes and enable OSPF on Switch A.
By configuring route filtering rules on Switch A make the three received static routes partially visible and
partially shielded: the routes of network segments 20.0.0.0 and 40.0.0.0 are visible, and the route of
network segment 30.0.0.0 is shielded.
Network diagram
Figure 5-1 Filter received routing information
Static 20.0.0.0/8
30.0.0.0/8
40.0.0.0/8
Vlan-Int 200
12.0.0.1/8
Configuration procedure
Configure Switch A:
# Configure the IP addresses of the interfaces.
<SwitchA> system-view
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.0.0.1 255.0.0.0
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] ip address 12.0.0.1 255.0.0.0
[SwitchA-Vlan-interface200] quit
# Configure three static routes.
[SwitchA] ip route-static 20.0.0.0 255.0.0.0 12.0.0.2
[SwitchA] ip route-static 30.0.0.0 255.0.0.0 12.0.0.2
[SwitchA] ip route-static 40.0.0.0 255.0.0.0 12.0.0.2
# Enable the OSPF protocol and specify the ID of the area to which the interface 10.0.0.1 belongs.
<SwitchA> system-view
[SwitchA] router id 1.1.1.1
10.0.0.1/8
Vlan-Int 100
Switch A
Router ID:
1.1.1.1
Area 0
10.0.0.2/8
Switch B
Router ID:
2.2.2.2
5-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents