Traffic-Remark-Vlanid - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Packets redirected to the CPU are not forwarded.
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 Port Basic Configuration
module of this manual for information about Combo ports.
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 Link Aggregation module of this manual for
information about aggregation group.
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 VLAN-VPN module of this manual for information about selective QinQ.
Examples
# Redirect the inbound packets sourced from the IP network segment 1.1.1.0/24 to Ethernet 1/0/7 on
Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-redirect inbound ip-group 2000 interface Ethernet 1/0/7

traffic-remark-vlanid

Syntax
traffic-remark-vlanid inbound acl-rule remark-vlan remark-vlanid
undo traffic-remark-vlanid inbound acl-rule
View
Ethernet port view
Parameters
inbound: Maps the VLAN IDs carried in the inbound packets to a specified VLAN ID.
acl-rule: ACL rules to be applied for traffic classification. This argument can be the combination of
multiple ACLs. For more information about this argument, refer to
ACL rules referenced must be those defined with the permit keyword.
remark-vlan remark-vlanid: Specified the target VLAN ID, to which the VLAN IDs of the packets
matching specific ACL rules are to be mapped.
Table 1-4
1-29
and
Table
1-5. Note that the

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents