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

分享

vlan 配置思路 (轉(zhuǎn)載)

 半佛半神仙 2011-09-19

vlan 配置思路
vlan 配置思路

在交換機上創(chuàng)建vlan
1.建立一個vtp管理域
×為了在交換機上創(chuàng)建vlan,必須首先建立一個vtp管理域以使它能夠核驗網(wǎng)絡(luò)

上當(dāng)前的vlan
×Catalyst 4000 系列交換機模塊只支持802.1q。
×判斷硬件是否支持干道,及硬件所支持的干道封裝使用:show port

capabilities

首先運行 clear config all

vtp command:
在基于IOS的交換機上配置VTP管理域或加入一個管理域:
switch# vlan database
switch(vlan)# vtp domain domain-name
在基于CLI的交換機上配置VTP管理域:
switch(enable) set vtp [domain domain-name] passwd password

在基于IOS的交換機上配置VTP 模式:
switch# vlan database
switch(vlan)# vtp domain domain-name
switch(vlan)# vtp {sever|cilent|transparent}
switch(vlan)# vtp password password
在基于CLI的交換機上配置VTP 模式:
switch(enable) set vtp [domain domain-name] [mode{

sever|cilent|transparent }][password password]



核驗vtp的配置:
show vtp domain
show vtp statistics


在基于IOS的交換機上配置VTP版本:
×VTP版本1是缺省配置
switch# vlan database
switch(vlan)# vtp v2-mode
在基于CLI的交換機上配置VTP版本:
switch(enable) set vtp v2 enable

在基于IOS的交換機上啟動VTP剪裁:
switch# vlan database
switch(vlan)# vtp pruning
在基于CLI 的交換機上啟動VTP剪裁:
switch(enable) set vtp pruning enable
(set vtp pruneeligible vlan-range)
不起用vtp修剪:
clear vtp pruneeligible vlan-range



核驗vtp修剪的配置:
show trunk


2.創(chuàng)建Vlan

在基于IOS的交換機上配置靜態(tài)VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vlan-name
switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
在基于CLI的交換機上配置靜態(tài)VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list

核驗配置:show vlan


3.配置干道鏈路
干道是在兩臺catalyst交換機端口或catalyst交換機與路由器間的一條點對點

鏈路。
干道鏈路可以承載多個vlan。


在基于IOS的交換機上配置干道鏈路
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isl|dotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
在基于CLI的交換機上配置干道鏈路:
switch(enable) set trunk module/port

[on|off|desirable|auto|nonegotiate]
Vlan-range

[isl|dotlq|dotl0|lane|negotiate]




在交換機上創(chuàng)建vlan
1.建立一個vtp管理域
×為了在交換機上創(chuàng)建vlan,必須首先建立一個vtp管理域以使它能夠核驗網(wǎng)絡(luò)

上當(dāng)前的vlan
×Catalyst 4000 系列交換機模塊只支持802.1q。
×判斷硬件是否支持干道,及硬件所支持的干道封裝使用:show port

capabilities

首先運行 clear config all

vtp command:
在基于IOS的交換機上配置VTP管理域或加入一個管理域:
switch# vlan database
switch(vlan)# vtp domain domain-name
在基于CLI的交換機上配置VTP管理域:
switch(enable) set vtp [domain domain-name] passwd password

在基于IOS的交換機上配置VTP 模式:
switch# vlan database
switch(vlan)# vtp domain domain-name
switch(vlan)# vtp {sever|cilent|transparent}
switch(vlan)# vtp password password
在基于CLI的交換機上配置VTP 模式:
switch(enable) set vtp [domain domain-name] [mode{

sever|cilent|transparent }][password password]



核驗vtp的配置:
show vtp domain
show vtp statistics


在基于IOS的交換機上配置VTP版本:
×VTP版本1是缺省配置
switch# vlan database
switch(vlan)# vtp v2-mode
在基于CLI的交換機上配置VTP版本:
switch(enable) set vtp v2 enable

在基于IOS的交換機上啟動VTP剪裁:
switch# vlan database
switch(vlan)# vtp pruning
在基于CLI 的交換機上啟動VTP剪裁:
switch(enable) set vtp pruning enable
(set vtp pruneeligible vlan-range)
不起用vtp修剪:
clear vtp pruneeligible vlan-range



核驗vtp修剪的配置:
show trunk


2.創(chuàng)建Vlan

在基于IOS的交換機上配置靜態(tài)VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vlan-name
switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
在基于CLI的交換機上配置靜態(tài)VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list

核驗配置:show vlan


3.配置干道鏈路
干道是在兩臺catalyst交換機端口或catalyst交換機與路由器間的一條點對點

鏈路。
干道鏈路可以承載多個vlan。


在基于IOS的交換機上配置干道鏈路
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isl|dotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
在基于CLI的交換機上配置干道鏈路:
switch(enable) set trunk module/port

[on|off|desirable|auto|nonegotiate]
Vlan-range

[isl|dotlq|dotl0|lane|negotiate]


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

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多