不卡AV在线|网页在线观看无码高清|亚洲国产亚洲国产|国产伦精品一区二区三区免费视频

學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 網(wǎng)絡(luò)知識(shí) > 路由器 > 路由器設(shè)置 > netgear網(wǎng)件 > netgear交換機(jī)怎么設(shè)置

netgear交換機(jī)怎么設(shè)置

時(shí)間: 春健736 分享

netgear交換機(jī)怎么設(shè)置

        美國(guó)網(wǎng)件(NETGEAR)交換機(jī)怎么設(shè)置??部分用戶在向小編咨詢這個(gè)問(wèn)題。為此,小編專門整理了這篇文章,告訴大家如何設(shè)置網(wǎng)件(NETGEAR)路由器的交換機(jī)。
          netgear交換機(jī)設(shè)置方法

  1. 用網(wǎng)線連接FSM726S交換機(jī)的26端口和配置用的電腦。

  2. 打開(kāi)IE瀏覽器,在URL處輸入Http://192.168.0.240/; 進(jìn)入FSM726交換機(jī)的WEB管理界面 (缺省無(wú)管理員口令), 將FSM726交換機(jī)恢復(fù)出廠設(shè)置 (Factory Reset)。等FSM726交換機(jī)重啟動(dòng)完畢,使用9針串口設(shè)置線進(jìn)入CLI管理控制界面配置管理IP地址:192.168.0.240/24

  3.打開(kāi)配置計(jì)算機(jī)的IE瀏覽器,進(jìn)入FSM726的管理配置界面,點(diǎn)選菜單Advanced>VLANs>Primary VLAN菜單;

  4.在Primary VLAN菜單內(nèi),我們?yōu)镈efault Vlan選項(xiàng)進(jìn)行VLAN端口的標(biāo)記定義,保留1,23,24,25,26為U,其余置空;

  5.在Show VLAN菜單內(nèi),選擇Add a new VLAN選項(xiàng)增加新VLAN4,Name設(shè)置為vlan4,VLAN ID設(shè)置為4,端口選擇1,24為U,其余置空;

  6.重復(fù)第4步動(dòng)作,在Show VLAN菜單內(nèi),選擇Add a new VLAN選項(xiàng)增加新VLAN4,Name設(shè)置為vlan5,VLAN ID設(shè)置為5,端口選擇23,24為U,其余置空

  7.選擇Advanced>VLANS里的VLAN Ports,在該頁(yè)設(shè)置端口的PVID,將1端口的PVID改為4,23端口的PVID改成5,其余保留

  8. 最后在Tools>Save Configuration頁(yè)面保存設(shè)置。這樣1端口和23端口的用戶分別在2個(gè)不同的802.1q VLAN,24口同時(shí)屬于vlan1,4,5連接上一級(jí)交換機(jī)。
 


  1. 進(jìn)入端口E0/1的配置視圖 [SwitchA]interface Ethernet 0/1

  2. 對(duì)端口E0/1的出方向報(bào)文進(jìn)行流量限速,限制到3Mbps [SwitchA- Ethernet0/1]line-rate outbound 30

  3. 對(duì)端口E0/1的入方向報(bào)文進(jìn)行流量限速,限制到1Mbps [SwitchA- Ethernet0/1]line-rate inbound 16

  【補(bǔ)充說(shuō)明】

  報(bào)文速率限制級(jí)別取值為1~127。如果速率限制級(jí)別取值在1~28范圍內(nèi),則速率限制的粒度為64Kbps,這種情況下,當(dāng)設(shè)置的級(jí)別為N,則端口上限制的速率大小為N*64K;如果速率限制級(jí)別取值在29~127范圍內(nèi),則速率限制的粒度為1Mbps,這種情況下,當(dāng)設(shè)置的級(jí)別為N,則端口上限制的速率大小為(N-27)*1Mbps。 此系列交換機(jī)的具體型號(hào)包括:S2008-EI、S2016-EI和S2403H-EI。 『S2000-SI和S3000-SI系列交換機(jī)端口限速配置流程』 使用以太網(wǎng)物理端口下面的line-rate命令,來(lái)對(duì)該端口的出、入報(bào)文進(jìn)行流量限速。

  【SwitchA相關(guān)配置】

  1. 進(jìn)入端口E0/1的配置視圖 [SwitchA]interface Ethernet 0/1

  2. 對(duì)端口E0/1的出方向報(bào)文進(jìn)行流量限速,限制到6Mbps

  [SwitchA- Ethernet0/1]line-rate outbound 2

  3. 對(duì)端口E0/1的入方向報(bào)文進(jìn)行流量限速,限制到3Mbps

  [SwitchA-Ethernet0/1]line-rate inbound
 


    設(shè)置Netgear 7000系列交換機(jī)

  (GSM7212,GSM7224,GSM7248,FSM7326P,FSM7328S,FSM7352S,FSM7352PS,GSM7312,GSM7324)的VLAN

  請(qǐng)注意:FSM7328S,F(xiàn)SM7352S,F(xiàn)SM7352PS在設(shè)置里面的端口表示方法與其他7000系列交換機(jī)不同,其中物理端口其他7000系列交換機(jī)是Interface 0/2,在FSM73xxS可堆疊交換機(jī)里應(yīng)為Interface 1/0/2。

netgear交換機(jī)怎么設(shè)置

  一、通過(guò)Web頁(yè)面設(shè)置 NETGEARGSM7312交換機(jī)Port-Base Vlan

  設(shè)置目標(biāo):

  增加2個(gè)Vlan:Vlan6(端口1);Vlan7(端口12),這2個(gè)Vlan間的用戶不能互相訪問(wèn),但可以通過(guò)共同端口11口訪問(wèn)路由器,其余端口保留在Vlan1。

  配置步驟

  使用9針串口設(shè)置線連接GSM7312交換機(jī),進(jìn)入CLI配置界面,使用(GSM7312)# Clear Config命令恢復(fù)出廠設(shè)置。

  然后使用命令(GSM7312)#Reload ; 系統(tǒng)提示是否保存現(xiàn)有配置(選擇YES)。然后系統(tǒng)重新啟動(dòng)。

  配置GSM7312交換機(jī)管理IP地址為192.168.0.238/24,配置完畢后保存。

  連接配置計(jì)算機(jī)的網(wǎng)線到GSM7312的端口10;

  打開(kāi)IE瀏覽器,在URL處輸入http://192.168.0.238/,進(jìn)入交換機(jī)配置管理界面。

  點(diǎn)選菜單Switch>VLAN>config ;在VLAN Configuration界面的Default VLAN處選擇進(jìn)行端口配置,保留所有端口在VLAN1不動(dòng);

netgear交換機(jī)怎么設(shè)置

  在VLAN Configuration界面的VLAN ID and Name處,下拉選擇Create選項(xiàng)進(jìn)行新的VLAN的創(chuàng)建。

  8.在VLAN ID欄里輸入6; VLAN Name處輸入:VLAN6 ;

  VLAN type選:Static(缺省)

  然后,按住鍵盤CTRL的同時(shí),用鼠標(biāo)點(diǎn)在unTag欄目下點(diǎn)選端口1、11,然后點(diǎn)“Submit”按紐保存設(shè)置。(見(jiàn)下圖)

netgear交換機(jī)怎么設(shè)置

  9.重復(fù)7-8步驟過(guò)程,建立VLAN7,添加端口11,12

netgear交換機(jī)怎么設(shè)置

  10.點(diǎn)選菜單Switch>VLAN>Port config ;在Port Vlan ID右邊欄里輸入:6;點(diǎn)選端口1;然后按”Submit”更改端口1的PVID;

netgear交換機(jī)怎么設(shè)置

  11.重復(fù)第10步,在Port Vlan ID右邊欄里輸入:7;點(diǎn)選端口12;然后按”Submit”更改端口12的PVID;

netgear交換機(jī)怎么設(shè)置

  12.選擇菜單薄Switch>VLAN>status ,查看VLAN包含端口情況,VLAN1應(yīng)包含所有端口,Vlan6包含1,11端口,Vlan7包含11,12端口。

netgear交換機(jī)怎么設(shè)置

  13.在Switch>VLAN>Port config頁(yè)下面查看端口的PVID,1端口應(yīng)為6,12端口應(yīng)為7,其余為1。

netgear交換機(jī)怎么設(shè)置

  14.設(shè)置完成。

  二、通過(guò)CLI命令行設(shè)置 NETGEARGSM7312交換機(jī)Port-Base Vlan

  (GSM7312) >enable

  Password:

  (GSM7312) #vlan database

  //進(jìn)入VLAN設(shè)置

  (GSM7312) (Vlan)#vlan 6

  //創(chuàng)建Vlan6

  (GSM7312) (Vlan)#vlan name 6 vlan6

  //設(shè)置VLAN6名字

  (GSM7312) (Vlan)#vlan 7

  (GSM7312) (Vlan)#vlan name 7 vlan7

  (GSM7312) (Vlan)#exit

  (GSM7312) #configure

  //進(jìn)入全局配置模式

  (GSM7312) (Config)#interface 0/1

  //進(jìn)入端口配置模式

  (GSM7312) (Interface 0/1)#vlan participation include 6

  //設(shè)置端口屬于VLAN 6

  (GSM7312) (Interface 0/1)#no vlan tagging 6

  //端口不打Tag標(biāo)記

  (GSM7312) (Interface 0/1)#vlan pvid 6

  //設(shè)置端口PVID

  (GSM7312) (Interface 0/1)#exit

  (GSM7312) (Config)#interface 0/11

  (GSM7312) (Interface 0/11)#vlan participation include 6

  (GSM7312) (Interface 0/11)#vlan participation include 7

  (GSM7312) (Interface 0/11)#no vlan tagging 6

  (GSM7312) (Interface 0/11)#no vlan tagging 7

  (GSM7312) (Interface 0/11)#exit

  (GSM7312) (Config)#interface 0/12

  (GSM7312) (Interface 0/12)#vlan participation include 7

  (GSM7312) (Interface 0/12)#no vlan tagging 7

  (GSM7312) (Interface 0/12)#vlan pvid 7

  (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

  //查看Vlan1狀態(tài)

  VLAN ID: 1

  VLAN Name: Default

  VLAN Type: Default

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1IncludeIncludeUntagged

  0/2IncludeIncludeUntagged

  0/3IncludeIncludeUntagged

  0/4IncludeIncludeUntagged

  0/5IncludeIncludeUntagged

  0/6IncludeIncludeUntagged

  0/7IncludeIncludeUntagged

  0/8IncludeIncludeUntagged

  0/9IncludeIncludeUntagged

  0/10IncludeIncludeUntagged

  0/11IncludeIncludeUntagged

  0/12IncludeIncludeUntagged

  (GSM7312) #show vlan 6

  VLAN ID: 6

  VLAN Name: vlan6

  VLAN Type: Static

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1IncludeIncludeUntagged

  0/2ExcludeAutodetectUntagged

  0/3ExcludeAutodetectUntagged

  0/4ExcludeAutodetectUntagged

  0/5ExcludeAutodetectUntagged

  0/6ExcludeAutodetectUntagged

  0/7ExcludeAutodetectUntagged

  0/8ExcludeAutodetectUntagged

  0/9ExcludeAutodetectUntagged

  0/10ExcludeAutodetectUntagged

  0/11IncludeIncludeUntagged

  0/12ExcludeAutodetectUntagged

  (GSM7312) #show vlan 7

  VLAN ID: 7

  VLAN Name: vlan7

  VLAN Type: Static

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1ExcludeAutodetectUntagged

  0/2ExcludeAutodetectUntagged

  0/3ExcludeAutodetectUntagged

  0/4ExcludeAutodetectUntagged

  0/5ExcludeAutodetectUntagged

  0/6ExcludeAutodetectUntagged

  0/7ExcludeAutodetectUntagged

  0/8ExcludeAutodetectUntagged

  0/9ExcludeAutodetectUntagged

  0/10ExcludeAutodetectUntagged

  0/11IncludeIncludeUntagged

  0/12IncludeIncludeUntagged

  (GSM7312) #show vlan port all

  PortAcceptableIngressDefault

  slot/port VLAN ID Frame TypesFilteringGVRPPriority

  --------- ------- ------------ ----------- ------- --------

  0/16Admit AllDisableDisable0

  0/21Admit AllDisableDisable0

  0/31Admit AllDisableDisable0

  0/41Admit AllDisableDisable0

  0/51Admit AllDisableDisable0

  0/61Admit AllDisableDisable0

  0/71Admit AllDisableDisable0

  0/81Admit AllDisableDisable0

  0/91Admit AllDisableDisable0

  0/101Admit AllDisableDisable0

  0/111Admit AllDisableDisable0

  0/127Admit AllDisableDisable0

  (GSM7312) #

  三、.通過(guò)Web頁(yè)面設(shè)置 NETGEARGSM7312交換機(jī)802.1Q Vlan

netgear交換機(jī)怎么設(shè)置

  設(shè)置目標(biāo):

  在GSM7312上增加建立6個(gè)Vlan:Vlan2-7,其中端口1打標(biāo)記屬于VLAN2、VLAN3,端口12打標(biāo)記屬于VLAN4、VLAN5,2-5端口不打標(biāo)記屬于VLAN6,6-9端口不打標(biāo)記屬于VLAN7,10端口不打標(biāo)記屬于VLAN1,11端口打標(biāo)記屬于所有VLAN與上級(jí)交換機(jī)上連。

  端口PVIDVLAN1VLAN2VLAN3VLAN4VLAN5VLAN6VLAN7

  11TTT

  26U

  36U

  46U

  56U

  67U

  77U

  87U

  97U

  107U

  111TTTTTTT

  121TTT

  配置步驟

  1. 使用9針串口設(shè)置線連接GSM7312交換機(jī),進(jìn)入CLI配置界面,使用(GSM7312)# Clear Config命令恢復(fù)出廠設(shè)置。

  2.然后使用命令(GSM7312)#Reload ; 系統(tǒng)提示是否保存現(xiàn)有配置(選擇YES)。然后系統(tǒng)重新啟動(dòng)。

  3.配置GSM7312交換機(jī)管理IP地址為192.168.0.238/24,配置完畢后保存。

  4.連接配置計(jì)算機(jī)的網(wǎng)線到GSM7312的端口10;

  5. 打開(kāi)IE瀏覽器,在URL處輸入http://192.168.0.238/,進(jìn)入交換機(jī)配置管理界面。

  6. 點(diǎn)選菜單Switch>VLAN>config ;在VLAN Configuration界面的Default VLAN處選擇進(jìn)行端口配置,1,11,12標(biāo)記在Tagged、10標(biāo)記在Untagged;

netgear交換機(jī)怎么設(shè)置

  7. 在VLAN Configuration界面的VLAN ID and Name處,下拉選擇Create選項(xiàng)進(jìn)行新的VLAN的創(chuàng)建。

  8.在VLAN ID欄里輸入2; VLAN Name處輸入:VLAN2 ;

  VLAN type選:Static(缺省)

  然后,按住鍵盤CTRL的同時(shí),用鼠標(biāo)點(diǎn)在Tagged欄目下點(diǎn)選端口1、11,然后點(diǎn)“Submit”按紐保存設(shè)置。(見(jiàn)下圖)

netgear交換機(jī)怎么設(shè)置

  重復(fù)7-8步驟過(guò)程,建立VLAN3,添加端口1,11在Tagged。建立VLAN4,VLAN5添加端口11,12在Tagged。

  VLAN3:

netgear交換機(jī)怎么設(shè)置

  VLAN4:

netgear交換機(jī)怎么設(shè)置

  VLAN5:

  //查看Vlan1狀態(tài)

  VLAN ID: 1

  VLAN Name: Default

  VLAN Type: Default

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1IncludeIncludeUntagged

  0/2IncludeIncludeUntagged

  0/3IncludeIncludeUntagged

  0/4IncludeIncludeUntagged

  0/5IncludeIncludeUntagged

  0/6IncludeIncludeUntagged

  0/7IncludeIncludeUntagged

  0/8IncludeIncludeUntagged

  0/9IncludeIncludeUntagged

  0/10IncludeIncludeUntagged

  0/11IncludeIncludeUntagged

  0/12IncludeIncludeUntagged

  (GSM7312) #show vlan 6

  VLAN ID: 6

  VLAN Name: vlan6

  VLAN Type: Static

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1IncludeIncludeUntagged

  0/2ExcludeAutodetectUntagged

  0/3ExcludeAutodetectUntagged

  0/4ExcludeAutodetectUntagged

  0/5ExcludeAutodetectUntagged

  0/6ExcludeAutodetectUntagged

  0/7ExcludeAutodetectUntagged

  0/8ExcludeAutodetectUntagged

  0/9ExcludeAutodetectUntagged

  0/10ExcludeAutodetectUntagged

  0/11IncludeIncludeUntagged

  0/12ExcludeAutodetectUntagged

  (GSM7312) #show vlan 7

  VLAN ID: 7

  VLAN Name: vlan7

  VLAN Type: Static

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1ExcludeAutodetectUntagged

  0/2ExcludeAutodetectUntagged

  0/3ExcludeAutodetectUntagged

  0/4ExcludeAutodetectUntagged

  0/5ExcludeAutodetectUntagged

  0/6ExcludeAutodetectUntagged

  0/7ExcludeAutodetectUntagged

  0/8ExcludeAutodetectUntagged

  0/9ExcludeAutodetectUntagged

  0/10ExcludeAutodetectUntagged

  0/11IncludeIncludeUntagged

  0/12IncludeIncludeUntagged

  (GSM7312) #show vlan port all

  PortAcceptableIngressDefault

  slot/port VLAN ID Frame TypesFilteringGVRPPriority

  --------- ------- ------------ ----------- ------- --------

  0/16Admit AllDisableDisable0

  0/21Admit AllDisableDisable0

  0/31Admit AllDisableDisable0

  0/41Admit AllDisableDisable0

  0/51Admit AllDisableDisable0

  0/61Admit AllDisableDisable0

  0/71Admit AllDisableDisable0

  0/81Admit AllDisableDisable0

  0/91Admit AllDisableDisable0

  0/101Admit AllDisableDisable0

  0/111Admit AllDisableDisable0

  0/127Admit AllDisableDisable0

  (GSM7312) #

  三、.通過(guò)Web頁(yè)面設(shè)置 NETGEARGSM7312交換機(jī)802.1Q Vlan

netgear交換機(jī)怎么設(shè)置

  設(shè)置目標(biāo):

  在GSM7312上增加建立6個(gè)Vlan:Vlan2-7,其中端口1打標(biāo)記屬于VLAN2、VLAN3,端口12打標(biāo)記屬于VLAN4、VLAN5,2-5端口不打標(biāo)記屬于VLAN6,6-9端口不打標(biāo)記屬于VLAN7,10端口不打標(biāo)記屬于VLAN1,11端口打標(biāo)記屬于所有VLAN與上級(jí)交換機(jī)上連。

  端口PVIDVLAN1VLAN2VLAN3VLAN4VLAN5VLAN6VLAN7

  11TTT

  26U

  36U

  46U

  56U

  67U

  77U

  87U

  97U

  107U

  111TTTTTTT

  121TTT

  配置步驟

  1. 使用9針串口設(shè)置線連接GSM7312交換機(jī),進(jìn)入CLI配置界面,使用(GSM7312)# Clear Config命令恢復(fù)出廠設(shè)置。

  2.然后使用命令(GSM7312)#Reload ; 系統(tǒng)提示是否保存現(xiàn)有配置(選擇YES)。然后系統(tǒng)重新啟動(dòng)。

  3.配置GSM7312交換機(jī)管理IP地址為192.168.0.238/24,配置完畢后保存。

  4.連接配置計(jì)算機(jī)的網(wǎng)線到GSM7312的端口10;

  5. 打開(kāi)IE瀏覽器,在URL處輸入http://192.168.0.238/,進(jìn)入交換機(jī)配置管理界面。

  6. 點(diǎn)選菜單Switch>VLAN>config ;在VLAN Configuration界面的Default VLAN處選擇進(jìn)行端口配置,1,11,12標(biāo)記在Tagged、10標(biāo)記在Untagged;

netgear交換機(jī)怎么設(shè)置

  7. 在VLAN Configuration界面的VLAN ID and Name處,下拉選擇Create選項(xiàng)進(jìn)行新的VLAN的創(chuàng)建。

  8.在VLAN ID欄里輸入2; VLAN Name處輸入:VLAN2 ;

  VLAN type選:Static(缺省)

  然后,按住鍵盤CTRL的同時(shí),用鼠標(biāo)點(diǎn)在Tagged欄目下點(diǎn)選端口1、11,然后點(diǎn)“Submit”按紐保存設(shè)置。(見(jiàn)下圖)

netgear交換機(jī)怎么設(shè)置

  重復(fù)7-8步驟過(guò)程,建立VLAN3,添加端口1,11在Tagged。建立VLAN4,VLAN5添加端口11,12在Tagged。

  VLAN3:

netgear交換機(jī)怎么設(shè)置

  VLAN4:

netgear交換機(jī)怎么設(shè)置

  VLAN5:

netgear交換機(jī)怎么設(shè)置

  9. 重復(fù)7-8步驟過(guò)程,建立VLAN6,添加端口2-5端口在Untagged,11在Tagged。建立VLAN7,添加端口6-9端口在Untagged,11在Tagged。

  VLAN6:

netgear交換機(jī)怎么設(shè)置

  VLAN7:

netgear交換機(jī)怎么設(shè)置

  10.點(diǎn)選菜單Switch>VLAN>Port config ;在Port Vlan ID右邊欄里輸入:1;點(diǎn)選端口1,11,12;然后按”Submit”更改端口1,10,11,12的PVID;

netgear交換機(jī)怎么設(shè)置

  11.重復(fù)第10步,在Port Vlan ID右邊欄里輸入:6;點(diǎn)選端口2-5;然后按”Submit”更改端口2-5的PVID;在Port Vlan ID右邊欄里輸入:7;點(diǎn)選端口6-9;然后按”Submit”更改端口6-9的PVID;

  2-5:

netgear交換機(jī)怎么設(shè)置

  6-9:

netgear交換機(jī)怎么設(shè)置

  12.選擇菜單薄Switch>VLAN>status ,查看VLAN包含端口情況,VLAN1應(yīng)包含1,10,11,12端口,Vlan2,Vlan3包含1,11端口,Vlan4,Vlan5包含11,12端口,Vlan6包括2-5,11端口,Vlan7包括6-9,11端口。

netgear交換機(jī)怎么設(shè)置

  13.在Switch>VLAN>Port config頁(yè)下面查看端口的PVID,2-5端口應(yīng)為6,6-9端口應(yīng)為7,其余為1。

netgear交換機(jī)怎么設(shè)置

  14.設(shè)置完成。

  四、通過(guò)Web頁(yè)面設(shè)置 NETGEARGSM7312交換機(jī)802.1Q Vlan

  (GSM7312) >enable

  Password:

  (GSM7312) #vlan database

  (GSM7312) (Vlan)#vlan 2

  (GSM7312) (Vlan)#vlan name 2 vlan2

  (GSM7312) (Vlan)#vlan 3

  (GSM7312) (Vlan)#vlan name 3 vlan3

  (GSM7312) (Vlan)#vlan 4

  (GSM7312) (Vlan)#vlan name 4 vlan4

  (GSM7312) (Vlan)#vlan 5

  (GSM7312) (Vlan)#vlan name 5 vlan5

  (GSM7312) (Vlan)#vlan 6

  (GSM7312) (Vlan)#vlan name 6 vlan6

  (GSM7312) (Vlan)#vlan 7

  (GSM7312) (Vlan)#vlan name 7 vlan7

  (GSM7312) (Vlan)#exit

  (GSM7312) #configure

  (GSM7312) (Config)#interface 0/1

  (GSM7312) (Interface 0/1)#vlan participation include 1

  (GSM7312) (Interface 0/1)#vlan participation include 2

  (GSM7312) (Interface 0/1)#vlan participation include 3

  (GSM7312) (Interface 0/1)#vlan tagging 1

  //端口打801.1q標(biāo)記

  (GSM7312) (Interface 0/1)#vlan tagging 2

  (GSM7312) (Interface 0/1)#vlan tagging 3

  (GSM7312) (Interface 0/1)#vlan pvid 1

  (GSM7312) (Interface 0/1)#exit

  (GSM7312) (Config)#interface 0/2

  (GSM7312) (Interface 0/2)#vlan participation exclude 1

  //設(shè)置端口不屬于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/portCurrent ConfiguredTagging

  -------------------------------------

  0/1IncludeIncludeTagged

  0/2ExcludeExcludeUntagged

  0/3ExcludeExcludeUntagged

  0/4ExcludeExcludeUntagged

  0/5ExcludeExcludeUntagged

  0/6ExcludeExcludeUntagged

  0/7ExcludeExcludeUntagged

  0/8ExcludeExcludeUntagged

  0/9ExcludeExcludeUntagged

  0/10IncludeInclude Untagged

  0/11IncludeIncludeTagged

  0/12IncludeIncludeTagged

  (GSM7312) #show vlan 2

  VLAN ID: 2

  VLAN Name: vlan2

  VLAN Type: Static

  slot/portCurrentConfiguredTagging

  -------------------------------------

  0/1IncludeIncludeTagged

  0/2ExcludeAutodetectUntagged

  0/3ExcludeAutodetectUntagged

  0/4ExcludeAutodetectUntagged

  0/5ExcludeAutodetectUntagged

  0/6ExcludeAutodetectUntagged

  0/7ExcludeAutodetectUntagged

531847