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

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

VLAN學(xué)習(xí)總結(jié)

2019-11-04 20:43:42
字體:
供稿:網(wǎng)友

  創(chuàng)建VLAN的步驟
  1.定義VTP
  
  COS
  
  set vtp domain domain-name
  
  
  IOS
  
  (vlan) vtp domain domain-name
  
  或者
  
  (global) vtp domain domain-name
  
  
  2.創(chuàng)建VLAN
  
  COS
  
  set vlan vlan-id [name name] [state state] [mtu mtu]
  
  
  IOS
  
  (vlan) vlan vlan-id [name vlan-name] [state {suspend active}] [mtu mtu-size]
  
  
  (global) vlan vlan-id
  
  
  (vlan-config) vlan vlan-id [mtu mtu-size] [name vlan-name] [state {suspend active}]
  
  
  舉例
  
  CatOS
  
  (enable)>set vtp mode transparent
  
  (enable)>set vlan 5 name Cameron
  
  (enable)>set vlan 8 name Logan
  
  (enable)>set vlan 10 name Katie
  
  (enable)>set spantree macredUCtion enable
  
  (enable)>set vlan 2112 name Rush
  
  (enable)>
  
  
  IOS
  
  #vlan database
  
  (vlan)#vtp transparent
  
  (vlan)#vlan 5 name Cameron
  
  (vlan)#vlan 8 name Logan
  
  (vlan)#vlan 10 name Katie
  
  (vlan)#exit
  
  #copy running-config startup-config
  
  
  TRUNK
  
  An example of the Catalyst OS configuration for Distribution_1 follows:
  
  
  Distribution_1 (enable)>clear trunk 1/1 2-1001
  
  Distribution_1 (enable)>set trunk 1/1 desirable isl 10
  
  Distribution_1 (enable)>clear trunk 2/1 2-1001
  
  Distribution_1 (enable)>set trunk 2/1 on dot1q 5,8,10
  
  An example of the Catalyst OS configuration for Core_1 follows:
  
  
  Core_1 (enable)>clear trunk 1/1 2-1001
  
  Core_1 (enable)>set trunk 1/1 10
  
  An example of the Supervisor IOS configuration for Core_1 follows:
  
  
  Core_1(config)#interface gigabitethernet 1/1
  
  Core_1(config-if)#switchport encapsulation negotiate
  
  Core_1(config-if)#switchport mode dynamic auto
  
  Core_1(config-if)#switchport trunk allowed vlan remove 2-1001
  
  Core_1(config-if)#switchport trunk allowed vlan add 10
  
  Core_1 (config-if)#end
  
  Core_1#copy running-config startup-config
  
  An example of the Layer 2 IOS configuration for access_1 follows:
  
  
  Access_1 (config)#interface gigabitethernet 0/1
  
  Access_1 (config-if)#switchport mode trunk
  
  Access_1 (config-if)#switchport trunk encapsulation dot1q
  
  Access_1 (config-if)#switchport trunk allowed vlan remove 2-1001
  
  Access_1 (config-if)#switchport trunk allowed vlan add 5,8,10
  
  Access_1 (config-if)#end
  
  Access_1#copy running-config startup-config
  
  
  An example of the Catalyst OS configuration for Core_1 follows:
  
  
  Core_1 (enable)>set vtp mode transparent
  
  Core_1 (enable)>set trunk 1/1 on isl
  
  Core_1 (enable)>set trunk 1/2 on isl
  
  Core_1 (enable)>
  
  An example of the Catalyst OS configuration for Distribution_1 follows:
  
  
  Distribution_1 (enable)>set vtp domain GO-CATS
  
  Distribution_1 (enable)>set trunk 1/1 on isl
  
  Distribution_1 (enable)>set trunk 2/1 on dot1Q
  
  Distribution_1 (enable)>set vtp PRuning enable
  
  Distribution_1 (enable)>clear vtp pruneeligible 10
  
  An example of the Catalyst OS configuration for Distribution_2 follows:
  
  
  Distribution_2 (enable)>set trunk 1/1 on isl
  
  Distribution_2 (enable)>clear vtp pruneeligible 10
  
  An example of the Layer 2 IOS configuration for Access_1 follows:
  
  
  Access_1#vlan database
  
  Access_1 (vlan)#vtp client
  
  Access_1 (vlan)#exit
  
  Access_1 #config t
  
  Access_1 (config)#interface gigabitethernet 0/1
  
  Access_1 (config-if)#switchport mode trunk
  
  Access_1 (config-if)#switchport trunk encapsulation dot1Q
  
  Access_1 (config-if)#switchport trunk pruning vlan remove 10
  
  Access_1 (config-if)#end
  
  Access_1#copy running-config startup-config


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 永泰县| 青岛市| 乌审旗| 望城县| 项城市| 左云县| 厦门市| 新民市| 广西| 中超| 泸水县| 嘉禾县| 天台县| 宣汉县| 房产| 桃江县| 新晃| 陵川县| 广灵县| 田阳县| 南召县| 宿州市| 平陆县| 乌什县| 浏阳市| 饶阳县| 湘阴县| 贺兰县| 日照市| 共和县| 奉化市| 丹江口市| 黔西县| 丹东市| 类乌齐县| 凤山市| 聊城市| 通海县| 大余县| 富源县| 从江县|