Skip to content

opx show global switch

Amy Buck edited this page Dec 20, 2018 · 21 revisions

NAME

opx-show-global-switch — Display configuration and switch status

SYNOPSIS

opx-show-global-switch [-h,--help]

DESCRIPTION

This command prints the current configuration and status of switch element.

OPTIONS

-h,--help

:   Print help text.

OUTPUT

ACL entry max priority

:   The maximum priority of an ACL table entry.

ACL entry min priority

:   The minimum priority of an ACL table entry.

ACL table max priority

:   The maximum priority of an ACL table.

ACL table min priority

:   The minimum priority of an ACL table.

Admin status

:    Admin status.

Bridge table size

:    Bridge table size.

BST enable

:    BST enable.

BST tracking mode

:    BST tracking mode.

Counter refresh interval

:    Counter refresh interval.

Current profile

:   The switch profile currently in use.

Deep buffer mode enable

:    Deep buffer mode enable.

Default MAC address

:    The switch default MAC address.

Default profile

:    The switch default profile.

Default VLAN id

:   The VLAN to which untagged incoming Ethernet frames are assigned.

Disable default VLAN

:    Disable default VLAN.

ECMP group size

:    ECMP group size.

ECMP hash algorithm

:    ECMP hash algorithm.

ECMP hash fields

:   The list of frame/packet fields which are

ECMP hash seed value

:    ECMP hash seed value.

ECN ECT threshold enable

:    ECN ECT threshold enable.

Egress buffer pool num

:    Egress buffer pool number.

Egress flow table size

:    Egress flow table size.

Ingress buffer pool num

:    Ingress buffer pool number.

Ingress flow table size

:    Ingress flow table size.

IPv4 host size

:    IPv4 host size.

IPv4 route table size

:    IPv4 route table size.

IPv6 extended prefix routes

:    IPv6 extended prefix routes.

IPv6 extended prefix routes LPM block size

:    IPv6 extended prefix routes LPM block size.

IPv6 host size

:    IPv6 host size.

IPv6 route table size

:    IPv6 route table size.

L3 nexthop table size

:    L3 next-hop table size.

LAG hash algorithm

:    LAG hash algorithm.

LAG hash fields

:    LAG hash fields.

LAG hash seed value

:    LAG has seed value.

MAC address aging timer

:    MAC address aging timer.

Max ECMP entry per group

:    Maximum ECMP entry per group.

Max IPv6 extended prefix routes

:    Maximum IPv6 extended prefix routes.

Max MTU

:    Maximum MTU.

Max supported lags

:    Maximum supported LAGs.

Max VXLAN overlay nexthops

:    Maximum VxLAN overlay next-hops.

Max VXLAN overlay RIFs

:    Maximum VxLAN overlay RIFs.

Next profile

:   The switch profile that will be used after the next boot.

NPU identifiers

:    Networking processing unit identifiers.

Number of multicast queues per port

:    Number of multicast queues per port.

Number of queues CPU port

:    Number of queues per CPU port.

Number of queues per port

:    Number of queues per port.

Number of unicast queues per port

:    Number of unicast queues per port.

Operational status

:    Operational status.

PFC dl cfg params

:    PFC DL configuration parameters.

PFC dld interval range max

:    PFC DLD interval range maximum.

PFC dld interval range min

:    PFC DLD interval range minimum.

PFC dlr action

:    PFC DLR action.

PFC dlr interval range max

:    PFC DLR interval range maximum.

PFC dlr interval range min

:    PFC DLR interval range minimum.

QoS rate adjust

:    Quality of service rate adjustment.

RIF table size

:    RIF table size.

Supported profiles

:   A list of profiles currently supported.

Switch mode

:    Switch mode.

Temperature

:   Temperature reading, in degrees Celsius, of the NPU junction sensor.

Total buffer size

:    Total buffer size.

UFT mode

:   The current UFT (unified forwarding table) mode.

UFT host table size

:    UFT host table size.

UFT L2 mac table size

:    UFT L2 MAC table size.

UFT L3 route table size

:    UFT L3 route table size.

VXLAN riot enable

:    VxLAN riot enable.

Note that not all fields are shown on all platforms.

EXIT STATUS

If there is a syntax error in the given arguments, the exit status shall be 2.
Otherwise, the exit status is 0.

EXAMPLE

$ opx-show-global-switch
Switch id 0
        ACL entry max priority:                     2147483647
        ACL entry min priority:                     0
        ACL table max priority:                     11
        ACL table min priority:                     0
        Bridge table size:                          139264
        Counter refresh interval:                   5 s
        Current profile:                            profile-1
        Default MAC address:                        50:9a:4c:d5:ac:f0
        Default profile:                            profile-1
        ECMP hash algorithm:                        crc
        ECMP hash seed value:                       0
        Egress buffer pool num:                     4
        Ingress buffer pool num:                    4
        IPv6 extended prefix routes:                0
        IPv6 extended prefix routes LPM block size: 1024
        LAG hash algorithm:                         crc
        LAG hash seed value:                        0
        MAC address aging timer:                    1800 s
        Max ECMP entry per group:                   0
        Max IPv6 extended prefix routes:            3072
        Max MTU:                                    9216
        Next profile:                               profile-1
        Number of multicast queues per port:        10
        Number of queues CPU port:                  48
        Number of queues per port:                  20
        Number of unicast queues per port:          10
        Supported profiles:                         profile-1 profile-2
        Switch mode:                                store and forward
        Temperature:                                37 deg. C
        Total buffer size:                          43008
        UFT mode:                                   default
        UFT host table size:                        139264
        UFT L2 mac table size:                      139264
        UFT L3 route table size:                    32768

REPORTING BUGS

To report any OPX software bugs, see [Report bugs](https://github.com/open-switch/opx-docs/wiki/Report-bugs(.

SEE ALSO

opx-config-global-switch

Clone this wiki locally