0% found this document useful (0 votes)
282 views2 pages

Commands Used in Smartfabric Os10 - Cli Basics - Troubleshooting Course

This document provides examples of commands used in the SmartFabric OS10 CLI for gathering technical support information, mapping network topology, working with system logs and OS10 images, troubleshooting switch hardware and interfaces, VLAN configurations, and spanning tree issues. The commands are organized by task and include the command syntax as well as examples of how each command would be entered in the CLI.

Uploaded by

sAuD huSSain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
282 views2 pages

Commands Used in Smartfabric Os10 - Cli Basics - Troubleshooting Course

This document provides examples of commands used in the SmartFabric OS10 CLI for gathering technical support information, mapping network topology, working with system logs and OS10 images, troubleshooting switch hardware and interfaces, VLAN configurations, and spanning tree issues. The commands are organized by task and include the command syntax as well as examples of how each command would be entered in the CLI.

Uploaded by

sAuD huSSain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SmartFabric OS10 CLI Commands

Commands used in SmartFabric OS10 - CLI Basics - Troubleshooting course:

Command Syntax Command Example


Gather Tech Support Information
show tech-support | save [filename] OS10# show tech-support | save tech_support.log
dir home OS10# dir home
copy [path[filename]] [SCP|FTP ...] OS10# copy home://tech_support.log
[user|password|host] [path|filename] scp://user:[email protected]:/home/user/tech_support.log

Mapping Network Topology


show lldp neighbors OS10# show lldp neighbors
show lldp neighbors detail OS10# show lldp neighbors detail
show interface status OS10# show interface status

Working with System Logs


show logging log-file OS10# show logging-logfile
show logging log-file | grep [pattern] OS10# show logging-logfile | grep reboot
show logging log-file [number of messages] OS10# show logging-logfile 10

Working with OS10 Image Issues


show version OS10# show version
show boot OS10# show boot
boot system [active|standby] OS10# boot system standby
copy run start OS10# copy running-configuration startup-configuration
reload OS10# reload

Troubleshooting Switch Hardware


show environment OS10# show environment
show inventory OS10# show inventory
show system OS10# show system

Troubleshooting Switch Interfaces


show interface status OS10# show interface status
show interface [specific interface] OS10# show interface ethernet 1/1/5
interface [ethernet|mgmt|port-channel
OS10(config)# interface ethernet 1/1/5
|vlan|…]
shutdown [no shutdown] OS10(conf-if-eth1/1/5)# no shutdown
show configuration OS10(conf-if-eth1/1/5)# show configuration
interface breakout OS10(config)# interface breakout 1/1/14 map 10g-4x
show system node-id OS10# show system node-id 1 fanout-configured

pg. 1
Command Syntax Command Example
Troubleshooting Switch Interfaces (continued)
feature auto-breakout OS10(config)# feature auto-breakout
interface ethernet [breakout OS10(config)# interface ethernet 1/1/13:1
interface] OS10(conf-if-eth1/1/13:1)#
show ip interface brief OS10# show ip interface brief
show inventory media OS10# show inventory media
allow unsupported-transceiver OS10(config)# allow unsupported-transceiver
show interface mgmt 1/1/1 OS10# show interface mgmt 1/1/1
interface mgmt 1/1/1 OS10(config)# interface mgmt 1/1/1
ip address dhcp [no ip address dhcp] OS10(conf-if-ma-1/1/1)# no ip address dhcp
ip address A.B.C.D/mask OS10(conf-if-ma-1/1/1)# ip address 192.168.1.1/24
management route A.B.C.D/Mask [next
OS10(config)# management route 0.0.0.0/0 192.168.1.254
hop router IP address]
show ip management-route OS10# show ip management-route

Troubleshooting VLAN Configurations


show vlan OS10# show vlan
show interface status OS10# show interface status
switchport access vlan [ID] OS10(conf-if-eth1/1/3)# switchport access vlan 10
no switchport access vlan OS10(conf-if-eth1/1/3)# no switchport access vlan
switchport mode trunk OS10(conf-if-eth1/1/3)# switchport mode trunk
switchport trunk allowed vlan [IDs] OS10(conf-if-eth1/1/3)# switchport trunk allowed vlan 10,20

Troubleshooting Spanning Tree Issues


show spanning-tree OS10# show spanning-tree
show spanning-tree active OS10# show spanning-tree active
spanning-tree mode rapid-pvst force-
OS10(config)# spanning-tree mode rapid-pvst force-version
version
no spanning-tree disable OS10(config)# no spanning-tree disable

End of command list

pg. 2

You might also like