arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Configure SNMP community

You can configure the SNMP Community string using the below command:

hashtag
Reference

Command

[no] snmp-server community <string>

Description

hashtag
Example

You can verify the configuration by using the command(s) below:

SNMP community configuration

Parameters

SNMP community string

Mode

CONFIG

pbnoscli# configure terminal
pbnoscli(config)# snmp-server 
  community             Community string authentication
  contact               Configure SNMP contact
  location              Configure SNMP location
  trap                  Trap configuration
  user                  SNMP user
pbnoscli(config)# snmp-server community 
 <comm>                
pbnoscli(config)# snmp-server community public
pbnoscli(config)# 
pbnoscli# show snmp-community
===================================================
Community    
===================================================
public (Read-only)
pbnoscli# 
pbnoscli# show running-config 
configure terminal
!
interface mgmt
ip address 10.4.4.52/24 gateway 10.4.4.1
!
snmp-server community public
!
pbnoscli#