Configuring System Information for the SNMP Agent
Use the following configuration statements to configure information supplied by the SNMP agent:
- snmp {
- contact contact;
- name name;
- location location;
- description description;
- address [address...];
- }
To configure properties for the SNMP agent:
- From configuration mode, access the configuration statement
that configures the SNMP agent.
- [edit]
- user@host# edit snmp
- (Optional) Specify the administrative contact for the
system being managed by SNMP.
- [edit snmp]
- user@host# set contact contact
- (Optional) Specify the name of the system being managed
by SNMP.
- [edit snmp]
- user@host# set name name
- (Optional) Specify the location of the system being managed
by SNMP.
- [edit snmp]
- user@host# set location location
- (Optional) Specify the description of the system being
managed by SNMP.
- [edit snmp]
- user@host# set description description
- (Optional) Specify the listening address on which to receive
incoming SNMP requests.
- [edit snmp]
- user@host# set address [address...]
To list more than one IP address, enter the addresses separated by spaces within brackets. By default, the SNMP agent listens on all IPv4 interfaces.
- (Optional) Verify your configuration.
[edit snmp] user@host# show
If you did not configure the SNMP agent, the command displays only the SDX SNMP agent configuration.
