190
CHAPTER 3
INTRODUCTION TO CLI
3.9.47.13 (config-if)# switchport trunk vlan tag native
Syntax:
(config-if)# switchport trunk vlan tag native
Explanation:
Configure this specific interface to tag native VLAN traffic.
Negation:
(config-if)# no switchport trunk vlan tag native
3.9.47.14 (config-if)# switchport vlan ip-subnet id
Syntax:
(config-if)# switchport vlan ip-subnet id <vce_id> <ipv4> vlan <vid>
Explanation:
IP Subnet-based VLAN configuration is to map untagged ingress frames to a specific VLAN if the source
address is found in the IP subnet-to-VLAN mapping table. When IP subnet-based VLAN classification is enabled, the
source address of untagged ingress frames are checked against the IP subnet-to-VLAN mapping table. If an entry is
found for that subnet, these frames are assigned to the VLAN indicated in the entry. If no IP subnet is matched, the
untagged frames are classified as belonging to the receiving port’s VLAN ID (PVID).
Parameters:
<vce_id: 1-128>: Specify index of the entry. Valid range is 1
~
128.
<ipv4>: Specify IP address and subnet mask. The format is xx.xx.xx.xx/mm.mm.mm.mm.
<vid>: Indicate the VLAN ID.
Negation:
(config-if)# no switchport vlan ip-subnet id <vce_id_list>
Show:
# show vlan ip-subnet [ id <subnet_id> ]
3.9.47.15 (config-if)# switchport vlan mac
Syntax:
(config-if)# switchport vlan mac <mac_addr> vlan <vid>
Explanation:
This command is to set up VLANs based on source MAC addresses. When ingress untagged frames are
received by a port, source MAC address is processed to decide which VLAN these untagged frames belong. When
source MAC addresses does not match the rules created, untagged frames are assigned to the receiving port’s native
VLAN ID (PVID).
Parameters:
<mac_addr>: Indicate the source MAC address. Please note that the source MAC address can only map to one
VLAN ID.
vlan <vid>: Map this MAC address to the associated VLAN ID.
Negation:
(config-if)# no switchport vlan mac <mac_addr> vlan <vid>
Show:
# show vlan mac [ address <mac_addr> ]
Summary of Contents for MSW-4424C Series
Page 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Page 382: ......