320
Default level
2: System level
Parameters
name
: IPsec connection name, a case-insensitive string of 1 to 32 characters.
Description
Use the
connection-name
command to configure an IPsec connection name. This name functions only as
a description of the IPsec policy.
Use the
undo connection-name
command to restore the default.
By default, no IPsec connection name is configured.
Example
# Set IPsec connection name to
aaa
.
<Sysname> system-view
[Sysname] ipsec policy policy1 1 isakmp
[Sysname-ipsec-policy-isakmp-policy1-1] connection-name aaa
display ipsec policy
Syntax
display
ipsec
policy
[
brief
|
name
policy-name
[
seq-number
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
brief
: Displays brief information about all IPsec policies.
name
: Displays detailed information about a specified IPsec policy or IPsec policy group
.
policy-name
: Name of the IPsec policy, a string of 1 to 15 characters.
seq-number
: Sequence number of the IPsec policy, in the range 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.
Description
Use the
display ipsec policy
command to display information about IPsec policies.
If you do not specify any parameters, the command displays detailed information about all IPsec
policies.