Configuring Native Vlans For Trunk Ports - Alaxala AX2200S Series Configuration Manual

Table of Contents

Advertisement

(2) Setting access ports
When a single VLAN is set to a single port and untagged frames are handled, it is set as an
access port.
Points to note
Set a port for the access port and the VLANs handled by the access port.
Command examples
1.
(config)# interface fastethernet 0/1
Switches to the Ethernet interface configuration mode for port 0/1.
2.
(config-if)# switchport mode access
(config-if)# switchport access vlan 10
(config-if)# exit
Sets port 0/1 as an access port. Then, sets VLAN 10.
3.
(config)# interface range fastethernet 0/2-3
Switches ports 0/2 and 0/3 to Ethernet interface configuration mode. Because the
configuration is the same for ports 0/2 and 0/3, setting is done as a batch operation.
4.
(config-if-range)# switchport mode access
(config-if-range)# switchport access vlan 20
(config-if-range)# exit
Sets ports 0/2 and 0/3 as access ports. Then, sets VLAN 20.
(3) Setting trunk ports
Points to note
You can set the port that handles tagged frames as the trunk port, and set the VLANs
for the trunk port.
Command examples
1.
(config)# interface fastethernet 0/4
Switches to the Ethernet interface configuration mode for port 0/4.
2.
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 10,20
(config-if)# exit
Sets port 0/4 as a trunk port. Then, sets VLAN 10 and VLAN 20.

17.4.3 Configuring native VLANs for trunk ports

Points to note
You need to set a native VLAN for handling untagged frames on a trunk port. Only
port VLANs can be set for a native VLAN.
17 VLANs
263

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ax1250s seriesAx1240s series

Table of Contents