Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Using SNMP to Retrieve Information from JunosE Routers and Devices Running Junos OSs (SRC CLI)

 

You can use SNMP to retrieve information from the router. For example, if you create a router initialization script that uses SNMP, you need to specify the SNMP communities that are on the router.

We recommend that you specify SNMP communities for each virtual router. (See Adding JunosE Routers and Virtual Routers (SRC CLI).) You can also configure global default SNMP communities.

You can configure global default SNMP communities that are used if a VR does not exist on the router or if the community strings have not been configured for the VR.

Use the following configuration statements to configure global default SNMP communities:

To configure global default SNMP communities:

  1. From configuration mode, access the configuration statements that configure default SNMP communities.

  2. Configure the default SNMP community string used for read access to the router.

  3. Configure the default SNMP community string used for write access to the router.

  4. (Optional) Verify your configuration.