
Chapter 6 Network Protocol Configuration
Configuring IP Address
To configure IP address, perform the following steps.
Step Command
Function
1
ZXR10(config)#
interface
<
interface -name
>
This enters interface
configuration mode
2
ZXR10(config-if)#
ip address
<
ip-address
><
net-mask
>[<
broadcast-address
>][
secondary
]
This sets interface IP address
3
ZXR10(config)#
show ip interface
This views interface IP
address
IP Address Configuration Example
Assuming that Layer 3 interface VLAN1 is created in ZXR10
8900 series switch, configure the IP address of the interface to
192.168.3.1, and mask to be 255.255.255.0. The configuration
is shown below.
ZXR10(config)#interface vlan 1
ZXR10(config-if)#ip address 192.168.3.1 255.255.255.0
ARP Configuration
ARP Overview
A network device should know the IP address of the destination
device and its physical address (MAC address) when transmitting
data to another network device. The function of Address Resolu-
tion Protocol (
ARP
) is mapping IP address to physical address to
ensure successful communication.
First, the source device broadcast carries the ARP request of desti-
nation device IP address, so all devices in the network will receive
this ARP request. If a device finds that the IP address in the re-
quest and its own IP address match, it will transmit a response
containing
MAC
address to source device. The source device ob-
tains the MAC address of the current device through this response.
The mapping relationship between IP address and MAC address
is cached in the local ARP table with the purpose of reducing ARP
packets in the network to transmit data more rapid. When the
device needs to transmit data, it will search ARP table according
to IP address, if MAC address of destination device is found in
the ARP table, transmitting ARP request is not needed. Dynamic
Confidential and Proprietary Information of ZTE CORPORATION
61