3Com Switch 7700 Configuration Manual page 189

Switch
Hide thumbs Also See for Switch 7700:
Table of Contents

Advertisement

Example: Configuring to
Filter the Received
Routing Information
1 Configure the IP address of VLAN interface.
2 Configure three static routes.
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.
Displaying and Debugging the Routing Policy
Execute display command in all views to display the operation of the routing
policy configuration, and to verify the effect of the configuration.
Table 139 Displaying and Debugging 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.
Figure 16 Filtering Received Routing Information
static 20.0.0.1/8
1.1.1.1
30.0.0.1/8
40.0.0.1/8
Switch A
Configure Switch A:
[Switch A] interface vlan-interface 100
[Switch A-Vlan-interface100] ip address 10.0.0.1 255.0.0.0
[Switch A] interface vlan-interface 200
[Switch A-Vlan-interface200] ip address 12.0.0.1 255.0.0.0
IP Routing Policy
Command
display route-policy [ route-policy-name ]
display ip as-path-acl [ acl-number ]
display ip ip-prefix [ ip-prefix-name ]
2.2.2.2
area 0
Switch B
181

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents