3Com S7902E Command Reference Manual - page 1693
2-11
Parameters
cpu
: Redirects traffic to the CPU.
interface interface-type interface-number
: Redirects traffic to an interface identified by its type and
number.
next-hop
: Specifies the next hop to redirect the traffic to.
ipv4-add
: IPv4 address of the next hop.
ipv6-add
: IPv6 address of the next hop. The
interface-type interface-number
argument is a VLAN
interface number. If the IPv6 address is a link-local address, you must specify a VLAN interface for the
IPv6 address of the next hop; if the IPv6 address is not a link-local address, you need not specify a
VLAN interface for the IPv6 address of the next hop.
Description
Use the
redirect
command to configure traffic redirecting action for a traffic behavior.
Use the
undo redirect
command to remove the traffic redirecting action.
Related commands:
qos policy
,
traffic behavior
,
classifier behavior
.
Examples
# Configure the redirecting action to redirect traffic to GigabitEthernet2/0/1 port.
[Sysname] traffic behavior database
[Sysname-behavior-database] redirect interface GigabitEthernet 2/0/1
remark customer-vlan-id
Syntax
remark customer-vlan-id
vlan-id-value
undo remark customer-vlan-id
View
Traffic behavior view
Default Level
2: System Level
Parameters
vlan-id-value
: VLAN ID to be set for packets, in the range of 1 to 4094.
Description
Use the
remark customer-vlan-id
command to configure the action of setting the customer network
VLAN ID for a traffic behavior.
Use the
undo remark customer-vlan-id
command to remove the action of setting the customer
network VLAN ID.
Note that the action of setting the customer network VLAN ID cannot be applied to a VLAN or applied
globally.