Users Guide

Table Of Contents
configurations will be retained but all other configurations will be
wiped out after the reload.
OS10(config)# do write memory
OS10(config)# do reload
10.3.0E or later
switchport access vlan
L2 访访 VLAN
switchport access vlan vlan-id
vlan vlan-id VLAN ID 1 4093
VLAN 1
INTERFACE
使 L2 VLAN1使
访 VLAN VLAN访 no
L2 访访 VLAN VLAN 1
OS10(conf-if-eth1/1/3)# switchport mode access
OS10(conf-if-eth1/1/3)# switchport access vlan 100
10.2.0E or later
switchport mode
L2 访
switchport mode {access | trunk}
access VLAN L2
trunk switchport trunk allowed vlan 访 VLAN
VLAN L2
access
INTERFACE
使
IP 使 L2 IP
access VLAN1 使 switchport access
vlan VLAN 访
trunk VLAN 使 switchport trunk allowed
vlan VLAN
L3 使 no switchport L2
使 no switchport mode VLAN1 L2 访
OS10(conf-if-eth1/1/7)# switchport mode access
10.2.0E or later
switchport trunk allowed vlan
L2 VLAN L2 VLAN
switchport trunk allowed vlan vlan-id-list
vlan-id-list L2 VLAN VLAN
271