1-7Displaying and Maintaining the Route PolicyTo do… Use the command… RemarksDisplay 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 anyviewClear 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 userviewRoute Policy Configuration ExampleApplying a Route Policy to IPv4 Route RedistributionNetwork RequirementsAs shown in the following figure, Switch A and Switch B communicate with each other at the networklayer 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 accessnetworks 20.0.0.0/8 and 40.0.0.0/8, but not 30.0.0.0/8.Figure 1-1 Network diagram for route policy application to route redistributionConfiguration procedure1) Configure Switch A.# Configure IP addresses of the interfaces (omitted).# Configure RIP basic functions. 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