HP Comware 5 Debug Manual Vol 1

Field
Description
Current-amount Number of connections.
ConnLmt Inc: Connection limit statistics entry is incremented by 1.
Limit-Flag
Whether new connections are allowed:
0Yes.
1No.
The limit limit-id is enabled. Connection limit rule limit-id has been enabled successfully.
The limit limit-id is disabled. Connection limit rule limit-id has been disabled successfully.
Matched limit: limit-id. Connection limit rule limit-id is matched.
Examples
Single core device:
# On a NAT-enabled device, enable connection limit debugging. Output similar to the following
example is generated when a user initiates a connection under the following conditions:
Connection limit policy 0 is configured on the device.
Connection limit rule 0 is configured in the policy to collect statistics on and limit user
connections from the segment 192.168.0.0/24. The upper limit and lower limit is 1 and 0. The
connection statistics type is by source address.
<Sysname> debugging connection-limit
*0.1295578 Sysname CONNLMT/7/debug:
ConnLmt Query: Protocol:6 SourceIp:192.168.0.210 DestinationIp:2.2.2.2
SourcePort:1405 DestinationPort:21 Vpn:None
// Connection limit received a connection request from 192.168.0.210 to 2.2.2.2. The source IP
address does not belong to any MPLS VPN instance.
*0.1295578 Sysname CONNLMT/7/debug:
Connlmt Query: Policy:0 Limit:0
// Connection limit rule 0 in connection limit policy 0 was applied to user connections.
*0.1295578 Sysname CONNLMT/7/debug:
ConnLmt Query: Stat-type:1
// The connection statistics type is 1, which means connection limit limits connections by source
address.
*0.1295578 Sysname CONNLMT/7/debug:
ConnLmt Query: Current amount of connection is 0!
// There is no user connection at present.
*0.1295578 Sysname CONNLMT/7/debug:
ConnLmt Inc: Protocol:6 SourceIp:192.168.0.210 DestinationIp:2.2.2.2
SourcePort:1405 DestinationPort:21 Vpn:None Stat-type:1
// A user connection between 192.168.0.210 and 2.2.2.2 was established.
*0.1313500 Sysname CONNLMT/7/debug:
ConnLmt Query: Protocol:1 SourceIp:192.168.0.210 DestinationIp:2.2.2.2
SourcePort:None DestinationPort:None Vpn:None
// A connection request from 192.168.0.210 to 2.2.2.2 arrived. The source IP address does not
belong to any MPLS VPN instance.
*0.1313500 Sysname CONNLMT/7/debug:
Current-amount:1 Limit-Flag:1!
319