Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 754

Advertising
background image

724

Fabric OS Command Reference

53-1003131-01

portCfgAutoDisable

2

EXAMPLES

To disable the port autodisable feature on single port:

switch:admin> portcfgautodisable --disable 18

switch:admin> portcfgautodisable --show 18

Port Auto Disable: OFF

Configured Option(s):No events configured. Port will

not be automatically disabled.

To enable the port autodisable feature on a single port:

switch:admin> portcfgautodisable --enable 18

switch:admin> portcfgautodisable --show 18

Port Auto Disable: ON

MODE : RESUME

Configured Option(s):No events configured. Port will

not be automatically disabled.

To add multiple trigger conditions to the port autodisable configuration on a single port:

switch:admin> portcfgautodisable --add losn lip ols 18

switch:admin> portcfgautodisable --show 18

Port Auto Disable: ON

MODE : RESUME

Configured Option(s): LOSN OLS LIP

To add all trigger conditions except the LOSN condition:

switch:admin> portcfgautodisable --addexcept LOSN 18

switch:admin> portcfgautodisable --show 18

Port Auto Disable: ON

MODE : RESUME

Configured Option(s): LOSG OLS NOS LIP

To attempt to enable and configure the port autodisable feature on a port for which the feature is already
activated (the configuration is not updated):

switch:admin> portcfgautodisable --show 18

Port Auto Disable: ON

MODE : RESUME

Configured Option(s): LOSG OLS NOS LIP

switch:admin> portcfgautodisable --enable 18

Same configuration for port 18

switch:admin> portcfgautodisable --addexcept LOSN 18

Same configuration for port 18

To enable the port autodisable feature on a range of ports:

switch:admin> portcfgautodisable --enable 0-2

switch:admin> portcfgautodisable --show 0-2

Port Auto Disable: ON

MODE : RESUME

Configured Option(s):No events configured.

Port will not be automatically disabled.

Port Auto Disable: ON

MODE : RESUME

Configured Option(s):No events configured.

Advertising