3Com Switch 8800 Configuration Guide
Chapter 22 IP Routing Policy Configuration
22-10
Table 22-9
Configure to filter the advertised routes
Operation
Command
Configure to filter the routes
advertised by the protocol
filter-policy
{
acl
-
number
|
ip-prefix
ip
-
prefix
-
name
}
export
[
protocol
]
Cancel the filtering of the routes
advertised by the protocol
undo filter-policy
{
acl
-
number
|
ip-prefix
ip
-
prefix
-
name
}
export
[
protocol
]
By far, the route policy supports importing the routes discovered by the following
protocols into the routing table:
direct: The hop (or host) to which the local interface is directly connected.
static: Route configured statically
rip: Route discovered by RIP
ospf: Route discovered by OSPF
ospf-ase: External route discovered by OSPF
ospf-nssa: NSSA route discovered by OSPF
isis: Route discovered by IS-IS
bgp: Route acquired by BGP
By default, the filtering of the received and advertised routes will not be performed.
22.3 Displaying and Debugging the Routing Policy
After the above configuration, execute the
display
command in any view to display the
running of the routing policy configuration, and to verify the effect of the configuration.
Table 22-10
Display and debug 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
]