10-9
Description
Use the
display snmp-agent trap-list
command to display the modules that can generate traps and
whether their trap function is enabled or not. If a module comprises multiple sub-modules, then as long
as one sub-module has the trap function enabled, the whole module will be displayed as being
enabled with the trap function.
Related commands:
snmp-agent trap enable
.
Examples
# Display the modules that can generate traps and whether their trap function is enabled or not.
<Sysname> display snmp-agent trap-list
configuration trap enable
flash trap enable
standard trap enable
system trap enable
Enable traps: 4; Disable traps: 0
In the above output, enable indicates that the module is allowed to generate traps whereas disable
indicates the module is not allowed to generate traps. You can configure the trap function (enable or
disable) of each module through command lines.
display snmp-agent usm-user
Syntax
display snmp-agent usm-user [ engineid
engineid
| username
user-name
| group
group-name
] *
View
Any view
Default Level
1: Monitor level
Parameters
engineid engineid
: Displays SNMPv3 user information for a specified engine ID, where
engineid
indicates the SNMP engine ID.
username user-name
: Displays SNMPv3 user information for a specified user name. It is case
sensitive.
group group-name
: Displays SNMPv3 user information for a specified SNMP group name. It is case
sensitive.
Description
Use the
display snmp-agent usm-user
command to display SNMPv3 user information.
Examples
# Display SNMPv3 information of all created users.
<Sysname> display snmp-agent usm-user
User name: userv3
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...