The sample show running-config for a MIB displays as follows
SNMP-TARGET-MIB snmpTargetAddrTable snmpTargetAddrEntry SNMAPManagerTest1
snmpTargetAddrTDomain 1.3.6.1.6.1.1
snmpTargetAddrTAddress 127.0.0.1.0.162
snmpTargetAddrTagList v2_trap
snmpTargetAddrParams target_v2
!
When i try to copy and paste the exactly the way its displayed above, i get an error, since snmpTargetAddrTDomain is a mandatory element confd expects the value in the same line. Is there a way to modify it. Either make the show running-config to display mandatory elements in single line or any other solution for this
Error:
CNAP(config)# SNMP-TARGET-MIB snmpTargetAddrTable snmpTargetAddrEntry "10.144.214.174 v2"
Value for 'snmpTargetAddrTDomain' (<oid>): snmpTargetAddrTDomain 1.3.6.1.6.1.1
Error: bad value: "snmpTargetAddrTDomain 1.3.6.1.6.1.1" is not a valid value.
Value for 'snmpTargetAddrTDomain' (<oid>): snmpTargetAddrTAddress 10.144.214.174.23.112
Error: bad value: "snmpTargetAddrTAddress 10.144.214.174.23.112" is not a valid value.
Value for 'snmpTargetAddrTDomain' (<oid>): snmpTargetAddrTimeout 1500
Error: bad value: "snmpTargetAddrTimeout 1500" is not a valid value.
Thanks.