Professional Documents
Culture Documents
ArubaOS-CX Troubleshooting
ArubaOS-CX Troubleshooting
ArubaOS-CX
Troubleshooting
Steve Elbaz– Aruba Engineer Resolution Team
#ArubaAirheads
Agenda
#ArubaAirheads 4
ArubaOS
Extensive Troubleshooting tools
• Debug – configure debug logging for each protocol
Examples:
5400R
− debug ip packet
3810M
− debug security radius-server
• Logging 2930M
• Core-dump
• Mirriorig
2930F
2540
2530
#ArubaAirheads 6
ArubaOS-CX Troubleshooting tools
• Debug
Example:
- debug mstp packet
- debug bgp all
• Logging
• Core-dump
• Mirroring
#ArubaAirheads 7
ArubaOS-CX Troubleshooting tools improvements
ArubaOS-CX 10.1
• Repeat command
• Pipe (|) Support
• Show History
Note: Even though these CLI commands were not available in version 10.0 in CLI, ERT
had alternatives in start-shell.
ArubaOS-CX 10.2
• ERSPAN – tunneling the mirror traffic to a remote switch.
#ArubaAirheads 8
ArubaOS-CX Troubleshooting tools
Support files
Copy support files command could be used to copy all relevant information while debugging an issue.
We support the following types of copy support-files:
Type Purpose
copy support-files Copy generic system related information
copy support-files all Copy all the support files related information
copy support-files feature Copy feature specific information
copy support-files standby Copy standby module specific information
copy support-files module Copy Line module specific information
copy support-files previous-boot Copy information available about previous boot
diag ovsdb-dump Display or Copy OVSDB Tables/Columns
#ArubaAirheads 9
ArubaOS-CX Troubleshooting tools
#ArubaAirheads 10
ArubaOS-CX Troubleshooting tools
#ArubaAirheads 11
ArubaOS-CX Troubleshooting tools
#ArubaAirheads 12
ArubaOS-CX Troubleshooting tools
#ArubaAirheads 13
ArubaOS-CX Troubleshooting tools
Syntax
8400X# copy support-files
REMOTE_URL URL of syntax {tftp://|sftp://USER@}{IP|HOST}[:PORT][;blocksize=VAL]/FILE
STORAGE_URL URL of syntax {usb|flash}:/FILE
feature Capture feature specific information
module Module slot number
previous-boot Capture previous-boot information
all Copy all support files information
standby Copy standby module support files information
8400X# diag ovsdb-dump
REMOTE_URL URL of syntax {tftp://|sftp://USER@}{IP|HOST}[:PORT][;blocksize=VAL]/FILE
STORAGE_URL URL of syntax {usb|flash}:/FILE
columns Specify OVSDB Table columns to be captured (Default:all columns)
format Specify OVSDB data format (Default: table for display, html for copy)
table Specify OVSDB table to be captured (Default:all tables)
<cr>
#ArubaAirheads 14
ArubaOS-CX Troubleshooting tools
Example
copy support-files all sftp://steve@10.10.114.253//csf_20181114.tar.gz vrf mgmt.
#ArubaAirheads 15
ArubaOS-CX Troubleshooting tools
Core dump
#ArubaAirheads 16
ArubaOS-CX Troubleshooting tools
Troubleshooting Tools
• 8320# diagnostics <- Enable diag CLI command options
• 8320# diag
• diag Diagnostic commands
• diag-dump Display diagnostic dump
• diagnostics Change diagnostic commands availability
• 8320# diag
• crash-notification Configure crash console log • show Show running system information
• fan Show system fan status • utilities Linux tool utilities
• interface Interface information
• ledtest Diagnostic level of LED testing
• ospf OSPF information
• ospfv3 OSPF for IPv6
#ArubaAirheads 17
ArubaOS-CX Troubleshooting tools
Example
8320# diagnostic
8320# diag ovsdb-dump table Subsystem columns "name alias state"
Subsystem table
alias name state
----- ----- -----
"LC1" "1/1" ready
"MM1" "1/1" ready
base base ready
#ArubaAirheads 18
ArubaOS-CX Troubleshooting tools
Troubleshooting Tools
• 8320-3# diag-dump
• aaa Authentication Authorization& Accounting • mstp Multiple Spanning Tree Protocol
• acl Access control list • mvrp Multiple VLAN Registration Protocol
• arp ARP Manager Daemon • ntp Network Time Protocol
• bfd Bidirectional Fordwarding Detection • pim Protocol-Independent Multicast
• dhcp-relay Dynamic Host Configuration Relay • policy Classifier policy
• igmp Internet Group Management Protocol • qos Quality of Service
• interface Physical interfaces • rpvst Per VLAN Spanning Tree Protocol
• ipsec IP Security • sflow Sampled Flow Protocol
• l2mac Layer2 MAC • sys System Daemon and Mgmt Info
• l3 L3 Managers information • udld Unidirectional Link Detection Protocol
• l3port Layer 3 Port • vrrp Virtual Router Redundancy Protocol
• lag Link Aggregation Protocol • vsx Multi-Chassis Link Aggregation Group
• lldp Link Layer Discovery Protocol
• loop-protect L2 Loop protect
#ArubaAirheads 19
ArubaOS-CX Troubleshooting tools
Ecample
8320-3-P# diag-dump vsx basic
=========================================================================
[Start] Feature vsx Time : Tue Oct 30 01:26:29 2018
=========================================================================
-------------------------------------------------------------------------
[Start] Daemon hpe-vsxd
-------------------------------------------------------------------------
ISL statistics
===========================================
VSX protocol state :IN_SYNC
Lower edge of sender's window :8212
Upper edge of sender's window :8212
Maximum window size :250……
…
#ArubaAirheads 20
ArubaOS-CX Troubleshooting tools
Troubleshooting Tools
• 8320-3# debug
• acl Enable ACL debug logs • lag Enable LAG operations debug logs
• all Enable all debug modules • lldp Enable LLDP debug logs
• arp Enable ARP debug logs • loopprotect Enable Loop Protect debug logs
• bfd Enable BFD operations debug logs • mstp Enable MSTP debug logs
• bgp Enable BGP debug logs • mvrp Enable MVRP debug logs
• classifier Enable Classifier operations debug logs • ospfv2 Enable ospfv2 debug logs
• counters Enable Counters operations debug logs • ospfv3 Enable ospfv3 debug logs
• destination Configure the debug destination • pim Enable PIM debug logs
• dhcprelay Enable DHCP Relay debug logs • vlan Enable VLAN debug logs
• ipsec Enable IPsec debug log • vrf Enable VRF debug logs
• l2mac Enable L2 MAC feature debug logs • vrrp Enable VRRP debug logs
• l3 Enable L3 debug logs • vsx Enable VSX debug logs
• #ArubaAirheads 21
ArubaOS-CX Troubleshooting tools
Troubleshooting Tools
8320-3# debug lldp all
8320-3-P# show debug
-----------------------------------------------------------------------------------------------------------------------------------------------
module sub_module severity vlan port ip mac
instance vrf
-----------------------------------------------------------------------------------------------------------------------------------------------
lldp all debug ----- ----- ----- ----- -----
8320-3-P#
2018-10-30T01:38:23.063+00:00 lldpd[1275]: debug|LOG_DEBUG|AMM|-|LLDP|LLDP_CONFIG|No Port cfg changes
2018-10-30T01:38:23.063+00:00 lldpd[1275]: debug|LOG_DEBUG|AMM|-|LLDP|LLDP_EVENT|lldpd_stats_run entered at
time 6985888
2018-10-30T01:38:23.064+00:00 lldpd[1275]: debug|LOG_DEBUG|AMM|-|LLDP|LLDP_STATE|lldpd_ovsdb_nbrs_run
timestamps: cur=5bd7b60f last_update=5bd7b5f9 port_ttl=120 (sec)
#ArubaAirheads 22
VSX Troubleshooting Demonstration
3810-2
VLAN20:
20.10.1.3/24
1 TRK1 2
VLAN20:
20.10.1.1/24 VLAN20:
Active gateway: 20.10.1.254 LAG 2 20.10.1.2/24
Active gateway: 20.10.1.254
Keepalive
1/1/4 1/1/6 1/1/6 1/1/4
1 TRK1 2
1/1/1 1/1/2 1/1/1 1/1/2
IXIA 1/3/3 1/3/4 IXIA 1/3/1 1/3/2
3810-1 VLAN10:
10.10.1.4/24
#ArubaAirheads 23
VSX Troubleshooting Demonstration
ISL out-of-sync
–You can check isl status by executing the command show BSX status
– Check software version same on both the VSX switches
– Check platform name is same on both the VSX switches
– Check the link status of ISL link
– Check hello packet statistics to confirm packets are sent and received.
– Check vlan membership of ISL port by command show vsx config-consistency
#ArubaAirheads 24
VSX Troubleshooting Demonstration
8320-3-P# show vsx status
VSX Operational State
---------------------
ISL channel : In-Sync
ISL mgmt channel : operational
Config Sync Status : configuration_sync_missing_reference
NAE : peer_reachable
HTTPS Server : peer_reachable
#ArubaAirheads 25
VSX Troubleshooting Demonstration
8320-3-P# show vsx brief
ISL State : In-Sync
Keepalive State : Keepalive-Established
Device Role : primary
Number of Multi-chassis LAG interfaces : 2
#ArubaAirheads 26
VSX Troubleshooting Demonstration
8320-3-P# show running-config vsx-sync peer-diff
--- /tmp/running-config-vsx.5b20 2018-10-30 02:26:37.006262566 +0000
+++ /tmp/peer-running-config-vsx.5b20 2018-10-30 02:26:37.001262566 +0000
@@ -5,15 +5,14 @@
interface lag 1 multi-chassis
vsx-sync vlans
no shutdown
- description 8320-P_1/1/3____3800-1_1/1 VLAN10 LAG1
no routing
vlan trunk native 1
- vlan trunk allowed 10
+ vlan trunk allowed all
lacp mode active
+ lacp rate fast
interface lag 2 multi-chassis
vsx-sync vlans
no shutdown
- description 8320-P_1/1/4____3800-2_1/1 VLAN20 LAG2
no routing
vlan trunk native 1
vlan trunk allowed 20
#ArubaAirheads 27
VSX Troubleshooting Demonstration
8320-3-P# show vsx config-consistency
Configurations Local Peer
------------------------------------------------------------------------------------------
software version TL.10.01.0040 TL.10.01.0040
ISL hello interval 1 1
ISL dead interval 20 20
ISL hold interval 0 0
Keepalive hello interval 1 1
Keepalive dead interval 3 3
Keepalive UDP port 7678 7678
#ArubaAirheads 28
VSX Troubleshooting Demonstration
8320-3-P# show vsx config-consistency
Configurations Local Peer
------------------------------------------------------------------------------------------
software version TL.10.01.0040 TL.10.01.0040
ISL hello interval 1 1
ISL dead interval 20 20
ISL hold interval 0 0
Keepalive hello interval 1 1
Keepalive dead interval 3 3
Keepalive UDP port 7678 7678
#ArubaAirheads 29
VSX Troubleshooting Demonstration
8320-S# show vsx status
VSX Operational State
---------------------
ISL channel : In-Sync
ISL mgmt channel : operational
Config Sync Status : in-sync
NAE : peer_reachable
HTTPS Server : peer_reachable
#ArubaAirheads 30
Thank You