![]() |
LAN Switching Configuration Guide, Cisco IOS Release 12.4T
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring IP Multilayer Switching
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
Configuring IP Multilayer SwitchingLast Updated: December 8, 2011
This module describes how to configure IP Multilayer Switching (MLS).
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for Configuring IP MLSTo ensure a successful MLS configuration, you must also configure the Catalyst switches in your network. For more information about Catalyst 5000 series switches, see the Catalyst 5000 Series Multilayer Switching User Guide and the Catalyst 5000 Series Software Configuration Guide . For more information about Catalyst 6000 series switches, see the Configuring and Troubleshooting IP MLS on Catalyst 6500/6000 Switches with an MSFC document or see the "Configuring IP Multilayer Layer 3 Switching" chapter in the Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide. Information About Configuring IP MLSMLS provides high-performance Layer 3 switching for Cisco routers and switches. MLS switches IP data packets between subnets using advanced application-specific integrated circuit (ASIC) switching hardware. Standard routing protocols, such as Open Shortest Path First (OSPF), Enhanced Interior Gateway Routing Protocol (Enhanced IGRP), Routing Information Protocol (RIP), and Intermediate System-to-Intermediate System (IS-IS), are used for route determination. For conceptual information about IP Multilayer Switching, see the "Multilayer Switching Overview" module. How to Configure MLSTo configure your Cisco router for MLS, perform the tasks described in the following sections. The first section contains a required task; the remaining tasks are optional.
Configuring MLS on a RouterTo configure MLS on your router, complete the following steps.
DETAILED STEPS
Monitoring MLS
SUMMARY STEPS
DETAILED STEPS
Monitoring MLS ExampleAfter entering the show mls rpcommand, the following is displayed:
Router# show mls rp
multilayer switching is globally enabled
mls id is 00e0.fefc.6000
mls ip address 10.20.26.64
mls flow mask is ip-flow
vlan domain name: WBU
current flow mask: ip-flow
current sequence number: 80709115
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: 13:03:19
keepalive timer expires in 9 seconds
retry timer not running
change timer not running
fcp subblock count = 7
1 management interface(s) currently defined:
vlan 1 on Vlan1
7 mac-vlan(s) configured for multi-layer switching:
mac 00e0.fefc.6000
vlan id(s)
1 10 91 92 93 95 100
router currently aware of following 1 switch(es):
switch id 0010.1192.b5ff
Monitoring MLS for an Interface
SUMMARY STEPS
DETAILED STEPS
Monitoring MLS Interfaces for VTP Domains
SUMMARY STEPS
DETAILED STEPS
Monitoring MLS Interfaces for VTP Domains ExampleAfter entering the show mls rp vtp-domaincommand, the following is displayed:
router# show mls rp vtp-domain WBU
vlan domain name: WBU
current flow mask: ip-flow
current sequence number: 80709115
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: 13:07:36
keepalive timer expires in 8 seconds
retry timer not running
change timer not running
fcp subblock count = 7
1 management interface(s) currently defined:
vlan 1 on Vlan1
7 mac-vlan(s) configured for multi-layer switching:
mac 00e0.fefc.6000
vlan id(s)
1 10 91 92 93 95 100
router currently aware of following 1 switch(es):
switch id 0010.1192.b5ff
Configuring NetFlow Data ExportTo configure your Cisco router for NetFlow Data Export (NDE), complete the following steps.
PrerequisiteTo ensure a successful NDE configuration, you must also configure the Catalyst switch. For more information, see the Catalyst 5000 Series Multilayer Switching User Guide . Specifying an NDE Address on the Router
SUMMARY STEPS
DETAILED STEPS
Configuration Examples for MLS
Router Configuration Without Access Lists ExampleThis sample configuration shows a router configured without access lists on any of the VLAN interfaces. The flow mask is configured to be destination-ip. Router# show running-config Building configuration... Current configuration: . . . mls rp ip interface Vlan1 ip address 192.168.0.0 255.255.255.0 mls rp vtp-domain Engineering mls rp management-interface mls rp ip interface Vlan2 ip address 192.168.2.73 255.255.255.0 interface Vlan3 ip address 192.168.3.73 255.255.255.0 mls rp vtp-domain Engineering mls rp ip . . end router# Router# show mls rp multilayer switching is globally enabled mls id is 0006.7c71.8600 mls ip address 192.168.26.56 mls flow mask is destination-ip number of domains configured for mls 1 vlan domain name: Engineering current flow mask: destination-ip current sequence number: 82078006 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: 02:54:21 keepalive timer expires in 11 seconds retry timer not running change timer not running 1 management interface(s) currently defined: vlan 1 on Vlan1 2 mac-vlan(s) configured for multi-layer switching: mac 0006.7c71.8600 vlan id(s) 1 3 router currently aware of following 1 switch(es): switch id 00e0.fe4a.aeff Router Configuration with a Standard Access List ExampleThis configuration is the same as the previous example but with a standard access list configured on the VLAN 3 interface. The flow mask changes to source-destination-ip.
.
interface Vlan3
ip address 192.168.3.73 255.255.255.0
ip access-group 2 out
mls rp vtp-domain Engineering
mls rp ip
.
Router# show mls rp
multilayer switching is globally enabled
mls id is 0006.7c71.8600
mls ip address 192.20.26.56
mls flow mask is source-destination-ip
number of domains configured for mls 1
vlan domain name: Engineering
current flow mask: source-destination-ip
current sequence number: 82078007
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: 02:57:31
keepalive timer expires in 4 seconds
retry timer not running
change timer not running
1 management interface(s) currently defined:
vlan 1 on Vlan1
2 mac-vlan(s) configured for multi-layer switching:
mac 0006.7c71.8600
vlan id(s)
1 3
router currently aware of following 1 switch(es):
switch id 00e0.fe4a.aeff
Router Configuration with an Extended Access List ExampleThis configuration is the same as the previous examples but with an extended access list configured on the VLAN 3 interface. The flow mask changes to ip-flow.
.
interface Vlan3
ip address 192.16.3.73 255.255.255.0
ip access-group 101 out
mls rp vtp-domain Engineering
mls rp ip
.
Router# show mls rp
multilayer switching is globally enabled
mls id is 0006.7c71.8600
mls ip address 192.16.26.56
mls flow mask is ip-flow
number of domains configured for mls 1
vlan domain name: Engineering
current flow mask: ip-flow
current sequence number: 82078009
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: 03:01:52
keepalive timer expires in 3 seconds
retry timer not running
change timer not running
1 management interface(s) currently defined:
vlan 1 on Vlan1
2 mac-vlan(s) configured for multi-layer switching:
mac 0006.7c71.8600
vlan id(s)
1 3
router currently aware of following 1 switch(es):
switch id 00e0.fe4a.aeff
Additional ReferencesRelated Documents
MIBsTechnical Assistance
Feature Information for Configuring MLSThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2011 Cisco Systems, Inc. All rights reserved.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|