display ipsec profile

Use display ipsec profile to display information about IPsec profiles.

Syntax

display ipsec profile [ profile-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters.

Usage guidelines

If you do not specify any parameters, this command displays information about all IPsec profiles.

Examples

# Display information about all IPsec profiles.

<Sysname> display ipsec profile
-----------------------------------------------
IPsec profile: profile
Mode: manual
-----------------------------------------------
  Transform set: prop1

  Inbound AH setting:
    AH SPI: 12345 (0x00003039)
    AH string-key:
    AH authentication hex key: ******
  Inbound ESP setting:
    ESP SPI: 23456 (0x00005ba0)
    ESP string-key:
    ESP encryption hex-key: ******
    ESP authentication hex-key: ******
  Outbound AH setting:
    AH SPI: 12345 (0x00003039)
    AH string-key:
    AH authentication hex key: ******
  Outbound ESP setting:
    ESP SPI: 23456 (0x00005ba0)
    ESP string-key:
    ESP encryption hex key: ******
    ESP authentication hex key: ******

Table 40: Command output

Field

Description

IPsec profile

IPsec profile name.

Mode

Negotiation mode used by the IPsec profile.

Description

Description of the IPsec profile.

Transform set

IPsec transform set used by the IPsec profile.

Related commands

ipsec profile