Display And Debug The Routing Policy - 3Com 7700 Configuration Manual

Hide thumbs Also See for 7700:
Table of Contents

Advertisement

148
C
5: R
P
HAPTER
OUTING
Display and Debug the
Routing Policy
Example: Configuring to
Filter the Received
Routing Information
O
ROTOCOL
PERATION
Configuring Filtering for the Distributed Routes
Define a policy concerning route distribution that filters the routing information
that does not satisfy the conditions and distributes routes with the help of an ACL
or address ip-prefix.
Perform the following configuration in routing protocol view.
Table 128 Configure Filtering of Distributed Routes
Operation
Configure to filter the routes
distributed by the protocol
Cancel the filtering of the routes
distributed by the 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: Static Route Configuration
RIP: Route discovered by RIP
OSPF: Route discovered by OSPF
OSPF-ASE: External route discovered by OSPF
OSPF-NSSA: NSSA route discovered by OSPF
BGP: Route acquired by BGP
If routing-process is BGP, you should also specify the process number or AS
number.
By default, the filtering of the received and distributed routes will not be
performed.
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.
Table 129 Display and Debug the Route Policy
Operation
Display the routing policy
Display the path information
of the AS filter in BGP
Display the address prefix list
information
Switch A communicates with Switch B, running OSPF protocol.
Redistribute three static routes through configuring the OSPF routing process
on the Switch A.
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.
Command
filter-policy { acl-number | ip-prefix ip-prefix-name }
export [ routing-process ]
undo filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-process ]
Command
display route-policy [ route-policy-name ]
display ip as-path-acl [ acl-number ]
display ip ip-prefix [ ip-prefix-name ]

Advertisement

Table of Contents
loading

Table of Contents