小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

利用VTP管理VLAN(例)

 ylzrx 2011-08-09

利用VTP管理VLAN(例)  

2010-11-25 15:42:32|  分類: 交換技術(shù) |  標(biāo)簽: |字號(hào) 訂閱

圖片

Server#vlan database

Server(vlan)#vtp domain ning                              \\創(chuàng)建管理域

Server(vlan)#vtp server                                       \\將模式配置為服務(wù)器模式

Server(vlan)#vtp password mypassword               \\設(shè)置口令

Server(vlan)#vtp v2-mode                                    \\配置為VTP版本2

Server(vlan)#end

Server#show vtp status                                         \\查看TVP配置

Server#vlan database

Server(vlan)#vlan 2 name A

Server(vlan)#vlan 3 name B

Server(vlan)#vlan 4 name C

Server(vlan)#exit

Server#show vlan brief

Server#conf t

Server(config)#in f0/1

Server(config-if)#switchport mode trunk

Server(vlan)#vtp pruning                                                     \\啟用VTP修剪

Server(vlan)#switchport trunk pruning vlan remove 2,5-9        \\去除VLAN2、567、8、9

Server(config-if)#end

Server#conf t

Server(config)#in f0/2

Server(config-if)#switchport mode trunk

Server(config-if)#end

C1#conf t

C1(config)#erase startup-config                                \\清除交換機(jī)的配置和VTP信息

C1(config)#end

C1#reload                                                                 \\重啟交換機(jī)

C1>en

C1#vlan database

C1(vlan)#vtp domain ning                                       \\加入到管理域中

C1(vlan)#vtp transparent                                         \\將模式配置為透明模式

C1(vlan)#vtp password mypassword

C1(vlan)#vtp pruning

C1(vlan)#vtp v2-mode

C1(vlan)#exit

C1#show vtp status

C1#conf t

C1(config)#in f0/2

C1(config-if)#switchprot mode tunk

C1(config-if)#end

C1#show vlan brief                                     \\查看VLAN的配置,沒有學(xué)到VALN

C2#vlan database

C2(vlan)#vtp domain ning

C2(vlan)#vtp client                                      \\將模式配置為客戶模式

C2(vlan)#vtp password mypassword

C2(vlan)#vtp pruning

C2(vlan)#vtp v2-mode

C2(vlan)#exit

注意:在實(shí)際工作中,向VTP管理域增加交換機(jī)時(shí),一定要確保該交換機(jī)的修訂號(hào)(也就是VTP配置修改編號(hào))低于所要加入的域中的VTP服務(wù)器上的修訂號(hào),最好是將該交換機(jī)的修訂號(hào)初,初始化為0。

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多