XG2000 series User's Guide
65/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.2.6 remote-host
Function
Registers remote host information and shows the relationship between the remote hostname and IP address.
By registering the IP address of a remote host that is used frequently, the name can be specified instead of the IP address. The
relationship between the registered hostname and IP address is given priority over the DNS server configuration.
Use the no form to delete registered remote host information.
Prompt
xg(config)#
Command syntax
remote-host A.B.C.D HOST-NAME
no remote-host [ A.B.C.D ]
Parameter
z A.B.C.D
Specifies the IP address of a remote host in A.B.C.D format.
IP addresses that can be set are: 1.0.0.1 - 126.255.255.254, 128.0.0.1 - 191.255.255.254,
and 192.0.0.1 - 223.255.255.254.
z HOST-NAME
Specifies the remote hostname to register. Specify the hostname using 63 characters or less,
with an alphabet character at the beginning.
Follow the rules below for the hostname and domain name:
− Characters usable for the name
Alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]), hyphen (-), and period (.)
− First character
Alphabet ([a - z], [A - Z])
− Last character
Alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]), and period (.)
z (no remote-host) [A.B.C.D]
Deletes the registered remote host. Specify the IP address in A.B.C.D format.
When IP address is omitted, all registered remote hosts will be deleted.
Command type
Configuration command
Default
None
Message
% Invalid IP-address.
Explanation
The specified format of the IP address or specified content is incorrect.
Solution
Specify the IP address in a correct format and execute the command again.
% Number of remote-host is over (max=10)
Explanation
The upper limit of the number of registrable remote hosts was surpassed.
Solution
After deleting unnecessary hosts, execute the command again.
% Already exist name of remote host
Explanation
A remote hostname with the same IP address was previously registered.
Solution
Change the remote hostname of the IP address to the correct name, or register it again
after deleting it.
% Not exist IP-address of remote host
Explanation
The specified host definition is not registered.
Solution
Specify a registered IP address and execute the command again.