Asus GigaX2024B User Manual

Page 35

Advertising
background image

GigaX2024B/M L2 Managed Switch CLI Manual

15

Show

show interface [IFNAME]

Default

None or depends on ODM customer

Description

Set access mode characteristics of all interfaces and Set Virtual

LAN

Example

ASUS(config-if)#switchport mode access

5.7

switchport trunk native vlan <1-3000>

Syntax

switchport trunk native vlan <1-3000>

Parameters

trunk

the interface in trunk mode

native

untag vlan

vlan

Virtual LAN

<1-3000> valid vlan-id range is 1 to 3000

Command Mode Interface mode
No/clear
Show

show vlan [VLANID]

Default

None or depends on ODM customer

Description

Set native vlan of the port

Example

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

5.8

switchport trunk allowed vlan (add|remove)

VLANLIST

Syntax

switchport trunk allowed vlan (add|remove) VLANLIST

Parameters

trunk trunk characteristics

allowed the allowed VLANs that can receive and send traffic

on this interface in tagged format when in trunking mode

vlan

the allowed VLANs

add

to add the list of allowed VLANs

remove to remove the list of allowed VLANs

VLANLIST valid format is vlan_atom, [,vlan_atom...],

[-vlan_atom,...],...

Advertising