Written by yUmis(牛奶咖喱) a.k.a. 红头发
Deion 欢迎转载,请保留作者信息
Contact Me http://www.Asuqa.com
QQ:13030130 特别感谢yUmi,是她让我懂得了应该如何生活:)
Jul.1st.2004
!
配置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,如下图: net130整理
步骤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作为管理接口,当然还可以使用其他的子接口作为管理接口 net130整理
步骤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
转载地址:http://www.netsp.com.cn/Article/config/cisco/switch/200609/20060904225818.html