beautypg.com

Asus GigaX3124 User Manual

Page 65

background image

GigaX3124 Layer3 Switch CLI Command Reference

40

4.6

switchport trunk native vlan <1-3000>

Syntax

switchport trunk native vlan <1-3000>

Parameters

trunk Set 802.1Q trunk mode for the port

native Specify the native VLAN for the port

vlan IEEE 802.1Q Virtual Local Area Networks

<1-3000> VLAN ID

Command Mode Interface configuration mode
No/clear
Show

show vlan [VLANID]

Default

Default is setting to native vlan 1

Description

Set Virtual LAN and the interface to trunk mode

Example

ASUS(config-if)# switchport trunk native vlan 2

4.7

switchport trunk allowed vlan (add|remove)

VLANLIST

Syntax

switchport trunk allowed vlan (add|remove) VLANLIST

Parameters

trunk Set 802.1Q trunk mode for the port

allowed the allowed VLANs that can receive and send traffic

on this interface in tagged format when in trunk mode

vlan IEEE 802.1Q Virtual Local Area Networks

add Add allowed VLANs to the interface

remove Remove allowed VLANs from the interface

VLANLIST VLAN ID <1-3000> list

Command Mode Interface configuration mode
No/clear

switchport trunk allowed vlan remove VLANLIST

Show

show vlan [VLANID]

Default