system router resources
To configure the system router resources, use the system router resources command in Global Configuration mode. To return to the default, use the no form of this command.
Syntax
system router resources [ip-entries max-number] [ipv6-entries max-number] [ipm-entries max-number] [ipmv6-entries max-number] [vlan-mapping-entries max-number] no system router resources
Parameters
- ip-entries max-number—(Optional) The maximum number of IPv4 entries.
- ipv6-entries max-number—(Optional) The maximum number of IPv6 entries.
- ipm-entries max-number—(Optional) The maximum number of IPv4 multicast entries.
- ipmv6-entries max-number—(Optional) The maximum number of IPv6 multicast entries.
- vlan-mapping-entries max-number —(Optional) The maximum number of VLAN Mapping entries.
Default Configuration
- ip-entries— 4096.
- ipv6-entries—
- ipm-entries—
- ipmv6-entries—
- vlan-mapping-entries — 64.
Command Mode
Global Configuration mode
User Guidelines
Use the system router resources command to enter new settings for routing entries. After entering the command, the current routing entries configuration will be displayed, and the user will be required to confirm saving the new setting to the startup-configuration and to reboot the system.
When this command is included in a configuration file that is downloaded to the device, if it is downloaded to the running configuration file, the command will be rejected. If it downloaded to the startup configuration file, the device will not be automatically rebooted. The new settings will be used after the device is rebooted manually.
Data Validation:
If the new settings exceed the maximum number of routing entries, the command is rejected and a message is displayed to the user.
If the new settings are fewer than the currently in-use routing entries, a confirmation message is displayed to the user (before the save confirmation message).
Use the no system router resources command to restore the default settings.
The following table displays the conversion between logical entities to HW entries:
Logical Entity | IPv4 |
IP Neighbor | 1 entry |
IP Address | 2 entries |
IP Remote Route | 1 entry |
IPM Group (*,G) or (S,G) | 2 entries |
Logical Entity | IPv6 (RouterTCAM) |
IP Neighbor | 4 Entries |
IP Address | 8 entries |
IP Remote Route | 4 Entries |
On-Link-Prefix | 4 Entries |
IPM Group (*,G) or (S,G) | 8 entries |
Examples
Example 1
The following example defines the supported number of IPv4 routing entries.
switchxxxxxx(config)# system router resources ip-enries 256 The maximal number of IPv4 and IPv6 Routing Entries is 3072. The number of Non-IP Entries is 3096. In-Use Reserved (Current) Reserved (New) ------ ------------------ -------------- IPv4 Entries 232 1024 256 Number of Routes 20 Number of Neighbors 12 Number of Interfaces 100 IPv6 Entries 233 1024 32 Number of Routes 20 Number of Neighbors 12 Number of Interfaces 100 Number of On-Link Prefixes 1 IPv4 Multicast Entries 12 1024 1024 Number of Multicast Routes 6 IPv6 Multicast 40 1024 1024 Number of Multicast Routes 5 VLAN Mapping Entries 48 64 64 Setting the new configuration of route entries requires saving the running-configuration file to startup-configuration file and rebooting the system, do you want to continue? (Y/N) [N] Y |
Example 2
The following example defines the supported number of IPv4 and IPv6 routing entries. In the example, the configured router entries are less than the router entries which are currently in use. Using this configurations means that the system will not have enough resources for the running again in the existing network:
switchxxxxxx(config)# system router resources ip-entries 128 ipv6-entries 32 The maximal number of IPv4 Routing entries and IPv6 Routing Entries is 3072. The number is Non-IP Entries is 3096. In-Use Reserved (Current) Reserved (New) ------ ------------------ -------------- IPv4 Entries 232 1024 128 Number of Routes 20 Number of Neighbors 12 Number of Interfaces 100 IPv6 Entries 1024 1024 32 Number of Routes 20 Number of Neighbors 12 Number of Interfaces 100 Number of On-Link Prefixes 1 IPv4 Multicast Entries 12 1024 1024 Number of Multicast Routes 6 IPv6 Multicast 40 1024 1024 Number of Multicast Routes 5 VLAN Mapping Entries 48 64 64 Router Resources Commands 51 The new configuration of route entries is less than the route entries which are currently in use by the system, do you want to continue (note that setting the new configuration of route entries requires saving the running-configuration file to startup-configuration file and rebooting the system)? (Y/N) [N] Y |
Leave A Comment?