Download Operation Manual CLI

Transcript
Operation Manual CLI
SNMP
-----------------------------------------com2sec switch
100.1.1.1 public
SWITCH(config)#
28.3
Configuring the SNMP Agent
The SNMP agent and the MIB, which stores the information on system and network,
reside on the NE. The SNMP agent uses MIB variables to reply on requests from SNMP
administrator. The SNMP administrator can obtain data from the SNMP agent and on
the other hand he can also save data in the SNMP agent.
Use the following commands to configure the identity of the agent accessing the NE over
SNMP. This configuration is saved in the SNMP configuration file.
Command
snmp agent-address A.B.C.D
Mode
Config
Function
Configures the IP address of SNMP agent.
A.B.C.D: IP address.
no snmp agent-address
Deletes IP address SNMP agent.
snmp location NAME
Configures the location name of SNMP agent.
NAME: location name.
no snmp location
Deletes location of SNMP agent.
snmp contact USER
Configures name of user which can access the system.
USER: user name.
no snmp contact
Deletes the name of accessed user.
Use the following commands to display information of the SNMP agent.
Command
show snmp agent-address
Mode
Privileged/
Config
show snmp location
show snmp contact
Function
Shows SNMP agent IP address.
Shows location of SNMP agent.
Shows the name of user with SNMP access.
Example:
SWITCH(config)# snmp contact manager
SWITCH(config)# snmp location ger_gwd
SWITCH(config)#
28.4
Configuring an SNMP Group
An SNMP group is a collection of SNMP users who share the same access permission.
SNMP sets up the authentication strategy for a user and the group in which the user
resides. In order to create/delete an group that can access the SNMP agent, use the following commands.
Id:0900d8058025b404
255