MRV Communications (acquired in 2017 by ADVA Optical Networking) is an Israeli company known for their optical network equipment, most notably their Optiswitch Carrier Ethernet Switch series. The switches (OS904, OS906G, OS912) are not available for purchase from them anymore, but if you work for a telco company, you surely still have these boxes around doing their work.
Unfortunately, with the merger and the end of sale, all the documentation disappeared as well. To help you a bit I bring below some debug and diagnostic commands to be run on the CLI. You can still find the datasheet here www.cornet-solutions.co.jp/pdf/mrv_os_900_sdb_a4_hi.pdf
Command | Description |
---|---|
no cli-paging/cli-paging | Enable/disable paging the output. |
show <smth> | <include/begin/end/exclude> <search term> | Pipe output of some |
show run | Show the running configuration |
show port | Show port summary: state (on/off), speed, media (copper/sfp), duplex state |
show interface | List of logical/vlan interfaces, MAC addresses, IP address (if any) |
show port detail n | Show details of the port number n: media type, speed/duplex configured and actual, state, shaping applied. |
show port statistics n | Show real-time statistics: packets/bytes received/sent, CRC and other error count |
show l2cntrl-protocol-counters | Show counters of received/transmitted Layer 2 control protocols - LACP, MSTP, RSTP, OAM. |
show run ports | Show running configuration for all ports |
show port tag | Show tagging/vlans configured on each port |
show port sfp-diag n | Show real-time diagnostic data for the interface: TX/RX power in dBm, voltage, temperature |
show port sfp-params | Physical parameters of the SFP interface |
show port rate portnumber time seconds | Show the rate of the traffic passing the interface real-time |
monitor port statistics portnumber | Show the same data as |
(config)# port state disable/enable portnumber | Disable/enable MRV port number |
(config)# port media-select <sfp/sfp100/copper/auto/sgmii> | Set manually type of physical interface installed in MRV. |
(config)# port speed <10/100/1000/auto> <portnumber/all> | Force specific speed settting for a port. |
show lt [port <portnumber> tag all] | Show MAC address table - static and learned dynamic. Output also gives timestamp when MAC address displayed was last changed. Optionally, specify port to show only MACs on this port. |
(config)# clear lt | Delete all learned MAC addresses from Learning Table. |
show syslog <all/debug/info/warning/error/fatal> [start-date] [end-date] | Show logs per their severity. Optional start/end dates are in format |
clear syslog | Delete all local log entries. |
show ver | Show the device model, hardware, fan status, OS installed, MAC address, serial number and uptime. |
show time | Show system time. Important for checking alarms and logs |
show cpu | CPU properties |
Examples
show syslog info
Feb 16 14:04:20 sw-1 sport_srv[667]: INFO, port_tbl.c(681), - Port 3:TO_CLIENT_LAN: link changed UP->DOWNFeb 16 14:06:13 sw-1 sport_srv[667]: INFO, port_tbl.c(681), - Port 3:TO_CLIENT_LAN: link changed DOWN->UP
show interface
INTERFACES TABLE ================ Name M Device IP State MAC Tag Ports ------------------------------------------------------------------------------- vif327 * vif327 172.35.101.118/25 UP 3C:A7:2B:11:22:33 327 6 vif777 vif777 - UP 3C:A7:2B:11:22:33 777 3,5 vif277 vif277 - UP 3C:A7:2B:11:22:33 277 2,6 vif555 vif555 - UP 3C:A7:2B:11:22:33 555 4,6 agFPGA vif333 - UP 3C:A7:2B:11:22:33 333 vif0 vif0 - UP 3C:A7:2B:11:22:33 0001 1
show port tag
Value of ethertype 1 is 0x8100 (default value)Value of ethertype 2 is 0x8100 (default value)PORT TAG CONFIGURATION======================port OUTBOUND-TAGGED DEF/EFF-TAG NUM-TAGS ETHERTYPE TAGS-LIST------------------------------------------------------------------------------1 q-in-q 777 0 CORE1:0x81002 q-in-q 1151 1 CORE1:0x8100 17353 untagged 778 1 CORE1:0x8100 7784 q-in-q 3069 1 CORE1:0x8100 30695 tagged 0 1 CORE1:0x8100 7786 tagged 0 3 CORE1:0x8100 301,1735,3069
show run ports
port media-select sfp 5-6port media-select copper 1-4port description 1 TO_CLIENT_LANport description 2 TO_CLIENT_LAN6port description 3 TO_CLIENT_15LANport speed 1000 3-4,6port duplex full 3-4,6port l2protocol-tunnel cdp 1,4-5port l2protocol-tunnel dtp 1,4-5port l2protocol-tunnel pagp 1,4-5port l2protocol-tunnel udld 1,4-5port l2protocol-tunnel lamp 1,4-5port l2protocol-tunnel efm 1,4-5port l2protocol-tunnel dot1x 1,4-5port l2protocol-tunnel elmi 1,4-5port l2protocol-tunnel lldp 1,4-5port l2protocol-tunnel garp 1,4-5port l2protocol-tunnel stp 1,4-5port l2protocol-tunnel vtp 1,4-5port l2protocol-tunnel lacp 1,4-5! Flood limiting configurationport flood-limiting rate 16m 1-2,4,6port flood-limiting multicast 1-2,4,6port flood-limiting broadcast 1-2,4,6port flood-limiting tcp-syn 1-2,4,6!! Port shaping configurationport ingress-shaping rate 200m burst-size 500K 1port ingress-shaping rate 500m burst-size 500K 2port ingress-shaping rate 200m burst-size 500K 4port mtu-size 1 9000port mtu-size 2 9000port mtu-size 3 9000port mtu-size 4 9000port mtu-size 5 9000port mtu-size 6 9000!! Port tag configurationport tag-outbound-mode q-in-q 1 777port tag-outbound-mode q-in-q 2 1151port tag-outbound-mode q-in-q 4 3069port tag-outbound-mode tagged 5-6!! Port access-group configurationport acl-binding-mode by-port 1-2,4port access-group extra MARK-GOLD 1-2
show port detail 1
Port 1 details:-------------------Description : TO_CLIENT_LANType : ETH10/100/1000Media-select mode : COPPERLink : ON Copper (22w5d23h7m54s)Duplex state : FULLPHY : COMBO+100FXSpeed selected : AUTOActual speed : 1 GbpsAuto-Neg Advertise : DefaultSelected cross mode : AUTOActual cross mode : MDI-XBypass mode : ENABLEState : ENABLEPriority : 1Ingress-shaping : rate 200m, burst-size 500KFlow control mode : offEthertype : CORE1:0x8100OutBound Tagged : q-in-qDEI Remarking : UnsupportedUDLD Protocol : -Flood limiting : rate 16mFlood limiting : multicastFlood limiting : broadcastFlood limiting : tcp-syn
show port statistics 1
PORTS STATISTICS================Port 1 Ethernet counters---------------------------Good bytes received : 21109023744Good packets received : 229858629Good unicast packets received : 44563Good broadcast packets received : 189225588Good multicast packets received : 40588478Bytes transmitted : 24736Packets transmitted : 184Unicast packets transmitted : 0Broadcast packets transmitted : 22Multicast packets transmitted : 162CRC or Alignment error received : 0Undersize received : 0Oversize received : 0Fragments received : 0Jabber received : 0Collisions received and transmitted : 0Incoming packets discarded : 0Port 1 RMON Packet Size Distribution Counters------------------------------------------------ - 64 Octets : 7651257 65- 127 Octets : 219471486128- 255 Octets : 1965361256- 511 Octets : 762381512-1023 Octets : 8321024- Octets : 7496
monitor port statistics 6
================PORTS STATISTICSPort 6 Ethernet counters---------------------------Good bytes received : 40184915539765Good packets received : 38232352643Good unicast packets received : 38183697762 72Good broadcast packets received : 7212122 037Good multicast packets received : 41442759 26Bytes transmitted : 26733233507233Packets transmitted : 32870177824Unicast packets transmitted : 32764627741 95Broadcast packets transmitted : 80848488 19087Multicast packets transmitted : 24701595 91071CRC or Alignment error received : 0 232343275 13Undersize received : 0 183688400 61Oversize received : 0 12122 825Fragments received : 0 442753 59 38Jabber received : 0 733232292897Collisions received and transmitted : 0 870173381Incoming packets discarded : 0 764623299 87Broadcast packets transmitted : 80848488 95Multicast packets transmitted : 24701594 14CRC or Alignment error received : 0 848488 85197Undersize received : 0 701593 01Oversize received : 0 764602923Fragments received : 0 848488Jabber received : 0 701590Collisions received and transmitted : 0Incoming packets discarded : 0Collisions received and transmitted : 0Incoming packets discarded : 0Jabber received : 0Collisions received and transmitted : 0Incoming packets discarded : 0
show port rate 6 time 10
The answer will be ready in 10 secondsResults for port 6:Tx: 4779 Kbps, 1805 pps, rate 5.068 MbpsRx: 26639 Kbps, 3439 pps, rate 27.189 Mbps
show port sfp-params
SFP ports internal EEPROM data================================Port 1: Failed to get EEPROM Data, SFP is not insertedPort 5: SFP EEPROM Parameters************************************************************************** Identifier is SFP Connector code is LC Transceiver subcode is Base-BX10 Serial encoding mechanism is 8B10B The nominal bit rate is 1300 Megabits/sec. Link length using single mode (9 micron) is greater than 20000 m. Link length using 50 micron multi-mode fiber is not supported. Link length using 62.5 micron multi-mode fiber is not supported. Vendor name is OEM Vendor PN is SFP-BD-BX43-M Vendor revision is 1.0 Vendor SN is GS1601156303 Nominal transmitter output wavelength at room temperature is 1490.00 nm.
show port sfp-diag 5
SFP ports internal EEPROM data================================ Port 5: SFP Digital Diagnostics**************************************************** Description Real-Time Value -------------------- --------------- Temperature (C)/(F): 33/91 Voltage (V): 3.3292 TX Bias (mA): 17.658 Tx Power (dBm)/(mW): -6.0/0.252 Rx Power (dBm)/(mW): -8.2/0.151****************************************************
show lt port 5 interface all
INDEX MAC ADDRESS VID PORT MODE LAST CHANGE-------------------------------------------------------------------1 84:78:AC:11:22:33 901 5 DYNAMIC 03/12/2020 10:55:00
show time
Sun Apr 5 12:35:58 ISR 2020
show ver
MRV OptiSwitch 912C=========================Hardware--------Board serial number: 1212121212Unit serial number : 12312312318CPU: FERO5181, 400Mhz with 64MB flash and 256MB Dram memoryCPU Hardware: id 1, version 1Device Hardware version: 1Device temperature: 33C / 91F (normal)FPGA HW type: 2FPGA version: 0x2EPower Supplies:unit 1 AC: INSTALLED & ACTIVE (hw-type 1)unit 2 AC: INSTALLED & ACTIVE (hw-type 1)Fans:Fan 1: ACTIVEValid ports: 1-12 (extra features: 1-10)Valid e-ports: NoneSoftware--------MasterOS version: 2_1_7BBuild time: Wed Jun 15 15:23:42 IDT 2011Based on:Linux CUST-8348-OS912AC2-1 2.6.22.7 #734 Tue Jan 4 10:08:14 IST 2011 armv5tejlZebOS 5.2 (arm-none-linux-gnueabi).Driver v1.9.3.2, cpssDxCh v3.2.p2_ReleaseBase MAC address: 3C:A7:2B:11:22:33Supported features:-------------------MSTP - YesG.8032 - YesROUTING - YesRIP - YesOSPF - YesISIS - YesBGP - YesMPLS - NoLDP - NoRSVP - NoWEB - NoIPv6 - NoNextragen SIP test agent - Yesup 1173 days 4:51users: remote - 1, console is closed
show ver | inc up
up 1173 days 4:51
show cpu
Processor : ARM926EJ-S rev 0 (v5l)BogoMIPS : 266.24Features : swp half thumb fastmult edspCPU implementer : 0x41CPU architecture: 5TEJCPU variant : 0x0CPU part : 0x926CPU revision : 0Cache type : write-backCache clean : cp15 c7 opsCache lockdown : format CCache format : HarvardI size : 32768I assoc : 1I line length : 32I sets : 1024D size : 32768D assoc : 1D line length : 32D sets : 1024Hardware : FeroceonRevision : 0000Serial : 0000000000000000vendor : Marvell FEROCEONmachine : MRV SBC
Resources
Follow me on https://www.linkedin.com/in/yurislobodyanyuk/ not to miss what I publish on Linkedin, Github, blog, and more.