3com 3031 Instruccion De Instalación
580
C
HAPTER
43: IP R
OUTING
P
OLICY
C
ONFIGURATION
By default, the filtering of the imported and distributed routes will not be
performed.
performed.
Displaying and
Debugging the
Routing Policy
Debugging the
Routing Policy
After the above configuration, execute
display
command in all views to display
the running of the routing policy configuration, and to verify the effect of the
configuration.
configuration.
Typical Example of
Routing Policy
Configuration
Routing Policy
Configuration
Configuring to filter the
Received Routing
Information
Networking requirement
■
Router A communicates with Router B, the link layer is encapsulated with the
PPP protocol. OSPF protocol is enabled on both routers.
PPP protocol. OSPF protocol is enabled on both routers.
■
Configure the OSPF route process on Router A and import three static routes.
■
With the application of the route filtering rule configured in Router B, make the
received three 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.
received three 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.
Networking diagram
Figure 142 Networking diagram of filtering imported routing information
Configuration procedure
1 Configure Router A:
a Configure the IP address of interface Serial1/0/0 and encapsulate the PPP
protocol.
[Router A]interface serial 1/0/0
Table 679 Display and debug the routing policy
Operation
Command
Display the routing-policy
display route-policy [ route-policy-name ]
Display the path information
of the AS filter in BGP
of the AS filter in BGP
display ip as-path-acl [ acl-number ]
Display the address prefix list
information
information
display ip ip-prefix [ ip-prefix-name ]
Serial1/0/0
10.0.0.1/8
10.0.0.1/8
Serial1/0/0
10.0.0.2/8
Static: 20.0.0.1
30.0.0.1
40.0.0.1
40.0.0.1
Area 0
Router A
Router B
1.1.1.1
2.2.2.2