The Huawei ME60 /40E
supports configuration of traffic policing in both inbound and outbound
directions on Layer 2 interfaces.
You can configure
traffic policing for the NE80E/40E only on the physical GE and Ethernet
interfaces.
Run:
system-view
The system view is
displayed.
Run:
interface { ethernet
| gigabitethernet } interface-number
The interface view
is displayed.
Run:
portswitch
The Layer 2
interface view is displayed.
Run:
port default vlan
vlan-id
A Layer 2 interface
is added to a specified VLAN.
NOTE:
Please confirm the
specified VLAN has been created before running this command.
Run:
port trunk
allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } & <1-10> | all }
The IDs of the VLANs
allowed by the current interface are specified.
Run:
qos car { cir
cir-value [ pir pir-value] } [ cbs cbs-value pbs pbs-value ] [ green { discard
| pass [ service-class class color color ] } | yellow { discard | pass [
service-class class color color ] } | red { discard | pass [ service-class
class color color ] } ]* { inbound | outbound } [ vlan { vlan-id1 [ to vlan-id2
] &<1-10> } ]
NOTE:
CAR is configured on
an interface. The parameter [ vlan { vlan-id1 [ to vlan-id2 ] &<1-10>
} ] takes effect only on layer 2 interfaces, and VLAN ID must be configured.
When this command is configured ME60 on a layer 3 interface, however, VLAN ID cannot
be configured.
没有评论:
发表评论