
snmp trap sonet link-status
Enables/disables SONET link up/link down SNMP traps on a specific interface.
Syntax: [no] snmp trap sonet link-status
Description: This command enables SONET link up/link down SNMP traps that happen after the setting or clearing of SONET interface defect conditions. Defect conditions include: LOS, LOF, LAIS, LRDI, and SONET path "admin down".
Use the snmp trap sonet link-status command to enable SNMP to send SONET link up/link down SNMP traps.
Use the no snmp trap sonet link-status command to disable SNMP sending SONET link up/link down SNMP traps.
Factory Default: SONET link-status trap enabled.
Command Mode: Interface configuration.
Example 1: In the following example, the snmp trap sonet link-status command enables the generation of SONET link-status traps on the interface, and the show interface pos command displays the setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface pos 1/15/1
router(config-if)#snmp trap sonet link-status
router(config-if)#end
router#show interface pos 1/15/1
POS 1/15/1 interface status is up, line protocol is up
Internet address is 25.15.1.1/24
MTU 4470 bytes
Payload BW:601 Mbit/Sec, Total BW:622 Mbit/Sec
Encapsulation PPP, CRC-32
Loopback:None, Keepalive:Disabled, Scramble:Enabled
LCP:Opened, IPCP:Opened, OSICP:Closed, MPLSCP:Closed
Received:
2779112 bytes
2326 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors, 0 unknown protocols
Transmitted:
61099 bytes
1016 directed packets, 0 multicast packets, 0 broadcast packets
0 discards, 0 errors
Medium Type SONET, Line Coding:NRZ, Line Type:Other
Sonet Loopback:None, Sonet Clock Source:Internal
PPP:SNMP Trap link-status:enabled
Sonet/Path:SNMP Trap sonet link-status:enabled
Tx J0 Section Trace:"1"
Rx J0 Section Trace:"1"
Tx Path Trace:"sustaining 1/15/1"
Rx Path Trace:"POS 1/3/3 TSR=inet_fanout"
Example 2: In the following example, the no snmp trap sonet link-status command disables sending SONET link-status traps, and the show running-config command displays the setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface pos 1/15/1
router(config-if)#no snmp trap link-status
router(config-if)end
router#show running-config
.
.
.
interface pos 1/15/1
clock source internal
no snmp trap sonet link-status
Related Commands: show sonet performance
snmp-server enable traps
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: snmp.fm
HTML File Name: snmp13.html
Last Updated: 05/10/04 at 10:56:38