Parameter | Description | Value |
---|---|---|
sa-name |
Specifies an SA name. |
It is a string of 1 to 15 case-sensitive characters, spaces not supported. The characters can be letters or numbers, hyphens (-) not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
brief |
Displays brief information of the SA, such as the SA name and the Security Parameter Index (SPI) value. |
- |
Usage Scenario
You can run the display ipsec sa command to check whether the SA configurations for outgoing protocol packets on the local end are identical with those for incoming protocol packets on the peer end. The display ipsec sa command output displays the following information:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ipsec sa name sa1
IP security association name: sa1
Number of references: 0
proposal name:
State: InComplete
inbound AH setting:
AH spi:
AH string-key:
AH authentication hex key:
inbound ESP setting:
ESP spi:
ESP string-key:
ESP encryption hex key:
ESP authentication hex key:
outbound AH setting:
AH spi:
AH string-key:
AH authentication hex key:
outbound ESP setting:
ESP spi:
ESP string-key:
ESP encryption hex key:
ESP authentication hex key:
Item | Description |
---|---|
IP security association name | SA name. |
Number of references | Number of times the SA is applied. |
proposal name | Security proposal applied to the SA. |
inbound AH setting | SA configurations for incoming AH. |
inbound ESP setting | SA configurations for incoming ESP. |
AH spi | SPI for AH. |
AH string-key | Authentication key for AH in the string format displayed in cipher text. |
AH authentication hex key | Authentication key for AH in cipher text. |
ESP spi | SPI for ESP. |
ESP string-key | Authentication key for ESP in the string format displayed in cipher text. |
ESP encryption hex key | Encryption key for ESP in cipher format. |
ESP authentication hex key | Authentication key for ESP in cipher text. |
outbound AH setting | SA configurations for outgoing AH. |
outbound ESP setting | SA configurations for outgoing ESP. |
State | State of an SA:
|