There's a mobile version of our website.
Which Special characters are allowed in the hostname field of device in DCR ...??
Hostname field in LMS is only limited by what is actually accepted as a valid hostname string in the command line of the device.
- The above explanation is only referencing the "hostname" part.
- LMS is fully capable of employing the fully-qualified-domain-name (FQDN) for its operations where the use of the @ symbol is required before the domain name.
- On a possibly related note, the @ symbol is used for delimiting the context information (such as collecting dynamic CAM entries for catalyst switches using SNMP). Avoid using the @ symbol as part of the SNMP community string when configuring the "snmp-server community" command. If the operating system on the device allows the @ character in the hostname, it may impact SNMP operations.
To reiterate: If a character is accepted while configuring the hostname via CLI, then it will be accepted in the DCR as well.
This is not true. First, a '@' is not allowed in a hostname. Second, any character you enter from the hostname on an IOS device is considered to be a valid hostname character by RFC standard. It would be best to use RFC1178 (http://tools.ietf.org/html/rfc1178) when choosing a name. LMS will certainly support any RFC-compliant hostname. As for the official hostname pattern in DCR, that is:
Display Name, on the other hand, is a different story. The DCR Display Name is much more flexible when it comes to characters it will accept. It can accept colons and spaces as well. The official pattern for Display Name is:
The patterns here are the negative. Just ignore the '^'. That is, the hostname pattern is:
For example, cisco-router_A. The following is the allowed display name pattern:
For example, Core Cisco Router A.
Generally, avoid longer than 16 characters host name as this is not allowed by LAT, or you will get errors such as : legal LAT node name, Using "CISCO_946110"
$ > or < is not a allowed at all
" alone is not OK, as it will change it back to the device default, for example Router.
Login to share your discussion activity with your friends on Facebook. You can control what you share and turn off sharing anytime.
Your Facebook friends can now see that you have started this discussion
Your Facebook friends can now see that you have commented on this discussion
Your Facebook friends can now see that you have read this discussion