Specifications
3-468
Cisco Wide Area Application Services Command Reference
OL-16451-01
Chapter 3 CLI Commands
(config) ip
To add an entry to the /etc/hosts file on the device, mapping a hostname to an IP address, use the ip host
command. A given hostname can be mapped only to a single IP address, while an IP address can have
multiple hostnames mapped to it, each one through a separate issuance of this command. To remove the
entry from the /etc/hosts file, use the no form of this command. You can use the show hosts EXEC
command to display the contents of the /etc/hosts file.
To specify the address of one or more name servers to use for name and address resolution, use the
ip name-server ip-addresses command. To disable IP name servers, use the no form of this command.
For proper resolution of the hostname to the IP address or the IP address to the hostname, the WAAS
device uses DNS servers. Use the ip name-server command to point the WAAS device to a specific DNS
server. You can configure up to eight servers.
Path MTU autodiscovery discovers the MTU and automatically sets the correct value. Use the ip
path-mtu-discovery enable command to start this autodiscovery utility. By default, this feature is
enabled. When this feature is disabled, the sending device uses a packet size that is smaller than
576 bytes and the next hop MTU. Existing connections are not affected when this feature is turned on or
off.
Use the ip route command to add a specific static route for a network or host. Any IP packet designated
for the specified destination uses the configured route.
To configure static IP routing, use the ip route command. To remove the route, use the no form of this
command. Do not use the ip route 0.0.0.0 0.0.0.0 command to configure the default gateway; use the
ip default-gateway command instead.
Examples The following example shows how to configure a default gateway for the WAAS device:
WAE(config)# ip default-gateway 192.168.7.18
The following example shows how to configure a static IP route for the WAAS device:
WAE(config)# ip route 172.16.227.128 255.255.255.0 172.16.227.250
The following example shows how to configure a default domain name for the WAAS device:
WAE(config)# ip domain-name cisco.com
The following example shows how to add an entry to the /etc/hosts file on the WAAS device:
WAE(config)# ip host corp-B7 10.11.12.140
The following example shows how to configure a name server for the WAAS device:
WAE(config)# ip name-server 10.11.12.13
Related Commands show hosts
show ip routes