![]() |
Catalyst 2948G-L3 Software Feature and Configuration Guide
|
|
Using Technical Support
![]() |
||
|
Table of ContentsCommand ReferenceQoS Commands SDM Commands Command ReferenceThis appendix provides a command reference for those Cisco IOS commandsor aspects of the commandsthat are unique to Layer 3 switching. QoS Commandsqos switchingTo 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 switching This command has no keywords or arguments. The following example shows how to enable QoS mapping using the qos switching configuration command. qos mapping precedenceTo 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 The default WRR-weights for precedence values 0, 1, 2, 3 are 1, 2, 3, and 4, respectively. The following example shows how to set the system-level QoS mapping using the 2948G-L3(config)# qos mapping precedence 0 wrr-weight 4 show qos switchingTo show whether QoS mapping is enabled on the device, use the show qos switching command. This command has no keywords or arguments. The following example shows how to display whether QoS mapping is enabled using the show qos switching command. QoS Based IP Switching enabled show qos mappingTo show the QoS mapping in effect at the system or destination interface level, use the show qos mapping command. show qos mapping [destination dest-int] The following example shows how to display the system-level QoS mapping using the show qos mapping command. SDM Commandssdm autolearnTo 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. This command has no keywords or arguments. sdm sizeTo configure the size of each protocol region in the SDM, use sdm size command. sdm size region-name{k-entries}#-of-entries 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. 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. show sdm sizeTo 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. This command does not have any keywords or arguments.
|
|
|
|