No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Device Management

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the Resource Upper Limit of an External TCAM

Configuring the Resource Upper Limit of an External TCAM

Context

An external ternary content addressable memory (TCAM), as the expanded storage resource on the device, stores service entries such as ACLs and unicast/multicast routes. You can adjust the storage space allocated by the external TCAM to each service to meet service requirements. For example, if a large number of ACLs need to be configured on the device and the current ACL storage space cannot meet the need, you can increase the ACL table capacity allocated by the external TCAM.

NOTE:

CE12800E does not support this function.

Table 2-3 lists the card models that support the configuration of external TCAM resources and the external TCAM space.
Table 2-3 Card models that support the configuration of external TCAM resources and the external TCAM space

Card Model

Number of External TCAM Banks

  • CE-L48GS-ED

  • CE-L48GT-ED

  • CE-L48XS-ED

  • CE-L24XS-ED

  • CE-L12XS-ED

  • CE-L12CF-EG

64

  • CE-L04CF-EF

  • CE-L48XS-EF

  • CE-L12LQ-EF

256

  • CE-L48XS-FG
  • CE-L36CQ-FG
  • CE-L08CF-FG1

32

  • For ED, EF, and EG cards

    External TCAM resources are allocated based on banks. Each bank has 4096 storage units, each of which has an 80-bit width. The entry bit width varies depending on services, as shown in Table 2-4. Therefore, each bank stores a different number of service entries.
    Table 2-4 Maximum number of service entries stored in each bank

    Service

    Entry Bit Width

    Maximum Number of Service Entries Stored in Each Bank

    acl

    160 bits (two storage units)

    2048

    u4router

    80 bits (one storage unit)

    4096

    u6router

    160 bits (two storage units)

    2048

    m4router

    80 bits (one storage unit)

    4096

    m6router

    320 bits (four storage units)

    1024

    NOTE:

    The external tcam command configures service entry specifications, while the display system tcam resource or display system tcam resource-template command displays storage unit specifications. For example, if the number of ACL entries configured using the external tcam command is 8192, the ACL specifications displayed in the display system tcam resource-template command output is 16384. The value 16384 indicates the total number of storage units, which equals the number of configured ACL entries (the value is 8192) multiplied by the number of storage units each ACL entry occupies (the value is 2).

    On an ED card, resources are allocated to each service in the unit of four banks. On an EF or EG card, resources are allocated to each service in the unit of eight banks. The resources allocated to each service are exclusively used by this service. To prevent resource waste, you are advised to configure entry specifications of services according to Table 2-5.
    Table 2-5 Recommended service entry specifications

    Service

    Service Entry Specifications for an ED Card

    Service Entry Specifications for an EF/EG Card

    acl

    N*8192

    N*16384

    u4router

    N*16384

    N*32768
    NOTE:

    On an EG card, resources cannot be allocated to u4router.

    u6router

    N*8192

    N*16384

    m4router

    N*16384

    N*32768

    m6router

    N*4096

    N*8192

    Note: N indicates an integer that is equal to or larger than 1.

  • For FG/FG1 cards:

    After external TCAM resources used by services are configured for FG/FG1 cards, services preempt these resources, removing the need to specify the upper limit of service entries.

NOTE:
  • After the device has EVN or VXLAN configured, the external TCAM cannot be configured to increase the multicast entry space.

  • During the startup of a card, the system checks whether the external TCAM resource configuration saved on the card is consistent with the configuration of the master switch. If not, the system modifies the external TCAM resource configuration of the card and restarts the card. When the card is used as a stack card, it is not restarted. After the stack card registers successfully, service ports excluding all physical member ports are shut down. If you run the display this interface command in the interface view, you can view that the interface status is ERROR DOWN(resource-mismatch). In this case, you need to run the save command to save the configuration and then restart the stack card to ensure that the external TCAM resource configuration saved on the card is consistent with the configuration of the master switch.

  • If the default external TCAM resource template ED-default, EF-default, or EG-default is bound to a card in a version earlier than V200R001C00SPC600, the bound resource template will be changed to ED-extend, EF-extend, or EG-extend after the version is upgraded to V200R001C00SPC600 or a later version.

  • If the default external TCAM resource template ED-default, EF-default, or EG-default is bound to a card in V200R001C00SPC600 or a later version, the card is restarted after the version is downgraded to a version earlier than V200R001C00SPC600.
  • If the default external TCAM resource template ED-default, EF-default, or EG-default is bound to a card in a version earlier than V200R001C00SPC600, the bound resource template will remain unchanged as ED-default, EF-default, or EG-default after the card is installed in a switch running V200R001C00SPC600 or a later version.

Procedure

  1. (Optional) Run display system tcam resource [ slot slot-id ]

    The resource upper limit of the external TCAM is displayed.

  2. Run system-view

    The system view is displayed.

  3. Run system tcam template-name

    An external TCAM resource template is created and the resource template view is displayed.

    By default, the system has some resource templates. These templates have specified the resource upper limits and cannot be modified or deleted. You can use the system resource templates or customize a resource template, specify the resource upper limit for each service, and bind the resource template to the board. You can run the display system tcam resource-template command to check the default system templates.

  4. Configure external TCAM resources used by services.

    • For ED, EF, and EG cards, run: external tcam { acl | u4router | u6router | m4router | m6router } upper-limit

      The upper limit of external TCAM resources used by services is configured.

      The external tcam command configures service entry specifications, while the display system tcam resource or display system tcam resource-template command displays storage unit specifications. For example, if the number of ACL entries configured using the external tcam command is 8192, the ACL specifications displayed in the display system tcam resource-template command output is 16384. The value 16384 indicates the total number of storage units, which equals the number of configured ACL entries (the value is 8192) multiplied by the number of storage units each ACL entry occupies (the value is 2).

    • For FG, and FG1 cards, run: external tcam { acl | arp | large-capacity | u4router | u6router } enable

      External TCAM resources used by services are configured.

    By default, external TCAM resources used by services are not configured in the external TCAM resource template.

    NOTE:

    Before running the external tcam arp enable command, you must run the external tcam u4router enable command.

  5. (Optional) Run external tcam urpf enable

    External TCAM resources are allocated to the URPF function.

    By default, no external TCAM resources are allocated to the URPF function.

    • For ED and EF cards:

      If URPF is enabled on an interface in a card, and the IPv4 unicast routing entry specifications are configured in the external TCAM resource template bound to the card using the external tcam u4router upper-limit command or IPv4 unicast routing entry specifications are allocated by default in the default external TCAM resource template bound to the card, the external tcam urpf enable command must also be configured in this template to allocate external TCAM resources to the URPF function. Otherwise, the URPF function becomes unavailable on this card. After the external tcam urpf enable command has been configured, the actual IPv4 unicast routing entry specification is half of the configured value.

    • For EG-E cards:

      If URPF is enabled on an interface in a card, and the IPv6 unicast routing entry specifications are configured in the external TCAM resource template bound to the card using the external tcam u6router upper-limit command or IPv6 unicast routing entry specifications are allocated by default in the default external TCAM resource template bound to the card, the external tcam urpf enable command must also be configured in this template to allocate external TCAM resources to the URPF function. Otherwise, the URPF function becomes unavailable on this card. After the external tcam urpf enable command has been configured, the actual IPv6 unicast routing entry specification is half of the configured value.

    • For FG and FG1 cards:

      If URPF is enabled on an interface in a card, and the external TCAM resources used by IPv4/IPv6 services are configured in the external TCAM resource template bound to the card using the external tcam { u4router | u6router } enable command or external TCAM resources used by IPv4/IPv6 services are configured by default in the default external TCAM resource template bound to the card, the external tcam urpf enable command must also be configured in this template to assign external TCAM resources to the URPF function. Otherwise, the URPF function does not take effect on this card. After the configuration is complete, the actual IPv4/IPv6 unicast routing entry specifications will reduce.

  6. Run quit

    Exit from the resource template view.

  7. Run system tcam template-name slot { slot-id | all }

    The external TCAM resource template is bound to the board.

    After the external TCAM resource template is bound to the card, you must restart the card to make the configuration take effect.

  8. Run commit

    The configuration is committed.

  9. Run quit

    Exit from the system view.

  10. Run reset slot slot-id

    The board is restarted to make the configured take effect.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100074722

Views: 18527

Downloads: 20

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next