show ipsec policy

Display Internet Protcol Security (IPsec) policy information.

Syntax

Command Parameters

all
Displays all of the IPsec policies on the switch.
interface WORD<1-32>
Displays a specific IPsec policy based on the policy name on the interface.
name WORD<1-32>
Displays the IPsec policy based on the name of the policy.

Default

None

Command Mode

User EXEC

Command Output

The show ipsec policy all and show ipsec policy name commands display the following information:

Output field

Description

PolicyName

Specifies the IPsec policy name.

LocalAddress

Specifies the local address. The default is 0::0.

RemoteAddress

Specifies the remote address. The default is 0::0.

Protocol

Specifies the protocol.

src-port

Specifies the source port.

dest-port

Specifies the destination port.

Action

Specifies the action as either: permit or drop.

Admin

Specifies whether the policy is enabled.

The show ipsec policy interface command displays the following information:

Output field

Description

POLICY NAME

Specifies the IPsec policy name.

InterfaceIndex

Specifies the interface.

Policy State

Specifies whether the policy is enabled.