TP-Link TL-SG3210XHP-M2 TL-SG2428P Jetstream 24 Port Gigabit Smart Managed PoE Switch

User Manual - Page 1096

For TL-SG3210XHP-M2.

PDF File Manual, 1146 pages, Download pdf file

Loading ...
Loading ...
Loading ...
Notification Configurations
User Guide 1067
Configuring SNMP & RMON
Switch(config)#end
Switch#copy running-config startup-config
â–  Enabling the Link-status Trap for Ports
Step 1 configure
Enter Global Configuration Mode.
Step 2 interface {fastEthernet
port
| range fastEthernet
port-list
| gigabitEthernet
port
| range
gigabitEthernet
port-list
| ten-gigabitEthernet
port
| range ten-gigabitEthernet
port-list
}
Configure notification traps on the specified ports.
port/port-list:
The number or the list of the Ethernet ports that you desire to configure
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-server traps
snmp [ linkup | linkdown ] in Global Configuration Mode. To disable it, run the corresponding
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
Loading ...
Loading ...
Loading ...