EasyManua.ls Logo

Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X

Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X
640 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
NOTE: This command does not modify the severity level set for specific hosts using
the snmp-server host command.
If you configure global severity levels for different categories in succession, the
last global severity level you configure is applied to all categories.
Example 1Configuring the per-category severity level without changing the
global severity level
1. Configure the global severity level as critical for all enabled trap categories
by specifying the SONET trap category.
host1(config)#snmp-server enable traps sonet trapFilters critical
2. Configure the global severity level as notice for all enabled trap categories
by specifying the BGP trap category.
host1(config)#snmp-server enable traps bgp trapFilters notice
3. Configure the per-category severity level as debug for the SONET trap
category.
host1(config)#snmp-server enable traps sonet per-category-trapFilters debug
In this example, although you configure the category-specific severity level as
debug for the SONET category in Step 3, the global severity level remains
unchanged as notice. This behavior occurs because only the category-specific
severity level was configured in the last operation.
Example 2Overwriting the global severity level to the last-configured setting
1. Configure the global severity level as critical for all enabled trap categories
by specifying the SONET trap category.
host1(config)#snmp-server enable traps sonet trapFilters critical
2. Configure the global severity level as notice for all enabled trap categories
by specifying the BGP trap category.
host1(config)#snmp-server enable traps bgp trapFilters notice
Although you specify the type of SNMP trap category when you configure the
global severity level, it takes effect for all enabled trap categories on the router.
In this example, after you issue the second command, the global severity level
is set as notice for all enabled trap categories.
Example 3Overriding the global severity level for a category with the
per-category severity level
1. Configure the global severity level as critical for the SONET trap category
in the command.
host1(config)#snmp-server enable traps sonet trapFilters critical
2. Change the global severity level to notice for all enabled trap categories.
Configuring Traps 171
Chapter 4: Configuring SNMP

Table of Contents

Related product manuals