HP MSR2000/3000/4000 Router Series Security Command Reference
374
# Enable session logging on GigabitEthernet 1/3 for IPv6 sessions that match ACL 2050 in the
outbound direction.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/3
[Sysname-GigabitEthernet1/3] session log enable ipv6 acl 2050 outbound
Related commands
• session log bytes-active
• session log packets-active
• session log time-active
session log packets-active
Use session log packets-active to set the packet-based threshold for traffic-based logging.
Use undo session log packets-active to restore the default.
Syntax
session log packets-active packets-value
undo session log packets-active
Default
The device does not output session logs based on the packet-based threshold.
Views
System view
Predefined user roles
network-admin
Parameters
packets-value: Sets the packet-based threshold in the range of 1 to 1000 mega-packets.
Usage guidelines
Support for this command depends on your device model.
If you set both the traffic-based and time-based logging, the device outputs a session log when whichever
is reached. After outputting a session log, the device resets the traffic counter and restarts the interval for
the session.
If you set both the byte-based and packet-based thresholds, the last configuration takes effect.
Examples
# Configure the device to output session logs on a per-10-mega-packet basis.
<Sysname> system-view
[Sysname] session log packets-active 10
Related commands
• session log enable
• session log time-active