Displaying configured IPsec policies
Use the following procedure to display IPsec policies.
Procedure
Example
Display IPsec policy information:
Switch:1>show ipsec policy all ========================================================================= IPSEC Policy Table ========================================================================= PolicyName : ospf1 LocalAddress: 0::0 RemoteAddress: 0::0 Protocol: ospfv3 src-port: 0 dest-port: 0 Action: Permit Admin: Enable Switch:1>show ipsec policy interface ospf1 ========================================================================= IPsec Policy Interface Table ========================================================================= ------------------------------------------------------------------------- POLICY NAME InterfaceIndex Policy State Direction ------------------------------------------------------------------------- ospf1 2/3 Enable both Switch:1>show ipsec policy name ospf1 ========================================================================= IPSEC Policy Table ========================================================================= PolicyName : ospf1 LocalAddress: 0::0 RemoteAddress: 0::0 Protocol: ospfv3 src-port: 0 dest-port: 0 Action: Permit Admin: Enable
Variable Definitions
The following table defines parameters for the show ipsec policy command.
Variable |
Value |
---|---|
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. |