TP-Link T2600G Series User Manual page 1082

Table of Contents

Advertisement

Switch#copy running-config startup-config
■ Enabling the Link-status Trap for Ports
Step 1
configure
Enter Global Configuration Mode.
interface {fastEthernet port | range fastEthernet port-list | gigabitEthernet port | range
Step 2
gigabitEthernet port-list | ten-gigabitEthernet port | range ten-gigabitEthernet port-list }
Configure notification traps on the specified ports.
port/port-list:
notification traps. To configure multiple ports, enter a list of port numbers separated
by commas, or use a hyphen to indicates a range of port numbers. For example, 1-3, 5
indicates port 1, 2, 3, 5.
Step 3
snmp-server traps link-status
Enable Link Status Trap for the port. By default, it is enabled. Link Status Trap (including
Linkup Trap and Linkdown Trap) can be triggered when the link status of a port changes,
and the trap is enabled both globally and on the port.
To enable Linkup Trap and Linkdown Trap globally, run the command
snmp [ linkup | linkdown ]
no command.
Step 4
end
Return to Privileged EXEC Mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the switch to enable link-status trap:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/1
Switch(config-if)#snmp-server traps link-status
Switch(config-if)#end
Switch#copy running-config startup-config
The number or the list of the Ethernet ports that you desire to configure
in Global Configuration Mode. To disable it, run the corresponding
Notification Configurations
snmp-server traps
User Guide
1053

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents