To associate a host alias and fully qualified
domain name (FQDN) string to an ethernet interface such as eth1, eth2, and eth3
other than eth0, use the
ip host command in
global configuration mode.
When Cisco ISE processes an authorization profile redirect URL, it
replaces the IP address with the FQDN of the Cisco ISE node.
ip host
[ipv4-address |
ipv6-address] [host-alias |
FQDN-string]
To remove the association of host alias and
FQDN, use the
no form of this
command.
no ip
host [ipv4-address |
ipv6-address] [host-alias |
FQDN-string]
Syntax Description
ipv4-address
|
IPv4 address of the network interface.
|
ipv6-address
|
IPv6 address of the network interface.
|
host-alias
|
Host alias is the name that you assign
to the network interface.
|
FQDN-string
|
Fully qualified domain name (FQDN) of
the network interface.
|
If you have the Primary Administration Node
(PAN) auto-failover configuration enabled, disable it before you change the
host alias and FQDN of an ethernet interface. You can enable the PAN
auto-failover configuration after the host alias and FQDN configuration is
complete.
If
you have the PAN auto-failover configuration enabled in your deployment, the
following message appears:
PAN Auto Failover is enabled, this operation is
not allowed! Please disable PAN Auto-failover first.
Command Default
No default behavior or values.
Command Modes
Configuration (config)#
Command History
Release
|
Modification
|
2.0.0.306
|
This command was introduced.
|
Usage Guidelines
Supported IPv6 address formats include:
-
Full notation: Eight groups of four hexadecimal digits separated
by colons. For example, 2001:0db8:85a3:0000:0000:8a2e:0370:7334
-
Shortened notation: Exclude leading zeros in a group; replace
groups of zeros with two consecutive colons. For example:
2001:db8:85a3::8a2e:370:7334
-
Dotted-quad notation (IPv4-mapped and IPv4 compatible-IPv6
addresses): For example, ::ffff:192.0.2.128
Use the
ip host command to add
host alias and fully qualified domain name (FQDN) string for an IP address
mapping. It is used to find out the matching FQDN for ethernet interfaces such
as eth1, eth2, and eth3. Use the
show running-config
command to view the host alias definitions.
You can provide either the host alias or the FQDN string, or both. If
you provide both the values, the host alias must match the first component of
the FQDN string. If you provide only the FQDN string, Cisco ISE replaces the IP
address in the URL with the FQDN. If you provide only the host alias, Cisco ISE
combines the host alias with the configured IP domain name to form a complete
FQDN, and replaces the IP address of the network interface in the URL with the
FQDN.
Example 1
ise/admin(config)# ip host 172.21.79.96 ise1 ise1.cisco.com
Host alias was modified. You must restart ISE for change to take effect.
Do you want to restart ISE now? (yes/no) yes
Stopping ISE Monitoring & Troubleshooting Log Processor...
Stopping ISE Application Server...
Stopping ISE Profiler DB...
Stopping ISE Monitoring & Troubleshooting Session Database...
Stopping ISE Database processes...
Starting ISE Database processes...
Stopping ISE Database processes...
Starting ISE Database processes...
Starting ISE Monitoring & Troubleshooting Session Database...
Starting ISE Profiler DB...
Starting ISE Application Server...
Starting ISE Monitoring & Troubleshooting Log Processor...
Note: ISE Processes are initializing. Use 'show application status ise'
CLI to verify all processes are in running state.
ise/admin(config)#
Example 2
ise/admin(config)# ipv6 host 2001:db8:cc00:1::1 ise1 ise1.cisco.com
Host alias was modified. You must restart ISE for change to take effect.
Do you want to restart ISE now? (yes/no) yes
Stopping ISE Monitoring & Troubleshooting Log Processor...
Stopping ISE Application Server...
Stopping ISE Profiler DB...
Stopping ISE Monitoring & Troubleshooting Session Database...
Stopping ISE Database processes...
Starting ISE Database processes...
Stopping ISE Database processes...
Starting ISE Database processes...
Starting ISE Monitoring & Troubleshooting Session Database...
Starting ISE Profiler DB...
Starting ISE Application Server...
Starting ISE Monitoring & Troubleshooting Log Processor...
Note: ISE Processes are initializing. Use 'show application status ise'
CLI to verify all processes are in running state.
ise/admin(config)#