精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學(xué)習(xí)啦>學(xué)習(xí)電腦>網(wǎng)絡(luò)知識(shí)>路由器>路由器基礎(chǔ)>

      配置VLAN

      時(shí)間: 若木635 分享

      可支持的VLAN

        Catalyst 3550交換機(jī)支持250個(gè) VLAN,可以分別是VTP client, server, 及 transparent modes. VLAN號(hào)可以從1到4094. VLAN號(hào)1002到1005保留給令牌環(huán)及FDDI VLAN. VTP只能學(xué)習(xí)到普通范圍的VLAN, 即從VLAN到1到1005; VLAN號(hào)大于1005屬于擴(kuò)展VLAN,不存在VLAN數(shù)據(jù)庫(kù)中。 交換機(jī)必須配置成VTP透明模式當(dāng)需要生成VLAN 號(hào)從1006到4094.

        本交換機(jī)支持基于每一VLAN的生成樹(shù)(PVST),最多支持128個(gè)生成樹(shù)。本交換機(jī)支持ISL及IEEE 802.1Q trunk二種封裝。

        配置正常范圍的VLAN

        VLAN號(hào)1, 1002到1005是自動(dòng)生成的不能被去掉。

        VLAN號(hào)1到1005的配置被寫(xiě)到文件vlan.dat 中, 可以用show vlan 命令查看, vlan.dat 文件存放在NVRAM中.

        注意 不要手工刪除vlan.dat 文件,可能造成VLAN的不完整。 如要?jiǎng)h除vlan需要用有關(guān)的命令來(lái)進(jìn)行
      生成、修改以太網(wǎng)VLAN

        用no vlan name 或 no vlan mtu 退回到缺省的vlan配置狀態(tài)

        舉例如下:

        Switch# configure terminal

        Switch(config)# vlan 20

        Switch(config-vlan)# name test20

        Switch(config-vlan)# end

        也可以在enable狀態(tài)下,進(jìn)行VLAN配置:

        舉例如下:

        Switch# vlan database

        Switch(vlan)# vlan 20 name test20

        Switch(vlan)# exit

        APPLY completed.

        Exiting....

        Switch#

        刪除VLAN

        當(dāng)刪除一個(gè)處于VTP服務(wù)器的交換機(jī)上刪除VLAN時(shí),則此VLAN將在所有相同VTP的交換機(jī)上刪除。當(dāng)在透明模式下刪除時(shí),只在當(dāng)前交換機(jī)上刪除。

        注意 當(dāng)刪除一個(gè)VLAN時(shí),原來(lái)屬于此VLAN的端口將處于非激活的狀態(tài),直到將其分配給某一VLAN。

        也可用vlan database 進(jìn)入VLAN配置狀態(tài),用no vlan vlan-id 來(lái)刪除。

        將端口分配給一個(gè)VLAN

        使用 default interface interface-id 還原到缺省配置狀態(tài)。

        舉例如下:

        Switch# configure terminal

        Enter configuration commands, one per line. End with CNTL/Z.

        Switch(config)# interface fastethernet0/1

        Switch(config-if)# switchport mode access

        Switch(config-if)# switchport access vlan 2

        Switch(config-if)# end

        Switch#

        配置VLAN Trunks

        舉例:

        Switch# configure terminal

        Enter configuration commands, one per line. End with CNTL/Z.

        Switch(config)# interface fastethernet0/4

        Switch(config-if)# switchport mode trunk

        Switch(config-if)# end

        定義trunk允許的VLAN

        缺省情況下trunk允許所有的VLAN通過(guò)。可以使用 switchport trunk allowed vlan remove vlan-list 來(lái)去掉某一VLAN

        回到允許所有VLAN通過(guò)時(shí), 可用no switchport trunk allowed vlan 端口配置命令.

        舉例如下:

        Switch(config)# interface fastethernet0/1

        Switch(config-if)# switchport trunk allowed vlan remove 2

        Switch(config-if)# end

      配置VLAN

      可支持的VLAN Catalyst 3550交換機(jī)支持250個(gè) VLAN,可以分別是VTP client, server, 及 transparent modes. VLAN號(hào)可以從1到4094. VLAN號(hào)1002到1005保留給令牌環(huán)及FDDI VLAN. VTP只能學(xué)習(xí)到普通范圍的VLAN, 即從VLAN到1到1005; VLAN號(hào)大
      推薦度:
      點(diǎn)擊下載文檔文檔為doc格式
      93520