SNMP Configuration Introduction 569
Table627 Set the Size of SNMP Packet sent/received by an Agent
The agent can receive/send the SNMP packets of the sizes ranging from 484 to
17940, measured in bytes. By default, the size of SNMP packet is 1500 bytes.
Enabling/Disabling a
Port Transmitting Trap
Information SNMP
Agent
To enable/disable a port transmitting trap information SNMP Agent. Perform the
following configuration in Ethernet Port View.
Table628 Enable/Disable a Port Transmitting Trap Information SNMP Agent
Disabling SNMP Agent To disable SNMP Agent perform the following configuration in System View.
Table629 Disable SNMP Agent
If user disable NMP Agent, it will be enabled whatever snmp-agent command is
configured thereafter.
Network Management
Operation Logging
Configuration
Existing log management systems only log configuration commands executed on
terminals (or through TELNET) instead of the operations performed by SNMP network
administrators.
The network management operation logging function logs operations performed
remotely by administrators through SNMP (simple network management protocol),
such as querying (the get command)/setting (the set command) device status.
Configuring the Network Management Operation Logging Function
In a network that contains no fabric, you can use the display logbuffer command to
view the logs of the get and set operations performed by the network administrator.
As for a fabric, you can execute the display logbuffer command on the master device
to view the logs of the set operations performed by the network administrator, and
execute the display logbuffer command on the devices to which the get operations
are performed to view the logs of corresponding get operations.
Operation Command
Set the size of SNMP packet sent/received
by an agent
snmp-agent packet max-size byte-count
Restore the default size of SNMP packet
sent/received by an agent
undo snmp-agent packet max-size
Operation Command
enable current port to transmit the trap information enable snmp trap updown
disable current port to transmit the trap information undo enable snmp trap updown
Operation Command
Disable snmp agent undo snmp-agent
Table630 Configure the Network Management Operation Logging Function
Operation Command Description
Enter system view system-view -
Enable the network
management operation
logging function
snmp-agent log {
set-operation |
get-operation | all }
Optional:
By default, the network management
operation logging function is disabled.