内容发布更新时间 : 2024/11/18 1:24:04星期一 下面是文章的全部内容请认真阅读。
(GSM7312) (Interface 0/1)#exit (GSM7312) (Config)#interface 0/2
(GSM7312) (Interface 0/2)#vlan participation exclude 1 //设置端口不属于default vlan(vlan1)
(GSM7312) (Interface 0/2)#vlan participation include 6 (GSM7312) (Interface 0/2)#no vlan tagging 6 (GSM7312) (Interface 0/2)#vlan pvid 6 (GSM7312) (Interface 0/2)#exit (GSM7312) (Config)#interface 0/3
(GSM7312) (Interface 0/3)#vlan participation exclude 1 (GSM7312) (Interface 0/3)#vlan participation include 6 (GSM7312) (Interface 0/3)#no vlan tagging 6 (GSM7312) (Interface 0/3)#vlan pvid 6 (GSM7312) (Interface 0/3)#exit (GSM7312) (Config)#interface 0/4
(GSM7312) (Interface 0/4)#vlan participation exclude 1 (GSM7312) (Interface 0/4)#vlan participation include 6 (GSM7312) (Interface 0/4)#no vlan tagging 6 (GSM7312) (Interface 0/4)#vlan pvid 6 (GSM7312) (Interface 0/4)#exit (GSM7312) (Config)#interface 0/5
(GSM7312) (Interface 0/5)#vlan participation exclude 1 (GSM7312) (Interface 0/5)#vlan participation include 6 (GSM7312) (Interface 0/5)#no vlan tagging 6 (GSM7312) (Interface 0/5)#vlan pvid 6 (GSM7312) (Interface 0/5)#exit (GSM7312) (Config)#interface 0/6
(GSM7312) (Interface 0/6)#vlan participation exclude 1 (GSM7312) (Interface 0/6)#vlan participation include 7 (GSM7312) (Interface 0/6)#no vlan tagging 7 (GSM7312) (Interface 0/6)#vlan pvid 7 (GSM7312) (Interface 0/6)#exit (GSM7312) (Config)#interface 0/7
(GSM7312) (Interface 0/7)#vlan participation exclude 1 (GSM7312) (Interface 0/7)#vlan participation include 7 (GSM7312) (Interface 0/7)#no vlan tagging 7 (GSM7312) (Interface 0/7)#vlan pvid 7 (GSM7312) (Interface 0/7)#exit (GSM7312) (Config)#interface 0/8
(GSM7312) (Interface 0/8)#vlan participation exclude 1 (GSM7312) (Interface 0/8)#vlan participation include 7 (GSM7312) (Interface 0/8)#no vlan tagging 7
(GSM7312) (Interface 0/8)#vlan pvid 7 (GSM7312) (Interface 0/8)#exit (GSM7312) (Config)#interface 0/9
(GSM7312) (Interface 0/9)#vlan participation exclude 1 (GSM7312) (Interface 0/9)#vlan participation include 7 (GSM7312) (Interface 0/9)#no vlan tagging 7 (GSM7312) (Interface 0/9)#vlan pvid 7 (GSM7312) (Interface 0/9)#exit (GSM7312) (Config)#interface 0/10
(GSM7312) (Interface 0/10)#vlan participation include 1 (GSM7312) (Interface 0/10)#no vlan tagging 1 (GSM7312) (Interface 0/10)#vlan pvid 1 (GSM7312) (Interface 0/10)#exit (GSM7312) (Config)#interface 0/11
(GSM7312) (Interface 0/11)#vlan participation include 1 (GSM7312) (Interface 0/11)#vlan participation include 2 (GSM7312) (Interface 0/11)#vlan participation include 3 (GSM7312) (Interface 0/11)#vlan participation include 4 (GSM7312) (Interface 0/11)#vlan participation include 5 (GSM7312) (Interface 0/11)#vlan participation include 6 (GSM7312) (Interface 0/11)#vlan participation include 7 (GSM7312) (Interface 0/11)#vlan tagging 1 (GSM7312) (Interface 0/11)#vlan tagging 2 (GSM7312) (Interface 0/11)#vlan tagging 3 (GSM7312) (Interface 0/11)#vlan tagging 4 (GSM7312) (Interface 0/11)#vlan tagging 5 (GSM7312) (Interface 0/11)#vlan tagging 6 (GSM7312) (Interface 0/11)#vlan tagging 7 (GSM7312) (Interface 0/11)#vlan pvid 1 (GSM7312) (Interface 0/11)#exit (GSM7312) (Config)#interface 0/12
(GSM7312) (Interface 0/12)#vlan participation include 1 (GSM7312) (Interface 0/12)#vlan participation include 4 (GSM7312) (Interface 0/12)#vlan participation include 5 (GSM7312) (Interface 0/12)#vlan tagging 1 (GSM7312) (Interface 0/12)#vlan tagging 4 (GSM7312) (Interface 0/12)#vlan tagging 5 (GSM7312) (Interface 0/12)#vlan pvid 1 (GSM7312) (Interface 0/12)#exit (GSM7312) (Config)#exit
(GSM7312) #copy system:running-config nvram:startup-config Are you sure you want to save? (y/n) y Configuration Saved!
(GSM7312) #show vlan 1 VLAN ID: 1
VLAN Name: Default VLAN Type: Default
slot/port Current Configured Tagging - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Include Include Tagged 0/2 Exclude Autodetect Untagged 0/3 Exclude Autodetect Untagged 0/4 Exclude 0/5 Exclude 0/6 Exclude 0/7 Exclude 0/8 Exclude 0/9 Exclude 0/10 Include 0/11 Include 0/12 Include GSM7312) #show vlan 2 VLAN ID: 2 VLAN Name: vlan2 VLAN Type: Static
slot/port Current - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Include 0/2 Exclude 0/3 Exclude 0/4 Exclude 0/5 Exclude 0/6 Exclude 0/7 Exclude 0/8 Exclude 0/9 Exclude 0/10 Exclude 0/11 Include 0/12 Exclude (GSM7312) #show vlan 3 VLAN ID: 3 VLAN Name: vlan3 VLAN Type: Static
slot/port Current - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Include Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Include Include Include Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Include Autodetect Untagged Untagged Untagged Untagged Untagged Untagged Untagged Tagged Tagged Tagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Tagged Untagged Tagged
Configured Tagging Include Configured Tagging Include
0/2 Exclude Autodetect Untagged 0/3 Exclude Autodetect Untagged 0/4 Exclude Autodetect Untagged 0/5 Exclude Autodetect Untagged 0/6 Exclude Autodetect Untagged 0/7 Exclude Autodetect Untagged 0/8 Exclude Autodetect Untagged 0/9 Exclude Autodetect Untagged 0/10 Exclude Autodetect Untagged 0/11 Include 0/12 Exclude (GSM7312) #show vlan 4 VLAN ID: 4 VLAN Name: vlan4 VLAN Type: Static
slot/port Current - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Exclude 0/2 Exclude 0/3 Exclude 0/4 Exclude 0/5 Exclude 0/6 Exclude 0/7 Exclude 0/8 Exclude 0/9 Exclude 0/10 Exclude 0/11 Include 0/12 Include (GSM7312) #show vlan 5 VLAN ID: 5 VLAN Name: vlan5 VLAN Type: Static
slot/port Current - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Exclude 0/2 Exclude 0/3 Exclude 0/4 Exclude 0/5 Exclude 0/6 Exclude 0/7 Exclude Include Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Include Include Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Tagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Tagged Tagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged
Configured Tagging Configured Tagging
0/8 Exclude Autodetect Untagged 0/9 Exclude Autodetect Untagged 0/10 Exclude Autodetect Untagged 0/11 Include Include Tagged 0/12 Include Include Tagged (GSM7312) #show vlan 6 VLAN ID: 6 VLAN Name: vlan6 VLAN Type: Static
slot/port Current - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Exclude 0/2 Include 0/3 Include 0/4 Include 0/5 Include 0/6 Exclude 0/7 Exclude 0/8 Exclude 0/9 Exclude 0/10 Exclude 0/11 Include 0/12 Exclude (GSM7312) #show vlan 7 VLAN ID: 7 VLAN Name: vlan7 VLAN Type: Static
slot/port Current - -- --- --- ---- ---- ---- --- --- -- --- ---- -
0/1 Exclude 0/2 Exclude 0/3 Exclude 0/4 Exclude 0/5 Exclude 0/6 Include 0/7 Include 0/8 Include 0/9 Include 0/10 Exclude 0/11 Include 0/12 Exclude
Autodetect Include Include Include Include Autodetect Autodetect Autodetect Autodetect Autodetect Include Autodetect Autodetect Autodetect Autodetect Autodetect Autodetect Include Include Include Include Autodetect Include Autodetect Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Tagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged Tagged Untagged Configured Tagging Configured Tagging