# Platform

# URL

frinx-openconfig-platform:components

# OPENCONFIG YANG

YANG models

{
    "components": {
        "component": [
            {
                "name": "<component_key>",
                "state": {
                    "name": "<component_name>",
                    "id": "<component_id>",
                    "description": "<component_description>",
                    "version": "<version_id>",
                    "software-version": "<software_version>",
                    "frinx-cisco-platform-extension:sn": "<component_sn>",
                    "frinx-cisco-platform-extension:pid": "<component_pid>",
                    "frinx-cisco-platform-extension:vid": "<component_vid>",
                    "frinx-ciena-platform-extension:power-sn": "<power_sn>",
                    "frinx-ciena-platform-extension:power-part-number": "<power_pn>",
                    "frinx-ciena-platform-extension:power-revision": "<power_rev>",
                    "frinx-ciena-platform-extension:vendor-pid-part-number": "<vendor_name>",
                    "frinx-ciena-platfrom-extension:vendor-sn": "<port_vendor_sn>",
                    "frinx-ciena-platform-extension:vendor-port-number": "<port_vendor_pn>",
                    "frinx-ciena-platform-extension:vendor-revision": "<port_vendor_rev>",
                    "frinx-ciena-platform-extension:platform-description": "<platform_description>",
                    "frinx-ciena-platform-extension:platform-name": "<platform_name>",
                    "frinx-ciena-platform-extension:device-sn": "<device_sn>",
                    "frinx-ciena-platform-extension:software-running-package": "<running_package>",
                    "frinx-ciena-platform-extension:device-param-version": "<param_version>",
                    "frinx-ciena-platform-extension:ethernet-base-address": "<eth_base_address>",
                    "frinx-ciena-platform-extension:ethernet-address-block-size": "<eth_addr_block_size>",
                    "frinx-ciena-platform-extension:module-sn": "<module_sn>",
                    "frinx-ciena-platform-extension:model-part-number": "<model_pn>",
                    "frinx-ciena-platform-extension:model-revision": "<model_rev>",
                    "frinx-ciena-platform-extension:product-id": "<product_id>",
                    "frinx-ciena-platform-extension:manufactured-date": "<manufactured_date>",
                    "frinx-ciena-platform-extension:clei-code": "<clei_code>",
                    "frinx-ciena-platform-extension:bar-code": "<bar_code>",
                    "frinx-ciena-platform-extension:backplane-assy-sn": "<backplane_assy_sn>",
                    "frinx-ciena-platform-extension:backplane-assy-pn": "<backplane_assy_pn>",
                    "frinx-ciena-platform-extension:backplane-assy-rev": "<backplane_assy_rev>",
                    "frinx-ciena-platform-extension:backplane-sn": "<backplane_sn>",
                    "frinx-ciena-platform-extension:backplane-pn": "<backplane_pn>",
                    "frinx-ciena-platform-extension:backplane-rev": "<backplane_rev>",
                    "frinx-ciena-platform-extension:software-compatibility": "<software_compatibility>",
                    "frinx-ciena-platform-extension:functional-test-count": "<functional_test_count>",
                    "frinx-ciena-platform-extension:board-sn": "<board_sn>",
                    "frinx-ciena-platform-extension:board-pn": "<board_pn>",
                    "frinx-ciena-platform-extension:board-rev": "<board_rev>",
                    "frinx-ciena-platform-extension:fault-card": "<fault_card>",
                    "frinx-ciena-platform-extension:main-board": {
                        "module-sn": "<main_module_sn>",
                        "model-part-number": "<main_model_pn>",
                        "model-revision": "<main_model_rev>",
                        "board-sn": "<main_board_sn>",
                        "board-pn": "<main_board_pn>",
                        "board-rev": "<main_board_rev>",
                        "manufactured-date": "<main_manufactured_date>"
                    },
                    "frinx-ciena-platform-extension:cpu-board": {
                        "ethernet-base-address": "<cpu_eth_base_addr>",
                        "ethernet-address-block-size": "<cpu_eth_addr_block>",
                        "module-sn": "<cpu_module_sn>",
                        "model-part-number": "<cpu_model_pn>",
                        "model-revision": "<cpu_model_rev>",
                        "product-id": "<cpu_product_id>",
                        "manufactured-date": "<cpu_maunfactured_date>",
                        "clei-code": "<cpu_clei_code>",
                        "bar-code": "<cpu_bar_code>",
                        "board-sn": "<cpu_board_sn>",
                        "board-pn": "<cpu_board_pn>",
                        "board-rev": "<cpu_board_rev>",
                        "software-compatibility": "<cpu_soft_comp>",
                        "functional-test-count": "<cpu_func_test_cnt>",
                        "fault-card": "<cpu_fault_card>"
                    }
                },
                "config": {
                    "name": "<component_key>"
                }
            }
        ]
    }
}

# OS Configuration Commands

# Cisco IOS Classic

# CLI


IOS#show inventory
NAME: "<component_name>", DESCR: "<component_description>"
PID: <component_pid>  , VID: <component_vid>  , SN: <component_sn>

IOS#show version
Cisco IOS Software, ME340x Software (ME340x-METROIPACCESSK9-M), Version <version_id>, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2016 by Cisco Systems, Inc.
Compiled Thu 21-Apr-16 01:18 by prod_rel_team

# Unit

Link to github : ios-unit

# Cisco IOS XE 15, 16, 17

# CLI


XE3#show inventory
NAME: "<component_name>", DESCR: "<component_description>"
PID: <component_pid>  , VID: <component_vid>  , SN: <component_sn>

XE3#show version
Cisco IOS XE Software, Version <version_id>
Cisco IOS Software [Gibraltar], ASR920 Software (PPC_LINUX_IOSD-UNIVERSALK9_NPE-M), Version <software_version>, RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2020 by Cisco Systems, Inc.
Compiled Thu 09-Jul-20 17:13 by mcpre

# Unit

Link to github : ios-xe-unit

# Ciena SAOS 6

# CLI

Ciena_saos6> chassis show power
+------------- POWER SUPPLY STATUS ----------------------+
| Module           | Part Number  | Type       | State   |
+------------------+--------------+------------+---------+
| <component_name> | <power_pn>   | AC         | Online  |
+------------------+--------------+------------+---------+


+---------------- POWER SUPPLY PSA -----------------+
| Parameter                 | Value                 |
+---------------------------+-----------------------+
| Part Number               | <power_pn>            |
| Serial Number             | <power_sn>            |
| Revision                  | <power_rev>           |
| CLEI Code                 |                       |
| Manufactured Date         |                       |
| Input                     |                       |
| Input Voltage             |                       |
| Output Voltage            |                       |
| Manufacturing Location    |                       |
| Checksum                  |                       |
+---------------------------+-----------------------+

Ciena_saos6> port xcvr show
+-------------------+-----+-----+---------Transceiver-Status------------+-----+----------------+----+
|                   |Admin| Oper|                                       |Ciena|Ether Medium &  |Diag|
|Port               |State|State|      Vendor Name & Part Number        | Rev |Connector Type  |Data|
+-------------------+-----+-----+---------------------------------------+-----+----------------+----+
|<component_name>   |Ena  |UCTF |<vendor_name>                          |     |1000BASE-LX/LC  |Yes |
+-------------------+-----+-----+---------------------------------------+-----+----------------+----+

ciena_saos6> port xcvr show port <component_name> vendor
+-------------------------- XCVR VENDOR DATA - Port <component_name> ---------------+
| Parameter                | Value              | Decoded String Equivalent         |
+--------------------------+--------------------+-----------------------------------+
| Identifier               |                    |                                   |
| Ext. Identifier          |                    |                                   |
| Connector                |                    |                                   |
+--------------------------+--------------------+-----------------------------------+
| Transceiver Codes        |                    |                                   |
|  - 10 GbE Compliance     |                    |                                   |
|  - SONET Compliance      |                    |                                   |
|  - Ethernet Compliance   |                    |                                   |
|  - Link Length           |                    |                                   |
|  - Transmitter Technology|                    |                                   |
|  - Transmission Media    |                    |                                   |
|  - Channel speed         |                    |                                   |
+--------------------------+--------------------+-----------------------------------+
| Encoding                 |                    |                                   |
| BR, Nominal              |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| Length(9um fiber) 1km    |                    |                                   |
| Length(9um fiber) 100m   |                    |                                   |
| Length(50um) 10m         |                    |                                   |
| Length(62.5um) 10m       |                    |                                   |
| Length(copper) 1m        |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| Vendor Name              | CISCO-OEM          |                                   |
| Vendor OUI               | 0x009065           |                                   |
| Vendor PN                | <port_vendor_pn>   |                                   |
| Vendor Revision          | <port_vendor_rev>  |                                   |
| Vendor Serial Number     | <port_vendor_sn>   |                                   |
| Vendor CLEI Code         |                    |                                   |
| Ciena PN                 |                    |                                   |
| Ciena Revision           |                    |                                   |
| Wavelength               |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| Options                  |                    |                                   |
|  - Tunable               |                    |                                   |
|  - RATE_SELECT           |                    |                                   |
|  - TX_DISABLE            |                    |                                   |
|  - TX_FAULT              |                    |                                   |
|  - Loss of Signal Invert |                    |                                   |
|  - Loss of Signal        |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| BR, max                  |                    |                                   |
| BR, min                  |                    |                                   |
| Date (mm/dd/yy)          |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| Diag Monitor Type        |                    |                                   |
|  - Legacy diagnostics    |                    |                                   |
|  - Diagnostics monitoring|                    |                                   |
|  - Internally calibrated |                    |                                   |
|  - Externally calibrated |                    |                                   |
|  - Rx power measurement  |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| Enhanced Options         |                    |                                   |
|  - Alarm/Warning Flags   |                    |                                   |
|  - Soft TX_DISABLE       |                    |                                   |
|  - Soft TX_FAULT         |                    |                                   |
|  - Soft RX_LOS           |                    |                                   |
|  - Soft RATE_SELECT      |                    |                                   |
|--------------------------+--------------------+-----------------------------------|
| SFF-8472 Compliance      |                    |                                   |
+--------------------------+--------------------+-----------------------------------+

Ciena_saos6> chassis show device-id
+---------------- CHASSIS DEVICE ID ----------------+
| Parameter                 |                       |
+---------------------------+-----------------------+
| Device Type               |                       |
| Part Number/Revision      |                       |
| Serial Number             | <device_sn>           |
| Manufactured Date         |                       |
| CLEI Code                 |                       |
| Location of Manufacture   |                       |
| Chassis MAC Address       |                       |
| Param Version             | <param_version>       |
+---------------------------+-----------------------+

Ciena_saos6> software show
+------------------------------------------------------------------------------+
| Installed Package   :                                                        |
| Running Package     : <running_package>                                      |
| Application Build   :                                                        |
| Package Build Info  :                                                        |
| Running Kernel      :                                                        |
| Running MIB Version :                                                        |
| Release Status      : GA                                                     |
+------------------------------------------------------------------------------+
| Running bank        : A                                                      |
| Bank package version:                                                        |
| Bootloader version  :                                                        |
| Bootloader status   : valid                                                  |
| Bank status         : valid                                                  |
| Standby bank        : B                                                      |
| Bank package version:                                                        |
| Bootloader version  :                                                        |
| Bootloader status   : valid                                                  |
| Bank status         : valid                                                  |
+------------------------------------------------------------------------------+
| Last command file:                                                           |
| Last configuration file:                                                     |
+------------------------------------------------------------------------------+

Ciena_saos6> chassis show capabilities
+----------------------------------- PLATFORM CAPABILITIES --------------------------+
| Parameter                        | Value                                           |
+----------------------------------+-------------------------------------------------+
| Capabilities Class               |                                                 |
| Platform Type                    |                                                 |
| Platform Name                    | <platform_name>                                 |
| Platform Description             | <platform_description>                          |
| No. Slots                        |                                                 |
| Primary Ctrl Blade               |                                                 |
| No. Fan Trays                    |                                                 |
| No. Fans Per Tray                |                                                 |
| Fixed DC Power                   |                                                 |
| Redundant Power                  |                                                 |
| Max Physical Ports               |                                                 |
| Max LAG Ports                    |                                                 |
| Max Ports Per LAG                |                                                 |
| Max IP Interfaces                |                                                 |
| Max VLANs                        |                                                 |
| VLAN Translation                 |                                                 |
| Max VLAN Cross Connections       |                                                 |
| Global Inner TPID Configuration  |                                                 |
| Max IGMP Snoop Service Instances |                                                 |
| Max Mcast Groups                 |                                                 |
| Max Mcast Source Addrs           |                                                 |
| Max Mcast Source Addrs Per Grp   |                                                 |
| Max Mcast Logical Interfaces     |                                                 |
| Max Mcast Member Interfaces      |                                                 |
| Max MSTIs                        |                                                 |
| Max RSTP Domains                 |                                                 |
| Max PM Instances                 |                                                 |
| Max PM Bins (Class 0)            |                                                 |
| Max PM Bins (Class 1)            |                                                 |
| Max PM Interval Profiles         |                                                 |
| Protocol Filters                 |                                                 |
| Max MPLS Ingress Tunnels         |                                                 |
| Max MPLS Egress Tunnels          |                                                 |
| Max MPLS Transit Tunnels         |                                                 |
| Max MPLS VCs                     |                                                 |
| Max MPLS L2VPNs                  |                                                 |
| Max MPLS VSs                     |                                                 |
|   Max MPLS VPWS VSs              |                                                 |
|   Max MPLS VPLS VSs              |                                                 |
| Max Ethernet VCs                 |                                                 |
| Max Default VSs                  |                                                 |
| Max VSs                          |                                                 |
| Max VS Subs                      |                                                 |
| VS Subs Statistics Collection    |                                                 |
| Max VS Subs with Stats           |                                                 |
| Max L2-CFT Profiles              |                                                 |
| Max Tagged PVST L2PT Instances   |                                                 |
| VC Transforms                    |                                                 |
|   Max VC L2 Transforms           |                                                 |
|   Max VCs with L2 Transform      |                                                 |
| Egress Bandwidth Shaping         |                                                 |
| Multi Subs Per Port              |                                                 |
| Max Redundancy Groups            |                                                 |
| Max Links per Redundancy Group   |                                                 |
| VPLS FPGA Support                |                                                 |
| PBT FPGA Support                 |                                                 |
| L2 MAC Table Expansion           |                                                 |
| Max DYNA-SA Entries              |                                                 |
| Max FSMT Entries                 |                                                 |
| Max SRVC-LVL Entries             |                                                 |
| Max L2-SAC Entries               |                                                 |
| Max SMT Entries                  |                                                 |
| Max EPR Snids                    |                                                 |
| Ring Protection                  |                                                 |
| Max Logical Rings                |                                                 |
| Max Virtual Rings                |                                                 |
| Network Sync                     |                                                 |
| BITS Timing                      |                                                 |
| GPS Timing                       |                                                 |
| PTP Timing                       |                                                 |
| Dying Gasp                       |                                                 |
| Benchmark                        |                                                 |
| Max Benchmark Bandwidth (Mbps)   |                                                 |
| Benchmark Reflector              |                                                 |
| Benchmark Generator              |                                                 |
| Max Benchmark Entities           |                                                 |
| Max Benchmark Concurrent Tests   |                                                 |
| Max Benchmark Test Inst Config   |                                                 |
| Max Benchmark Test Inst Enabled  |                                                 |
| Max Benchmark Profiles Config    |                                                 |
| Max Benchmark BW Profiles Config |                                                 |
| Max Benchmark KPI Profiles Config|                                                 |
| Max Benchmark EMIX Sequences     |                                                 |
| Max Benchmark Unique Active CVIDs|                                                 |
| Max ACL Profile Definitions      |                                                 |
| Max ACL Rule Definitions         |                                                 |
| Max DHCP Relay Agents            |                                                 |
| Auxiliary Ping                   |                                                 |
| MPLS VPLS IRB                    |                                                 |
|   Max VPLS IRB Ports             |                                                 |
| Global RCOS->FCOS Maps           |                                                 |
| L2-Only RCOS->FCOS Maps          |                                                 |
| MEF Envelope Ingress Metering    |                                                 |
| IP ECMP                          |                                                 |
|   Max IP ECMP Groups             |                                                 |
| Linear APS                       |                                                 |
|   Max Linear APS Groups          |                                                 |
| Max IP-ACL Rule Definitions      |                                                 |
+----------------------------------+-------------------------------------------------+
# Unit

Link to github : saos6-unit

# Ciena SAOS 8

# CLI


SAOS8> chassis device-id show
+---------------- CHASSIS DEVICE ID ------------------+
| Parameter                 |                         |
+---------------------------+-------------------------+
| Ethernet Base Address     | <eth_base_address>      |
| Eth Address Block Size    | <eth_address_block_size>|
| Module Serial Number      | <module_sn>             |
| Model Part Number         | <model_pn>              |
| Model Revision            | <model_rev>             |
| Product ID                | <product_id>            |
| Manufactured Date         | <manufactured_date>     |
| CLEI Code                 | <clei_code>             |
| Bar Code                  | <bar_code>              |
| Backplane Assy Serial Num | <backplane_assy_sn>     |
| Backplane Assy Part Number| <backplane_assy_pn>     |
| Backplane Assy Revision   | <backplane_assy_rev>    |
| Backplane Serial Number   | <backplane_sn>          |
| Backplane Part Number     | <backplane_pn>          |
| Backplane Revision        | <backplane_rev>         |
| Software Compatibility    | <software_compatibility>|
| Functional Test Count     | <functional_test_count> |
+---------------------------+-------------------------+

+---------- MODULE DEVICE ID SLOT LM1      --------------+
| Parameter                 | Value                      |
+---------------------------+----------------------------+
| CPU Board                 |                            |
|  Ethernet Base Address    | <cpu_eth_base_addr>        |
|  Eth Address Block Size   | <cpu_eth_addr_block>       |
|  Module Serial Number     | <cpu_module_sn>            |
|  Model Part Number        | <cpu_model_pn>             |
|  Model Revision           | <cpu_cpu_model_rev>        |
|  Product ID               | <cpu_product_id>           |
|  Manufactured Date        | <cpu_cpu_manufactured_date>|
|  CLEI Code                | <cpu_clei_code>            |
|  Bar Code                 | <cpu_bar_code>             |
|  Board Serial Number      | <cpu_board_sn>             |
|  Board Part Number        | <cpu_board_pn>             |
|  Board Revision           | <cpu_board_rev>            |
|  Software Compatibility   | <cpu_soft_comp>            |
|  Functional Test Count    | <cpu_func_test_cnt>        |
|  Fault Card               | <cpu_fault_card>           |
+---------------------------+----------------------------+
| Main Board                |                            |
|  Module Serial Number     | <main_module_sn>           |
|  Model Part Number        | <main_model_pn>            |
|  Model Revision           | <main_model_rev>           |
|  Manufactured Date        | <main_manufactured_date>   |
|  Board Serial Number      | <main_board_sn>            |
|  Board Part Number        | <main_board_pn>            |
|  Board Revision           | <main_board_rev>           |
+---------------------------+----------------------------+

+--------- MODULE DEVICE ID SLOT <component_name> ----+
| Parameter                 | Value                   |
+---------------------------+-------------------------+
| Ethernet Base Address     | <eth_base_address>      |
| Eth Address Block Size    | <eth_address_block_size>|
| Module Serial Number      | <module_sn>             |
| Model Part Number         | <model_pn>              |
| Model Revision            | <model_rev>             |
| Product ID                | <product_id>            |
| Manufactured Date         | <manufactured_date>     |
| CLEI Code                 | <clei_code>             |
| Bar Code                  | <bar_code>              |
| Board Serial Number       | <board_sn>              |
| Board Part Number         | <board_pn>              |
| Board Revision            | <board_rev>             |
| Software Compatibility    | <software_compatibility>|
| Functional Test Count     | <functional_test_count> |
| Fault Card                | <fault_card>            |
+---------------------------+-------------------------+

+--------------- DEVICE ID SLOT <component_name> -----+
| Parameter                 |                         |
+---------------------------+-------------------------+
| Module Serial Number      | <module_sn>             |
| Model Part Number         | <model_pn>              |
| Model Revision            | <model_rev>             |
| Product ID                | <product_id>            |
| Manufactured Date         | <manufactured_date>     |
| CLEI Code                 | <clei_code>             |
| Bar Code                  | <bar_code>              |
| Board Serial Number       | <board_sn>              |
| Board Part Number         | <board_pn>              |
| Board Revision            | <board_rev>             |
| Software Compatibility    | <software_compatibility>|
| Functional Test Count     | <functional_test_count> |
+---------------------------+-------------------------+

+----------------- <component_name> DEVICE ID --------+
| Parameter                 | Value                   |
+---------------------------+-------------------------+
| Module Serial Number      | <module_sn>             |
| Model Part Number         | <model_pn>              |
| Model Revision            | <model_rev>             |
| Product ID                | <product_id>            |
| Manufactured Date         | <manufactured_date>     |
| CLEI Code                 | <clei_code>             |
| Bar Code                  | <bar_code>              |
| Board Serial Number       | <board_sn>              |
| Board Part Number         | <board_pn>              |
| Board Revision            | <board_rev>             |
| Software Compatibility    | <software_compatibility>|
| Functional Test Count     | <functional_test_count> |
+---------------------------+-------------------------+

# Unit

Link to github : saos8-unit