show policy resource-profile

show policy resource-profile {[default | less-acl [more-ipv4 |more-ipv4-no-ipv6 | more-ipv4-no-l2 |more-ipv4-no-mac-no-ipv6 | more-ipv4-no-mac-no-ipv6-no-l2] |more-ipv4-no-ipv6 | more-ipv4-no-mac-no-ipv6 | more-mac-no-ipv6] {profile-modifier [ {no-mac} {no-ipv4} {no-ipv6} {no-l2}]}}

Description

Shows policy resource settings and usage for currently set profile, or optionally shows the potential resource setting for a specified, different profile.

Syntax Description

default Shows potential policy resource settings if configuring default profile.
less-acl Shows potential policy resource settings if configuring profile that removes some access list resources to be used for rules.
more-ipv4 Shows potential policy resource settings if configuring profile that adds IPv4 rules.
more-ipv4-no-ipv6 Shows potential policy resource settings if configuring profile that adds IPv4 rules and removes IPv6 rules.
more-ipv4-no-l2 Shows potential policy resource settings if configuring profile that adds IPv4 rules and removes L2 rules.
more-mac-no-ipv6 Shows potential policy resource settings if configuring profile that adds MAC rules and removes IPv6 rules.
more-ipv4-no-mac-no-ipv6-no-l2 Shows potential policy resource settings if configuring profile that adds IPv4 rules and removes MAC, IPv6, and L2 rules.
more-ipv4-no-mac-no-ipv6 Shows potential policy resource settings if configuring profile that adds IPv4 rules and removes MAC and IPv6 rules.
profile-modifier Shows potential policy resource settings if configuring a profile-modifier.
no-mac Shows potential policy resource settings if configuring a profile-modifier that removes all MAC rules.
no-ipv4 Shows potential policy resource settings if configuring a profile-modifier that removes all IPv4 rules.
no-ipv6 Shows potential policy resource settings if configuring a profile-modifier that removes all IPv6 rules.
no-l2 Shows potential policy resource settings if configuring a profile-modifier that removes all L2 rules.

Default

None.

Usage Guidelines

Pressing ENTER rather than selecting any options for the command shows the current resource profile settings.

Example

The following example shows the current resource profile settings:

# show policy resource-profile 

Current Configured Profile: default  
Current Profile Modifier  : no-l2    

        MAC  IPv6  IPv4    L2
      Rules Rules Rules Rules
      ----- ----- ----- -----
Max     512   512   440     0
Used      0     0     0     0

L2 ether rules are accounted for in the IPv4 group
The following example shows what resources would look like when using a different profile on a stack (with potentially different slot types):
show policy resource-profile more-mac-no-ipv6

       MAC  IPv6  IPv4    L2      
Slot Rules Rules Rules Rules Type                          
---- ----- ----- ----- ----- --------------------          
1      512     0   256   184 model name                 
2      512     0   256   184 model name               
3      512     0   256   184 model name 
4        0     0   256   184 model name                    
Max      0     0   256   184 (Stack)
Used     3     1     5     0 (Stack)

Max : This row shows the maximum resources available for the stack
      if the specified profile is chosen.
The following example shows what resources would look like when using a different profile on a single switch:
show policy resource-profile more-mac-no-ipv6

       MAC  IPv6  IPv4    L2      
Slot Rules Rules Rules Rules Type                          
---- ----- ----- ----- ----- --------------------          
1        0     0   256   184 model name                    
Max      0     0   256   184 (Switch)
Used     1     0     3     0 (Switch)

Max : This row shows the maximum resources available for the switch
      if the specified profile is chosen.

History

This command was first available in ExtremeXOS 22.1.

Profile modification information was added in ExtremeXOS 22.4.

Additional profiles (no-l2) and profile modifier were added in ExtremeXOS 30.2.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.