AppendixB Command Reference
Privilege Level 15 Commands
B-26
User Guide for the CiscoWorks 1105 Wireless LAN Solution Engine
78-14947-01
Example
The following example changes the hostname to sandbox:
hostname sandbox
import
To import host files, or to map IP addresses to hostnames, use the import
command:
import {host hostname ipaddress} | {hosts ftp-host username password path}
no import {host hostname ipaddress} | {hosts}
Syntax Description
host Maps one IP address to a hostname.
hostname Hostname to map IP address to.
hosts Imports host files from ftp accessible host.
ipaddress IP address to map Hostname to.
password Password used to access ftp accessible host.
path Path to ftp accessible host.
ftp-host IP address of ftp accessible host.
username username use to access ftp accessible host.
Usage Guidelines
To map a single hostname to an IP address, enter the import command as follows
import host hostname ipaddress
To import host files from an external, ftp accessible server, enter the import
command as follows:
import hosts ftp-host username password path
To remove an individual IP address from a host file, use the no version of the
import command as follows: