Field
State
Area
Cost
State
Type
Timers
display tunnel-policy
Description
Use the display tunnel-policy command to display information about a tunneling policy or all tunneling
policies.
Related commands: tunnel-policy and tunnel select-seq.
Syntax
display tunnel-policy { all | policy-name tunnel-policy-name } [ | { begin | exclude | include } regular-
expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Specifies all tunneling policies.
tunnel-policy-name: Specifies the name of a tunneling policy, which is a string of 1 to 19 characters.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256 characters.
Examples
# Display all tunneling policies.
<Sysname> display tunnel-policy all
Tunnel Policy Name
------------------------------------------------------
t
aaa
bbb
# Display tunneling policy aaa.
Select-Seq
Load balance No
LSP
1
LSP CR-LSP
1
LSP
1
303
Description
Status of the sham link neighbor
Destination IP address of the sham link
Cost of the sham link
Status of the sham link
Type of the sham link
Timers of the sham link