Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set linkflap portstate
4-24 Port Configuration
Mode
Switch mode, read‐write.
Usage
By default, the function is disabled globally and on all ports. If disabled globally after per‐port 
settings have been configured using the linkflap commands, per‐port settings will be retained.
Example
This example shows how to globally enable the link trap detection function.
D2(rw)->set linkflap globalstate enable
set linkflap portstate
Use this command to enable or disable link flap monitoring on one or more ports.
Syntax
set linkflap portstate {disable | enable} [port-string]
Parameters
Defaults
If port‐string is not specified, all ports are enabled or disabled.
Mode
Switch command, read‐write.
Example
This example shows how to enable the link trap monitoring on all ports.
D2(rw)->set linkflap portstate enable
set linkflap interval
Use this command to set the time interval (in seconds) for accumulating link down transitions.
Syntax
set linkflap interval port-string interval-value
Parameters
disable | enable
Disables or enables the link flap detection function.
port‐string
(Optional) Specifies the port or ports on which to disable or enable 
monitoring.
port‐string
Specifies the port(s) on which to set the link flap interval. 
interval‐value
Specifies an interval in seconds. A value of 0 will set the interval to 
forever.