MES3000 Ethernet switch series 89
name: (1..158)
characters
Define the default domain name that will be used by the
application for correction of invalid domain names (domain names
without a dot). For domain names without a dot, a dot with the
domain name specified in the command will be added at the end
of the name. The name should contain from 1 to 158 characters.
Remove default domain name.
ip host name address1
[address2 … address4]
name: (1..158)
characters
Define static matches between network node names and IP
addresses, add the established match to the cache. Local DNS
functions. The name should contain from 1 to 158 characters. You
can define up to four IP addresses.
Delete static matches between node names and IP addresses. The
name should contain from 1 to 158 characters.
EXEC mode commands
Command line request in EXEC mode appears as follows:
console#
Table 5.73 —EXEC mode commands
name: (1..158)
characters
Delete the match between node name and IP address in cache or
delete all records (*).
name: (1..158)
characters
Show default domain name, DNS server list, static and cached
matches between node names and IP addresses.
When network node name is used in command, the corresponding
IP address will be shown.
Example use of commands
Use DNS server with 192.168.16.35 and 192.168.16.38 addresses, define the default domain name
mes:
сonsole# configure
console(config)# ip name-server 192.168.16.35 192.168.16.38
console(config)# ip domain-name mes
Define static match: network node with the name eltex.mes has IP address 192.168.16.39:
сonsole# configure
console(config)# ip host eltex.mes 192.168.16.39
5.15.2 ARP configuration
ARP (Address Resolution Protocol) is a channel-level interface that performs the identification of
MAC address based on the IP address contained in the request.
Global configuration mode commands
Command line request in global configuration mode appears as follows:
console(config)#
Table 5.74 —Global configuration mode commands
arp ip_address hw_ address
[gigabitethernet gi_port |
ip_addr format: A.B.C.D
hw_address format:
Add the static record of matches between IP and MAC addresses
to ARP table for the interface, specified in the command.