Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration
Huawei Technologies Proprietary
6-9
By default, the filtering of the received and distributed routes will not be performed.
6.3 Displaying and Debugging the Routing Policy
After the above configuration, execute display command in any view to display the
running of the routing policy configuration, and to verify the effect of the configuration.
Table 6-8 Displaying and debugging the route policy
Operation Command
Display the routing policy
display route-policy
[ route-policy-name ]
Display the path information of the AS filter
in BGP
display ip as-path-acl [ acl-number ]
Display the address prefix list information display ip ip-prefix [ ip-prefix-name ]
6.4 Typical IP Routing Policy Configuration Example
6.4.1 Configuring to Filter the Received Routing Information
I. Networking requirements
z Switch A communicates with Switch B, running OSPF protocol.
z Import three static routes through enabling the OSPF protocol on the Switch A.
z The route filtering rules can be configured on Switch B to make the received three
static routes partially visible and partially shielded. It means that routes in the
network segments 20.0.0.0 and 40.0.0.0 are visible while those in the network
segment 30.0.0.0 are shielded.
II. Networking diagram
area 0
static 20.0.0.0/8
30.0.0.0/8
40.0.0.0/8
Router ID:1.1.1.1
10.0.0.2/8
Switch A
Switch B
Vlan-interface200
12.0.0.1/8
Router ID:2.2.2.2
Vlan-interface100
10.0.0.1/8 Vlan-interface100
Figure 6-1 Filtering the received routing information
III. Configuration procedure
Configure Switch A:
# Configure the IP address of VLAN interface.
[Switch A] interface vlan-interface 100
[Switch A-Vlan-interface100] ip address 10.0.0.1 255.0.0.0