O'Reilly logo

Juniper Networks® Field Guide and Reference by Juniper Networks®, Cris Morris, Gary Drenan, Aviva Garrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring SNMP

To configure SNMP, you include statements at the [edit snmp] hierarchy level of the configuration:

snmp {
  community community-name {
    authorization authorization;
    clients {
      address restrict;
    }
    view view-name;
  }
  contact contact;
  description description;
  interface [interface-name];
  location location;
  traceoptions {
    file files number size size;
    flag flag;
  }
  trap-group group-name {
    categories category;
    targets {
      address;
    }
    version version;
  }
  trap-options {
    agent-address outgoing-interface;
    source-address address;
  }
  view view-name;
    oid object-identifier (include | exclude);
  }
}

By default, SNMP is disabled.

To configure the minimum requirements for SNMP, include the following statements. The community defined here as public grants ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required