254
Syntax
display
ipsec
policy
[
brief
|
name
policy-name
[
seq-number
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
brief
: Displays brief information about all IPsec policies.
name
: Displays detailed information about a specific IPsec policy or IPsec policy group
.
policy-name
: Specifies the name of an IPsec policy, a string of 1 to 15 characters.
seq-number
: Specifies the sequence number of an IPsec policy, in the range of 1 to 65535.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
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, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify any parameters, the command displays detailed information about all IPsec
policies.
If you specify the
name
policy-name
option but leave the
seq-number
argument, the command
displays detailed information about the specified IPsec policy group.
Examples
# Display brief information about all IPsec policies.
<Sysname> display ipsec policy brief
IPsec Policy Name Mode ACL IKE Peer Name Mapped Template
------------------------------------------------------------------------
bbbbbbbbbbbbbbb-1 template aaaaaaaaaaaaaaa
man-1 manual 3400
map-1 isakmp 3000 peer
nat-1 isakmp 3500 nat
test-1 isakmp 3200 test
toccccc-1 isakmp 3003 tocccc
IPsec Policy Name Mode ACL Local Address Remote Address
------------------------------------------------------------------------
man-1 manual 3400 3.3.3.1 3.3.3.2
Table 35 Command output
Field Description
IPsec Policy Name
Name and sequence number of the IPsec policy separated by hyphen.