Chapter 41: Logging
STANDARD Revision 1.0
C4® CMTS Release 8.3 User Guide
© 2016 ARRIS Enterprises LLC. All Rights Reserved.
1061
SNMP Configuration with CLI
The most basic settings for the SNMP agent i.e. hostname, location, and contact details are configurable via the following
commands:
configure snmp-server location <string> [no]
configure snmp-server contact <string> [no]
Create a Basic Configuration for an SNMP v1/2 Community
The following script represents the basic command sequence for setting up SNMP:
configure snmp-server community public security ro
configure snmp-server community private security rw
configure snmp-server user rotesting rotesting v1
configure snmp-server user rwtesting rwtesting v1
configure snmp-server user rotesting rotesting v2c
configure snmp-server user rwtesting rwtesting v2c
configure snmp-server context ""
configure snmp-server group rotesting v1 read docsisManagerView
configure snmp-server group rwtesting v1 read docsisManagerView write docsisManagerView
configure snmp-server group rotesting v2c read docsisManagerView notify docsisManagerView
configure snmp-server group rwtesting v2c read docsisManagerView write docsisManagerView
configure snmp-server view docsisManagerView 1.3.6.1 included
configure snmp-server group rotesting v2c notify docsisManagerView
configure snmp-server group rotesting v1 notify docsisManagerView
Community Access — defines an access list filtering mechanism associated with the community string. Each community
string defined in snmpCommunityTable can be configured with one access list number. For each community string
associated with an access list number, the incoming SNMP request is permitted or denied using standard access list
filtering.
configure snmp-server community <community name string> <access-list number>
configure snmp-server community <community name string> <access-list number> no
An SNMP community or v3 user consists of 3 parts: views, groups, and users
View — defines the portion of the overall MIB tree that is visible to an SNMP user. Views are configured by using the
"snmp-server view …" commands. These commands map directly to the SNMP MIB table "vacmViewTreeFamilyTable" as
explained in RFC3415. The CLI commands for creating/modifying/deleting views are as follows: