Parameters
deny: Drops packets.
permit: Forwards packets.
Description
Use the filter command to configure traffic filtering action for a traffic behavior.
Use the undo filter command to remove the traffic filtering action.
Related commands: qos policy, traffic behavior, classifier behavior.
Examples
# Configure traffic filtering action for a traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] filter deny
mirror-to
Syntax
mirror-to { cpu | interface interface-type interface-number }
undo mirror-to { cpu | interface interface-type interface-number }
View
Traffic behavior view
Default Level
2: System Level
Parameters
cpu: Redirects packets to the CPU.
interface interface-type interface-number: Port type and port number of the destination port for the
traffic mirroring action.
Description
Use the mirror-to command to configure traffic mirroring action for a traffic behavior.
Use the undo mirror-to command to remove the traffic mirroring action.
Note that when the action of mirroring traffic is applied in the outbound direction of an SC LPU, any
other action cannot be configured in the same traffic behavior. Otherwise, the corresponding QoS policy
cannot be applied successfully.
Examples
# Configure traffic behavior 1 and define the action of mirroring traffic to GigabitEthernet2/0/2 in the
traffic behavior.
<Sysname> system-view
[Sysname] traffic behavior 1
[Sysname-behavior-1] mirror-to interface GigabitEthernet 2/0/2
2-9
Need help?
Do you have a question about the S7906E and is the answer not in the manual?