Chapter4ServiceConguration
Example
ThefollowingexamplesetstheACLbindingmodeofports1,3,and5toVLAN:
zte(cfg)#setport1,3,5aclmodevlan
4.13.2setportaclenable/disable
Purpose
ThiscommandenablesordisablesthebindingofanACLinstancewithaportorports.
CommandMode
Globalcongurationmode
Syntax
setport<portlist>acl<1-799
,
801-828>{enable|disable}
ParameterDescription
ParameterDescription
<portlist>Portlist.
<1-799
,
801-828>
ACLnumber.TheglobalACL800canbevalidwithoutbinding
operations.
enableBindsanACLinstancetoaportorports.
disableDisablesthebinding.
Guidelines
EachportcanbeboundwithonlyoneACLinstanceatthesametime.Eachinstancecan
beboundwithmultipleportsatthesametime.
Example
ThefollowingexamplebindsACL1withport10:
zte(cfg)#setport10acl1enable
4.13.3setvlanaclenable/disable
Purpose
ThiscommandenablesordisablesthebindingofanACLinstancewithaVLANorVLANs.
CommandMode
Globalcongurationmode
4-215
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential