3com 5500-ei pwr Instruccion De Instalación
1-23
Configuration procedure
Follow these steps to configure traffic redirecting:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
interface-number
—
Configure traffic
redirecting
redirecting
traffic-redirect { inbound |
outbound } acl-rule { cpu |
{ interface interface-type
interface-number |
link-aggregation-group
agg-id } [ untagged ] }
outbound } acl-rule { cpu |
{ interface interface-type
interface-number |
link-aggregation-group
agg-id } [ untagged ] }
Required
By default, traffic
redirecting is not
configured.
redirecting is not
configured.
z
Packets redirected to the CPU are not forwarded.
z
If the traffic is redirected to a Combo port in down state, the system automatically
redirects the traffic to the port corresponding to the Combo port in up state. Refer to the
Port Basic Configuration module of this manual for information about Combo ports.
z
If the traffic is configured to be redirected to an aggregation group, the traffic is
redirected to the master port of the aggregation group. Refer to the Link Aggregation
module of this manual for information about aggregation group.
z
When the traffic redirecting function is used in conjunction with the selective QinQ
function, you can specify the untagged keyword as required (that is, remove the outer
VLAN tag of a packet after the packet is redirected to the uplink port) in a tree network
with a single uplink port (or an aggregation group). Do not specify the untagged
keyword in a ring network or a network with multiple uplink ports. Refer to the
VLAN-VPN module of this manual for information about selective QinQ.
Configuration example
z
Ethernet 1/0/1 is connected to the 10.1.1.0/24 network segment.
z
Redirect all the packets from the 10.1.1.0/24 network segment to Ethernet 1/0/7.
Configuration procedure:
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] traffic-redirect inbound ip-group 2000 interface
Ethernet1/0/7