On your switch, all of the routing information is stored in special high-speed memory called Ternary Content Addressable Memory (TCAM) which mainly functions in speeding up route search, packet classification and forwarding, and access control list (ACL)-based commands.
TCAM entries are divided into the following groups:
The Routing Resources page on your switch allows you to adjust the TCAM allocation. Routing resources can be modified incorrectly in one of the following ways:
If you change the router TCAM allocation incorrectly, an error message is displayed. If your router TCAM allocation is feasible, a message is displayed that an automatic reboot will be performed with the new settings.
The following table provides the number of TCAM entries used by the various features:
Logical Entity |
IPv4 |
IPv6 (PCL TCAM) |
IPv6 (Router TCAM) |
IP Neighbor |
1 entry |
1 entry |
4 entries |
IP Address on an interface |
2 entries |
2 entries |
8 entries |
IP Remote Route |
1 entry |
1 entry |
4 entries |
On-Link-Prefix |
N/A |
1 entry |
4 entries |
Note: VLAN mapping uses four TCAM entries in all cases.
This article provides instructions on how to configure the routing resources settings on your switch through the Command Line Interface (CLI). In this scenario, the default values must be adjusted in order to accommodate the VLAN mapping routing resources.
Note: To configure routing resources on the switch using the GUI, click here.
Step 1. Log in to the switch console. The default username and password is cisco/cisco. If you have configured a new username or password, enter the credentials instead.
Note: To learn how to access an SMB switch CLI through SSH or Telnet, click here.
Note: The commands may vary depending on the exact model of your switch. In this example, the SG350X-48MP switch is accessed through Telnet.
Step 2. To display the currently configured router entries on the switch, enter the following:
SG350X#show system router resources
The following TCAM entries are used by the various features:
Step 3. From the Privileged EXEC mode of the switch, enter the Global Configuration mode by entering the following:
SG350X#configure
Step 4. To configure the system router resources on the switch, enter the following:
SG350X#system router resources [ip-entries max-number] [ipv6-entries max-number] [ipm-entries max-number] [ipmv6-entries max-number] [policy-ip-entries max-number] [policy-ipv6-entries max-number] [vlan-mapping-entries max-number]
The parameters are:
Step 5. Press Y for Yes or N for No on your keyboard once you are prompted to overwrite file startup-configuration file with the running-configuration file. Once you press Y, the switch will be rebooted. In this example, Y is entered.
The switch will automatically reboot to apply the configuration settings to the startup configuration file.
You should now have successfully configured the routing resources settings on your switch through the CLI.
Step 1. Log in to the switch console.
Step 2. To display the currently configured router entries on the switch, enter the following:
SG350X#show system router resources
Note: In this example, the adjusted entries are displayed. This will allow you to configure VLAN mapping settings on your switch.
You should now have successfully verified the configured routing resources on your switch through the CLI.
Note: To learn how to configure the VLAN Mapping settings on your switch through the CLI, click here.