Chapter 19 Firewall

The following table describes the session-limit commands. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 60 Command Summary: Session Limit

COMMAND

DESCRIPTION

[no] session-limit activate

Turns the session-limit feature on or off.

session-limit limit <0..8192>

Sets the default number of concurrent NAT/

 

firewall sessions per host.

session-limit rule_number

Enters the session-limit sub-command mode

 

to set a session-limit rule.

[no] activate

Enables the session-limit rule. The no

 

command disables the session limit rule.

[no] address address_object

Sets the source IP address. The no command

 

sets this to any, which means all IP

 

addresses.

[no] description description

Sets a descriptive name (up to 64 printable

 

ASCII characters) for a session-limit rule. The

 

no command removes the descriptive name

 

from the rule.

exit

Quits the firewall sub-command mode.

[no] limit <0..8192>

Sets the limit for the number of concurrent

 

NAT/firewall sessions this rule’s users or

 

addresses can have. 0 means any.

 

 

[no] user user_name

Sets a session-limit rule for the specified user.

 

The no command resets the user name to the

 

default (any). any means all users.

session-limit append

Enters the session-limit sub-command mode

 

to add a session-limit rule to the end of the

 

session-limit rule list.

 

 

session-limit delete rule_number

Removes a session-limit rule.

session-limit flush

Removes all session-limit rules.

session-limit insert rule_number

Enters the session-limit sub-command mode

 

to add a session-limit rule before the specified

 

rule number.

 

 

session-limit move rule_number to rule_number

Moves a session-limit to the number that you

 

specified.

show session-limit

Shows the session-limit configuration.

show session-limit begin rule_number end

Shows the settings for a range of session-limit

rule_number

rules.

 

 

show session-limit rule_number

Shows the session-limit rule’s settings.

show session-limit status

Shows the general session-limit settings.

 

125

NXC CLI Reference Guide