Cisco NCS 5000 Series Manual page 53

System management configuration guide for cisco ncs 5000 series routers
Hide thumbs Also See for NCS 5000 Series:
Table of Contents

Advertisement

Implementing SNMP
Command or Action
Step 2
snmp-server interface subset subset-number
regular-expression expression
Example:
RP/0/RP0/CPU0:router(config)# snmp-server
interface subset 10
regular-expression
"^Gig[a-zA-Z]+[0-9/]+\."
RP/0/RP0/CPU0:router(config-snmp-if-subset)#
Step 3
notification linkupdown disable
Example:
RP/0/RP0/CPU0:router(config-snmp-if-subset)#
notification linkupdown disable
Step 4
commit
Step 5
show snmp interface notification subset
subset-number
Example:
RP/0/RP0/CPU0:router# show snmp interface
notification subset 10
Step 6
show snmp interface notification regular-expression
expression
Example:
RP/0/RP0/CPU0:router# show snmp interface
notification
regular-expression
"^Gig[a-zA-Z]+[0-9/]+\."
Step 7
show snmp interface notification type
interface-path-id
Example:
RP/0/RP0/CPU0:router# show snmp interface
notification
tengige 0/4/0/3.10
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
Configuring LinkUp and LinkDown Traps for a Subset of Interfaces
Purpose
Enters snmp-server interface mode for the interfaces identified
by the regular expression.
The subset-number argument identifies the set of interfaces, and
also assigns a priority to the subset in the event that an interface
is included in more than one subset. Lower numbers have higher
priority and their configuration takes precedent over interface
subsets with higher numbers.
The expression argument must be entered surrounded by double
quotes.
Refer to the Understanding Regular Expressions, Special
Characters, and Patterns module in for more information
regarding regular expressions.
Disables linkUp and linkDown traps for all interfaces being
configured. To enable previously disabled interfaces, use the
no form of this command.
(Optional)
Displays the linkUp and linkDown notification status for all
interfaces identified by the subset priority.
(Optional)
Displays the linkUp and linkDown notification status for all
interfaces identified by the regular expression.
(Optional)
Displays the linkUp and linkDown notification status for the
specified interface.
43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents