Host Alias commands

Host Alias mode provides the commands to create or modify a host alias.

To enter the configuration mode, use the Global host-alias command. To delete a host alias, use the Global no host-alias command.

While in this mode, use the commands in the following table to define a host alias.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.
Table 1. Host Alias commands
Command Purpose
admin-state Sets the administrative state for the configuration.
ip-address Creates an alias for an IP address on a Ethernet port.