930CHAPTER 71: IP ROUTING TABLE COMMANDS

Parameters vpn-instancevpn-instance-name: Displays routing table information for a VPN instance. The vpn-instance-nameargument represents the instance name and is a string of 1 to 31 characters.

verbose: Displays detailed routing table information, including that for inactive routes. With this argument absent, the command displays only summary information about active routes.

: Uses a regular expression to filter output information.

begin: Displays routing table entries starting from the one specified by the regular expression.

include: Displays routing table entries specified by the regular expression.

exclude: Displays routing table entries other than those specified by the regular expression.

regular-expression: Regular expression for filtering routing table entries, a string of 1 to 256 characters.

Table 201 Special characters for regular expressions

Character

Meaning

Remarks

_

Underscore, functions similarly

 

as a wildcard and matches one

 

of the following:

 

(^$[,(){}])

 

or a space, the beginning of a

 

string, the end of a string.

If it is not the first character in a regular expression, it can appear as many times as the command line length permits.

If it is the first character in a regular expression, it can be followed with up to four underscores.

If it appears intermittently in a regular expression, only the first group takes effect.

(

Left parenthesis, represents a

 

stack push operation in a

 

program.

.

Full stop, a wildcard that

 

matches any character,

 

including a space.

*

Asterisk, indicates that the

 

character(s) to its left can

 

appear 0 or more times.

It is not recommended to use this character in a regular expression.

-

zo* matches z and zoo.

+

Plus, indicates that the

 

character(s) to its left can

 

appear one or more times.

zo+ matches zo and zoo, but not z.

Description Use the display ip routing-tablecommand to display brief information about active routes in the routing table.

Use the display ip routing-table verbose command to display detailed information about all routes in the routing table.

Examples # Display brief information about active routes in the routing table.

Page 930
Image 930
3Com MSR 30, MSR 50 manual Special characters for regular expressions, String, the end of a string