|
|
This appendix provides a command reference for those Cisco IOS commandsor aspects of the commandsthat are unique to Layer 3 switching.
To enable quality of service (QoS) mapping on the device, use the qos switching command. To disable it, use the no form of this command.
qos switchingSyntax Description
This command has no keywords or arguments.
Defaults
QoS mapping is enabled.
Command Modes
Device configuration
Examples
The following example shows how to enable QoS mapping using the qos switching configuration command.
Router# qos switching
Related Commands Related Command
To configure QoS mapping at the system or interface level, use the qos mapping precedence command. To set the QoS precedence back to the default value, use the no form of this command.
qos mapping [destination dest-int] precedence value wrr-weight weight
Syntax Description
dest-int Destination interface to which you want to define a traffic precedence; optional. value Precedence value derived from the higher two bits of the IP precedence field. Valid values are 0 to 3 inclusive. weight WRR-scheduling weight. Valid values are 1 to 4 inclusive. This specifies the weight assigned to traffic with the given precedence value.
Defaults
The default WRR-weights for precedence values 0, 1, 2, 3 are 1, 2, 3, and 4, respectively.
Command Modes
Device configuration
Examples
The following example shows how to set the system-level QoS mapping using the
qos mapping precedence configuration command.
Router(config)# qos mapping precedence 0 wrr-weight 4
Related Commands Related Command
To show whether QoS mapping is enabled on the device, use the show qos switching command.
show qos switchingSyntax Description
This command has no keywords or arguments.
Command Modes
Privileged EXEC
Examples
The following example shows how to display whether QoS mapping is enabled using the show qos switching command.
Router# show qos switching QoS Based IP Switching enabled
Related Commands Related Command
To show the QoS mapping in effect at the system or destination interface level, use the show qos mapping command.
Syntax Description
dest-int Destination interface to which you want to display QoS mapping; optional.
Command Modes
Privileged EXEC
Examples
The following example shows how to display the system-level QoS mapping using the show qos mapping command.
Router# show qos mapping
Precedence WRR-Weight
0 1
1 2
2 3
3 4
Related Commands Related Command
To enable the Switch Database Manager (SDM) autolearn feature, use the sdm autolearn command. To disable it, use the no form of this command. When the SDM autolearn feature is enabled, SDM automatically saves mask-length distribution for the routing database. SDM then uses this mask-length distribution as the initial mask-length distribution, which takes effect during the next system reboot.
sdm autolearnSyntax Description
This command has no keywords or arguments.
Defaults
SDM autolearn is enabled.
Related Commands Command Mode
Global configuration
To configure the size of each protocol region in the SDM, use the sdm size command.
sdm size region-name{k-entries}num-of-entries
Syntax Description
region-name Name of the protocol region for which you want to configure the size. num-of-entries Size can be entered either as multiples of 1K (that is 1024) entries or in absolute number of entries.
Command Modes
Global configuration
Usage Guidelines
The combined size entered for all the protocol regions should not exceed 32K, which is the total TCAM size. The supported size can be displayed using the show sdm size command. The size of SDM is represented as the number of base entries. Each protocol region entry can occupy one or more TCAM entries. The combined size of all the protocol regions should be calculated in terms of the base entries. Table A-1 lists the number of TCAM entries needed for each protocol region.
| Protocol Region | TCAM Entries |
|---|---|
ipx-bvi-network | 1 |
ip-adjacency | 1 |
ipx-node | 2 |
ip-prefix | 1 |
ipx-network | 1 |
ip-mcast | 2 |
l2-forwarding | 2 |
Since, the ip-prefix region occupies one TCAM entry, the sdm size ip-prefix k-entries 6 command configures 6K TCAM entries in the SDM for the ip-prefix region. Since each ipx-node entry occupies two TCAM entries, the sdm size ipx-node k-entries 3 command configures 6K TCAM entries in the SDM for the ipx-node region.
Related Commands Related Command
To display the size of TCAM and the size of each protocol region, use the show sdm size command. The size is shown as number of entries
Syntax Description
This command has no keywords or arguments.
Command Modes
Privileged EXEC
Examples
The following is sample output from the show sdm size command.
Router#show sdm size
Switching Database Region Sizes :
IPX BVI Network : 32 32-bit entries
IP Adjacency : 2048 32-bit entries
IPX Node : 2048 64-bit entries
IP Prefix : 8192 32-bit entries
IPX Network : 6144 32-bit entries
IP Multicast : 3072 64-bit entries
MAC Addr : 1024 64-bit entries
Related Commands Related Command
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 7 09:23:27 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.