185
CHAPTER 3
INTRODUCTION TO CLI
3.9.47 (config)# switchport
3.9.47.1 (config)# switchport vlan mapping
Syntax:
(config)# switchport vlan mapping <group ID> <vlan_list> <translation_vlan>
Explanation:
VLAN Translation is especially useful for users who want to translate the original VLAN ID to a new VLAN
ID so as to exchange data across different VLANs and improve VLAN scaling. VLAN translation replaces an incoming C-
VLAN tag with an S-VLAN tag instead of adding an additional tag. When configuring VLAN Translation, both ends of the
link normally must be able to replace tags appropriately. In other words, both ends must be configured to translate
the C-VLAN tag to S-VLAN tag and S-VLAN tag to C-VLAN tag appropriately in a network. Note that only access ports
support VLAN translation. It is not recommended to configure VLAN Translation on trunk ports.
Parameters:
<group ID: 1-28>: Indicate the Group ID that applies to this translation rule.
<vlan_list>: Indicate the VLAN ID that will be mapped to a new VID.
<translation_vlan>: Indicate the new VID to which VID of ingress frames will be changed.
Example:
Map the group ID 5 with VLAN ID 100 to be translated to 201.
Negation:
(config)# no switchport vlan mapping <group> <v_vlan_id_from>
3.9.47.2 (config-if)# switchport access vlan
Syntax:
(config-if)# switchport access vlan <pvid>
Explanation:
Configure access VLAN ID for this interface.
Parameters:
<pvid>: Indicate the access VLAN ID (PVID) for this interface.
Example:
Set the interface 1’s access VLAN ID to 10.
Negation:
(config-if)# no switchport access vlan
Show:
# show vlan status
# config t
(config)# interface GigabitEthernet 1/1
(config-if)# switchport access vlan 10
(config-if)#
# config t
(config)# switchport vlan mapping 5 100 201
Содержание MSW-4424C Series
Страница 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Страница 382: ......