Examples
This example shows how to configure hw-module profile itcam to-profile-se1 command:
Router# configure
Router(config)#hw-module profile itcam to-profile-se1 location 0/0/CPU0
Sun Mar 3 07:44:23.066 UTC
In order to activate this new internal tcam partition profile, you must manually reload the line card.
Router(config)#
This example verifies the modified scale in the L2, V4, and V6 tables for line cards on an interface, using the show prm server tcam summary all all detail all location
location command. Router# show prm server tcam summary all all detail np3 location 0/0/CPU0
Node: 0/0/CPU0:
----------------------------------------------------------------
TCAM summary for NP3:
TCAM Logical Table: TCAM_LT_L2 (1)
Partition ID: 0, valid entries: 2, free entries: 22
Partition ID: 1, valid entries: 0, free entries: 24
Partition ID: 2, valid entries: 0, free entries: 24
Partition ID: 3, valid entries: 0, free entries: 2012
Partition ID: 4, valid entries: 2, free entries: 2010
TCAM Logical Table: TCAM_LT_ODS2 (2), max entries: 15360, num free: 15237
Application ID: NP_APP_ID_IFIB (0).
VMR ID: 1, used entries: 45, allocated entries: 123
Total vmr_ids per app id: 1, Total used entries per app id: 45 Total allocated entries: 123
Application ID: NP_APP_ID_QOS (1)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_ACL (2)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_AFMON (3)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_LI (4)
VMR ID: 2, used entries: 0, allocated entries: 0
Total vmr_ids per app id: 1, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_PBR (5)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
TCAM Logical Table: TCAM_LT_ODS8 (3), max entries: 3328, num free: 3295
Application ID: NP_APP_ID_IFIB (0).
VMR ID: 1, used entries: 33, allocated entries: 33
Total vmr_ids per app id: 1, Total used entries per app id: 33 Total allocated entries: 33
Application ID: NP_APP_ID_QOS (1)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_ACL (2)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_PBR (5)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_EDPL (6)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
This example shows how to configure hw-module profile itcam to-profile-se2 command:
Router# configure
Router(config)#hw-module profile itcam to-profile-se2 location 0/0/CPU0
Sun Mar 3 07:44:23.066 UTC
In order to activate this new internal tcam partition profile, you must manually reload the line card.
Router(config)#
This example verifies the modified scale in partition 3 to 1.5K entries and in partition 4 to 2.5K entries in the L2 table
using the show prm server tcam summary all all detail np0 location 0/0/CPU0
Router# show prm server tcam summary all all detail np0 location 0/0/CPU0
Node: 0/0/CPU0:
----------------------------------------------------------------
TCAM summary for NP0:
TCAM Logical Table: TCAM_LT_L2 (1)
Partition ID: 0, valid entries: 2, free entries: 22
Partition ID: 1, valid entries: 0, free entries: 24
Partition ID: 2, valid entries: 0, free entries: 24
Partition ID: 3, valid entries: 0, free entries: 1512
Partition ID: 4, valid entries: 2, free entries: 2510
TCAM Logical Table: TCAM_LT_ODS2 (2), max entries: 15360, num free: 15237
Application ID: NP_APP_ID_IFIB (0)
VMR ID: 1, used entries: 35, allocated entries: 123
Total vmr_ids per app id: 1, Total used entries per app id: 35 Total allocated entries: 123
Application ID: NP_APP_ID_QOS (1)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_ACL (2)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_AFMON (3)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_LI (4)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
This example shows how to configure hw-module profile itcam to-profile-se3 command:
Router# configure
Router(config)#hw-module profile itcam to-profile-se3 location 0/0/CPU0
Sun Mar 3 07:44:23.066 UTC
In order to activate this new internal tcam partition profile, you must manually reload the line card.
Router(config)#
This example verifies the modified scale in partition 3 to 1K entries and in partition 4 to 3K entries in the L2 table using
the show prm server tcam summary all all detail np0 location 0/0/CPU0
command.
Router# show prm server tcam summary all all detail np0 location 0/0/CPU0
Node: 0/0/CPU0:
----------------------------------------------------------------
TCAM summary for NP0:
TCAM Logical Table: TCAM_LT_L2 (1)
Partition ID: 0, valid entries: 2, free entries: 22
Partition ID: 1, valid entries: 0, free entries: 24
Partition ID: 2, valid entries: 0, free entries: 24
Partition ID: 3, valid entries: 0, free entries: 1012
Partition ID: 4, valid entries: 2, free entries: 3010
TCAM Logical Table: TCAM_LT_ODS2 (2), max entries: 15360, num free: 15237
Application ID: NP_APP_ID_IFIB (0)
VMR ID: 1, used entries: 37, allocated entries: 123
Total vmr_ids per app id: 1, Total used entries per app id: 37 Total allocated entries: 123
Application ID: NP_APP_ID_QOS (1)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_ACL (2)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_AFMON (3)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_LI (4)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_PBR (5)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
TCAM Logical Table: TCAM_LT_ODS8 (3), max entries: 3328, num free: 3285
Application ID: NP_APP_ID_IFIB (0)
VMR ID: 1, used entries: 43, allocated entries: 43
Total vmr_ids per app id: 1, Total used entries per app id: 43 Total allocated entries: 43
Application ID: NP_APP_ID_QOS (1)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_ACL (2)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_LI (4)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_PBR (5)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
Application ID: NP_APP_ID_EDPL (6)
Total vmr_ids per app id: 0, Total used entries per app id: 0 Total allocated entries: 0
This example shows how to configure hw-module profile itcam to-default command:
Router# config
Router(config)#hw-module profile itcam to-default location 0/0/CPU0
Sun Mar 3 07:45:22.198 UTC
In order to activate this new internal tcam partition profile, you must manually reload the line card.
Router(config)#