1208 CHAPTER 79: IPV4 ROUTING POLICY CONFIGURATION COMMANDS

Description Use the display ip ip-prefixcommand to display the statistics of an IPv4 address prefix list. If no ip-prefix-name is specified, statistics for all IPv4 address prefix lists will be displayed.

Related commands: ip ip-prefix.

Examples # Display the statistics of IPv4 prefix list abc.

<Sysname> display ip ip-prefix abc

Prefix-list abc

Permitted 0

Denied 0

index: 10

permit 1.0.0.0/11

ge 22 le 32

Table 285 Description on the fields of the display ip ip-prefix command.

Field

Description

 

 

Prefix-list

Name of the IPv4 prefix list

Permitted

Number of routes satisfying the match criterion

Denied

Number of routes not satisfying the match criterion

index

Internal serial number of the IPv4 prefix list

permit

Matching mode: permit or deny

1.0.0.0/11

Match IP address and mask

ge

greater-equal, the lower limit mask

le

less-equal, the upper limit mask

 

 

if-match acl

Syntax if-match acl acl-number

undo if-match acl

View Routing policy view

Parameters acl-number: ACL number from 2000 to 3999.

Description Use the if-match acl command to configure an ACL match criterion. Use the undo if-matchcommand to remove the match criterion. No ACL match criterion is configured by default.

Related commands: if-match interface, if-match ip next-hop,if-match cost, if-match tag, route-policy,apply ip-addressnext-hop,apply cost, apply local-preference,apply origin,apply tag.

Examples # Create routing policy policy1 with node 10, matching mode as permit. Define an if-match clause to permit routes matching ACL 2000.

<Sysname> system-view

[Sysname] route-policy policy1 permit node 10

[Sysname-route-policy] if-match acl 2000

Page 1208
Image 1208
3Com MSR 30, MSR 50 manual Related commands ip ip-prefix, Examples # Display the statistics of IPv4 prefix list abc