
SNMP
351
The agent can receive or send the SNMP packets ranging from 484 bytes to 17940
bytes. By default, the size of an SNMP packet is 1500 bytes.
Perform the following configuration in system view.
Enabling and Disabling Transmission of Trap Information
To enable or disable transmission of trap information, perform the following
configuration in Ethernet port view.
Disabling the SNMP Agent
To disable the SNMP Agent, perform the following configuration in system view.
If a user disables an NMP Agent, it is enabled whatever
snmp-agent
command is
configured.
Displaying and Debugging SNMP
Execute the
display
command to view the SNMP configuration and to verify the
effect of the configuration. Execute the
debugging
command in user view to
debug the SNMP configuration.
Table 55
Setting the Size of an SNMP Packet Sent or Received by an Agent
Operation
Command
Set the size of an SNMP packet set or received
by an agent
snmp-agent packet max-size
byte-count
Restore the default size of an SNMP packet
sent or received by an agent
undo
snmp-agent packet max-size
Table 56
Enable/Disable Transmission of Trap Information
Operation
Command
Enable the current port to transmit the trap
information
enable snmp trap updown
Disable the current port from transmitting trap
information
undo
enable snmp trap updown
Table 57
Disabling SNMP Agent
Operation
Command
Disable snmp agent
undo snmp
-
agent
Table 58
Displaying and Debugging SNMP
Operation
Command
Display the statistics information about SNMP
packets
display snmp
-
agent statisitcs
Display the engine ID of the active device
display snmp-agent
{
local-engineid
|
remote-engineid
}
Display the group name, the security mode,
the states for all types of views, and the
storage mode of each group of the switch.
display snmp
-
agent group
Display the names of all users in the group
user table
display snmp
-
agent usm
-
user
[ {
local
| {
engineid
engineid
} } |
username
groupname
]
Summary of Contents for Switch 7700
Page 10: ...2 ABOUT THIS GUIDE ...
Page 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Page 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 195: ...Route Capacity 187 ...
Page 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 197: ...Route Capacity 189 ...
Page 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Page 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Page 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Page 270: ...262 CHAPTER 7 QOS OPERATION ...
Page 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Page 330: ...322 CHAPTER 10 RELIABILITY ...
Page 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...