show policy resource-profile

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

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-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 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.

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  

        MAC  IPv6  IPv4    L2
      Rules Rules Rules Rules
      ----- ----- ----- -----
Max     256   256   256   184
Used      1     0     5    34  
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 X450G2-24t-G4                 
2      512     0   256   184 X450G2-48t-10G4               
3      512     0   256   184 X450G2-48t-G4 
4        0     0   256   184 X620-10x                    
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 X620-10x                    
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.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.