Configuration Guide
QinQ Configuration
Configuring VLAN Mapping
Configuring One-to-one VLAN Mapping
On Access, Trunk, Hybrid or Uplink ports, execute the following commands to
configure one-to-one VLAN mapping. For detailed commands, please see the
Command Reference.
Follow these steps:
Command
Description
configure terminal
Enter configuration mode.
interface
intf-id
Enter interface configuration mode.
switchport mode
port-type
Configure the port as an Access, Trunk,
Uplink or Hybrid port.
vlan-mapping-in vlan
cvlan
remark
svlan
Configure one-to-one VLAN mapping in the
ingress direction. This command changes
the Customer VLAN ID of the ingress
packet to the specified Server VLAN ID.
no vlan-mapping-in vlan
cvlan
remark
svlan
Cancel one-to-one VLAN mapping in the
ingress direction.
vlan-mapping-out vlan
svlan
remark
c
vlan
Configure one-to-one VLAN mapping in the
egress direction. This command changes
the Server VLAN ID of the egress packet
back to the specified Customer VLAN ID.
no vlan-mapping-out vlan
svlan
remark
c
vlan
Cancel one-to-one VLAN mapping in the
egress direction.
end
Exit interface configuration mode.
show interface
[
intf-id
]
vlan-mapping
View the configuration.
The following example demonstrates how to change the VID in the tag of the
ingress packet back to 4 before forwarding it.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if)# switchport mode trunk
Ruijie(config-if)# vlan-mapping-in vlan 3 remark 4
Ruijie(config-if)# vlan-mapping-out vlan 4 remark 3
Ruijie(config-if)# end
Configuring Many-to-one VLAN Mapping
On Access, Trunk, Hybrid or Uplink ports, execute the following commands to
configure many-to-one VLAN mapping. For detailed commands, please see the
Command Reference.
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...