Cisco Cisco IOS Software Release 12.2(25)S

Page de 60
      CNS Agents
cns mib-access encapsulation
42
Cisco IOS Release 12.2(25)S
cns mib-access encapsulation
To specify whether CNS should use nongranular (SNMP) or granular (XML) encapsulation to access 
MIBs, use the cns mib-access encapsulation command in global configuration mode. To disable the 
currently specified encapsulation, use the no form of this command.
cns mib-access encapsulation {snmp | xml [size bytes]}
no cns mib-access encapsulation {snmp | xml}
Syntax Description
Defaults
For XML encapsulation, a maximum size of 3072 bytes.
Command Modes
Global configuration
Command History
Examples
The following example specifies that XML be used to access MIBs:
Router(config)# cns mib-access encapsulation xml 
Related Commands
snmp
Enables nongranular (SNMP) encapsulation for MIB access.
xml
Enables granular (XML) encapsulation for MIB access.
size bytes 
(Optional) Maximum size in bytes for response events. The default is 3072.
Release
Modification
12.2(8)T
This command was introduced on Cisco 2600 series and Cisco 3600 series 
routers.
12.2(25)S
This command was integrated into Cisco IOS Release 12.2(25)S.
Command
Description
cns notifications encapsulation Specifies whether CNS notifications should be sent using 
nongranular (SNMP) or granular (XML) encapsulation.