首页 | 关于我们 |  产品展示新闻动态 | 资料下载 |  技术支持 | 产品知识 | 联系我们 今日报价
 
   路通网络 > 产品知识库 > 知识库 > 正文
 
交换机上创建vlan的方法
 

交换机上创建vlan的方法

一、需要建立一个vtp管理域:

首先,为了在交换机上创建vlan,必须首先建立一个vtp管理域以使它能够核验网络上当前的vlan

然后运行 clear config allvtp command:

记住需要在基于IOS的交换机上配置VTP管理域或加入一个管理域:

switch# vlan database
witch(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]

二、接下来要创建Vlan在基于IOS的交换机上配置静态VLAN:

switch# vlan database
switch(vlan)# vlan vlan-num name vlan-name
switch(vlan)# exit
switch# configure teriminal

在基于CLI的交换机上配置静态VLAN:

switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list核验配置:show vlan

三、再配置干道链路:

干道是在两台catalyst交换机端口或catalyst交换机与路由器间的一条点对点链路。

干道链路可以承载多个vlan。

在基于CLI的交换机上配置干道链路:

switch(enable) set trunk module/port[on|off|desirable|auto|nonegotiate]
Vlan-range

本课主题:交换机上创建vlan的方法

D-Link交换机 CISCO交换机 H3C交换机 H3C路由器

以上产品热销中,请拨打热线0571-89910937

2008-6-17 16:13:44