[Enterprise Switch] How to configure Dying Gasp by syslog trap on ECS4100/ECS4120v2 series ? Follow
Support models
ECS4120v2 series, ECS4100 series
Topology:
configuration:
Step 1: Enable Syslog trap, Syslog Server, and dying-gasp Syslog host
Console(config)#logging host 192.168.4.100
Console(config)#logging trap
Console(config)#dying-gasp syslog 192.168.4.100
Step 2: Set IP of the switch and confirm the switch can ping success to the Syslog server
Console#configure
Console(config)#int vlan 1
Console(config-if)#ip address 192.168.4.1/24
Step 3: Disable power-save on port 1
Console(config)#interface ethernet 1/1
Console(config-if)#no power-save
Step 4 Show logging trap
Show dying-gasp status
Step 5 Capture packet by Wireshark on Syslog server
The dying-gasp trap can also send via SNMP.
configuration:
Console#configure
Console(config)#snmp-server
Console(config)#snmp-server enable traps
Console(config)#snmp-server host <server_ip> public version 2c udp-port 162
Console(config)#dying-gasp snmp-trap <server_ip>
Console(config)#
The dying-gasp packet received in the SNMP server:
Comments
0 comments
Please sign in to leave a comment.