Specifications
Table Of Contents
- Cisco IOS Multiprotocol Label Switching Command Reference
- About Cisco IOS Software Documentation
- Using the Command-Line Interface in Cisco IOS Software
- Initially Configuring a Device
- Using the CLI
- Understanding Command Modes
- Using the Interactive Help Feature
- Understanding Command Syntax
- Understanding Enable and Enable Secret Passwords
- Using the Command History Feature
- Abbreviating Commands
- Using Aliases for CLI Commands
- Using the no and default Forms of Commands
- Using the debug Command
- Filtering Output Using Output Modifiers
- Understanding CLI Error Messages
- Saving Changes to a Configuration
- Additional Information
- Multiprotocol Label Switching Commands
- address-family
- affinity (LSP Attributes)
- allocate
- append-after
- auto-bw (LSP Attributes)
- bandwidth (LSP Attributes)
- bgp default route-target filter
- bgp next-hop
- bgp scan-time
- cell-packing
- class (MPLS)
- clear ip route vrf
- clear ip rsvp hello bfd
- clear ip rsvp hello instance counters
- clear ip rsvp hello instance statistics
- clear ip rsvp hello statistics
- clear ip rsvp msg-pacing
- clear mpls counters
- clear mpls ip iprm counters
- clear mpls ldp checkpoint
- clear mpls ldp neighbor
- clear mpls traffic-eng auto-bw timers
- clear mpls traffic-eng auto-tunnel mesh
- clear mpls traffic-eng auto-tunnel backup
- clear mpls traffic-eng auto-tunnel primary
- clear mpls traffic-eng tunnel counters
- clear xconnect
- connect (Frame Relay)
- connect (L2VPN local switching)
- context
- control-word
- description (l2 vfi)
- echo
- encapsulation (Any Transport over MPLS)
- encapsulation (Layer 2 local switching)
- encapsulation dot1q
- encapsulation mpls
- exclude-address
- exit (LSP Attributes)
- exit-address-family
- exp
- export map
- extended-port
- forward permit l2protocol
- import map
- index
- inter-as-hybrid
- interface auto-template
- interface xtagatm
- interworking
- ip explicit-path
- ip flow-cache mpls label-positions
- ip multicast mpls traffic-eng
- ip path-option
- ip route static inter-vrf
- ip route vrf
- ip rsvp msg-pacing
- ip rsvp signalling hello (configuration)
- ip rsvp signalling hello (interface)
- ip rsvp signalling hello bfd (configuration)
- ip rsvp signalling hello bfd (interface)
- ip rsvp signalling hello dscp
- ip rsvp signalling hello refresh interval
- ip rsvp signalling hello refresh misses
- ip rsvp signalling hello statistics
- ip vrf
- ip vrf forwarding (interface configuration)
- ip vrf receive
- ip vrf select source
- ip vrf sitemap
- l2 vfi point-to-point
- list
- list (LSP Attributes)
- lockdown (LSP Attributes)
- match mpls-label
- maximum routes
- metric-style narrow
- metric-style transition
- metric-style wide
- mls mpls
- mls mpls (guaranteed bandwidth traffic engineering)
- mls mpls (recirculation)
- mpls atm control-vc
- mpls atm cos
- mpls atm disable-headend-vc
- mpls atm multi-vc
- mpls atm vpi
- mpls atm vp-tunnel
- mpls bgp forwarding
- mpls control-word
- mpls cos-map
- mpls experimental
- mpls export interval
- mpls export vpnv4 prefixes
- mpls forwarding bgp
- mpls ip (global configuration)
- mpls ip (interface configuration)
- mpls ip default-route
- mpls ip encapsulate explicit-null
- mpls ip propagate-ttl
- mpls ip ttl-expiration pop
- mpls ipv6 source-interface
- mpls l2transport route
- mpls label
- mpls label mode
- mpls label mode (6VPE)
- mpls label protocol (global configuration)
- mpls label protocol (interface configuration)
- mpls label range
- mpls ldp address-message
- mpls ldp advertise-labels
- mpls ldp advertise-labels old-style
- mpls ldp atm control-mode
- mpls ldp atm vc-merge
- mpls ldp autoconfig
- mpls ldp backoff
- mpls ldp discovery
- mpls ldp discovery transport-address
- mpls ldp explicit-null
- mpls ldp graceful-restart
- mpls ldp graceful-restart timers forwarding-holding
- mpls ldp graceful-restart timers max-recovery
- mpls ldp graceful-restart timers neighbor-liveness
- mpls ldp holdtime
- mpls ldp igp autoconfig
- mpls ldp igp sync
- mpls ldp igp sync holddown
- mpls ldp label
- mpls ldp logging neighbor-changes
- mpls ldp logging password configuration
- mpls ldp logging password rollover
- mpls ldp loop-detection
- mpls ldp maxhops
- mpls ldp neighbor implicit-withdraw
- mpls ldp neighbor labels accept
- mpls ldp neighbor password
- mpls ldp neighbor targeted
- mpls ldp password fallback
- mpls ldp password option
- mpls ldp password required
- mpls ldp password rollover duration
- mpls ldp path-vector maxlength
- mpls ldp router-id
- mpls ldp session protection
- mpls ldp sync
- mpls ldp tcp pak-priority
- mpls load-balance per-label
- mpls mtu
- mpls netflow egress
- mpls oam
- mpls prefix-map
- mpls request-labels for
- mpls static binding ipv4
- mpls static binding ipv4 vrf
- mpls static crossconnect
- mpls traffic-eng
- mpls traffic-eng administrative-weight
- mpls traffic-eng area
- mpls traffic-eng atm cos global-pool
- mpls traffic-eng atm cos sub-pool
- mpls traffic-eng attribute-flags
- mpls traffic-eng auto-bw timers
- mpls traffic-eng auto-tunnel backup
- mpls traffic-eng auto-tunnel backup config
- mpls traffic-eng auto-tunnel backup nhop-only
- mpls traffic-eng auto-tunnel backup srlg exclude
- mpls traffic-eng auto-tunnel backup timers
- mpls traffic-eng auto-tunnel backup tunnel-num
- mpls traffic-eng auto-tunnel mesh
- mpls traffic-eng auto-tunnel mesh tunnel-num
- mpls traffic-eng auto-tunnel primary config
- mpls traffic-eng auto-tunnel primary config mpls ip
- mpls traffic-eng auto-tunnel primary onehop
- mpls traffic-eng auto-tunnel primary timers
- mpls traffic-eng auto-tunnel primary tunnel-num
- mpls traffic-eng backup-path
- mpls traffic-eng backup-path tunnel
- mpls traffic-eng ds-te bc-model
- mpls traffic-eng ds-te mode
- mpls traffic-eng fast-reroute backup-prot-preemption
- mpls traffic-eng fast-reroute timers
- mpls traffic-eng flooding thresholds
- mpls traffic-eng interface
- mpls traffic-eng link timers bandwidth-hold
- mpls traffic-eng link timers periodic-flooding
- mpls traffic-eng link-management timers bandwidth-hold
- mpls traffic-eng link-management timers periodic-flooding
- mpls traffic-eng logging lsp
- mpls traffic-eng logging tunnel
- mpls traffic-eng lsp attributes
- mpls traffic-eng mesh-group
- mpls traffic-eng multicast-intact
- mpls traffic-eng passive-interface
- mpls traffic-eng path-option list
- mpls traffic-eng path-selection metric
- mpls traffic-eng reoptimize
- mpls traffic-eng reoptimize events
- mpls traffic-eng reoptimize timers delay
- mpls traffic-eng reoptimize timers frequency
- mpls traffic-eng router-id
- mpls traffic-eng scanner
- mpls traffic-eng signalling advertise implicit-null
- mpls traffic-eng srlg
- mpls traffic-eng topology holddown sigerr
- mpls traffic-eng tunnels (global configuration)
- mpls traffic-eng tunnels (interface configuration)
- mpls ttl-dec
- mtu
- neighbor activate
- neighbor allowas-in
- neighbor as-override
- neighbor inter-as-hybrid
- neighbor send-label
- neighbor send-label explicit-null
- next-address
- oam retry
- oam-ac emulation-enable
- oam-pvc
- ping mpls
- preferred-path
- priority (LSP Attributes)
- protection (LSP Attributes)
- protection local-prefixes
- pseudowire
- pseudowire-class
- rd
- record-route (LSP Attributes)
- route-target
- sequencing
- set extcomm-list delete
- set mpls experimental
- set mpls experimental imposition
- set mpls experimental topmost
- set mpls-label
- set ospf router-id
- set vrf
- show acircuit checkpoint
- show atm vc
- show connection
- show controllers vsi control-interface
- show controllers vsi descriptor
- show controllers vsi session
- show controllers vsi status
- show controllers vsi traffic
- show controllers xtagatm
- show interface tunnel configuration
- show interface xtagatm
- show ip bgp labels
- show ip bgp neighbors
- show ip bgp vpnv4
- show ip explicit-paths
- show ip multicast mpls vif
- show ip ospf database opaque-area
- show ip ospf mpls ldp interface
- show ip ospf mpls traffic-eng
- show ip protocols vrf
- show ip route
- show ip route vrf
- show ip rsvp fast bw-protect
- show ip rsvp fast detail
- show ip rsvp hello
- show ip rsvp hello bfd nbr
- show ip rsvp hello bfd nbr detail
- show ip rsvp hello bfd nbr summary
- show ip rsvp hello instance detail
- show ip rsvp hello instance summary
- show ip rsvp hello statistics
- show ip rsvp high-availability database
- show ip rsvp host
- show ip rsvp interface detail
- show ip traffic-engineering
- show ip traffic-engineering configuration
- show ip traffic-engineering routes
- show ip vrf
- show isis database verbose
- show isis mpls ldp
- show isis mpls traffic-eng adjacency-log
- show isis mpls traffic-eng advertisements
- show isis mpls traffic-eng tunnel
- show issu clients
- show issu entities
- show issu message types
- show issu negotiated
- show issu sessions
- show mpls atm-ldp bindings
- show mpls atm-ldp bindwait
- show mpls atm-ldp capability
- sshow mpls atm-ldp summary
- show mpls cos-map
- show mpls flow mappings
- show mpls forwarding vrf
- show mpls forwarding-table
- show mpls interfaces
- show mpls ip binding
- show mpls ip iprm counters
- show mpls ip iprm ldm
- show mpls l2 vc detail
- show mpls l2transport binding
- show mpls l2transport checkpoint
- show mpls l2transport hw-capability
- show mpls l2transport summary
- show mpls l2transport vc
- show mpls label range
- show mpls ldp backoff
- show mpls ldp bindings
- show mpls ldp checkpoint
- show mpls ldp discovery
- show mpls ldp graceful-restart
- show mpls ldp igp sync
- show mpls ldp neighbor
- show mpls ldp neighbor password
- show mpls ldp parameters
- show mpls oam echo statistics
- show mpls platform
- show mpls prefix-map
- show mpls static binding ipv4
- show mpls static binding ipv4 vrf
- show mpls static crossconnect
- show mpls traffic tunnel backup
- show mpls traffic-eng autoroute
- show mpls traffic-eng auto-tunnel mesh
- show mpls traffic-eng destination list
- show mpls traffic-eng fast-reroute database
- show mpls traffic-eng fast-reroute log reroutes
- show mpls traffic-eng forwarding-adjacency
- show mpls traffic-eng forwarding path-set
- show mpls traffic-eng forwarding statistics
- show mpls traffic-eng link-management admission-control
- show mpls traffic-eng link-management advertisements
- show mpls traffic-eng link-management bandwidth-allocation
- show mpls traffic-eng link-management igp-neighbors
- show mpls traffic-eng link-management interfaces
- show mpls traffic-eng link-management summary
- show mpls traffic-eng lsp attributes
- show mpls traffic-eng process-restart iprouting
- show mpls traffic-eng topology
- show mpls traffic-eng topology path
- show mpls traffic-eng tunnels
- sshow mpls traffic-eng tunnels statistics
- show mpls traffic-eng tunnels summary
- show mpls ttfib
- show running interface auto-template
- show running-config vrf
- show tech-support mpls
- show vrf
- show xconnect
- show xtagatm cos-bandwidth-allocation
- show xtagatm cross-connect
- show xtagatm vc
- snmp mib mpls vpn
- snmp-server community
- snmp-server enable traps (MPLS)
- snmp-server enable traps mpls ldp
- snmp-server enable traps mpls rfc ldp
- snmp-server enable traps mpls rfc vpn
- snmp-server enable traps mpls traffic-eng
- snmp-server enable traps mpls vpn
- snmp-server group
- snmp-server host
- status (pseudowire class)
- status redundancy
- switching tlv
- ttag-control-protocol vsi
- trace mpls
- trace mpls multipath
- traffic-engineering filter
- traffic-engineering route
- tunnel destination access-list
- tunnel destination list mpls traffic-eng
- tunnel destination mesh-group
- tunnel flow egress-records
- tunnel mode mpls traffic-eng
- tunnel mode mpls traffic-eng point-to-multipoint
- tunnel mpls traffic-eng affinity
- tunnel mpls traffic-eng autoroute destination
- tunnel mpls traffic-eng auto-bw
- tunnel mpls traffic-eng autoroute announce
- tunnel mpls traffic-eng autoroute metric
- tunnel mpls traffic-eng backup-bw
- tunnel mpls traffic-eng bandwidth
- tunnel mpls traffic-eng exp
- tunnel mpls traffic-eng exp-bundle master
- tunnel mpls traffic-eng exp-bundle member
- tunnel mpls traffic-eng fast-reroute
- tunnel mpls traffic-eng forwarding-adjacency
- tunnel mpls traffic-eng interface down delay
- tunnel mpls traffic-eng load-share
- tunnel mpls traffic-eng path-option
- tunnel mpls traffic-eng path-option protect
- tunnel mpls traffic-eng path-selection metric
- tunnel mpls traffic-eng priority
- tunnel mpls traffic-eng record-route
- tunnel tsp-hop
- vpn id
- vrf definition
- vrf forwarding
- vrf selection source
- vrf upgrade-cli
- xconnect
- xconnect logging pseudowire status

snmp-server host
MP-818
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
To enable multiple hosts, you must issue a separate snmp-server host command for each host. You can
specify multiple notification types in the command for each host.
When multiple s
nmp-server host commands are given for the same host and kind of notification (trap
or inform), each succeeding command overwrites the previous command. Only the last snmp-server
host command will be in effect. For example, if you enter an snmp-server host inform command for a
host and then enter another snmp-server host inform command for the same host, the second command
will replace the first.
The s
nmp-server host command is used in conjunction with the snmp-server enable command. Use
the snmp-server enable command to specify which SNMP notifications are sent globally. For a host to
receive most notifications, at least one snmp-server enable command and the snmp-server host
command for that host must be enabled.
Some notification types cannot be controlled with the s
nmp-server enable command. Some notification
types are always enabled, and others are enabled by a different command. For example, the linkUpDown
notifications are controlled by the snmp trap link-status command. These notification types do not
require an snmp-server enable command.
The availability of a notification-type options depends on the router type and the Cisco IOS software
fe
atures supported on the router. For example, the envmon notification type is available only if the
environmental monitor is part of the system. To see what notification types are available on your system,
use the command help ? at the end of the snmp-server host command.
The vr
f keyword allows you to specify the notifications being sent to a specified IP address over a
specific VRF. The VRF defines a VPN membership of a user so data is stored using the VPN.
Notification-Type Keywords
The notification-type keywords used in the snmp-server host command do not always match the
keywords used in the corresponding snmp-server enable traps command. For example, the notification
keyword applicable to Multiprotocol Label Switching Protocol (MPLS) traffic engineering tunnels is
specified as mpls-traffic-eng (containing two hyphens and no embedded spaces). The corresponding
parameter in the snmp-server enable traps command is specified as mpls traffic-eng (containing an
embedded space and a hyphen).
This syntax difference is necessary to ensure that the command-line interface (CLI) interprets the
not
ification-type keyword of the snmp-server host command as a unified, single-word construct, which
preserves the capability of the snmp-server host command to accept multiple notification-type
keywords in the command line. The snmp-server enable traps commands, however, often use two-word
constructs to provide hierarchical configuration options and to maintain consistency with the command
syntax of related commands. Table 162 maps some examples of s
nmp-server enable traps commands
to the keywords used in the s
nmp-server host command.
Ta b l e 162 SNMP-server enable traps Commands and Corresponding Notification Keywords
snmp-server enable traps Command snmp-server host Command Keyword
snmp-server enable traps l2tun session l2tun-session
snmp-server enable traps mpls ldp mpls-ldp
snmp-server enable traps mpls traffic-eng
1
1. See the Cisco IOS Multiprotocol Label Switching Command Reference for documentation of this command.
mpls-traffic-eng
snmp-server enable traps mpls vpn mpls-vpn