Displaying And Maintaining The Route Policy; Route Policy Configuration Example; Applying A Route Policy To Ipv4 Route Redistribution - 3Com 4510G Configuration Manual

3com switch 4510g family
Table of Contents

Advertisement

Displaying and Maintaining the Route Policy

To do...
Display IPv4 prefix list statistics
Display IPv6 prefix list statistics
Display route policy information
Clear IPv4 prefix list statistics
Clear IPv6 prefix list statistics

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
Use the command...
display ip ip-prefix [ ip-prefix-name ]
display ip ipv6-prefix [ ipv6-prefix-name ]
display route-policy [ route-policy-name ]
reset ip ip-prefix [ ip-prefix-name ]
reset ip ipv6-prefix [ ipv6-prefix-name ]
6-7
Remarks
Available in any
view
Available in user
view

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents