show hardware profile

Displays details of the active hardware profile, with options to filter by TCAM profile, counter profile, or LAG profile.

Syntax

show hardware profile
show hardware profile route profile-name
show hardware profile cam-share
show hardware profile counters { counter-profile-1 | counter-profile-2 | counter-profile-3 | counter-profile-4 | counter-profile-5default }
show hardware profile current [ usage ]
show hardware profile etcam { default | ipv4-v6-route | ipv6-route }
show hardware profile lag { default | lag-profile-1 }
show hardware profile tcam { app-telemetry | border-routing | default | layer2-ratelimit | multicast-profile | vxlan-visibility }

Parameters

route profile-name
Specifies route information for the specified profile.
cam-share
( SLX 9540 or SLX 9640) Specifies cam-share information.
counters
( SLX 9540 or SLX 9640) Specifies hardware resources for counter profiles.
counter-profile-1
Specifies resources optimized for Ingress ACL, OF, and Egress ACL, with forward and drop counting for Layer 4 ingress traffic.
counter-profile-2
Specifies resources optimized for OF, MPLS, VPLS, VLL, and MCT, with hit counting for Layer 4 ingress traffic.
counter-profile-3
Specifies resources optimized for MPLS, VPLS, VLL, MCT, with hit counting for Layer 4 ingress traffic.
counter-profile-4
Specifies resources optimized for Layer 4 traffic, with forward and drop counting for all Layer 4 ingress traffic.
counter-profile-5
Specifies resources optimized for egress rate limit, with support for counting up to 32,000 VOQs.
default
Specifies resources optimized for VLAN and BD local switching, and MCT, with hit counting for Layer 4 ingress and egress traffic.
current
Displays details of the current active hardware profile.
usage
Displays usage information for the current active profile.
etcam
( SLX 9640 only) Specifies hardware resources for external TCAM (ETCAM) profiles.
default
Displays the details of the default ETCAM.
ipv4-v6-route
Displays the details of the ETCAM ipv4-v6-route.
ipv6-route
Displays the details of the ETCAM ipv6-route.
lag
( SLX 9540 or SLX 9640) Specifies hardware resources for link aggregation (LAG) profiles.
default
Specifies the default profile.
lag-profile-1
Specifies a modified LAG profile.
tcam
( SLX 9540 or SLX 9640) Specifies hardware resources for TCAM profiles.
app-telemetry
Optimizes resources for application telemetry.
border-routing
Optimizes resources for BGP Flowspec, ACLs, and so forth.
default
Optimizes resources with basic support for all applications.
layer2-ratelimit
Optimizes resources for Layer 2 ACL egress rate-limiting and related applications.
multicast-profile
Optimizes resources for IPv6 multicast. Layer 2 is also supported.
vxlan-visibility
Optimizes resources for VXLAN transit and termination, and GRE tunnel.

Modes

Privileged EXEC mode

Usage Guidelines

If the profile counters are changed from default to counter-profile- and the statistics-based encapsulations are not available, then the LSPs that need statistics will not be brought up (either due to exhaustion or due to activating a counter profile that does not support statistics).

You can check whether the statistics-based encapsulations are needed by using the show run router mpls policy command to see if statistics are enabled in MPLS. LSPs that have auto-bandwidth configured and bridge-domains that have statistics configured also need statistics-based encapsulations.

If statistics are enabled, the LSPs and bridge-domains stay down. In the case of LSPs, the show mpls lsp {detail | extensive | name <lsp name>} command displays, "Statistics not available" in the down reason code.

Examples

The following example displays details of the current active hardware profile.

device# show hardware profile current
 switch type: 

                       current TCAM profile:    DEFAULT
                                     l2-acl:    2038
                                   l3v4-acl:    6134
                                   l3v6-acl:    6134
                             l3v4-acl-vxlan:    0
                                   l2l3v4Of:    0
                                  egrl2-acl:    2038
                                  egrl3-acl:    2038
                                    l3v6-of:    0
                                   Flex-acl:    0
                                App_tel_acl:    0
_________________________________________________________________

                  current SLX ROUTE profile:    ROUTE-DEFAULT
                                      hwopt:    Disabled
                                  v4FibComp:    Disabled
                                  v6FibComp:    Disabled
                                   multivrf:    Disabled
________________________________________________________________
                       current LAG  profile:    LAG-DEFAULT
                                    max-lag:    64
_________________________________________________________________

                   current COUNTERS profile:    COUNTERS-PROFILE-1
                           InLIF - HitCount:    32768
                             InL4 - FwdDrop:    8192
                          OutLIF - HitCount:    0
                            OutL4 - FwdDrop:    8192
_________________________________________________________________

                          current CAM Share:    
                                   l2In-acl:    no
                                 l3v4In-acl:    no
                                   l3v4-pbr:    no
                                 l3v6In-acl:    no
                                   l3v6-pbr:    no
                                       Ofv4:    no
                                     Ofl3v6:    no

The following example displays details of the default counters profile.

device# show hardware profile counters default
 switch type: SLX

                           COUNTERS profile:    COUNTERS-DEFAULT
                           InLIF - HitCount:    32768
                            InL4 - HitCount:    16384
				  InVE - HitCount:    12288
                          OutLIF - HitCount:    16384
                           OutL4 - HitCount:    16384
  			     OutVE - HitCount:    12288

The following example displays information about a specific LAG profile.

device# show hardware profile lag lag-profile-1

 switch type: SLX9540

                               LAG  profile:    LAG-PROFILE-1
                                    max-lag:    64

The following example displays information about a specific TCAM profile.

device# show hardware profile tcam layer2-optimised-1 

 switch type: SLX9540

                               TCAM profile:    LAYER2-OPT-1
                                     l2-acl:    6134
                                   l3v4-acl:    6134
                                   l3v6-acl:    2038
                             l3v4-acl-vxlan:    0
                                   l2l3v4Of:    0
                                  egrl2-acl:    1014
                                  egrl3-acl:    1014
                                    l3v6-of:    0
                                   Flex-acl:    0
                                App_tel_acl:    0

The following example displays information about profile etcam default, ipv4-v6-route, and ipv6 route.

device# show hardware profile etcam default
switch type: SLX9640

                              ETCAM profile:    DEFAULT
                                ipv4-routes:    4000000
                                ipv6-routes:    256000
_________________________________________________________________

device# show hardware profile etcam ipv4-v6-route
switch type: SLX9640

                              ETCAM profile:    IPV4-V6-ROUTE
                                ipv4-routes:    4000000
                                ipv6-routes:    700000
_________________________________________________________________

device# show hardware profile etcam ipv6-route

switch type: SLX9640

                              ETCAM profile:    IPV6-ROUTE
                                ipv4-routes:    1000000
                                ipv6-routes:    1000000
The following example shows the cam-sharing status.
device# show hardware profile cam-share
switch type: SLX9540
	CAM Share:
	      l2In-acl:    no
             l3v4In-acl:  no
             l3v4-pbr:    no
             l3v6In-acl:  no
             l3v6-pbr:    no
             Ofv4:        no
             Ofl3v6:      no