EasyManuals Logo

H3C S3100 Series Command Manual

H3C S3100 Series
1244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #661 background imageLoading...
Page #661 background image
1-41
Example
# Redirect the packets that match ACL 2000 rules and are of VLAN 1 to Ethernet 1/0/7 (assuming that
the current device is an S3100-EI series switch).
<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] traffic-redirect vlan 1 inbound ip-group 2000 interface Ethernet1/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: Changes 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
Table 1-9 and Table 1-10. Note that
the ACL rules referenced must be those defined with the permit keyword.
remark-vlan remark-vlanid: Specifies the target VLAN ID, that is, the VLAN ID to be set for the packets
matching the specific ACL rules.
Description
Use the traffic-remark-vlanid command to configure the VLAN marking function to change the VLAN
ID of the incoming traffic matching a specified ACL rule to the specified VLAN ID.
Use the undo traffic-remark-vlanid command to disable the VLAN marking function for the incoming
packets matching any of the specified ACL rules.
By default, VLAN marking is not configured.
VLAN marking is mutually exclusive with VLAN mapping.
Related commands: display qos-interface traffic-remark-vlanid.
Examples
# Configure VLAN marking on port Ethernet 1/0/1 to change the VLAN ID of incoming traffic carrying
VLAN ID 5 to 1001.

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals