DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
642
VLAN Mapping Commands
70-1 vlan mapping profile
This command is used to enter the VLAN mapping profile configuration mode. If the VLAN mapping profile doesn’t
exist, it will be created. Use no command to remove the VLAN mapping profile.
vlan mapping profile
ID
[type [ethernet | ip | ipv6]]
no vlan mapping profile
ID
Parameters
70-2 vlan mapping rule
This command is used to configure the VLAN mapping rules of the profile. Use the no rule command to remove the
previous configured rules
rule {
SN
} match [src-mac
MAC-ADDRESS
| dst-mac
MAC-ADDRESS
| priority
COS-VALUE
| inner-vid
VLAN-
ID
| ether-type
VALUE
| src-ip
NETWORK-PREFIX
| dst-ip
NETWORK-PREFIX
| src-ipv6
IPV6-NETWORK-
PREFIX / PREFIX-LENGTH
| dst-ipv6
IPV6-NETWORK-PREFIX / PREFIX-LENGTH
| dscp
VALUE
| src-port
VALUE
| dst-port
VALUE
| ip-protocol
VALUE
] {dot1q-tunnel | translate} outer-vid
VLAN-ID
[priority
COS-
VALUE
] [inner-vid
VLAN-ID
]
no rule
SN
[- | ,]
Parameters
ID
Specifies the ID of the VLAN mapping profile. A lower ID has a higher priority. The ID
range is from 1 to 1000.
type
Specifies the profile types. Different profiles can match different fields.
ethernet:
The profile can match L2 fields.
ip:
The profile can match L3 IP fields.
ipv6:
The profile can match IPv6 destination or source address.
Default
No VLAN mapping profile.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12
Usage Guideline
A VLAN mapping profile can be used to provide flexible and powerful flow-based
VLAN translation.
Creating a VLAN mapping profile, users must specify the type to decide which fields
can be matched by the profile rules.
Example
This example shows how to create a VLAN mapping profile for matching Ethernet
fields.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#vlan mapping profile 1 type ethernet
DXS-3600-32S(config-vlan-map)#
SN
(Optional) Specifies the sequence number of the VFP rule. If not specified, the
SN
begins from 10 and the increment is 10. The
SN
range is from 1 to 10000.
action
Specifies that the following parameters are lookup fields of the rule.
src-mac
MAC-ADDRESS
Specifies the source MAC address.
dst-mac
MAC-ADDRESS
Specifies the destination MAC address.
priority
COS-VALUE
Specifies the 802.1p priority.
inner-vid
VLAN-ID
Specifies the inner VLAN ID.
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...