Configuring System Information for the SNMP Agent (SRC CLI)

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:

  1. From configuration mode, access the configuration statement that configures the SNMP agent.
    [edit]
    user@host# edit snmp
  2. (Optional) Specify the administrative contact for the system being managed by SNMP.
    [edit snmp]
    user@host# set contact contact
  3. (Optional) Specify the name of the system being managed by SNMP.
    [edit snmp]
    user@host# set name name
  4. (Optional) Specify the location of the system being managed by SNMP.
    [edit snmp]
    user@host# set location location
  5. (Optional) Specify the description of the system being managed by SNMP.
    [edit snmp]
    user@host# set description description
  6. (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.

  7. (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.


Published: 2009-09-25


Copyright © 2009, Juniper Networks, Inc. All rights reservedTrademark Notice.