Chapter4ServiceConguration
Parameters
ParametersDescription
<0-63>Numberofalayer-3port
<HH.HH.HH.HH.HH.HH>MACaddress
Guidelines
MACaddressesrangefrom00.d0.d0.f0.00.00to00.d0.d0.ff.ff.ff.IftheMACaddressfora
layer-3portisnotcongured,theMACaddressoftheswitchisusedinstead.IftheMAC
addressforalayer-3portisalreadycongured,usethiscommandtoreplacetheoriginal
MACaddresswithanewone.TomodifytheMACaddress,disablethelayer-3portrst.
4.17.6setipportvlan
Purpose
Thiscommandbindsalayer-3porttoaVLAN.
CommandMode
Layer-3congurationmode
Syntax
setipport<0-63>vlan<1-4094>
Parameters
ParameterDescription
<0-63>Numberofalayer-3port
<1-4094>VLANID
Guidelines
IftheporttobeconguredisalreadyboundtoaVLAN,usethiscommandtoreplacethe
originalVLANwithanewone.TomodifytheVLAN,disablethelayer-3portrst.
Example
Thefollowingexampleconguresalayer-3port:
zte(cfg)#configrouter
zte(cfg-router)#setipport0ipaddress10.40.88.200/24
zte(cfg-router)#setipport0vlan1
zte(cfg-router)#setipport0mac00.d0.d0.f1.11.11
zte(cfg-router)#setipport0enable
zte(cfg-router)#exit
4-359
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential