8.1 VLAN基础配置及Access接口
最终配置<S1>display current-configuration
#
sysname S1
#
vlan batch 10 20
#
interface Ethernet0/0/1
port link-type access
port default vlan 10
#
interface Ethernet0/0/2
port link-type access
port default vlan 10
#
interface Ethernet0/0/3
port link-type access
port default vlan 20
<S2>display current-configuration
sysname S2
#
vlan batch 30 40
#
interface Ethernet0/0/1
port link-type access
port default vlan 30
#
interface Ethernet0/0/2
port link-type access
port default vlan 40
#
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|