Basic Configuration Of Layer 3; Layer 3 Configuration Example - Zte ZXR10 2900 Series User Manual

Intelligent
Table of Contents

Advertisement

ZXR10 2900 Series User Manual
170
Confidential and Proprietary Information of ZTE CORPORATION

Basic Configuration of Layer 3

To configure L3 function, perform the following steps.
Command
arp add <A.B.C.D><HH.HH.HH.H
zte(cfg)#
H.HH.HH><0-63><1-4094>
arp delete <A.B.C.D>
zte(cfg)#
arp ipport <0-63> timeout
zte(cfg)#
<1-1000>
clear arp
zte(cfg)#
clear ipport <0-63>[mac|ipad
zte(cfg)#
dress {<A.B.C.D/M>|<A.B.C.D><A.B.C.D
>}|vlan <vlanname>]
clear iproute [{<A.B.C.D/M>|<A
zte(cfg)#
.B.C.D><A.B.C.D>}<A.B.C.D>]
iproute {<A.B.C.D/M>|<A.B.C.D
zte(cfg)#
><A.B.C.D>}<A.B.C.D>[<1-15>]
set ipport <0-63>{enable|disa
zte(cfg)#
ble}
set ipport <0-63> ipaddress
zte(cfg)#
{<A.B.C.D/M>|<A.B.C.D><A.B.C.D>}
set ipport <0-63> mac
zte(cfg)#
<HH.HH.HH.HH.HH.HH>
set ipport <0-63> vlan
zte(cfg)#
<vlanname>
show arp [static | dynamic |
zte(cfg)#
invalid | ipport <0-63>[static | dynamic
| invalid]| ipaddress <A.B.C.D>]
show ipport [<0-63>]
zte(cfg)#
show iproute
zte(cfg)#

Layer 3 Configuration Example

As shown in
Figure
71, configure layer-3 ip address as 192.168.1.2
on switch. The ip address 192.168.1.2 can ping through PC ad-
Function
This adds static ARP.
This deletes static ARP.
This sets the timeout of
layer-3 port.
The parameter
timeout: the default is
10, the unit is minute.
This deletes all the arp
information.
This deletes ipport
configuration.
This deletes static
route.
This adds static route.
This enables or disables
layer-3 port.
This sets IP address
and submask of layer-3
port.
This sets the MAC
address of layer-3 port
This sets the VLAN
binding with layer 3
port.
This shows arp
information.
This shows layer-3 port
information.
This shows all the static
routes.

Advertisement

Table of Contents
loading

Table of Contents