2.13. STM Commands

2.13.1. stm prefer

Command Purpose

Use the stm prefer Global Config command to configure the profile used in Switch Table Management (STM) resource allocation. You can use profile to allocate system memory to best support the features being used in your application. Use profile to approximate the maximum number of unicast MAC addresses, quality of service (QoS) access control entries (ACEs) and unicast routes. Use the no form of this command to return to the default profile.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

Not supported

Look for comments AQ-N6000

Command Syntax

stm prefer (default|layer3|ipv6|mpls|extended-buffer)

no stm prefer

Parameter

Parameter Description

Parameter Value

default

Provide balance to all features

layer3

Provide maximum Host Route/Indirect Route entries. You would typically use this profile for a router or aggregator in the middle of a network

ipv6

Unicast bias, supporting more IPv6 Ucast Routes. This profile is only existed when IPv6 feature is supported.

mpls

The MPLS template supports the maximum number of MPLS/MAC entries.

extended-buffer

Extended-buffer bias, with more packet buffer.

This is not supported on AQ-N6000

Command Mode

Global Config

Default

System use the default profile when first boot up, this profile balance all the features.

Usage

Users must reload the switch for the configuration to take effect.

Examples

This example shows how to configure the ipv4 profile on the switch. You can verify your settings by entering the show stm prefer in privileged EXEC mode:

Switch# configure terminal
Switch(config)# stm prefer layer3
Switch(config)# exit
Switch# reload

2.13.2. show stm prefer

Command Purpose

Use the show STM prefer privileged EXEC command to display information about the profiles that can be used to maximize system resources for a particular feature, or use the command without a keyword to display the profile in use.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

AQ-N5000

7.0

Base

AQ-N6000

7.0

Base

Command Syntax

show stm prefer (default|layer3|ipv6|mpls|extended-buffer| )

Parameter

Parameter Description

Parameter Value

default

Provide balance to all features

layer3

Provide maximum Host Route/Indirect Route entries. You would typically use this profile for a router or aggregator in the middle of a network

ipv6

Unicast bias, supporting more IPv6 Ucast Routes. This profile is only existed when IPv6 feature is supported.

mpls

The MPLS template supports the maximum number of MPLS/MAC entries.

extended-buffer

Extended-buffer bias, with more packet buffer.

Command Mode

Privileged EXEC

Default

None

Usage

If you did not reload the switch after entering the STM prefer Global Config command, the show STM prefer privileged EXEC command displays the profile currently in use and not the newly configured profile.

The numbers displayed for each profile represent an approximate maximum number for each feature resource.

Examples

This is an example of output from the show STM prefer command, displaying the profile currently in use:

Switch# show stm prefer
Current profile is :default
number of vlan instance : 1/4094
number of vlan stats : 0/128
number of unicast mac address : 0/32768
number of multicast mac address : 0/2048
number of blackhole mac address : 0/128
number of max applied vlan mapping : 0/1024
number of bfd sessions : 0/128
number of CFM loacl&remote MEPs : 0/1024
number of CFM lm : 0/256
number of CFM lck : 0/24
number of G8031 groups : 0/256
number of G8032 rings : 0/256
number of G8032 member ports : 0/256
number of mac based vlan class : 0/512
number of ipv4 based vlan class : 0/512
number of ipv6 based vlan class : 0/0
number of dot1x mac based : 0/256
number of unicast ipv4 host routes : 0/3072
number of unicast ipv4 indirect routes : 0/6144
number of unicast ipv4 policy based routes : 0/128
number of unicast ipv6 host routes : 0/0
number of unicast ipv6 indirect routes : 0/0
number of unicast ecmp groups : 0/240
number of unicast ip tunnel peers : 0/8
number of multicast ipv4 routes : 0/1023
number of mvr entries : 0/511
number of mvr6 entries : 0/0
number of multicast ipv6 routes : 0/0
number of ipv4 source guard entries : 0/1024
number of ingress security acl flow entries : 0/2464
number of ingress security acl flow stats : 0/1022
number of ingress qos flow entries : 0/1280
number of ingress qos flow stats : 0/511
number of ingress telnet flow entries : 0/64
number of ingress ssh flow entries : 0/64
number of ingress worm anti-attack flow entries : 0/32
number of ingress ipfix flow entries : 0/256
number of ingress udf acl flow entries : 0/64
number of ingress udf acl flow stats : 0/64
number of ingress copp flow entries : 0/251
number of ingress copp flow stats : 0/251
number of egress security acl flow entries : 0/928
number of egress security acl flow stats : 0/511
number of egress ipfix flow entries : 0/512
number of link aggregation (static & lacp) : 0/64
number of ipfix cache : 0/4096
number of mka policy : 1/64

Related Commands

stm prefer