NOTE
Before configuring mirroring of flows to an observing interface in a traffic behavior, you must run the
observe-port (local mirroring) or the observe-port (remote mirroring) command to create an
observing interface.
l Run:
mirroring to cpu
All the flows that match a traffic classifier are mirrored to the CPU of the LPU.
NOTE
For details about flow mirroring, see Mirroring Configuration in the Quidway S7700 Smart Routing Switch
Configuration Guide - Device Management.
----End
Configuring the Action of Adding Outer VLAN Tags to Packets
By configuring the action of adding outer VLAN tags to packets, the S7700 adds outer VLAN
tags to packets matching traffic classification rules.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic behavior behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3 Run:
nest top-most vlan-id vlan-id
The action of adding an outer VLAN tag is configured.
NOTE
The nest top-most vlan-id command is used to implement the flow-based QinQ function. For description
and configuration of flow-based QinQ, see QinQ Configuration in the Quidway S7700 Smart Routing
Switch Configuration Guide - Ethernet.
----End
Configuring Traffic Statistics
By configuring the traffic statistics action, the S7700 collects traffic statistics on packets
matching traffic classification rules.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
26