|
|
This chapter documents commands used to configure Multilayer Switching in Cisco IOS software. For guidelines on configuring Multilayer Switching, refer to the Cisco IOS Switching Services Configuration Guide.
To enable Multilayer Switching Protocol (MLSP), use the mls rp ip global configuration command. MLSP is the protocol that runs between the switches and routers. Use the no form of this command to disable MLS.
mls rp ipThere are no arguments or keywords for this command.
The default is MLS disabled.
Global configuration
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
Use this command to enable Multilayer Switching, either globally or on a specific interface.
The following example enables MLS:
mls rp ip
You can use the master indexes or search online to find documentation of related commands.
mls rp management-interface
mls rp nde-address
mls rp vlan-id
mls rp vtp-domain
show mls rp
show mls rp vtp-domain
To designate an interface as the management interface for MLSP packets, use the mls rp management-interface interface configuration command. Use the no version of the command to remove an interface as the management interface.
mls rp management-interfaceThis command has no arguments or keywords.
There is no default management interface.
Interface configuration
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
Use this command to designate an inteface as the MLSP management interface. You must specify a router interface as a management interface. If you do not specify an interface, MLSP packets will not be sent or received.
The management interface can be any MLS interface connected to the Catalyst 5000 series switch. Specifying more than one interface is not necessary.
The following example sets the current interface as the management interface:
mls rp management-interface
You can use the master indexes or search online to find documentation of related commands.
mls rp ip
mls rp nde-address
mls rp vlan-id
mls rp vtp-domain
show mls rp
show mls rp vtp-domain
To specify a NetFlow Data Export address, use the mls rp nde-address global configuration command.
mls rp nde-address ip-address
ip-address | NDE IP address. |
Global configuration
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
Use this command on an RP to specify the NetFlow Data Export address for a router. If you do not specify an NDE IP address for the MLS-RP, the MLS-RP automatically selects one of its interface's IP addresses and uses that IP address as its NDE IP address and its mls ip address.
The following example sets the NDE address to 170.25.2.1:
mls rp nde-address 170.25.2.1
You can use the master indexes or search online to find documentation of related commands.
mls rp ip
mls rp management-interface
mls rp vlan-id
mls rp vtp-domain
show mls rp
show mls rp vtp-domain
To assign a VLAN ID, use the mls ip vlan-id interface configuration command.
mls rp vlan-id vlan-id-num
vlan-id-num | VLAN identification number. |
Interface configuration
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
Use this command to assign a VLAN ID to an interface. RSM VLAN interfaces or ISL-encapsulated intefaces do not require the VLAN ID to be assigned.
The following example assigns a VLAN ID of 23 to the current interface:
mls rp vlan-id 23
You can use the master indexes or search online to find documentation of related commands.
mls rp ip
mls rp management-interface
mls rp nde-address
mls rp vtp-domain
show mls rp
show mls rp vtp-domain
To select the router interface to be Layer 3 switched and then add that interface to a VLAN Trunking Protocol (VTP) domain, use the mls rp vtp-domain interface configuration command.
mls rp vtp-domain domain-name
domain-name | VTP domain name |
EXEC
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
This command is required only if the Catalyst switch is in a VTP domain. For an ISL interface, you can enter this command only on the primary interface. All subinterfaces that are part of the primary interface inherit the primary's VTP domain.
The following example adds the inteface to the engineering VTP domain:
mls rp vtp-domain engineering
You can use the master indexes or search online to find documentation of related commands.
mls rp ip
mls rp management-interface
mls rp nde-address
mls rp vlan-id
show mls rp
show mls rp vtp-domain
To display MLS details, including specifics for MLSP, use the show mls rp EXEC command.
show mls rp [interface]
interface | (Optional) Displays information for one interface. Without this argument, detailed view of all interfaces are displayed. |
EXEC
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
The following is sample output for the show mls rp command:
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
The following is sample output for the show mls rp command for a specific interface:
router# show mls rp int vlan 10
mls active on Vlan10, domain WBU router#
You can use the master indexes or search online to find documentation of related commands.
mls rp ip
mls rp management-interface
mls rp nde-address
mls rp vlan-id
mls rp vtp-domain
show mls rp vtp-domain
To show MLS interfaces for a specific VTP domain, use the show mls rp vtp-domain EXEC command.
show mls rp vtp-domain [domain-name]
domain-name | VTP domain name. |
EXEC
This command first appeared in Cisco IOS Release 11.3(3) WA4(4).
The following example is sample output from the show mls rp vtp-domain command:
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
You can use the master indexes or search online to find documentation of related commands.
mls rp ip
mls rp management-interface
mls rp nde-address
mls rp vlan-id
mls rp vtp-domain
show mls rp
|
|