- Preface
- Cisco ONS Documentation Roadmap for Release 9.2.1
- Chapter 1, CE-Series Ethernet Cards
- Chapter 2, E-Series and G-Series Ethernet Cards
-
- Chapter 3, ML-Series Cards Overview
- Chapter 4, CTC Operations
- Chapter 5, Initial Configuration
- Chapter 6, Configuring Interfaces
- Chapter 7, Configuring CDP
- Chapter 8, Configuring POS
- Chapter 9, Configuring Bridges
- Chapter 10, Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling
- Chapter 11, Configuring STP and RSTP
- Chapter 12, Configuring Link Aggregation
- Chapter 13, Configuring Security for the ML-Series Card
- Chapter 14, Configuring RMON
- Chapter 15, Configuring SNMP
- Chapter 16, Configuring VLAN
- Chapter 17, Configuring Networking Protocols
- Chapter 18, Configuring IRB
- Chapter 19, Configuring IEEE 802.17b Resilient Packet Ring
- Chapter 20, Configuring VRF Lite
- Chapter 21, Configuring Quality of Service
- Chapter 22, Configuring Ethernet over MPLS
- Chapter 23, Configuring the Switching Database Manager
- Chapter 24, Configuring Access Control Lists
- Chapter 25, Configuring Cisco Proprietary Resilient Packet Ring
-
- Chapter 26, ML-MR-10 Card Overview
- Chapter 27, IP Host Functionality on the ML-MR-10 Card
- Chapter 29: Configuring Security for the ML-MR-10 Card
- Chapter 30: Configuring IEEE 802.17b Resilient Packet Ring on the ML-MR-10 Card
- Chapter 31, Configuring POS on the ML-MR-10 Card
- Chapter 32, Configuring Card Port Protection on the ML-MR-10 Card
- Chapter 32, Configuring Ethernet Virtual Circuits and QoS on the ML-MR-10 Card
- Chapter 34: Configuring Link Agrregation on ML-MR-10 card
- Chapter 35, Configuring Ethernet OAM (IEEE 802.3ah), CFM (IEEE 802.1ag), and E-LMI on the ML-MR-10 Card
- Appendix A: CPU and Memory Utilization on the ML-MR-10 Card
- Appendix A, POS on ONS Ethernet Cards
- Appendix B, Command Reference
- Appendix C, Unsupported CLI Commands
- Appendix D, Using Technical Support
Configuring the Switching Database Manager
Note This chapter applies only to the ML-Series (ML100T-2, ML100X-8, and ML1000-2) cards.
This chapter describes the switching database manager (SDM) features built into the ML-Series card and contains the following major sections:
Understanding the SDM
ML-Series cards use the forwarding engine and ternary content-addressable memory (TCAM) to implement high-speed forwarding. The high-speed forwarding information is maintained in TCAM. The SDM is the software subsystem that manages the switching information maintained in TCAM.
SDM organizes the switching information in TCAM into application-specific regions and configures the size of these application regions. SDM enables exact-match and longest-match address searches, which result in high-speed forwarding. SDM manages TCAM space by partitioning application-specific switching information into multiple regions.
TCAM identifies a location index associated with each packet forwarded and conveys it to the forwarding engine. The forwarding engine uses this location index to derive information associated with each forwarded packet.
Understanding SDM Regions
SDM partitions multiple application-specific regions and interacts with the individual application control layers to store switching information. The regions share the total available space. SDM consists of the following types of regions:
•Exact-match region—The exact-match region consists of entries for multiple application regions such as IP adjacencies.
•Longest-match region—Each longest-match region consists of multiple buckets or groups of
Layer 3 address entries organized in decreasing order by mask length. All entries within a bucket share the same mask value and key size. The buckets can change their size dynamically by borrowing address entries from neighboring buckets. Although the size of the whole application region is fixed, you can reconfigure it.
•Weighted-exact-match region—The weighted-exact-match region consists of exact-match-entries with an assigned weight or priority. For example, with QoS, multiple exact match entries might exist, but some have priority over others. The weight is used to select one entry when multiple entries match.
Table 23-1 lists default partitioning for each application region.
Configuring SDM
This section describes SDM region size and access control list (ACL) size configuration. The commands described in this section are unique to the switching software. Configuration changes take place immediately on the ML-100T-8 card.
Configuring SDM Regions
To configure SDM maximum size for each application region, perform the following procedure, beginning in global configuration mode:
An example of this is shown in Example 23-1.
Example 23-1 Limiting the IP-Prefix Region to 2K Entries
ML_Series # configure terminal
ML_Series(config)# sdm size ip-prefix 2000
ML_Series(config)# end
Configuring Access Control List Size in TCAM
The default maximum size of the ACL is 300 64-bit entries. You can enter the sdm access-list command to change the maximum ACL database size, as shown in Table 23-2.
An example of this is shown in Example 23-2.
Example 23-2 Configuring Entries for the ACL Region in TCAM
ML_Series# configure terminal
ML_Series(config)# sdm access-list 100
ML_Series(config)# end
Monitoring and Verifying SDM
To display the number of available TCAM entries, enter the show sdm size command from global configuration mode:
ML_Series # show sdm size
Active Switching Database Region Maximum Sizes :
IP Adjacency : 300 64-bit entries
IP Prefix : 300 64-bit entries
QoS Classifiers : 300 64-bit entries
IP VRF Prefix : 300 64-bit entries
IP Multicast : 300 64-bit entries
MAC Addr : 8192 64-bit entries
Access List : 300 64-bit entries