R2511-HP MSR Router Series Security Command Reference(V5)

243
display ike peer
Use display ike peer to display information about IKE peers.
Syntax
display ike peer [ peer-name ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
peer-name: Specifies the name of the IKE peer, a string of 1 to 32 characters.
|: 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.
Usage guidelines
If you do not specify any parameters, the command displays information about all IKE peers.
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 29 Command output
Field Descri
p
tion
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.