User manual
2
CLI Commands
2-17
config
Command Example Root> config fencing removePort 24
config.fencing.setParams
Syntax setParams name typeNumber limit period
Purpose This command sets the type, limit, and period values for the specified
fencing policy.
Parameters This command has four parameters:
NOTE: The interval value is a fixed length amount of time. This interval is
not a rolling window interval.
Command Example If ports 0, 1, or 2 have more than five protocol errors on a single port
within a period of 30 minutes, disable the offending port.
name The name of the fencing policy.
typeNumber This must be entered as a number that
corresponds to an entry in the table shown below.
limit The count of fencing violations that must occur
within the specified period in order for a port to be
automatically disabled. Acceptable values are in
the range of 1-255.
You may also enter default for this argument,
which will set the default limit value for this
fencing policy type.
period The number of seconds in which the violation
count must equal or exceed the threshold limit in
order for a port to be fenced.
You may also enter default for this argument,
which will set the default period for this fencing
policy type.
Type
Number
Policy Type Limit Value Range Period Value Range
1 Protocol Errors 5 300 seconds
1 Protocol Errors 1 - 255 60 - 1800 seconds