Chapter5NetworkProtocolConguration
ConfiguringIPAddress
Step
CommandFunction
1
ZXR10(config)#interface<interface-name>Thisentersnterface
congurationmode.
2
ZXR10(config-if-vlanX)#ipaddress<ip-address><net
-mask>[<broadcast-address>][secondary]
ThissetsIPaddress.
OneinterfaceallowsmultipleIPaddresses.
IPAddressConfigurationExample
Supposethatalayer3interfacevlan1iscreatedonZXR10
5900/5200.IPaddressto192.168.3.1,andmaskto
255.255.255.0needstobeset.Thedetailedcongurationisas
follows:
ZXR10(config)#interfacevlan1
ZXR10(config-if-vlan1)#ipaddress192.168.3.1255.255.255.0
TheshowipinterfacecommandcanbeusedtoviewtheIPad-
dressoftheinterface.
ZXR10(config-if-vlan1)#showipinterface
vlan1AdminStatusisup,PhyStatusisup,lineprotocolisup
Internetaddressis10.1.1.1/24
Broadcastaddressis255.255.255.255
IPMTUis1500bytes
ICMPunreachablesarealwayssent
ICMPredirectsareneversent
ARPTimeout:00:10:00
ARPConfiguration
ARPOverview
Networkdevicewhensendsdatatoanothernetworkdevice.It
shouldknowtheIPaddressandphysicaladdress(MACaddress)
ofthedestinationdevice.ARPistomaptheIPaddresstothe
physicaladdress,toensuresmoothcommunication.
Atrst,thesourcedevicebroadcaststheARPrequestwiththeIP
addressofthedestinationdevice.Then,allthedevicesonthenet-
workreceivethisARPrequest.IfonedevicendstheIPaddress
intherequestmatcheswithitsIPaddress,itsendsareplycon-
tainingtheMACaddresstothesourcedevice.Thesourcedevice
obtainstheMACaddressofthedestinationdevicethroughthisre-
ply.
CondentialandProprietaryInformationofZTECORPORATION49