IPsec Show Commands

The following IPsec show commands filter IPsec connections based on path name and remote IP address. The IPsec show results are filtered using the following options like Tunnel, Detail, Path, and VRF.

Example

  • The show ip security connection path command displays all path based IP security connections.
    
    switch# show ip security connection path
    NameSource Dest Status Uptime InputOutput Rekey Time
    Path1 ip1ip3Established22 minutes 0 bytes0 bytes34 minutes
    		0 pkts 0 pkts
    Path2 ip2ip3Established22 minutes 0 bytes0 bytes34 minutes
    		0 pkts 0 pkts
    Path2 ip5ip6Established22 minutes 0 bytes0 bytes34 minutes
     		 0 pkts 0 pkts
    
  • The show ip security connection path name command displays IPsec path connections based on the path name.
    
    switch# show ip security connection path name path1
    NameSource Dest Status Uptime InputOutput Rekey Time
    Path1 ip1ip3Established22 minutes 0 bytes0 bytes34 minutes
    		 0 pkts 0 pkts
    
  • The show ip security connection path peer command displays the IPsec path connections based on the remote router IP.
    
    switch# show ip security connection path peer ip3
    NameSource Dest Status Uptime InputOutput Rekey Time
    Path1 ip1ip3Established22 minutes 0 bytes0 bytes34 minutes
    		0 pkts0 pkts
    Path2 ip2ip3Established22 minutes 0 bytes0 bytes34 minutes
    		0 pkts0 pkts