专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »网络技术 » ciscovlan配置:CISCO交换机VLAN配置指南( 3) »正文

ciscovlan配置:CISCO交换机VLAN配置指南( 3)

来源: 发布时间:星期日, 2008年12月14日 浏览:7次 评论:0

  (1). 名为Switch1VLAN端口号配置如下:
  
  Switch1(config)# e0/2
  Switch1(config-)#vlan-membership 2
  Switch1(config-)# e0/3
  Switch1(config-)#vlan-membership 2
  Switch1(config-)# e0/4
  Switch1(config-)#vlan-membership 2
  ……
  Switch1(config-)# e0/20
  Switch(config-)#vlan-membership 3
  Switch1(config-)# e0/21
  Switch1(config-)#vlan-membership 3
  Switch1(config-)#
  
  【注】是nterface命令缩写是接口意思e0/3是ethernet 0/2缩写代表机0号模块2号端口
  
  (2). 名为Switch2交换机VLAN端口号配置如下:
  
  Switch2(config)# e0/2
  Switch2(config-)#vlan-membership 3
  Switch2(config-)# e0/3
  Switch2(config-)#vlan-membership 3
  Switch2(config-)# e0/4
  Switch2(config-)#vlan-membership 3
  ……
  Switch2(config-)# e0/15
  Switch2(config-)#vlan-membership 3
  Switch2(config-)# e0/16
  Switch2(config-)#vlan-membership 3
  Switch2(config-)#
  
  (3). 名为Switch3交换机VLAN端口号配置如下(它包括两个VLAN组配置)先看VLAN 4(Huma)配置代码:
  
  Switch3(config)# e0/2
  Switch3(config-)#vlan-membership 4
  Switch3(config-)# e0/3
  Switch3(config-)#vlan-membership 4
  Switch3(config-)# e0/4
  Switch3(config-)#vlan-membership 4
  ……
  Switch3(config-)# e0/8
  Switch3(config-)#vlan-membership 4
  Switch3(config-)# e0/9
  Switch3(config-)#vlan-membership 4
  Switch3(config-)#
  下面是VLAN5(Info)配置代码:
  Switch3(config)# e0/10
  Switch3(config-)#vlan-membership 5
  Switch3(config-)# e0/11
  Switch3(config-)#vlan-membership 5
  Switch3(config-)# e0/12
  Switch3(config-)#vlan-membership 5
  ……
  Switch3(config-)# e0/20
  Switch3(config-)#vlan-membership 5
  Switch3(config-)# e0/21
  Switch3(config-)#vlan-membership 5
  Switch3(config-)#
  
  我们已经按表1要求把VLAN都定义到了相应交换机端口上了为了验证我们配置可以在特权模式使用show vlan命令显示出刚才所做配置检查下是否正确
  
  以上是就 Catalyst 1900交换机VLAN配置进行介绍了其它交换机VLAN配置思路方法基本类似参照有关交换机介绍说明书即可

相关文章

读者评论

  • 共0条 分0页

发表评论

  • 昵称:
  • 内容: