The display ipsec policy-template command displays information about the IPSec policy template.
display ipsec policy-template [ brief | name policy-template-name [ seq-number ] ] ctrl-plane
display ipsec policy-template [ brief | name policy-template-name [ seq-number ] ] slot slot-id cpu cpu-id
| Parameter | Description | Value |
|---|---|---|
brief |
Displays brief information about all the IPSec policy templates. |
- |
name policy-template-name |
Specifies the name of an IPSec policy template. |
The value is an existing IPSec policy template name. |
seq-number |
Specifies the sequence number of an IPSec policy template. |
The value is an existing IPSec policy template number. |
ctrl-plane |
Display the IPSec policy template on control plane. All models except USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
slot slot-id |
Specify the Slot ID. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
cpu cpu-id |
Specify the CPU ID. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
If the no parameter is not specified, detailed information about all IPSec policy templates is displayed.
If brief is specified, you can view the following brief information about the IPSec policy template. In this case, the information is displayed in brief format.
If name is specified, the command displays detailed information about the IPSec policy template.
# Display information about all the IPSec policy template.
<sysname> display ipsec policy-template brief ctrl-plane Number of templates group : 1 Number of templates : 1 Policy template name ACL Peer name ------------------------------------------------------ temp1-10 3001/IPv4 rut3
Item
|
Description |
|---|---|
Number of templates group |
Number of IPSec policy template groups. An IPSec policy template is identified by its name and sequence number. Multiple IPSec policy templates with the same IPSec policy template name constitute an IPSec policy template group. |
Number of templates |
Number of IPSec policy templates. |
Policy template name |
Name and sequence number of an IPSec policy template. To configure an IPSec policy template, run the ipsec policy-template command. |
ACL |
ACL referenced in the IPSec policy template. To reference an ACL in an IPSec policy template, run the security acl command. |
Peer name |
Name of the IKE peer referenced in the IPSec policy template. To reference an IKE peer, run the ike-peer command. |
# Display information about a specified IPSec policy template.
<sysname> display ipsec policy-template name tem3 ctrl-plane =============================================== IPSec policy template group: "tem3" =============================================== Sequence number: 1 Policy Alias: tem3-1 Security data flow: 3001/IPv4 Peer name : zc3 Perfect forward secrecy: DH group 14 Proposal name: 3 IPSec SA local duration(time based): 3600 seconds IPSec SA local duration(traffic based): 1843200 kilobytes Anti-replay: Enable Anti-replay window size: 1024 Fragment before-encryption: Disable Route inject state: - Route inject nexthop: - Route inject preference: - Policy state: Enable Acl-rule modification response: Enable Flow-vrf check : Enable Sa keep-holding-to hard-duration : Disable
Item
|
Description |
|---|---|
IPSec policy template group |
Name of an IPSec policy template. To configure an IPSec policy template, run the ipsec policy-template command. |
Sequence number |
Sequence number of an IPSec policy template. To configure an IPSec policy template, run the ipsec policy-template command. |
Policy Alias |
Alias of an IPSec policy template. To configure an alias, run the alias (ISAKMP IPSec policy view, IPSec policy template view) command. |
Security data flow |
ACL referenced in the IPSec policy template. To reference an ACL referenced in an IPSec policy template, run the security acl command. |
Peer name |
Name of the IKE peer referenced in the IPSec policy template. To reference an IKE peer, run the ike-peer command. |
Perfect forward secrecy |
Perfect Forward Secrecy (PFS) used in IKE negotiation:
To specify an algorithm used to generate a pseudo random number, run the pfs command. |
Proposal name |
Name of an IPSec proposal referenced in the IPSec policy template. To reference an IPSec proposal, run the proposal command. |
IPSec SA local duration(time based) |
Time-based lifetime of the local SA. To set the time-based lifetime of the local SA, run the sa duration time-based command. |
IPSec SA local duration(traffic based) |
Traffic-based lifetime of the local SA. To set the traffic-based lifetime of the local SA, run the sa duration traffic-based command. |
Anti-replay |
Whether IPSec anti-replay is enabled in an IPSec policy template:
To enable IPSec anti-replay, run the anti-replay enable command. |
Anti-replay window size |
IPSec anti-replay window size. This field is available only when the IPSec anti-replay function is enabled. To set the IPSec anti-replay window size, run the ipsec anti-replay window command. |
Fragment before-encryption |
Packet fragmentation mode for an IPSec tunnel:
To configure a packet fragmentation mode for an IPSec tunnel, run the fragmentation before-encryption command. |
Route inject state |
Route injection status. Dynamic: Dynamic route injection is enabled To configure route injection, run the route inject command. |
| Route inject nexthop | Next hop of a generated route:
|
| Route inject preference | Priority of a generated route. To configure route injection, run the route inject command. |
Policy state |
Status of the IPSec policy that references the IPSec policy template:
|
| Acl-rule modification response | Whether the device is enabled to trigger IPSec tunnel re-negotiation immediately after an ACL rule is modified:
To enable this function, run the security acl-rule modification response disable command. |
| Flow-vrf check | Whether to enable the check of the VPN instance in a data flow during IPSec encryption/decryption:
To enable this function, run the flow-vrf check disable command. |
| Sa keep-holding-to hard-duration | Whether the device deletes the original IPSec SA after the hard lifetime expires during IPSec SA re-negotiation.
To configure the device to delete the original IPSec SA after the hard lifetime expires, run the sa keep-holding-to hard-duration command. |