show spx mecid

Displays IEEE 802.1BR Switch Port Extender (SPX) multicast E-channel identifier (E-CID) information.
Syntax
show spx mecid [ topology | all | decimal | dynamic | optimization | partition | reserved | summary ]
Parameters
topology
Displays 802.1BR multicast E-CID topology.
all
Displays all unreserved and dynamic multicast E-CIDs in use.
decimal
Specifies the multicast E-CID number.
dynamic
Displays all dynamically created multicast E-CIDs.
optimization
Displays multicast E-CIDs shared count (when a specific multicast E-CID is shared by multiple forwarding entries).
partition
Displays the multicast E-CIDs partitioned between Layer 2 multicast and Layer 3 multicast.
reserved
Displays all reserved multicast E-CIDs in use.
summary
Displays multicast E-CID software settings and memory usage information.
Modes

User EXEC mode

Privileged EXEC mode

The show spx mecid all command displays the following information:

Output Field Description
MECID The multicast E-CID number.
PEs The number of port extender units.
VPs The number of virtual ports.
AW The "ACK waiting counter" indicates the number of PE units from which the system is awaiting acknowledgment.
State The FSM state: created TX Pending, deleted TX Pending, deleted (acknowledgment waiting), or created (stable state).
Shr Whether the multicast E-CID is shared.
Elements The numbers of the elements.

The show spx mecid decimal command displays the following information:

Output Field Description
Multicast E-CID state The state of the multicast E-CID: created TX Pending, deleted TX Pending, deleted (acknowledgment waiting), or created (stable state).
VP state The state of the virtual port.
Multicast E-CID Displays details about the specified multicast E-CID.

The show spx mecid summary command displays the following information:

Output Field Description
alloc The number of nodes of data that are currently allocated in memory.
in-use The number of allocated nodes in use.
avail The number of allocated nodes not in use.
get-fail The number of allocation failures for this node.
limit The maximum number of nodes that can be allocated for a data structure. This may or may not be configurable, depending on the data structure.
get-mem The number of successful allocations for this node.
size The size of the node in bytes.
init The number of nodes that are allocated during the time of initialization.

The show spx mecid topology command displays the following information:

Output Field Description
Total Cascade Port (CP) Displays the details of the total number of cascade ports.
Examples

The following example displays information about all multicast E-CIDs.

device# show spx mecid all
FSM-State : CREATE_P - created TX Pending, DELETE_P - deleted TX Pending
            DELETE_AW - Ack Waiting, CREATED - Stable State
Total MECID Allocated 360
-----------------------------------------------------
SNo   MECID PEs VPs  AW  State      Shr   Elements
-----------------------------------------------------
1     4096  10  416  0   CREATED    0     {16/4/64 17/1/1 17/1/2 17/1/3 17/1/4 1
7/1/5 17/1/6 ...}
2     4097  0   0    0   CREATED    0     {}
3     4098  0   0    0   CREATED    0     {}
4     4099  0   0    0   CREATED    0     {}
5     4100  0   0    0   CREATED    0     {}
6     4101  0   0    0   CREATED    0     {}
7     4102  0   0    0   CREATED    0     {}
8     4103  0   0    0   CREATED    0     {}
9     4104  0   0    0   CREATED    0     {}
10    4105  0   0    0   CREATED    0     {}
11    4106  0   0    0   CREATED    0     {}
12    4107  0   0    0   CREATED    0     {}
13    4108  0   0    0   CREATED    0     {}
14    4109  0   0    0   CREATED    0     {}
15    4110  0   0    0   CREATED    0     {}
16    4111  0   0    0   CREATED    0     {}
17    4112  0   0    0   CREATED    0     {}

The following example displays information about multicast E-CID 4098.

device# show spx mecid 4098
 FSM-State: 
     CREATE  - created and wating for TX
     DELETE  - deleted and waiting for TX
     CREATED - Tx to PE completed
 VP - FSM-State: 
     ADD    - added and wating for Tx
     REMOVE - removed and waiting for Tx
     ADDED  - Tx completed 
Allocated 6, Free 12280, Max 12286
MECID: 4098 Total PEs: 1, Epoch: 0, FSM State: CREATED, SetId: 0x31EBA3C0
 PE: 17, Total VPs: 9
   (17/1/1 ADDED),(17/1/2 ADDED),(17/1/3 ADDED),(17/1/4 ADDED),(17/1/5 ADDED),
   (17/1/6 ADDED),(17/1/7 ADDED),(17/1/8 ADDED),(17/1/9 ADDED)

The following example displays information about dynamically created multicast E-CIDs.

device# show spx mecid dynamic
FSM-State:
     CREATE  - created and wating for TX
     DELETE  - deleted and waiting for TX
     CREATED - Tx to PE completed
 
Allocated 6, Free 12280, Max 12286
-----------------------------------------------------
SNo   MECID PEs   Epoch FSM-State  Elements
-----------------------------------------------------
1     4098  1     0     CREATED    { 17/1/1 17/1/2 17/1/3 17/1/4 17/1/5 17/1/6...(3 more)}
2     4099  1     0     CREATED    { 17/1/1 17/1/2 17/1/3 17/1/4 17/1/5}
3     4100  1     0     CREATED    { 17/1/1}
4     4101  1     0     CREATED    { 17/1/1 17/1/2}
5     4102  1     0     CREATED    { 17/1/1 17/1/2 17/1/3}
6     4103  1     0     CREATED    { 17/1/1 17/1/2 17/1/3 17/1/4}

The following example displays information about shared multicast E-CIDs.

device# show spx mecid optimization 
 
Cascade Port: Across Replication Group
-----------------------------------------------------
Set   ME-CID  Users   Elements
-----------------------------------------------------
1     4100    1       {17/1/1 }
2     4101    1       {17/1/2 17/1/1 }
3     4102    1       {17/1/3 17/1/2 17/1/1 }
4     4103    1       {17/1/4 17/1/3 17/1/2 17/1/1 }
5     4099    1       {17/1/5 17/1/4 17/1/3 17/1/2 17/1/1 }
6     4098    2       {17/1/10 17/1/9 17/1/8 17/1/7 17/1/6 17/1/5 17/1/4 ...... (3 more)}

The following example displays information about multicast E-CID partitions.

device# show spx mecid partition 

Displaying Multicast ECID Partition Info
----------------------------------------------------------------------------
ReplGrp    Type       In-use  Free    MinId   MaxId   Total   Policy     NextId
----------------------------------------------------------------------------
Global     SWITCHING  359     3737    4096    8191    4096    ACENDING   4455
           ROUTING    0       8192    8192    16383   8192    DECENDING  16383


The following example displays information about all reserved multicast E-CIDs in use.

device# show spx mecid reserved
FSM-State : CREATE_P - created TX Pending, DELETE_P - deleted TX Pending
            DELETE_AW - Ack Waiting, CREATED - Stable State
Total MECID Allocated 360
-----------------------------------------------------
SNo   MECID PEs VPs  AW  State      Shr   Elements
-----------------------------------------------------
1     4096  10  416  0   CREATED    0     {16/4/64 17/1/1 17/1/2 17/1/3 17/1/4 1
7/1/5 17/1/6 ...}
2     4097  0   0    0   CREATED    0     {}
3     4098  0   0    0   CREATED    0     {}
4     4099  0   0    0   CREATED    0     {}
!
!
19    4114  0   0    0   CREATED    0     {}

The following example displays the multicast E-CID summary.

device# show spx mecid summary
  Manager Init          : Yes        Replication Group Sharing : No
  Reconciliation Pass   : 0          Replication Id            : 0
  ECID Partition        : Enabled    Global Timer running      : No
  ECID sharing          : Yes
  -----------------------------------------------------------------------------
                      alloc in-use  avail get-fail    limit  get-mem  size init
  -----------------------------------------------------------------------------
  MECID info           1000    360    640        0   232000     1473    66 1000
  PE info               400     60    340        0    92800      414    52  400
  VP info             10000    570   9430        0  2320000     2564    25 1000
  TX Q                 1000      0   1000        0   232000     1621    12 1000
  PE Msg               1024      0   1024        0   237568     1367    56 1024

  Total memory in used: 406144 bytes

The following example displays the multicast E-CID topology.

device# show spx mecid topology
Total Cascade Port(CP): 3
   1. CP-TR(e2/3/5)   :-->[e56/3/1]PE_56

   2. CP-TR(e1/1/47)  :-->[TR(e17/2/1)]PE_17[TR(e17/1/21)]-->
                         [TR(e18/1/1)]PE_18[e18/1/2]-->[e19/1/22]PE_19[TR(e19/2/1)]-->[TR(e20/1/21)]PE_20

   3. CP-TR(e2/3/1)   :-->[TR(e21/3/1)]PE_21
History
Release version Command history
08.0.40 This command was introduced.
08.0.50 The outputs of the show spx mecid all and show spx mecid reserved commands were modified.