Specifications

B-69
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
cns id
cns id
To set the unique event ID, config ID, or image ID used by Cisco Networking Services (CNS), use the
cns id command in global configuration mode. To set the identifier to the hostname of the Cisco IOS
device, use the no form of this command.
If ID Choice Is an IP Address or MAC Address
cns id type number {ipaddress | mac-address} [event | image]
no cns id type number {ipaddress | mac-address} [event | image]
If ID Choice Is Anything Else
cns id {hardware-serial | hostname | string string | udi} [event | image]
no cns id {hardware-serial | hostname | string string | udi} [event | image]
Syntax Description
Command Default The system defaults to the hostname of the Cisco IOS device as the unique ID.
Command Modes Global configuration (config)
type number Type of interface (for example, ethernet, group-async, loopback, or
virtual-template) and the interface number.
Indicates from which interface the IP or MAC address should be
retrieved in order to define the unique ID.
ipaddress Uses the IP address specified in the type number arguments as the unique ID.
mac-address Uses the MAC address specified in the type number arguments as the
unique ID.
event (Optional) Sets this ID to be the event ID value, which is used to identify the
Cisco IOS device for CNS event services.
If both optional keywords are omitted, the event ID is set to the
hostname of the Cisco IOS device.
image (Optional) Sets this ID to be the image ID value, which is used to identify
the Cisco IOS device for CNS image agent services.
If both optional keywords are omitted, the image ID is set to the
hostname of the Cisco IOS device.
hardware-serial Uses the hardware serial number as the unique ID.
hostname Uses the hostname as the unique ID. This is the system default.
string string Uses an arbitrary text string—typically the hostname—as the unique ID.
udi Uses the product Unique Device Identifier as the unique ID.