328
------------------------------------------------------------
tunnel-id : 4
session idle duration/total duration (sec) : 7/300
session flow : (3 times matched)
Sour Addr : 12.12.12.1 Sour Port: 0 Protocol : 1
Dest Addr : 13.13.13.1 Dest Port: 0 Protocol : 1
# Display information about the session with an IPsec tunnel ID of 5.
<Sysname> display ipsec session tunnel-id 5
------------------------------------------------------------
total sessions : 1
------------------------------------------------------------
tunnel-id : 5
session idle time/total duration (sec) : 30/300
session flow : (4 times matched)
Sour Addr : 12.12.12.2 Sour Port: 0 Protocol : 1
Dest Addr : 13.13.13.2 Dest Port: 0 Protocol : 1
Table 52 Output description
Field Descri
tion
total sessions Total number of IPsec sessions
tunnel-id IPsec tunnel ID, same as the connection-id of the IPsec SA
session idle time Idle duration of the IPsec session in seconds
total duration Lifetime of the IPsec session in seconds, defaulted to 300 seconds
session flow Flow information of the IPsec session
times matched Total number of packets matching the IPsec session
Sour Addr Source IP address of the IPsec session
Dest Addr Destination IP address of the IPsec session
Sour Port Source port number of the IPsec session
Dest Port Destination port number of the IPsec session
Protocol Protocol number of the IPsec protected data flow, for example, 1 for ICMP
display ipsec statistics
Syntax
display ipsec statistics [ tunnel-id integer ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level