OcNOS-SP : System Management Guide : System Management Command Reference : Simple Network Management Protocol : snmp-server group
snmp-server group
Use this command to create a SNMP group.
Use the no form of this command to remove the groups.
Command syntax
snmp-server group WORD version (1|2c) (context (all|WORD)|) (vrf management|) snmp-server group WORD version 3 (auth|noauth|priv) (context (all|WORD)|) (vrf management|)
no snmp-server group WORD (context (all|WORD)|) (vrf management|)
Parameters
WORD
Specify the snmp group name (Maximum 32 alphanumeric characters)
version
SNMP Version
1
SNMP v1
2c
SNMP v2c
3
SNMP v3 security level
noauth
No authentication and no privacy (noAuthNoPriv) security model: messages transmitted as clear text providing backwards compatibility with earlier versions of SNMP
auth
Authentication and no privacy (authNoPriv) security model: use message digest algorithm (MD5) or Secure Hash Algorithm (SHA) for packet authentication; messages transmitted in clear text
priv
Authentication and privacy (authPriv) security model: use authNoPriv packet authentication with Data Encryption Standard (DES) Advanced Encryption Standard (AES) for packet encryption
context
SNMP context name
WORD
SNMP context string (Maximum 32 alphanumeric characters)
all
All context name’s allowed for this group.
management
Virtual Routing and Forwarding (VRF) name
Default
None
Command Mode
Configure mode
Applicability
This command is introduced in OcNOS-SP version 5.1 MR.
Examples
OcNOS#con t
OcNOS(config)#snmp-server context ctx1 vrf management
OcNOS(config)#snmp-server group grp1 version 3 auth context ctx1 vrf management
OcNOS(config)#snmp-server group grp3 version 2c context ctx2 vrf management
Last modified date: 10/19/2023