ZXR10 5250 Series Command Reference
Parameters
Parameters
Description
<
0-63
>
Number of a layer-3 port
<
HH.HH.HH.HH.HH.HH
>
MAC address
Guidelines
MAC addresses range from 00.d0.d0.f0.00.00 to 00.d0.d0.ff.ff.ff. If the MAC address for a
layer-3 port is not configured, the MAC address of the switch is used instead. If the MAC
address for a layer-3 port is already configured, use this command to replace the original
MAC address with a new one. To modify the MAC address, disable the layer-3 port first.
4.17.6 set ipport vlan
Purpose
This command binds a layer-3 port to a VLAN.
Command Mode
Layer-3 configuration mode
Syntax
set ipport
<
0-63
>
vlan
<
1-4094
>
Parameters
Parameter
Description
<
0-63
>
Number of a layer-3 port
<
1-4094
>
VLAN ID
Guidelines
If the port to be configured is already bound to a VLAN, use this command to replace the
original VLAN with a new one. To modify the VLAN, disable the layer-3 port first.
Example
The following example configures a layer-3 port:
zte(cfg)#config router
zte(cfg-router)#set ipport 0 ipaddress 10.40.88.200/24
zte(cfg-router)#set ipport 0 vlan 1
zte(cfg-router)#set ipport 0 mac 00.d0.d0.f1.11.11
zte(cfg-router)#set ipport 0 enable
zte(cfg-router)#exit
4-360
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential