Clearing sessions, Displaying and maintaining session management – H3C Technologies H3C SecPath F1000-E User Manual
Page 108
98
For more information about the configuration of basic and advance ACLs, see "Configuring ACLs."
To specify the persistent session rule:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify the persistent session
rule.
session persist acl acl-number
[ aging-time time-value ]
Not specified by default
NOTE:
•
A persistent session rule can reference only one ACL.
•
Only TCP sessions in ESTABLISHED state can be specified as persistent sessions.
Clearing sessions
Task Command
Remarks
Clear sessions.
reset session [ vd-name vd-name ] [ source-ip
source-ip ] [ destination-ip destination-ip ]
[ protocol-type protocol-type ] [ source-port
source-port ] [ destination-port destination-port ]
[ vpn-instance vpn-instance-name ]
Available in user
view
Displaying and maintaining session management
Task Command
Remarks
Display information about
sessions.
display session table [ vd-name vd-name ]
[ source-ip source-ip ] [ destination-ip
destination-ip ] [ verbose ] [ | { begin |
exclude | include } regular-expression ]
Available in any view
Display statistics about sessions.
display session statistics [ vd-name
vd-name ] [ | { begin | exclude | include }
regular-expression ]
Available in any view
Display session relationship table
information.
display session relation-table [ vd-name
vd-name ] [ | { begin | exclude | include }
regular-expression ]
Available in any view
Clear sessions.
reset session [ vd-name vd-name ]
[ source-ip source-ip ] [ destination-ip
destination-ip ] [ protocol-type { icmp |
raw-ip | tcp | udp } ] [ source-port
source-port ] [ destination-port
destination-port ] [ vpn-instance
vpn-instance-name ]
Available in user view
Clear session statistics (on a
centralized device).
reset session statistics [ vd-name vd-name ] Available in user view
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS