501
[Sysname-acl6-basic-2001] rule permit source 2:1::/96
[Sysname-acl6-basic-2001] quit
5. Limit connections that match ACL 2001 by the source and destination IP addresses, with the upper
limit 200 and lower limit 100.
[Sysname] connection-limit ipv6-policy 12
[Sysname-connlmt-ipv6-policy-12] limit 2 acl ipv6 2001 per-destination amount 200 100
6. Verify that when the connection number exceeds 200, new connections cannot be established
until the connection number drops below 100. (Details not shown.)
Related commands
• connection-limit
• display connection-limit
reset connection-limit statistics
Use reset connection-limit statistics to clear the connection limit statistics globally or on an interface.
Syntax
MSR1000/MSR2000/MSR3000:
reset connection-limit statistics { global | interface interface-type interface-number }
MSR4000:
reset connection-limit statistics { global | interface interface-type interface-number } [ slot slot-number ]
Views
User view
Predefined user roles
network-admin
network-operator
Parameters
global: Clears the global connection limit statistics.
interface interface-type interface-number: Specifies an interface by its type and number.
slot slot-number: Specifies a card by its slot number. This option is available only when you specify the
global keyword or specify a virtual interface (such as a VLAN interface or tunnel interface). (MSR4000.)
Examples
# (MSR1000/MSR2000/MSR3000.) Clear the connection limit statistics on GigabitEthernet 2/1/1.
<Sysname> reset connection-limit statistics interface gigabitethernet 2/1/1
# (MSR1000/MSR2000/MSR3000.) Clear the connection limit statistics on VLAN-interface 2.
<Sysname> reset connection-limit statistics interface vlan-interface 2
# (MSR4000.) Clear the global connection limit statistics on the card in slot 2.
<Sysname> reset connection-limit statistics global slot 2
Related commands
display connection-limit statistics