OcNOS-SP : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : snmp context-name
snmp context-name
Use this command to configure the SNMP context name which will be mapped to each OSPFv2 instance.
When context name is configured OSPF OID will be registered with SNMP to that context.
Use no form of the command to un-map the SNMP context name from OSPFv2 instance and unregister OSPF OID from SNMP.
Note: snmp context-name will not be allowed in default ospf context.
Command Syntax
snmp context-name <WORD>
no snmp context-name <WORD>
Parameters
WORD
snmp context-name mapped to ospf instance. max length is 32
Command Mode
Router OSPF mode
Applicability
This command was introduced before OcNOS version 5.1.
Examples
(config)#router ospf 1
(config-router)#snmp context-name context1
 
Last modified date: 10/16/2023