Switch 7700 Command reference Guide, v2.0

Table Of Contents
82 CHAPTER 4: USING NETWORK PROTOCOL COMMANDS
255.255.0.0. You can confirm that the subnet address is 202.38.0.0 by
performing the logic operation “AND” on the IP address and mask.
Related commands: ip route, display ip interface, display interface.
Example
To configure VLAN-Interface 2 to have an IP address of 202.38.10.66, and a
subnet mask of 255.255.255.0, enter the following:
[SW7700-vlan-interface2]ip address 202.38.10.66 255.255.255.0
ip host Syntax
ip host hostname ip_address
undo ip host hostname [ ip_address ]
View
System view
Parameter
hostname: Enter the host name of the connecting device. This is a character string
of up to 20 characters.
ip_address: Enter the host’s IP address.
Description
Use the ip host command to configure the host name and the host IP address
in the Switch 7700’s host table. This allows you to ping or Telnet a local device
by host name.
Use the undo ip host command to remove the host name and the host IP
address from the host table.
By default, the host name and corresponding IP address are null.
Example
To enter a host name of Lanswitch1 for the IP address 202.38.0.8, enter the
following .
[SW7700]ip host Lanswitch1 202.38.0.8
ARP Configuration
Commands
This section describes the commands you can use to configure and manage the
Address Resolution Protocol (ARP) operations on your Switch 7700.
arp static Syntax
arp static ip_address mac_address [ vlan_id interface_type
interface_number ]
undo arp static ip_address
View
System view