306
Examples
# Display information about all IKE peers.
<Sysname> display ike peer
---------------------------
IKE Peer: rtb4tunn
exchange mode: main on phase 1
pre-shared-key ******
peer id type: ip
peer ip address: 44.44.44.55
local ip address:
peer name:
nat traversal: disable
dpd: dpd1
---------------------------
Table 47 Command output
Field Description
exchange mode
IKE negotiation mode in phase 1.
pre-shared-key
Pre-shared key used in phase 1, displayed as
******.
peer id type
ID type used in phase 1.
peer ip address
IP address of the remote security gateway.
local ip address
IP address of the local security gateway.
peer name
Name of the remote security gateway.
nat traversal
Whether NAT traversal is enabled.
dpd
Name of the peer DPD detector.
Related commands
ike peer
display ike proposal
Use
display ike proposal
to view the settings of all IKE proposals.
Syntax
display
ike
proposal
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: 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.