Network-access link-detection link-up, Network-access link-detection link-up-down – LevelOne FGL-2870 User Manual

Page 535

Advertising
background image

General Security Measures

4-169

4

Example

network-access link-detection link-up

Use this command to detect link-up events. When detected, the switch can shut
down the port, send an SNMP trap, or both. Use the no form of this command to
disable this feature.

Syntax

network-access link-detection link-up

action [shutdown | trap | trap-and-shutdown]

no network-access link-detection

Default Setting

Disabled

Command Mode

Interface Configuration

Example

network-access link-detection link-up-down

Use this command to detect link-up and link-down events. When either event is
detected, the switch can shut down the port, send an SNMP trap, or both. Use the
no form of this command to disable this feature.

Syntax

network-access link-detection link-up-down

action [shutdown | trap | trap-and-shutdown]

no network-access link-detection

Default Setting

Disabled

Command Mode

Interface Configuration

Example

Console(config)#interface ethernet 1/1
Console(config-if)#network-access link-detection link-down action trap
Console(config-if)#

Console(config)#interface ethernet 1/1
Console(config-if)#network-access link-detection link-up action trap
Console(config-if)#

Console(config)#interface ethernet 1/1
Console(config-if)#network-access link-detection link-up-down action trap
Console(config-if)#

Advertising