show meter

show meter meter_name {ports [port_group | port_list]} {out-actions}

Description

Displays the configured meters.

Syntax Description

meter_name Specifies the meter name.
ports Ports to display.
port_group Port group name.
port_list Port list separated by a comma.
out-actions Out-of-profile actions.

Default

N/A.

Usage Guidelines

None.

Example

The following sample output displays meters on the switch:

#show meter

-------------------------------------------
Name   Committed Rate(Kbps) Peak Rate(Kbps)
-------------------------------------------
peggy               1000000--

The following example uses the port-group variable:

# show meter ports ingMeterGrpA 

Group: ingMeterGrpA
Ports: 1-3 
Name                  Committed Rate           Peak Rate  Burst Size (Kb)  
--------------------  ----------------- ----------------  ---------------
ingmeter2                   21000 Kbps        30000 Kbps                2
ingmeter3                   30000 Pps         40000 Pps                 5
ingmeter4                   21000 Kbps                --                2
ingmeter5                   30000 Pps                 --                5

The following example uses port_group out-actions:

# show meter ingmeter2 ports ingMeterGrpB out-actions 

Group: ingMeterGrpB
Ports: 4-5           
                                          
                                                Out-actions
                                                                Drop
Meter                           Log  Trap  Disable  Drop  Precedence 
Name                                       Port               (dscp)
-------------------------------- ---  ----  -------  ----  ----------
ingmeter2                         --   On    On      On            63

The following example uses port_list:

# show meter ports 1-4 

Name                     Committed Rate           Peak Rate Burst Size(Kb) Port
------------------- ------------------- ------------------- -------------- ----
ingmeter2                    21000 Kbps          30000 Kbps              2 1
ingmeter5                    30000 Kbps                  --              5 1
ingmeter2                    21000 Kbps                  --              2 2
ingmeter5                    30000 Kbps                  --              5 2
ingmeter2                    21000 Kbps                  --              2 3
ingmeter5                    30000 Kbps                  --              5 3
ingmeter5                     2000 Pps           10000 Pps               3 4
ingmeter7                    10000 Kbps                  --              5 4

The following example uses port_list out_actions:

# show meter “ingmeter2” ports 4-6 out-actions          
                                         
                                            Out-actions                                                   
                                                                  Drop
Meter                             Log  Trap  Disable  Drop  Precedence 
Name                                         Port               (dscp)  Port
--------------------------------  ---  ----  -------  ----  ----------  ----
ingmeter2                         On   On    On       --            63  4
ingmeter2                         On   On    On       --            63  5
ingmeter2                         On   On    On       On            --  6

History

This command was first available in ExtremeXOS 11.4.

The ports,port_group, port_list, and out-actions options were added in ExtremeXOS 16.1.

Platform Availability

This command is available on all Universal switches supported in this document.