EasyManua.ls Logo

3Com 4510G - Displaying and Maintaining the Route Policy; Route Policy Configuration Example; Applying a Route Policy to Ipv4 Route Redistribution

3Com 4510G
1166 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-7
Displaying and Maintaining the Route Policy
To do… Use the command… Remarks
Display IPv4 prefix list statistics display ip ip-prefix [ ip-prefix-name ]
Display IPv6 prefix list statistics display ip ipv6-prefix [ ipv6-prefix-name ]
Display route policy information display route-policy [ route-policy-name ]
Available in any
view
Clear IPv4 prefix list statistics reset ip ip-prefix [ ip-prefix-name ]
Clear IPv6 prefix list statistics reset ip ipv6-prefix [ ipv6-prefix-name ]
Available in user
view
Route Policy Configuration Example
Applying a Route Policy to IPv4 Route Redistribution
Network Requirements
As shown in the following figure, Switch A and Switch B communicate with each other at the network
layer through RIPv2. Switch A has static routes to networks 20.0.0.0/8, 30.0.0.0/8, and 40.0.0.0/8.
Switch B needs to access these networks through Switch A, while Switch A allows Switch B to access
networks 20.0.0.0/8 and 40.0.0.0/8, but not 30.0.0.0/8.
Figure 6-1 Network diagram for route policy application to route redistribution
Configuration procedure
1) Configure Switch A.
# Configure IP addresses of the interfaces (omitted).
# Configure RIP basic functions.
<SwitchA> system-view
[SwitchA] rip
[SwitchA-rip-1] version 2
[SwitchA-rip-1] undo summary
[SwitchA-rip-1] network 192.168.1.0
[SwitchA-rip-1] quit
# Configure three static routes.
[SwitchA] ip route-static 20.0.0.0 255.0.0.0 172.17.1.2
[SwitchA] ip route-static 30.0.0.0 255.0.0.0 172.17.1.2
[SwitchA] ip route-static 40.0.0.0 255.0.0.0 172.17.1.2
# Configure an ACL.
[SwitchA] acl number 2000

Table of Contents

Related product manuals