国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

CISCO交換機VLAN配置思路

2019-11-05 01:31:06
字體:
供稿:網(wǎng)友

  在交換機上創(chuàng)建vlan
1.建立一個vtp治理域
×為了在交換機上創(chuàng)建vlan,必須首先建立一個vtp治理域以使它能夠核驗網(wǎng)絡(luò)上當前的vlan
×Catalyst 4000 系列交換機模塊只支持802.1q。
×判定硬件是否支持干道,及硬件所支持的干道封裝使用:show portcapabilities
首先運行 clear config allvtp 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 {severcilenttransparent}
switch(vlan)# vtp password password
在基于CLI的交換機上配置VTP 模式:
switch(enable) set vtp [domain domain-name] [mode{severcilenttransparent }][password password] QQread.com 推出各大專業(yè)服務(wù)器評測 linux服務(wù)器的安全性能 SUN服務(wù)器 HP服務(wù)器 DELL服務(wù)器 IBM服務(wù)器 聯(lián)想服務(wù)器 浪潮服務(wù)器 曙光服務(wù)器 同方服務(wù)器 華碩服務(wù)器 寶德服務(wù)器
核驗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 {isldotlq}
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[onoffdesirableautononegotiate]
Vlan-range


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 临沧市| 塔城市| 个旧市| 阳信县| 芜湖县| 电白县| 故城县| 临沭县| 台东县| 南澳县| 连云港市| 东乌| 晋宁县| 昭通市| 仁化县| 林甸县| 昌邑市| 太白县| 泸州市| 汝城县| 建昌县| 湖口县| 聊城市| 蓝田县| 定襄县| 伊金霍洛旗| 平远县| 当雄县| 客服| 天气| 收藏| 金塔县| 抚宁县| 腾冲县| 含山县| 合阳县| 皮山县| 泰安市| 巴楚县| 武定县| 马关县|