Alcatel-Lucent 6850-48 参照ガイド

ページ / 3444
SNMP Commands
OmniSwitch CLI Reference Guide
September 2009
page 10-21
snmp trap replay
Replays stored traps from the switch to a specified SNMP station. This command is used to replay (to 
resend) traps on demand. This is useful in the event when traps are lost in the network.
snmp trap replay {ip_address | ipv6_address} [seq_id]
Syntax Definitions
ip_address
The IP address for the SNMP station to which traps will be replayed 
from the switch.
ipv6_address
The IPv6 address for the SNMP station to which traps will be replayed 
from the switch.
seq_id
The sequence number from which trap replay will begin. Each trap sent 
by the switch to an SNMP station has a sequence number. The sequence 
number reflects the order in which the trap was sent to the SNMP 
station. For example, the first trap sent to an SNMP station has a 
sequence number of 1; the second trap has a sequence number of 2, etc. 
If no sequence number is entered, all stored traps are replayed.
Defaults
N/A
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the 
 command to display the latest stored sequence number for each SNMP 
station.
• The switch replays traps in the same order that they were previously sent, beginning from the specified 
sequence number.
• When traps are replayed, the original dates on which the trap was issued, rather than the current dates 
are used.
• If the specified sequence number is lower than the oldest trap sequence number stored in the switch, 
the switch replays all stored traps.
• If the specified sequence number is equal to or greater than the oldest trap sequence number stored, the 
switch replays all stored traps from the specified sequence number up to the latest sequence number.
• If the specified sequence number is greater than the latest sequence number, no traps are replayed.
Examples
-> snmp trap replay 172.12.2.100
-> snmp trap replay 300::1