中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 教育认证 > 思科认证 > CISCO其他
交换技术全攻略 第10章(图)
作者:红头发 时间:2006-08-02 13:45 出处:net130.com 责编:月夜寒箫
              摘要:交换技术全攻略 第10章(图)
  交换技术第10章-Configuring MLS

  配置MLS的时候,要用到路由器,它可以是外部路由器,或者是RSM,并且路由器的IOS版本必须至少是11.3(3)Wa4(4),这样的路由器也可以叫做MLS-RP

  3层交换机使用supervisor engine III,并搭载NFFC(NetFlow Feature Card).CatOS版本必须至少是4.1(1).这样的3层交换机也叫MLS-SE

  下面以一个图例来说明如何配置MLS,如下图:



  步骤1:在Cisco 4500上启用MLS,使用以下命令:
  C4500(config)#mls rp ip
  C4500(config)#

  步骤2:定义实行MLS的接口所属的VTP域,如下:
  C4500(config-if)#mls rp vtp-dom ACC
  C4500(config-if)#

  步骤3:在Cisco 4500上选择1个和交换机相连的接口作为管理接口,MLSP包通过这个接口交换,如下:
  C4500(config)#int fa0.10
  C4500(config-subif)#mls rp management-interface
  C4500(config-subif)#

  这里选的是fa0.10作为管理接口,当然还可以使用其他的子接口作为管理接口

  步骤4:在参与MLS的接口上启用MLS,如下:
  C4500(config-subif)#int fa0.10
  C4500(config-subif)#mls rp ip
  C4500(config-subif)#int fa0.20
  C4500(config-subif)#mls rp ip
  C4500(config-subif)#

  步骤5:验证MLS是否配置正确,如下:
  C4500#sh mls rp
  multilayer switching is globally enabled
  mls id is 0010.7b9b.3eb1
  mls ip address 209.118.4.184
  mls flow mask is destination-ip
  number of domains configured for mls 1

  vlan domain name: ACC
  current flow mask: destination-ip
  current sequence number: 3513170556
  current/maximum retry count: 0/10
  current domain state: no-change
  current/next global purge: false/false
  current/next purge count: 0/0
  domain uptime: 00:12:15
  keepalive timer expires in 0 seconds
  retry timer not running
  change timer not running
  fcp subblock count = 3

  1 management interface(s) currently defined:
  vlan 10 on FastEthernet0.10

  2 mac-vlan(s) configured for multi-layer switching:

  mac 0010.7b9b.3eb1
  vlan id(s)
  10 20

  router currently aware of following 0 switch(es):
  no switch id's currently exists in domain
  一般的,只要交换机能够支持MLS,默认的配置就足够了.但是如果使用的是外部路由器的话,还应该在交换机上做如下配置:

  步骤1:启用MLS,如下:
  Switch_A> (enable) set mls enable
  Multilayer switching is enabled.
  Switch_A> (enable)

  步骤2:定义MLS-RP的地址,如下:
  Switch_A> (enable) set mls include 172.16.10.1
  Multilayer switching enabled for router 172.16.10.1.
  Switch_A> (enable)

  步骤3:一些可选的设置.定义MLS条目的生存时间,默认为256秒,可选的值的为64秒的倍数,范围是64-1920秒,如果你不知道64的5倍是多少,(320),假如你输入319,它将自动修正为320.如下:
  Switch_A> (enable) set mls agingtime 340
  Multilayer switching agingtime set to 344
  Switch_A> (enable)

  步骤4:验证交换机的MLS-RP设置,如下:
  Switch_A> (enable) sh mls include
  Included MLS-RP
  –––––––––
  172.16.10.1
  Switch_A> (enable)
  验证MLS条目生存时间使用show mls命令

  Pt.9 Configuring Token Ring & FDDI

  Configuring the Port Speed

  配置端口速率的命令如下:
  Switch_A> (enable) set port speed [module_number/port_number] [4|16|auto]
  如下,设置端口3/1的速率为16Mbps:
  Switch_A> (enable) set port speed 3/1 16
  Port 3/1 speed set to 16Mbps.
  Switch_A> (enable)
  默认是为auto(自动检测)

关闭本页
 
首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有