- Cheat sheet of debug commandsExamples
- show configure port summaryshow config port eth 4/2 statusshow config port eth 4/1 statisticsMeasuring the traffic rate passing the interfaceRun ping between 2 ETXesshow config system system-dateshow configure flows summary briefshow configure flows summary detailshow config reporting brief-alarm-log
Carrier Ethernet Devices by RAD (ETX-203AX, ETX-203AM, ETX-203AX-T, ETX-205A, ETX-220A) are quite popular with telco companies around the world for connecting end clients to the backbone at layer 2. And while reference documentation is available, I couldn’t find the debug/information commands digest on the Internet at all. This post, I hope, comes to fill the gap.
The commands below are meant to be run on the device CLI itself, not onprovisioning system of some kind (e.g RADvision). I show examples of using them below as well.
Cheat sheet of debug commands
Command | Description |
---|---|
show configure port summary | Show port summary: state (up/down), speed |
show config port name status | Show port status: administrative and operational states, speed/duplex,connector type, MAC address, and most important (for fiber) - RX/TX signal power(dBm) |
show config port name statistics | Statistics of the port: total bits/frames passed,maximum/minimum bits/secseen, and most interesting - CRC errors, error frames, oversize frames,discards. |
config port ethernet number clear-statistics | Clear all statistics/counters for this port. |
config flow flow flow-name show statistics running | Show detailed counters for the given flow, will include |
config port name rate-measure interval seconds show rate | Show port utilization in bits/sec in real-time |
Responder: config flow service-ping-response local-ip 13.13.13.2/30 next-hop 13.13.13.1 egress-portethernet 4/2 vlan 777 Ping sender: config flow service-ping local-ip 13.13.13.1/30 dst-ip 13.13.13.2 next-hop 13.13.13.2egress-port ethernet 4/1 vlan 777 number-of-packets 10 payload-size 1450 | Send ping over the client vlan (here 777) from ETX to ETX to measure latencyand packet loss. You configure one ETX as responder and another one as sender. |
show configure flows summary brief | List all flows configured on this ETX briefly |
show configure flows summary details | List all flows configured on this ETX with details |
config flow name mac-learning show mac-table no mac-learning | Enable MAC address learning inside a flow and show the MAC table. The flowshould be the one wherethose MAC addresses are supposed to be learned, and in the appropriatedirection. E.g. if the equipment of the end client is connected to ETX port |
show config system system-date | Show system time of the appliance, important for logs/alarms correlation. |
show config reporting brief-alarm-log | Show alarms log, their severity/state/last raised time |
exit all | Exit all sub-configuration modes to the top level. |
show file startup | Show startup configuration. |
save | Save the configuration. |
Examples
show configure port summary
Output:
Port Number Name Admin Oper Speed-----------------------------------------------------------------------------Ethernet 0/101 MNG-ETH Up Up 100000000Ethernet 1/1 ETH-1/1 Up Up 1000000000Ethernet 1/2 ETH-1/2 Up Down 1000000000Ethernet 1/3 ETH-1/3 Up Down 1000000000Ethernet 1/4 ETH-1/4 Up Down 1000000000Ethernet 1/5 ETH-1/5 Up Down 1000000000
show config port eth 4/2 status
Name ETH-4/2Administrative Status : UpOperational Status : UpConnector Type : XFP InAuto Negotiation : DisabledSpeed And Duplex : 10G FX Full DuplexMAC Address : 00-20-D2-AA-AA-AASFP-----------------------------------------------------------------------------Connector Type : LCManufacturer Name : MRVManufacturer Part Number : XFP-10GD-SXTypical Maximum Range (Meter): 82Wave Length (nm) : 850.00Fiber Type : MMRX Power (dBm) : -3.1 dBmTX Power (dBm) : -2.6 dBmLaser Bias (mA) : 2.0 mALaser Temperature (Celsius) : 39.0 CPower Supply (V) : 3.02 V
show config port eth 4/1 statistics
Rates Sampling Window-----------------------------------------------------------------------------Window Size [Min.] : 15Window Remain Time [Min.] : 9Running-----------------------------------------------------------------------------Counter Rx TxTotal Frames 2049273965 12684791780Total Octets 1035148165812 8985802047420Total Frames/Sec 226 927Total Bits/Sec 376416 7256088Minimum Bits/Sec 138984 5216176Maximum Bits/Sec 16865840 42490664Total Bits/Sec (L1) 412603 7404440Minimum Bits/Sec (L1) 167304 5355056Maximum Bits/Sec (L1) 16986640 42612264Total Bits/Sec (L2) 376416 7256088Minimum Bits/Sec (L2) 138984 5216176Maximum Bits/Sec (L2) 16865840 42490664Unicast Frames 1112614221 12425146359Multicast Frames 866141791 108411074Broadcast Frames 70518377 151236130CRC Errors 1Error Frames 0L2CP Discarded 0OAM Discarded 0Unknown Protocol Discarded 0CRC Errors/Sec 0Jabber Errors 0Oversize Frames 0 0Unmapped Cos Frames 0 --MTU Discarded -- 064 Octets 21190551 4243227265-127 Octets 1180598932 4979404426128-255 Octets 196747840 843109301256-511 Octets 58653981 985646955512-1023 Octets 34030086 6670589751024-1518 Octets 36603900 44711260301519-2047 Octets 521449100 6960161582048-Max Octets 0 0MTU Discarded Flow -- --
Measuring the traffic rate passing the interface
ETX220AA>config>port>eth(4/1)# rate-measure interval 10ETX220AA>config>port>eth(4/1)# show rateETX220AA>config>port>eth(4/1)# show rateName : ETH-4/1Status : In ProgressTime Left to Elapse (Sec) : 7ETX220AA>config>port>eth(4/1)#Name : ETH-4/1Status : PassedStart Time : 22-03-2020 13:11:30 UTC +03:00Duration (Sec) : 10 L1 L2Rx Rate (bps) : 186987.20 156491.20Tx Rate (bps) : 6879152.00 6729664.00
Run ping between 2 ETXes
ETX220AA>config>flows# service-ping local-ip 13.13.13.1/30 dst-ip 13.13.13.2 next-hop 13.13.13.2 egress-port ethernet 4/1 vlan 777 number-of-packets 10 payload-size 1450# Redundant next-hop for destination in local-ip subnetReply from 13.13.13.2: bytes = 1450, packet number = 0, time <= 6 msReply from 13.13.13.2: bytes = 1450, packet number = 1, time <= 2 msReply from 13.13.13.2: bytes = 1450, packet number = 2, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 3, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 4, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 5, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 6, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 7, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 8, time <= 3 msReply from 13.13.13.2: bytes = 1450, packet number = 9, time <= 3 ms10 packets transmitted. 10 packets received, 0% packet lossround-trip (ms) min/avg/max = 2/3/6
show config system system-date
22-03-2020 13:18:39 UTC +03:00
show configure flows summary brief
Name IngressAdmin | Oper | Classification EgressClient-A-flow-1 Ethernet 1Up | Up | Client-A-classifier-50M- Ethernet 3Client-A-flow-2 Ethernet 3Up | Up | Client-A-classifier2-50M Ethernet 1
show configure flows summary detail
Name : Client-A-flow-1Type :Admin Status : UpOperational Status : UpService Name : Client-A-Service-50M-ETHTest : OffClassifier : Client-A-classifier-50MIngress Port : Ethernet 1Egress Port : Ethernet 3Name : Client-A-flow-2Type :Admin Status : UpOperational Status : UpService Name : Client-A-Service-50M-ETHTest : OffClassifier : Client-A-classifier2-50MPolicer : S.50M_NEWIngress Port : Ethernet 3Egress Port : Ethernet 1
show config reporting brief-alarm-log
Last Acknowledge On : -- -- Critical Major MinorTotal : 0 22 0Since Ack : 0 22 0Source Name Last Raised Last Cleared Total Times Severity Since AckSystem pm_process_disabled 2020-02-10 -- 1 Major 11:15:00.07 -- 1Station Clock Port 1 los 2020-01-21 -- 1 Major 02:34:08.07 -- 1Domain 1 station_clock_unlock 2020-01-21 -- 1 Major 02:33:24.07 -- 1Ethernet 1/1 los 2020-01-21 2020-01-21 1 Major 02:34:09.07 02:34:09.09 1Ethernet 1/2 los 2020-01-21 -- 1 Major 02:34:07.07 -- 1
Resources
Follow me on https://www.linkedin.com/in/yurislobodyanyuk/ not to miss what I publish on Linkedin, Github, blog, and more.