Chapter 5 Network Protocol Configuration
Configuring IP Address
Step Command
Function
1
ZXR10(config)#
interface
<
interface-name
>
This enters nterface
configuration mode.
2
ZXR10(config-if-vlanX)#
ip address
<
ip-address
><
net
-mask
>[<
broadcast-address
>][
secondary
]
This sets IP address.
One interface allows multiple IP addresses.
IP Address Configuration Example
Suppose that a layer 3 interface vlan1 is created on ZXR10
5900/5200.
IP
address
to
192.168.3.1,
and
mask
to
255.255.255.0 needs to be set. The detailed configuration is as
follows:
ZXR10(config)#interface vlan 1
ZXR10(config-if-vlan1)#ip address 192.168.3.1 255.255.255.0
The
show ip interface
command can be used to view the IP ad-
dress of the interface.
ZXR10(config-if-vlan1)#show ip interface
vlan1
AdminStatus is up, PhyStatus is up, line protocol is up
Internet address is 10.1.1.1/24
Broadcast address is 255.255.255.255
IP MTU is 1500 bytes
ICMP unreachables are always sent
ICMP redirects are never sent
ARP Timeout: 00:10:00
ARP Configuration
ARP Overview
Network device when sends data to another network device. It
should know the IP address and physical address (MAC address)
of the destination device. ARP is to map the IP address to the
physical address, to ensure smooth communication.
At first, the source device broadcasts the ARP request with the IP
address of the destination device. Then, all the devices on the net-
work receive this ARP request. If one device finds the IP address
in the request matches with its IP address, it sends a reply con-
taining the MAC address to the source device. The source device
obtains the MAC address of the destination device through this re-
ply.
Confidential and Proprietary Information of ZTE CORPORATION
49