DGS-6604
m
vlan-tunnel ctag-mapping dynamic
CLI Reference Guide
925
vlan-tunnel ctag-mapping dynamic
Use this command to enable or disable the dynamic customer VLAN tag learning
mechanism for IPv4/IPv6 packets.
vlan-tunnel ctag-mapping dynamic {ipv4 | ipv6} {enable | disable}
Default
Disabled
Command Mode
Global configuration
Usage Guideline
Use this command to enable the dynamic customer VLAN tag learning
mechanism. The mechanism learns the customer VLAN tag and source IP
address mapping from incoming control packets. The learned customer VLAN
tag mapping will be used for outgoing Layer 3 control packets. When a Layer 3
control packet is sent, and its destination IP is the same value as the source IP of
dynamic learned customer VLAN tag mapping entry, then the control packet will
be added to the matched customer VLAN tag.
If VLAN tunneling mode is disabled, the mechanism will not work even it is
enabled.
Examples
This example shows how to enable the VLAN tunnel dynamic customer VLAN
tag learning mechanism for IPv4 packets.
Verify the settings by entering
show vlan-tunnel ctag-mapping dynamic state
command.
Syntax Description
ipv4
Specifies IPv4 packets.
ipv6
Specifies IPv6 packets.
enable
Enables the VLAN tunnel dynamic customer VLAN tag learning mechanism.
disable
Disables the VLAN tunnel dynamic customer VLAN tag learning mechanism.
Switch(config)# vlan-tunnel ctag-mapping dynamic ipv4 enable