HP Mellanox SX1018 Mellanox MLNX-OS®Command Reference Guide for SX101
HP Mellanox SX1018 Manual
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
HP Mellanox SX1018 manual content summary:
- HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 1
Mellanox MLNX-OS® Command Reference Guide for SX1018HP Ethernet Managed Blade Switch Rev 1.6.9 Software Version 3.3.4100 www.mellanox.com Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 2
Rev 1.6.9 2 Mellanox Technologies Document Number: 3454 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 3
Table of Contents Rev 1.6.9 Table of Contents 3 Document Revision History 12 About this Manual 13 Chapter 1 Chapter 2 Using the Command Line Interface 18 1.1 CLI Modes 18 1.2 Syntax (ARP & NDP 54 ip arp 54 ip arp timeout 55 Mellanox Technologies 3 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 4
91 show files stats 92 show files system 93 show files tcpdump 94 2.5.2 Configuration File 95 configuration audit 95 configuration copy 96 configuration delete 97 Mellanox Technologies 4 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 5
attempts lockout 141 aaa authentication attempts class-override 144 aaa authentication attempts reset 145 clear aaa authentication attempts 146 aaa authorization 147 show aaa 149 Mellanox Technologies 5 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 6
enable 194 ssh server host-key 195 ssh server listen 197 ssh server min-version 198 ssh server ports 199 ssh server x11-forwarding 200 Mellanox Technologies 6 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 7
241 execute 242 fail-continue 243 name 244 schedule type 245 schedule - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 8
inventory 289 show module 290 show memory 291 show asic-version 292 show power 293 show power consumers 294 show temperature 295 show voltage 296 Mellanox Technologies 8 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 9
show interface switchport 336 3.4 MAC Address Table 337 mac-address-table aging-time 337 mac-address-table static 338 clear mac-address-table dynamic 339 Mellanox Technologies 9 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 10
ethernet remote 375 show lldp timers 376 show lldp statistics global 377 show lldp statistics [interface ethernet - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 11
-poll-interval 413 max-datagram-size 414 collector-ip 415 agent-ip 416 clear counters 417 sflow enable 418 3.11.3 Show 419 show sflow 419 Mellanox Technologies 11 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 12
option Added "boot next" command Removed "ip default-gateway" command Added command "igmp snooping unregistered multicast" Update command "switchport access" Added LLDP commands Initial version Mellanox Technologies 12 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 13
WebUI User's Manual WebUI user's manual for MX-OS. Mellanox MLNX-OS SwitchX Software User Manual This document contains information regarding configuring and managing Mellanox Technologies' SwitchX® Switch Platforms. Mellanox MLNX-OS Software Configuration Configuration Guide for MLNX-OS - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 14
This is a note. Warning Make sure to connect to the RS-232 RJ-45 port of the switch and not to the MGT port. Mellanox Technologies 14 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 15
refuses privileges to a user/client for accessing specific services • Accounting - tracks network resources consumption by users ARP network adapter (see below), a port on a Router, or a Multicast Group. GUID (Globally Unique IDenti- A 64-bit number that uniquely identifies a device or component - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 16
QoS or Quality of Service Priority Based Flow Control applies pause functionality to traffic classes OR classes of service on the Ethernet link. Quality of service is the ability to for querying and manipulating subnet management data. Mellanox Technologies 16 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 17
via one or more centralized servers. TACACS+ provides separate AAA services. A Channel Adapter that is not required to support verbs, usually used in I/O devices. Web User Interface. A for setting and retrieving HW management information. Mellanox Technologies 17 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 18
mode for Ethernet interface. Configuration mode for Port channel (LAG). Configuration mode for VLAN. Several commands such as "show" can be applied within any context. Mellanox Technologies 18 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 19
enter the angled or square brackets, vertical bar, or braces in command lines. This guide uses these symbols only to show the types of entries. CLI commands and options are in cli Configure CLI shell options enable Enter enable mode Mellanox Technologies 19 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 20
help" to view a description of the interactive help system. Note also that the CLI supports command and/or parameter tab-completions and their shortened forms. For example, you can enter : master] # (Standard mode) (Enable mode) Mellanox Technologies 20 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 21
is disabled). 4. Re-enables auto-logout (after 15 minutes). 5. Displays the final CLI session options (auto-logout is enabled) // 1. Display the current CLI session options Mellanox Technologies 21 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 22
: 8192 Terminal width: 157 columns Terminal length: 60 rows Terminal type: xterm Auto-logout: 15 minutes Paging: enabled Progress tracking: enabled Prefix modes: enabled ... Rev 1.6.9 Mellanox Technologies 22 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 23
GUID> Description A domain name, e.g. "mellanox full allowable range [0...65535]. A normal URL, using any protocol that wget supports, including http, https, ftp, sftp, and tftp; or a pseudo- - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 24
interface (e.g. vlan10). Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # interface mgmt0 switch (config interface mgmt0) # Related Commands show interfaces Note Mellanox Technologies 24 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 25
interface (ip address, mtu, dhcp, shutdown, zeroconf ...) • To enter the interface VLAN configuration mode you need to use the command "interface vlan" (e.g. interface vlan10) Mellanox Technologies 25 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 26
queue len: 467577486 1385520 0 0 0 0 0 1000 Note If DHCP is enabled on the specified interface, then the DHCP IP assignment will hold until DHCP is disabled. Mellanox Technologies 26 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 27
44983023 0 0 0 0 0 switch (config interface mgmt0) # TX bytes: TX packets: TX discards: TX errors: TX overruns: TX carrier: TX collisions: TX queue len: 468579522 1390539 0 0 0 0 0 1000 Mellanox Technologies 27 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 28
specified interface, then the DHCP IP assignment will hold until DHCP is disabled • More than one additional IP address can be added to the interface Mellanox Technologies 28 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 29
mgmt0) # show interfaces TX bytes: TX packets: TX discards: TX errors: TX overruns: TX carrier: TX collisions: TX queue len: 468579522 1390539 0 0 0 0 0 1000 Note Mellanox Technologies 29 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 30
44983023 0 0 0 0 0 switch (config interface mgmt0) # TX bytes: TX packets: TX discards: TX errors: TX overruns: TX carrier: TX collisions: TX queue len: 468579522 1390539 0 0 0 0 0 1000 Mellanox Technologies 30 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 31
duplex to "auto" also sets the speed to "auto" • Setting the duplex to one of the settings "half" or "full" also sets the speed to a manual set- ting which is determined by querying the interface to find out its current auto-detected state - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 32
44983023 0 0 0 0 0 switch (config interface mgmt0) # TX bytes: TX packets: TX discards: TX errors: TX overruns: TX carrier: TX collisions: TX queue len: 468579522 1390539 0 0 0 0 0 1000 Mellanox Technologies 32 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 33
interfaces • Setting the speed to "auto" also sets the duplex to "auto" • Setting the speed to one of the manual settings (generally "10", "100", or "1000") also sets the duplex to a manual setting which is determined by querying the interface to find out its current auto-detected state - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 34
• Setting a static IP address and netmask does not disable DHCP. DHCP is disabled by using the "no" form of this command, or by enabling zeroconf. Mellanox Technologies 34 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 35
Autoconf route: yes Autoconf privacy: no IPv6 addresses: 0 Speed: auto Duplex: auto MTU: 1500 Comment: switch (config) # Related Commands show interfaces configured Note Rev 1.6.9 Mellanox Technologies 35 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 36
privacy: no IPv6 addresses: 0 Speed: auto Duplex: auto MTU: 1500 Comment: Related Commands show interfaces configured Note Enabling zeroconf disables DHCP and vice versa. Mellanox Technologies 36 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 37
0 0 0 0 0 switch (config interface mgmt0) # N/A TX bytes: TX packets: TX discards: TX errors: TX overruns: TX carrier: TX collisions: TX queue len: 40658219 142345 0 0 0 0 0 1000 Note Mellanox Technologies 37 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 38
3738865 0 0 0 0 0 switch (config interface mgmt0) # TX bytes: TX packets: TX discards: TX errors: TX overruns: TX carrier: TX collisions: TX queue len: 40658219 142345 0 0 0 0 0 1000 Mellanox Technologies 38 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 39
, is required for proper IPv6 operation. The link-local addresses start with "fe80::", and are combined with the interface identifier to form the complete address. Mellanox Technologies 39 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 40
autoconfig address, if the autoconfig is enabled. Default No IP address available, auto config is enabled Configuration Mode Config Interface Management History 3.1.0000 Role admin Mellanox Technologies 40 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 41
a given interface • For Ethernet, the default interface identifier is a 64-bit long modified EUI-64, which is based on the MAC address of the interface Mellanox Technologies 41 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 42
: full (auto) Interface type: ethernet Interface ifindex: 2 Interface source: physical MTU: 1500 HW address: 00:02:C9:5E:A5:D8 Comment: my-interface switch (config) # Mellanox Technologies 42 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 43
Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 43 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 44
not contain other letters, such as etc • Hostname may not begin with a hyphen • Hostname may be 1-63 characters long • Changing hostname stamps a new HTTPS certificate Mellanox Technologies 44 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 45
hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: no switch (config) # Related Commands show hosts Note Rev 1.6.9 Mellanox Technologies 45 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 46
to hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: no switch (config) # Related Commands show hosts Note Mellanox Technologies 46 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 47
to hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: yes switch (config) # Related Commands show hosts Note Mellanox Technologies 47 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 48
a result, with this option set, you will not be able to look up your hostname on your configured DNS server; but without it set, some problems may arise if your hostname cannot be looked up in DNS. Mellanox Technologies 48 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 49
::1 maps to hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: no switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 49 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 50
.0.1 mgmt0 20.20.20.0 255.255.255.0 0.0.0.0 mgmt0 172.30.0.0 255.255.0.0 0.0.0.0 mgmt0 Source DHCP static static static interface Related Commands show ip route Note Mellanox Technologies 50 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 51
route Note • The configured default gateway will not be used if DHCP is enabled. • In order to configure ipv4 default-gateway use 'ip route' command. Mellanox Technologies 51 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 52
Destination prefix Gateway Interface Source ::/0 :: mgmt0 static ::1/128 :: lo local 2222:2222:2222::/64 :: mgmt1 interface switch (config) # Related Commands show ip default-gateway Note Mellanox Technologies 52 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 53
gateway: 10.10.10.10 Related Commands show ip default-gateway Note The configured IPv4 default gateway will not be used if DHCP is enabled. Mellanox Technologies 53 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 54
:AA:AA:AA:AA:AA Interface mgmt0 mgmt0 mgmt0 mgmt0 mgmt0 mgmt0 mgmt0 Related Commands switch (config interface mgmt0) # show ip arp ip route Note Mellanox Technologies 54 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 55
arp show ip arp Interface Vlan11 Vlan11 Vlan12 Vlan13 Vlan14 Note This value is used as the ARP timeout whenever a new IP interface is created. Mellanox Technologies 55 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 56
Dynamic ETH 00:02:C9:62:E7:42 mgmt0 switch (config) # show ip arp count ARP Table size: 3 (inband: 0, out of band: 3) switch (config) # Note Mellanox Technologies 56 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 57
) is used similarly. • Use The no form of the command to remove static entries. Dynamic entries can be cleared via the "clear ipv6 neighbors" command. Mellanox Technologies 57 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 58
removes only the dynamic entries learned and not the static entries configured • Use the no form of the ipv6 neighbor command to remove static entries Mellanox Technologies 58 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 59
Address State Interf 2001::2 9428 AA:AA:AA:AA:AA:AA permanent mgmt0 switch (config) # Related Commands ipv6 neighbor clear ipv6 neighbor show ipv6 Note Mellanox Technologies 59 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 60
: yes Related Commands DHCP Client Options: Send Hostname: no Client Hostname: switch (using system hostname) switch (config) # show ip dhcp dhcp [renew] Note DHCP is supported for IPv4 networks only. Mellanox Technologies 60 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 61
to static configuration: yes Related Commands DHCP Client Options: Send Hostname: no Client Hostname: switch (using system hostname) switch (config) # ip dhcp dhcp [renew] Note Mellanox Technologies 61 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 62
disabled Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # ipv6 enable switch (config) # show ipv6 IPv6 summary IPv6 supported: yes IPv6 admin enabled: yes IPv6 interface count: 2 switch (config) # Related Commands ipv6 default-gateway ipv6 host ipv6 map - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 63
.2.2 ping statistics --6 packets transmitted, 6 received, 0% packet loss, time 5004ms rtt min/avg/max/mdev = 0.144/0.252/0.703/0.202 ms switch (config) # Related Commands traceroutes Note Mellanox Technologies 63 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 64
[-46dFITUnrAV] [-f first_ttl] [-g gate,...] [-i device] [-m max_ttl] [-N squeries] [-p port] [-t tos] [-l flow_label] [-w waittime] [-q nqueries] [-s src_addr] [-z sendwait] host [packetlen] Traces the route packets take to a destination. Mellanox Technologies 64 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 65
constant destination port for TCP tries (default is 80). Sets the TOS (IPv4 type of service) or TC (IPv6 traffic class) value for outgoing packets. Uses specified flow_label for IPv6 packets of seconds (float point values allowed too). Mellanox Technologies 65 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 66
12.264 ms 6 192.168.10.70 (192.168.10.70) 16.377 ms 16.091 ms 20.475 ms switch (config) # Related Commands Note Mellanox Technologies 66 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 67
625 win 90 ... 9141 packets captured 9142 packets received by filter 0 packets dropped by kernel switch (config) # Related Commands N/A Note Mellanox Technologies 67 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 68
. Default N/A Configuration Mode Config Interface Ethernet Config Interface Port Channel History 3.2.3000 Role admin Example switch (config) # clear counters switch (config) # Related Commands Note Rev 1.6.9 Mellanox Technologies 68 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 69
(config) # license install switch (config) # show licenses License 1: Feature: SX_CONFIG Valid: yes Active: yes switch (config) # Related Commands show licenses Note Mellanox Technologies 69 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 70
History 3.1.0000 Role monitor/admin Example switch (config) # show licenses License 1: Feature: SX_CONFIG Valid: yes Active: yes switch (config) # Related Commands license Note Mellanox Technologies 70 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 71
(Etc/UTC) UTC offset: same as UTC switch (config) # Related Commands show clock Note If not specified, the date will be left the same. Rev 1.6.9 Mellanox Technologies 71 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 72
(config) # show clock Time: 04:21:44 Date: 2012/02/26 Time zone: America North United_States Other New_York switch (config) # Related Commands show clock Note Mellanox Technologies 72 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 73
number is 4. Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # no ntp peer 192.168.10.24 disable switch (config) # Related Commands N/A Note Mellanox Technologies 73 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 74
in sync on an ongoing basis. It will generate an error if SNTP is enabled since the socket it requires will already be in use. Mellanox Technologies 74 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 75
switch (config) # show clock Time: 04:21:44' Date: 2012/02/26 Time zone: America North United_States Other New_York switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 75 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 76
Role admin Example switch (config) # show ntp NTP is enabled. Clock is unsynchronized. No NTP peers or servers configured. switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 76 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 77
the available locations. Default N/A Configuration Mode enable/config History 3.1.0000 Role admin Example switch (config) # image boot location 2 switch (config) # Related Commands show images Note Mellanox Technologies 77 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 78
in preference to falling back to the initial database because the latter generally involves a loss of network connectivity, and avoiding that is of paramount importance. Mellanox Technologies 78 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 79
admin Example switch (config) # image default-chip-fw image-SX_PPC_M460EX-ppc-m460ex20120122-084759.img switch (config) # Related Commands image install-chip fw show images Note Mellanox Technologies 79 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 80
N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # image delete image-MLXNX-OS-201140526-010145.img switch (config) # Related Commands show images Note Mellanox Technologies 80 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 81
via SCP. Syntax Description URL HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. filename Specifies a filename for this See section "Upgrading MLNX-OS SX Software," in the Mellanox SwitchX® User Man- ual for a full upgrade example - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 82
on the "active" location (the one which is currently being booted) • On a two-location system, the location is chosen automatically if no location is specified Mellanox Technologies 82 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 83
. Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # image move image1.img image2.img switch (config) # Related Commands show images Note Rev 1.6.9 Mellanox Technologies 83 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 84
by a trusted signature. Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # image options require-sig switch (config) # Related Commands show images Note Mellanox Technologies 84 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 85
signature always required Admin require signed images: yes Related Commands Settings for next boot only: Fallback reboot on configuration failure: yes (default) switch (config) # N/A Note Mellanox Technologies 85 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 86
signature always required Admin require signed images: yes Related Commands Settings for next boot only: Fallback reboot on configuration failure: yes (default) switch (config) # N/A Note Mellanox Technologies 86 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 87
-switch-112104-201140526-091707.tgz switch (config) # Related Commands file debug-dump Note The dump can then be manipulated using the "file debug-dump..." commands. Mellanox Technologies 87 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 88
to the remote host: HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. Default N/A Configuration Mode Config History (config) # Related Commands show files debug-dump Note Mellanox Technologies 88 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 89
report file. URL - HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. Default N/A Configuration Mode Config History Commands show files stats show files stats Note Mellanox Technologies 89 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 90
specified URL. URL - HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. Default N/A Configuration Mode Config History ) # Related Commands show files stats tcpdump Note Mellanox Technologies 90 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 91
switch-112104 2.6.27-MELLANOXuni-m405ex SX_PPC 3.1.0000 #1 201201-25 13:59:00 ppc ppc ppc GNU/Linux Related Commands switch (config) # file debug-dump Note Mellanox Technologies 91 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 92
. Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # show files stats memory-201140524-111745.csv switch (config) # Related Commands file stats Note Mellanox Technologies 92 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 93
MB Bytes Free 651 MB Bytes Percent Free 75% Bytes Available 651 MB Inodes Total 0 Inodes Used 0 Inodes Free 0 Inodes Percent Free 0% switch (config) # N/A Note Mellanox Technologies 93 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 94
N/A Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # show files stats test dump3 switch (config) # Related Commands file tcpdump tcpdump Note Rev 1.6.9 Mellanox Technologies 94 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 95
(config) # configuration audit max-changes 100 switch (config) # show configuration audit Maximum number of changes to log: 100 switch (config) # Related Commands show configuration Note N/A Mellanox Technologies 95 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 96
active configuration file may not be the target of a copy. However, it may be the source of a copy in which case the original remains active. Mellanox Technologies 96 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 97
switch (config) # Related Commands show configuration Note • This command does not affect the current running configuration • The active configuration file may not be deleted Rev 1.6.9 Mellanox Technologies 97 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 98
is specified for a configuration fetch, it is given the same name as it had on the server • No configuration file may have the name "active" Mellanox Technologies 98 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 99
3.1.0000 Role admin Example switch (config) # configuration jump-start Mellanox configuration wizard Step 1: Hostname? [switch-3cc29c] Step 2: Use DHCP the Switch for the First Time" in the Mellanox MLNX-OS SwitchX User Manual Mellanox Technologies 99 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 100
new-config-file switch (config) # Related Commands Note • No configuration files are modified during this process • The configuration name must be a non-active configuration file Mellanox Technologies 100 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 101
Commands show configuration Note • This command does not affect the current running configuration • The active configuration file may not be the target of a move Rev 1.6.9 Mellanox Technologies 101 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 102
initial.prev switch (config) # configuration new example2 switch (config) # show configuration files example2 initial initial.bak initial.prev switch (config) # Related Commands show configuration Note Mellanox Technologies 102 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 103
to last saved configuration. Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # configuration revert saved switch (config) # Related Commands show configuration Note Mellanox Technologies 103 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 104
.bak switch (config) # Related Commands show configuration files Note The current running configuration is lost and not automatically saved to the previous active configuration file. Mellanox Technologies 104 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 105
Config History 3.2.1000 Initial version 3.2.3000 Updated command Role admin Example switch (config) # configuration fetch text scp://username[:password]@hostname/path/filename Related Commands N/A Note Mellanox Technologies 105 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 106
errors. delete Deletes the file. rename Renames the file. upload Supported types are HTTP, HTPPS, FTP, TFTP, SCP and SFTP. For example: scp:// switch (config) # Related Commands show configuration files Note Mellanox Technologies 106 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 107
saved configuration. save Saves new file to local persistent storage. upload Supported types are HTTP, HTPPS, FTP, TFTP, SCP and SFTP. For example changes: yes switch (config) # Related Commands show configuration files Note Mellanox Technologies 107 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 108
) # configuration upload active scp://root:password@ 192.168.10.125/tmp/conf1 switch (config) # Related Commands N/A Note No configuration file may have the name "active". Mellanox Technologies 108 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 109
mgmt0 zeroconf ## ## Local user account configuration ## username a** capability admin no username a** disable username a** disable password ...... switch (config) # Related Commands show running-config configuration write Note Mellanox Technologies 109 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 110
interface mgmt0 duplex auto interface mgmt0 mtu 1500 no interface mgmt0 shutdown interface mgmt0 speed auto no interface mgmt0 zeroconf switch (config) # Related Commands N/A Note Mellanox Technologies 110 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 111
(config) # show configuration running Note Same as "show configuration running" except that it applies to the currently running configuration, rather than the current persisted configuration. Mellanox Technologies 111 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 112
effect. Disabling the logging messages will disable all logging: • Local logging • Logging messages sent from hosts to be logged in the system • Remote logging (syslog) Mellanox Technologies 112 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 113
- disables the logging locally and remotely • notice - normal, but significant condition • warning - warning condition Default Override is disabled. Configuration Mode Config History 3.1.0000 Role admin Mellanox Technologies 113 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 114
) Log format: standard Subsecond timestamp field: disabled Levels at which messages are logged: CLI commands: notice Audit messages: notice switch (config) # show logging logging local Mellanox Technologies 114 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 115
the logging locally and remotely • notice - normal, but significant condition • warning - warning condition Default Remote logging is disabled Configuration Mode Config History 3.1.0000 Role admin Mellanox Technologies 115 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 116
format: standard Subsecond timestamp field: disabled Levels at which messages are logged: CLI commands: notice Audit messages: notice switch (config) # show logging logging local override Mellanox Technologies 116 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 117
messages matching or exceeding the minimum severity specified with the "logging local" command will be logged, regardless of what is sent from the remote host Mellanox Technologies 117 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 118
format: standard Subsecond timestamp field: disabled Levels at which messages are logged: CLI commands: notice Audit messages: notice switch (config) # Related Commands show logging Note Mellanox Technologies 118 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 119
Subsecond timestamp field: enabled Subsecond timestamp precision: 1 whole digit; 3 fractional digits Levels at which messages are logged: CLI commands: notice Audit messages: notice switch (config) # Mellanox Technologies 119 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 120
in the format of "July 15 18:00:00". Aside from indicating the year at full precision, its main purpose is to provide subsecond precision. Mellanox Technologies 120 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 121
timestamp precision: 1 whole digit; 3 fractional digits Levels at which messages are logged: CLI commands: info Audit messages: notice switch (config) # Related Commands show logging Note Mellanox Technologies 121 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 122
level Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # logging files delete current switch (config) # Related Commands show logging show log files Note Mellanox Technologies 122 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 123
the oldest. Default 10 files are kept by default with rotation criteria of 5% of the log partition size Configuration Mode Config History 3.1.0000 Role admin Mellanox Technologies 123 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 124
timestamp precision: 1 whole digit; 3 fractional digits Levels at which messages are logged: CLI commands: info Audit messages: notice switch (config) show logging show log files Mellanox Technologies 124 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 125
will be compressed with gzip. url Uplaods URL path. FTP, TFTP, SCP, and SFTP are supported. For exam- ple: scp://username[:password]@hostname/path/file- name. Default 10 files are kept by Commands show logging show log files Note Mellanox Technologies 125 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 126
• info • debug Default no logging monitor Configuration Mode Config History 3.3.4000 Role admin Example switch (config) # logging monitor events notice switch (config) # Related Commands Note Mellanox Technologies 126 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 127
commands: info Audit messages: notice switch (config) # Related Commands logging fields logging files rotation logging level logging local logging receive logging Note Mellanox Technologies 127 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 128
10:57:04 switch clusterd[2659]: [4.193] [clusterd.INFO]: master browse reply: add service 0x20000 mxyzzy--0002c95ea5d8 _tms_cluster._tcp. local. Feb 1 10:57:04 switch clusterd[2659]: by user i:2785-0-0 has been handled switch (config) # Mellanox Technologies 128 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 129
Related Commands Note logging fields logging files rotation logging level logging local logging receive logging show logging Rev 1.6.9 Mellanox Technologies 129 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 130
3.1.0000 Role admin Example switch (config) # reload Configuration has been modified; save first? [yes] yes Configuration changes saved. ... switch (config) # Related Commands reset factory Note Mellanox Technologies 130 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 131
3.1.0000 Role admin Example switch (config) # reset factory Type 'YES' to confirm reset: YES Resetting and rebooting the system -- please wait... ... Related Commands reload Note Mellanox Technologies 131 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 132
from mgmt0. Syntax Description N/A Default Enabled. Configuration Mode Config History 3.3.4000 Role admin Example switch (config) # no ha dns enable switch (config) # Related Commands Note Mellanox Technologies 132 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 133
Password set monitor smith monitor Password set xmladmin XML Admin User admin No password required xmluser XML Monitor User monitor No password required switch (config) # Mellanox Technologies 133 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 134
new sessions from being established • Encrypted password is useful for the "show configuration" command, since the cleartext password cannot be recovered after it is set Mellanox Technologies 134 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 135
admin admin monitor admin monitor ACCOUNT STATUS Password set Password set Password set No password required No password required Related Commands username show users Note Mellanox Technologies 135 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 136
.34 Wed Feb 1 11:42 - 11:46 (00:04) Related Commands wtmp begins Wed Feb 1 11:38:10 2012 switch (config) # username show usernames Note Mellanox Technologies 136 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 137
History 3.1.0000 Role admin Example switch (config) # show whoami Current user: admin Capabilities: admin switch (config) # Related Commands username show usernames show users Note Rev 1.6.9 Mellanox Technologies 137 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 138
Related Commands show aaa Note • TACACS+ is presently the only accounting service method supported • Change accounting covers both configuration changes and system actions that are visible is started, not when the action has completed Mellanox Technologies 138 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 139
is attempted. It is required that "local" is one of the methods selected. It is recom- mended that "local" be listed first to avoid potential problems logging in to local accounts in the face of network or remote server issues - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 140
database from being made: no new failures are recorded. It also disables lockout, preventing new lockouts from being recorded and existing lockouts from being enforced. Mellanox Technologies 140 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 141
lockout of accounts based on failed authentication attempts. The no form of the command clears configuration for lockout of accounts based on failed authentication attempts. Mellanox Technologies 141 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 142
other administrators who can aid, the user may be forced to boot single-user and use the pam_tallybyname command-line utility to unlock your account manually. Even if one is careful not to incur this many authentication failures, it makes the system more subject to DOS attacks - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 143
Rev 1.6.9 Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # aaa authentication attempts lockout enable Related Commands N/A Note Mellanox Technologies 143 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 144
also implies no-lockout). Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # aaa authentication attempts class-override admin nolockout Related Commands N/A Note Mellanox Technologies 144 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 145
history of login failures. Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # aaa authentication attempts reset user admin all Related Commands N/A Note Mellanox Technologies 145 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 146
Unlocks the account. Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # aaa authentication attempts reset user admin noclear-history Related Commands N/A Note Mellanox Technologies 146 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 147
map default-user admin switch (config) # show aaa AAA authorization: Default User: admin Map Order: remote-first Authentication method(s): local Accounting method(s): tacacs+ switch (config) # Mellanox Technologies 147 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 148
in a remote server such as RADIUS the user is authenticated as monitor and the order is remotefirst, then the user will be given monitor permissions. Mellanox Technologies 148 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 149
: remote-first Authentication method(s): local Accounting method(s): tacacs+ switch (config) # Related Commands aaa accounting aaa authentication aaa authorization show aaa show usernames username Note Rev 1.6.9 Mellanox Technologies 149 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 150
(*) no no 08/20 14:29:19 ttyS0 Last fail ------- 1 2012/ Related Commands (*) Hashed for security reasons switch-627d3c [standalone: master] (config) # switch (config) # N/A Note Mellanox Technologies 150 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 151
(config) # Related Commands aaa authorization radius-server host show radius Note Each RADIUS server can override those global parameters using the command "radius-server host". Mellanox Technologies 151 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 152
do not specify a parameter for this configured RADIUS server, the configuration will be taken from the global RADIUS server configuration. Refer to "radius-server" command. Mellanox Technologies 152 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 153
.40.40:1812 Enabled: yes Key: 3333 (default) Timeout: 3 (default) Retransmit: 1 (default) switch (config) # Related Commands aaa authorization radius-server radius-server host Note Rev 1.6.9 Mellanox Technologies 153 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 154
Commands aaa authorization show radius show tacacs tacacs-server host Note Each TACACS+ server can override those global parameters using the command "tacacs-server host". Mellanox Technologies 154 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 155
: Key: 3333 Timeout: 3 Retransmit: 1 TACACS+ servers: 40.40.40.40:49 Enabled: yes Auth-type PAP Key: 3333 (default) Timeout: 3 (default) Retransmit: 1 (default) switch (config) # Mellanox Technologies 155 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 156
user does not specify a parameter for this configured TACACS+ server, the configuration will be taken from the global TACACS+ server configuration. Refer to "tacacsserver" command. Mellanox Technologies 156 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 157
Enabled: yes Auth-type PAP Key: 3333 (default) Timeout: 3 (default) Retransmit: 1 (default) switch (config) # Related Commands aaa authorization tacacs-server tacacs-server host Note Rev 1.6.9 Mellanox Technologies 157 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 158
port : 636 (not active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show ldap Note Mellanox Technologies 158 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 159
: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show ldap Note For anonymous login, bind-dn and bind-password should be empty strings "". Mellanox Technologies 159 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 160
this group or the user will not be authorized to log in. If the group is not set ("" - the default) no authorization checks are done. Mellanox Technologies 160 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 161
will select the LDAP host to try according to its order • New servers are by default added at the end of the list of servers Mellanox Technologies 161 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 162
(not active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Note Mellanox Technologies 162 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 163
(not active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Note Mellanox Technologies 163 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 164
is the process by which an LDAP server, instead of returning a result, will return a referral (a reference) to another LDAP server which may contain further information. Mellanox Technologies 164 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 165
(not active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Note Mellanox Technologies 165 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 166
is enabled (LDAP over SSL). Default cert-verify is enabled mode is none (LDAP SSL is not activated) port-number is 636 Configuration Mode Config Mellanox Technologies 166 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 167
of higher security • The port number is used only for SSL mode. In case the mode is TLS, the LDAP port number will be used. Mellanox Technologies 167 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 168
(not active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Note Mellanox Technologies 168 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 169
(not active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Note Mellanox Technologies 169 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 170
active) SSL cert verify : yes Related Commands LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Note Rev 1.6.9 Mellanox Technologies 170 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 171
| encrypt | exchange-mode | lifetime | local | mode | peer-identity | pfs-group | preshared-key | prompt-preshared-key | transform-set] | manual [auth | disable | encrypt | local-spi | mode | remote-spi]}} Configures ipsec in the system. Mellanox Technologies 171 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 172
peering manual Configures IPSec peering using manual keys. Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config)# crypto ipsec peer 10.10.10.10 local 10.7.34.139 enable switch (config)# Mellanox Technologies 172 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 173
Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 173 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 174
certificate database • Unless specified otherwise, applications that use CA certificates will still consult the well- known certificate bundle before looking at the default-ca-list Mellanox Technologies 174 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 175
• If the named default-cert is deleted from the database, the default-cert automatically becomes reconfigured to the factory default, the "system-self-signed" certificate Mellanox Technologies 175 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 176
default certificate value for state or province. Default N/A Configuration Mode Config History 3.2.1000 Role admin Example switch (config) # crypto certificate generation default organization Mellanox Related Commands N/A Note Mellanox Technologies 176 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 177
named certificate using configured certificate generation default values for the specified validity period rename Renames the certificate. Default N/A Configuration Mode Config History 3.2.3000 Role admin Mellanox Technologies 177 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 178
Rev 1.6.9 Example Related Commands Note switch (config) # crypto certificate name system-self-signed comment test N/A The certificate parameter of the no form of this command deletes the comment on the certificate. Mellanox Technologies 178 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 179
certificate is valid Default N/A Configuration Mode Config History 3.2.1000 Role admin Example switch (config) # crypto certificate system-self-signed regenerate days-valid 3 Related Commands N/A Note Mellanox Technologies 179 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 180
information about the certificate specified. public-pem Displays the uninterpreted public certificate as a PEM formatted data string Default N/A Configuration Mode Config History 3.2.1000 Role admin Mellanox Technologies 180 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 181
: E-mail Address: IBM-DEV-Bay4 IS Issuer: Common Name: Country: State or Province: Locality: Organization: Organizational Unit: E-mail Address: switch (config)# N/A IBM-DEV-Bay4 IS Mellanox Technologies 181 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 182
IPSec IKE peers. IPSec Policy State No active IPSec policies. Related Commands Note IPSec Security Association State No active IPSec security associations. switch (config)# N/A Rev 1.6.9 Mellanox Technologies 182 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 183
the current user. Syntax Description N/A Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # cli clear-history switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 183 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 184
changes before rebooting. prompt empty-password Prompts for a password if none is specified in a pseudoURL for SCP. Default N/A Configuration Mode Config History 3.1.0000 Role admin Mellanox Technologies 184 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 185
: Show hidden config: yes Confirm losing changes: yes Confirm reboot/shutdown: no Confirm factory reset: yes Prompt on empty password: yes switch (config) # show cli Mellanox Technologies 185 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 186
in characters. Valid range is 34-999. x-display full Specifies the display as a raw string, e.g localhost:0.0. Default N/A Configuration Mode Config History 3.1.0000 Role admin Mellanox Technologies 186 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 187
Example Related Commands Note switch (config) # cli session auto-logout switch (config) # show terminal Rev 1.6.9 Mellanox Technologies 187 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 188
hidden config: yes Confirm losing changes: yes Confirm reboot/shutdown: no Confirm factory reset: yes Prompt on empty password: yes switch (config) # cli default Note Mellanox Technologies 188 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 189
banner. The no form of the command resets the system login banner to its default. Syntax Description string Text string. Default "Mellanox MLNX-OS Switch Management" Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # banner login example switch (config) # show - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 190
Testing switch (config) # Related Commands show banner Note If more then one word is used (there is a space) quotation marks should be added (i.e. "xxxx xxxx"). Mellanox Technologies 190 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 191
Testing switch (config) # Related Commands show banner Note If more then one word is used (there is a space) quotation marks should be added (i.e. "xxxx xxxx"). Mellanox Technologies 191 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 192
Mode Config History 3.1.0000 Role admin Example switch (config) # banner motd Testing switch (config) # show banner Banners: MOTD: Testing Login: Mellanox MLNX-OS Switch Management switch (config) # Related Commands show banner Note If more then one word is used (there is a space) quotation - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 193
banners. Syntax Description N/A Default N/A Configuration Mode Config History 3.1.0000 Role unpriv/monitor/admin Example switch (config) # show banner Banners: MOTD: Testing Login: Mellanox MLNX-OS Switch Management switch (config) # Related Commands banner login banner motd Note Rev - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 194
:3e:68 switch (config) # show ssh server Note Disabling SSH server does not terminate existing SSH sessions, it only prevents new ones from being established. Mellanox Technologies 194 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 195
specified type. generate Generates new RSA and DSA host keys for SSH. Default SSH keys are locally generated Configuration Mode Config History 3.1.0000 Role admin Mellanox Technologies 195 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 196
/ F4E31lyn7GC4EQAAAIA/2osHipXf+NRjplgfmHROVVf/mGE9Vzc9/ AMUxlJJn5VhvEJ5CZW9cI+LxMOJojhOj3YW3B1czGxRObDA9vUbKXTNc8bkgoUrxySAH1rH N0PqJgeT4L009AItSp3m1mxHqdS7jixfTvOTEKWXrgpczlmTB8+zjhUah/YuuBl2H g==" switch (config) # show ssh server Mellanox Technologies 196 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 197
v2 host key: 7c:4a:f7:72:51:67:b5:0b:cd:a2:d2:b9:f3:be:3e:68 switch (config) # show ssh server Note Mellanox Technologies 197 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 198
version of the SSH protocol that the server supports. The no form of the command resets the minimum version of SSH protocol supported. Syntax Description version Possible versions are 1 and :3e:68 switch (config) # show ssh server Note Mellanox Technologies 198 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 199
server Note • Multiple ports can be specified by repeating the parameter • The command will remove any previous ports if not listed in the command Mellanox Technologies 199 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 200
:12:d6 DSA v2 host key: 7c:4a:f7:72:51:67:b5:0b:cd:a2:d2:b9:f3:be:3e:68 switch (config) # N/A Note Mellanox Technologies 200 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 201
:ec:ab:35:98:be:6b:d6:12:c2:18:72:12:d6 No SSH user identities configured. No SSH authorized keys configured. switch (config) # Mellanox Technologies 201 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 202
Related Commands Note show ssh client Rev 1.6.9 Mellanox Technologies 202 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 203
an entry to the global known-hosts configuration file, either by generating new key, or by adding manually a public or private key. The no form of the command removes a public key from the to prevent the newlines from being inserted. Mellanox Technologies 203 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 204
. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.10.70' (RSA) to the list of known hosts. Mellanox MLNX-OS Switch Management Last login: Sat Feb 28 22:55:17 2009 from 10.208.0.121 - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 205
:98:be:6b:d6:12:c2:18:72:12:d6 No SSH user identities configured. No SSH authorized keys configured. Related Commands switch (config) # N/A Note Mellanox Technologies 205 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 206
DSA v2 host key: 7c:4a:f7:72:51:67:b5:0b:cd:a2:d2:b9:f3:be:3e:68 switch (config) # ssh server Note Mellanox Technologies 206 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 207
3.1.0000 Role admin Example switch (config) # telnet-server enable switch (config) # show telnet-server Telnet server enabled: yes Related Commands show telnet-server Note Rev 1.6.9 Mellanox Technologies 207 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 208
Mode Config History 3.1.0000 Role admin Example switch (config) # show telnet-server Telnet server enabled: yes switch (config) # Related Commands telnet-server enable Note Rev 1.6.9 Mellanox Technologies 208 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 209
admin Example switch (config) # xml-gw enable switch (config) # show xml-gw XML Gateway enabled: yes switch (config) # Related Commands show xml-gw Note Rev 1.6.9 Mellanox Technologies 209 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 210
Mode Config History 3.1.0000 Role admin Example switch (config) # show xml-gw XML Gateway enabled: yes switch (config) # Related Commands xml-gw enable Note Rev 1.6.9 Mellanox Technologies 210 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 211
.10.10.10 1080 basic web-user web-password Note The no form of the command does not automatically log users out due to inactivity. Mellanox Technologies 211 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 212
certificates during HTTPS file transfers. Syntax Description N/A Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # web client cert-verify Related Commands N/A Note Mellanox Technologies 212 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 213
certificates. Default default-ca-list Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # web client ca-list default-ca-list Related Commands N/A Note Mellanox Technologies 213 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 214
: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # show web 10.10.10.10 1080 basic web-user web-password Note Mellanox Technologies 214 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 215
: yes Proxy address: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # 10.10.10.10 1080 basic web-user web-password Mellanox Technologies 215 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 216
Related Commands Note show web web enable Enabling HTTP is meaningful if the WebUI as a whole is enabled. Rev 1.6.9 Mellanox Technologies 216 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 217
eligible to be a listen interface, then HTTP/HTTPS requests will only be accepted on those interfaces. Otherwise, HTTP/HTTPS requests are accepted on any interface. Mellanox Technologies 217 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 218
: yes Proxy address: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # 10.10.10.10 1080 basic web-user web-password Mellanox Technologies 218 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 219
enabled. • See the command "crypto certificate default-cert name" for how to change the default cer- tificate if inheriting the configured default certificate is preferred Mellanox Technologies 219 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 220
Proxy address: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # N/A 10.10.10.10 1080 basic web-user web-password Note Mellanox Technologies 220 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 221
: yes Proxy address: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # 10.10.10.11 40 basic web-user web-password Mellanox Technologies 221 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 222
Related Commands Note show web web proxy host Rev 1.6.9 Mellanox Technologies 222 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 223
port: Authentication type: Basic auth username: Basic auth password: switch (config) # web proxy auth 10.10.10.10 1080 basic web-user web-password Note Mellanox Technologies 223 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 224
: Basic auth username: Basic auth password: switch (config) # show web web proxy auth 10.10.10.10 1080 basic web-user web-password Note Rev 1.6.9 Mellanox Technologies 224 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 225
Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 Related Commands No trap sinks configured. switch(config) # show snmp Note • Rev 1.6.9 Mellanox Technologies 225 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 226
the read-only community is specified, only queries can be performed • If the read-write community is specified, both queries and sets can be performed Mellanox Technologies 226 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 227
No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 Related Commands No trap sinks configured. switch (config) # show snmp Note Mellanox Technologies 227 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 228
SNMP traps are only sent if there are trap sinks configured with the "snmp-server host..." command, and if these trap sinks are themselves enabled. Mellanox Technologies 228 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 229
is "public" Default UDP port is 162 Default SNMP version is 2c Configuration Mode Config History 3.1.0000 Initial version. 3.2.1050 Add inform option. Role admin Mellanox Technologies 229 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 230
only meaningful if traps are enabled, though the list of hosts may still be edited if traps are disabled. Refer to "snmp-server enable" command. Mellanox Technologies 230 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 231
listed is eligible to be a listen interface, then SNMP requests will only be accepted on those interfaces. Otherwise, SNMP requests are accepted on any interface. Mellanox Technologies 231 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 232
No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 Related Commands No trap sinks configured. switch (config) # show snmp Note Mellanox Technologies 232 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 233
Note • This setting is only meaningful if traps are enabled, though the list of hosts may still be edited if traps are disabled • Refer to Mellanox MIB file for the list of supported traps Mellanox Technologies 233 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 234
No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 Related Commands No trap sinks configured. switch (config) # show snmp Note Mellanox Technologies 234 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 235
: (NOT SET; user disabled) Privacy password: (NOT SET; user disabled) SET access: Enabled: yes Capability level: admin switch (config) # Related Commands show snmp user Note Mellanox Technologies 235 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 236
: des Authentication password: (set) Privacy password: (set) Require privacy: yes SET access: Enabled: yes Capability level: admin switch (config) # Related Commands show snmp Note Rev 1.6.9 Mellanox Technologies 236 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 237
refresh Auto-refresh enabled: yes Refresh interval (sec): 60 Auto-Refreshed tables entPhysicalTable ifTable ifXTable Related Commands switch(config) # snmp-server auto-refresh Note Rev 1.6.9 Mellanox Technologies 237 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 238
History 3.1.0000 Role admin Example switch (config) # job 100 switch (config job 100) # Related Commands show jobs Note Job state is lost on reboot. Rev 1.6.9 Mellanox Technologies 238 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 239
from the "config" mode. For example, in order to change the interface description you need to add the command: "interface description my-description". Mellanox Technologies 239 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 240
History 3.1.0000 Role admin Example switch (config)# job 100 switch (config job 100) # comment Job_for_example switch (config job 100) # Related Commands show jobs Note Rev 1.6.9 Mellanox Technologies 240 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 241
100) # Related Commands show jobs Note If a job is disabled, it will not be executed automatically according to its schedule; nor can it be executed manually. Mellanox Technologies 241 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 242
job state is not changed: i.e. the time of the next automatic execution is not affected • The job will not be run if not currently enabled Mellanox Technologies 242 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 243
History 3.1.0000 Role admin Example switch (config)# job 100 switch (config job 100) # fail-continue switch (config job 100) # Related Commands show jobs Note Rev 1.6.9 Mellanox Technologies 243 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 244
3.1.0000 Role admin Example switch (config)# job 100 switch (config job 100) # name my-job switch (config job 100) # Related Commands show jobs Note Rev 1.6.9 Mellanox Technologies 244 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 245
job 100) # Related Commands show jobs Note A schedule type is essentially a structure for specifying one or more future dates and times for a job to execute. Mellanox Technologies 245 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 246
job 100) # Related Commands show jobs Note A schedule type is essentially a structure for specifying one or more future dates and times for a job to execute. Mellanox Technologies 246 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 247
+0000 Next Exec Time: N/A Commands: Command 10: show power Last Output: Module Status PS1 OK PS2 NOT PRESENT Related Commands switch (config) # show jobs Note Mellanox Technologies 247 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 248
autosupport {enable | event } no email autosupport enable Enables the support of the email notification and specifies which events will be sent as email notifications Refer to "show email event" command for full event list. Mellanox Technologies 248 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 249
-support email. The no form of the command resets auto-support email security mode to its default. Syntax Description none Does not use TLS to secure auto-support email. tls Uses TLS over the default server port to secure auto- support port to secure auto-support email, and falls back - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 250
verify server certificates. Syntax Description N/A Default N/A Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # email autosupport ssl cert-verify Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 250 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 251
built-in list only. Default default_ca_list Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # email autosupport ssl ca-list default_ca_list Related Commands N/A Note Mellanox Technologies 251 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 252
emails. The no form of the command disables sending of emails to vendor auto-support upon certain failures. Syntax Description duration Example: "5d4h3m2s" for 5 days, 4 enable switch (config) # Related Commands show email Note Mellanox Technologies 252 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 253
No email domain Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # email domain mellanox switch (config) # show email Mail hub: 10.0.8.11 Mail hub port: 125 Domain: mellanox Return address: do-not-reply Include hostname in return address: yes ... switch (config - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 254
hub port: 25 Domain: (not specified) Return address: do-not-reply Include hostname in return address: yes ... switch (config) # Related Commands show email [events] Note Mellanox Technologies 254 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 255
port: 125 Domain: (system domain name) Return address: do-not-reply Include hostname in return address: yes ... switch (config) # Related Commands show email Note Rev 1.6.9 Mellanox Technologies 255 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 256
in the system was detected as hungswitch (config) # switch (config) # show email Note This does not affect auto-support emails. Auto-support can be disabled overall, but if it is enabled, all auto-support events are sent as emails. Mellanox Technologies 256 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 257
. Default No recipients are added Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # email notify recipient [email protected] switch (config) # show email Mail hub: Mail hub port: 25 Domain: (not specified) Return address: user1 Include hostname in - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 258
Mail hub: Mail hub port: 25 Domain: (not specified) Return address: user1 Include hostname in return address: yes ... switch (config) # Related Commands show email Note Mellanox Technologies 258 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 259
yes Dead letter max age: 5 days No recipients configured. Related Commands Autosupport emails Enabled: no Recipient: [email protected] Mail hub: autosupport.mellanox.com switch (config) # show email Note This only takes effect if the return address does not contain an - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 260
. Syntax Description N/A Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # email autosupport enable switch (config) # Related Commands show email [events] Note Rev 1.6.9 Mellanox Technologies 260 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 261
falls back on plaintext. Default default-cert Configuration Mode Config History 3.2.3000 Role admin Example switch (config) # email ssl mode tls-none Related Commands N/A Note Mellanox Technologies 261 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 262
Mode Config History 3.2.3000 Role admin Example switch (config) # email ssl cert-verify Related Commands N/A Note This command has no impact unless TLS is used. Mellanox Technologies 262 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 263
Example switch (config) # email ssl ca-list none Related Commands N/A Note This command has no impact unless TLS is used, and certificate verification is enabled. Mellanox Technologies 263 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 264
Dead letter settings: Save dead.letter files: yes Dead letter max age: 5 days No recipients configured. Related Commands Autosupport emails Enabled: no Recipient: [email protected] Mail hub: autosupport.mellanox.com switch (config) # show email Note - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 265
stats alarm clear Clears alarm state. Syntax Description alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: switch (config) # Related Commands show stats alarm Note Mellanox Technologies 265 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 266
command disables the alarm, notifications will not be received. Syntax Description alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: ) # Related Commands show stats alarm Note Mellanox Technologies 266 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 267
event-repeat Configures repetition of events from this alarm. Syntax Description alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high ) # Related Commands show stats alarm Note Mellanox Technologies 267 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 268
} Configure alarms thresholds. Syntax Description alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too stats alarm Note Not all alarms support all four thresholds. Mellanox Technologies 268 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 269
window } Configures alarms rate limit. Syntax Description alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: ) # Related Commands show stats alarm Note Mellanox Technologies 269 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 270
clear stats chd clear Clears CHD counters. Syntax Description CHD ID CHD supported by the system, for example: • cpu_util - CPU utilization: percentage of time spent • memory_day clear switch (config) # show stats chd Note Mellanox Technologies 270 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 271
the CHD. The no form of the command disables the CHD. Syntax Description chd-id CHD supported by the system, for example: • cpu_util - CPU utilization: percentage of time spent • switch (config) # Related Commands show stats chd Note Mellanox Technologies 271 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 272
stats chd memory_day CHD "memory_day" (Average physical memory usage: bytes): Source dataset: sample "memory" Computation basis: time Interval: 120 second(s) Range: 1800 second(s) switch (config) # Mellanox Technologies 272 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 273
Related Commands Note show stats chd Rev 1.6.9 Mellanox Technologies 273 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 274
- Modules temperature Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # stats sample temperature clear switch (config) # Related Commands show stats sample Note Mellanox Technologies 274 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 275
temperature Default Enabled Configuration Mode Config History 3.1.0000 Role admin Example Related Commands switch (config) # stats sample temperature enable switch (config) # show stats sample Note Mellanox Technologies 275 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 276
temperature interval 1 switch (config) # show stats sample temperature Sample "temperature" (Modules temperature): Enabled: yes Sampling interval: 1 second switch (config) # Related Commands show stats sample Note Mellanox Technologies 276 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 277
for all alarms. Syntax Description N/A Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # stats clear-all switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 277 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 278
[filename ] Exports statistics to a file. Syntax Description format Currently the only supported value for is "csv" (comma-separated value). report name Determines dataset Related Commands show files stats Note Mellanox Technologies 278 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 279
memory in use): (disabled) Alarm paging (Paging activity too high): ok Alarm temperature (Temperature is too high): ok switch (config) # Related Commands stats alarm Note Mellanox Technologies 279 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 280
the last hour: bytes): Enabled: yes Source dataset: sample "disk_device_io" Computation basis: data points Interval: 1 data point(s) Range: 1 data point(s) switch (config) # stats chd Note Mellanox Technologies 280 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 281
stats cpu Related Commands CPU 0 Utilization: 6% Peak Utilization Last Hour: 16% at 2012/02/28 08:47:32 Avg. Utilization Last Hour: 8% switch (config) # N/A Note Mellanox Technologies 281 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 282
Role admin Example switch (config) # show stats sample fan Sample "fan" (Fan speed): Enabled: yes Sampling interval: 1 minute 11 seconds switch (config) # Related Commands N/A Note Mellanox Technologies 282 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 283
-notif-cntr: Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # health re-notif-cntr 125 switch (config) # Related Commands show health-report Note Mellanox Technologies 283 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 284
Example switch (config) # power enable L01 switch (config) # Related Commands show power show power consumers Note This command is not applicable for 1U systems. Rev 1.6.9 Mellanox Technologies 284 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 285
N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # usb eject switch (config) # Related Commands N/A Note Applicable only for systems with USB interface. Rev 1.6.9 Mellanox Technologies 285 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 286
show system profile port type show ports type Note • This command requires a license. Refer to "Licenses" section in the MLNX-OS SwitchX User Manual. • This command deletes all switch configuration (keeping IP connectivity) and resets the system. • Refer to the 'port type' command in order to - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 287
F3 5640.00 OK FAN FAN F4 5640.00 OK PS1 FAN F1 5730.00 OK PS2 FAN - - NOT PRESENT switch (config) # Related Commands N/A Note Mellanox Technologies 287 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 288
/ 1917 MB free / 2027 MB total Swap: 0 MB used / 0 MB free / 0 MB total Number of CPUs: 1 CPU load averages: 0.18 / 0.19 / 0.16 switch (config) # N/A Note Mellanox Technologies 288 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 289
MT1205X01549 N/A MGMT SX1036 MSX1036B-1SFR MT1205X01549 0 FAN SXX0XX_FAN MSX60-FF MT1206X07209 N/A PS1 SXX0XX_PS MSX60-PF MT1206X06697 N/A CPU CPU SA000203-B MT1220X01231 N/A switch (config) # Related Commands N/A Note Mellanox Technologies 289 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 290
SX1036 1 N/A Not Fatal FAN SXX0XX_FAN 1 N/A Not Fatal PS1 SXX0XX_PS 1 N/A Not Fatal PS2 SXX0XX_PS 0 N/A Not Fatal CPU CPU 1 N/A Not Fatal switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 290 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 291
813 MB Related Commands Physical Memory Borrowed for System Buffers and Cache: Buffers: 0 MB Cache: 452 MB Total Buffers/Cache: 452 MB switch (config) # N/A Note Mellanox Technologies 291 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 292
N/A Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # show asic-version SX module Version SX 9.1.1260 switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 292 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 293
.54 W Total power capacity : 4032.00 W Total power budget : 4032.00 W Total power available : 3736.46 W Redundancy mode: combined Redundancy status: OK switch (config) # N/A Note Mellanox Technologies 293 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 294
.00 0.32 OK FAN8 14.98 48.00 0.31 OK Related Commands Total power used : 291.97 W Max power : 1636.00 W switch (config) # N/A Note Rev 1.6.9 Mellanox Technologies 294 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 295
OK MGMT QSFP_TEMP2 T1 22.50 OK MGMT QSFP_TEMP3 T1 23.00 OK MGMT SX T1 37.00 OK switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 295 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 296
3.24 OK 3.68 2.92 MGMT CPU_BOARD_MONITOR V5 1.80 1.79 OK 2.03 1.57 MGMT CPU_BOARD_MONITOR V6 1.20 1.24 OK 1.37 1.03 switch (config) # Related Commands N/A Note Mellanox Technologies 296 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 297
health-report | ALERTS CONFIGURATION | Re-notification counter (sec):[3600] Report max counter: [50] | HEALTH REPORT | No Health issues file switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 297 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 298
/ 0.23 / 0.23 Related Commands CPU 1 Utilization: 5% Peak Utilization Last Hour: 19% at 2012/02/15 13:26:19 Avg. Utilization Last Hour: 7% switch (config) # N/A Note Mellanox Technologies 298 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 299
Mode Any Command Mode History 3.2.0000 Role admin Example switch (config) # show system profile eth-single-switch switch (config) # Related Commands system profile Note Rev 1.6.9 Mellanox Technologies 299 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 300
capabilities IB: Supported Ethernet: Supported, Full L2 GW: Supported Max number of GW ports: 0 Max SM nodes: 648 IB Max licensed speed: FDR Ethernet Max licensed speed: 56Gb Related Commands switch (config) # show system profile Note Rev 1.6.9 Mellanox Technologies 300 Mellanox® Technologies - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 301
N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # show system mac 00:02:C9:5E:AF:18 switch (config) # Related Commands N/A Note Rev 1.6.9 Mellanox Technologies 301 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 302
enabled lacp disabled lldp disabled igmp-snooping disabled ets enabled priority-flow-control disabled Related Commands IP routing ospf switch (config) # N/A enabled enabled Note Rev 1.6.9 Mellanox Technologies 302 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 303
Rev 1.6.9 Mellanox Technologies 303 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 304
Configuration Mode Config History 3.1.0000 Initial version. 3.2.1100 Added range support. Role admin Example switch (config) # interface ethernet 1/1 switch ethernet 1/1-1/10) # Related Commands show interfaces ethernet Note Mellanox Technologies 304 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 305
Interface Port Channel History 3.1.0000 Role admin Example switch (config interface ethernet 1/1) # flowcontrol receive off switch (config interface ethernet 1/1) # Related Commands show interfaces ethernet Note N/A Mellanox Technologies 305 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 306
Config Interface Port Channel History 3.1.0000 Role admin Example switch (config interface ethernet 1/1) # mtu 9216 switch (config interface ethernet 1/1) # Related Commands show interfaces ethernet Note Mellanox Technologies 306 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 307
Config Interface Port Channel History 3.1.0000 Role admin Example switch (config interface ethernet 1/1) # shutdown switch (config interface ethernet 1/1) # Related Commands show interfaces ethernet Note Rev 1.6.9 Mellanox Technologies 307 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 308
Interface Port Channel History 3.1.0000 Role admin Example switch (config interface ethernet 1/1) # description my-interface switch (config interface ethernet 1/1) # Related Commands show interfaces ethernet Note Mellanox Technologies 308 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 309
a license (LIC-6036F-56GE) • The default speed depends on the interface capabilities, interface capable with 40Gbps will have 40Gbps speed by default • Not all interfaces support all speed options Mellanox Technologies 309 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 310
1/1) # load-interval 30 switch (config interface ethernet 1/1) # Related Commands show interfaces ethernet Note This interval is used for the ingress rate and egress rate counters. Mellanox Technologies 310 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 311
Interface Port Channel History 3.1.0000 Role admin Example switch (config interface ethernet 1/1) # clear counters switch (config interface ethernet 1/1) # Related Commands show interfaces ethernet Note Rev 1.6.9 Mellanox Technologies 311 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 312
Flow-control: receive off send off Actual speed: 40 Gbps Width reduction mode: Not supported Switchport mode: access Last clearing of "show interface" counters 00:20:39 60 seconds packets Related Commands switch (config) # Note Mellanox Technologies 312 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 313
Command Mode History 3.1.0000 Role admin Example switch (config) # show interfaces ethernet 1/1 capabilities Eth1/1 Speed : 10000,40000 FlowControl : Send, Receive switch (config) # Related Commands Note Mellanox Technologies 313 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 314
Any Command Mode History 3.1.0000 Role admin Example switch (config) # show interfaces ethernet 0/1 description Interface Status Protocol Ethernet 1/1 Enables up switch (config) # Related Commands Note Mellanox Technologies 314 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 315
Speed Negotiation Related Commands Eth1/1 Up Eth1/2 Up Eth1/3 Up ... switch (config) # 40 Gbps 10 Gbps 40 Gbps No-Negotiation No-Negotiation No-Negotiation Note Mellanox Technologies 315 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 316
1/1 transceiver Port 1/1 state identifier : QSFP+ cable/ module type : Optical cable/ module ethernet speed and type: 40GBASE - SR4 vendor : Mellanox cable_length : 50 m part number : MC2210411-SR4 revision : A1 serial number : TT1151-00006 switch (config) # Related Commands Note - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 317
user confirmation. Default interface module type is qsfp (if the interface supports 40Gbps speed) Configuration Mode Config Interface Ethernet History 3.1.1400 Role admin • This command is applicable only on 40Gbps Ethernet ports Mellanox Technologies 317 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 318
number. Default Port channels are not created by default. Configuration Mode Config History 3.1.1400 Initial version. 3.2.1100 Added range support. Role admin Example switch (config)# interface port-channel 1 switch (config interface port-channel 1) # exit switch (config)# interface port - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 319
the switch. Syntax Description N/A Default LACP is disabled. Configuration Mode Config History 3.1.1400 Role admin Example switch (config)# lacp switch (config)# Related Commands Note Rev 1.6.9 Mellanox Technologies 319 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 320
-channel Module Admin Status is enabled Port-channel System Identifier is 00:02:c9:5c:61:70 LACP System Priority: 3 switch (config)# Related Commands Note Mellanox Technologies 320 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 321
(fast or slow) will configure the peer port to send (fast or slow), it does not make any affect on the local port LACP rate. Mellanox Technologies 321 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 322
-channel load-balance destination-ip,source-mac,source-port switch (config)# Related Commands Note Several load balance methods can be configured (refer to the example) Mellanox Technologies 322 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 323
added to the LAG. The port with a different configuration will be rejected, for the list of dependencies refer to 'show interfaces port-channel compatibility-parameters' Mellanox Technologies 323 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 324
admin Example Related Commands switch (config)# show lacp system-identifier 00:02:c9:5c:61:70 switch (config)# show lacp interface port-channel Note Rev 1.6.9 Mellanox Technologies 324 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 325
lacp counters LACPDUs Marker Marker Response LACPDUs Port Sent Recv Sent Recv Sent Recv Illegal Unknown Port-channel: 1 1/7 0 0 0 0 0 0 0 0 Related Commands switch (config) # switch (config)# Note Mellanox Technologies 325 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 326
State : Aggregation, Defaulted, Related Commands LACP Port Admin Oper Port Port Port State Priority Key Key Number State 1/4 Down 128 1 1 0x4 0x0 switch (config) # Note Mellanox Technologies 326 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 327
:00:00:00:00:00 : A : 0 : 0 : 0x0 Port State Flags Decode Activity : Active Aggregation State : Aggregation, Sync, Collecting, Distributing, Expired, Defaulted, Related Commands switch (config) # Note Mellanox Technologies 327 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 328
Admin Status is enabled Port-channel System Identifier is 00:01:02:03:04:05 LACP System Priority: 32768 switch (config) # Related Commands Note Rev 1.6.9 Mellanox Technologies 328 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 329
port-channel (members) I - Individual H - Hot-standby (LACP only) s - Suspended r - Module-removed U - Up (port-channel) Related Commands Group Port- Type Member Ports Channel switch (config) # Note Mellanox Technologies 329 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 330
switchport [trunk | hybrid] allowed-vlan Note Interfaces are not added automatically to VLAN unless configured with trunk or hybrid mode with "all" option turned on. Mellanox Technologies 330 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 331
/34, Eth1/ Eth1/36, Po34, Po4096 show vlan switchport mode switchport [trunk | hybrid] allowed-vlan Note Name can not be added to a range of VLANs. Mellanox Technologies 331 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 332
Related Commands VLAN ---1 10 Name ----------default my-vlan-name Ports Eth1/2, Eth1/3, Eth1/4/1, Eth1/4/2 ... show vlan switchport mode switchport [trunk | hybrid] allowed-vlan vlan Note Mellanox Technologies 332 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 333
1 .... Po34 access 1 Po4096 access 1 switch (config interface ethernet 1/7) # Related Commands show vlan show interfaces switchport switchport access vlan switchport [trunk | hybrid] allowed-vlan vlan Note Mellanox Technologies 333 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 334
mode trunk. only one option ("access", "access-dcb" or "hybrid") is applicable to configure on the port, depends on the switchport mode of the port. Mellanox Technologies 334 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 335
vlan show interfaces switchport switchport access vlan switchport mode vlan Note This command is not applicable for interfaces with port mode access or access-dcb. Mellanox Technologies 335 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 336
/4/1 access 1 Eth1/4/2 access 1 Eth1/5 access 1 Eth1/6 access 1 Eth1/7 hybrid 1 1, 10 .... Po34 access 1 Po4096 access 1 switch (config)# show vlan switchport access vlan switchport mode vlan Note Mellanox Technologies 336 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 337
mac-address-table aging-time Mac Address Aging Time: 50 Related Commands switch (config) # show mac-address-table show mac-address-table aging time Note Mellanox Technologies 337 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 338
The no form of the command will not clear a dynamic MAC address. Dynamic MAC addresses are cleared using the "clear mac-address-table dynamic" command. Mellanox Technologies 338 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 339
This command does not clear the MAC addresses learned on the mgmt0 port. Static entries are deleted using the "no mac-address-table static" command. Mellanox Technologies 339 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 340
Number of unicast: 2 Number of multicast: 0 switch (config) # mac-address-table static clear mac-address-table Type ---dynamic static Interface -----------Eth1/36 Eth1/35 Note Mellanox Technologies 340 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 341
-address-table aging-time mac-address-table static clear mac-address-table Note MAC addresses learned on the mgmt0 is not shown by this command. Mellanox Technologies 341 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 342
tree is enabled. Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # no spanning-tree switch (config) # Related Commands show spanning-tree Note Rev 1.6.9 Mellanox Technologies 342 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 343
) # spanning-tree forward-time switch (config) # Related Commands show spanning-tree Note The following formula applies on the spanning tree timers: 2*(ForwardTime -1)>=MaxAgeTime >= 2*(Hello Time + 1) Mellanox Technologies 343 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 344
Normal Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # spanning-tree port type edge default switch (config) # Related Commands show spanning-tree Note Mellanox Technologies 344 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 345
, 61440. Default 32786 Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # spanning-tree priority 4096 switch (config) # Related Commands show spanning-tree Note Mellanox Technologies 345 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 346
admin Example switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # spanning-tree port-priority 16 switch (config interface ethernet 1/1) # Related Commands show spanning-tree Note Mellanox Technologies 346 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 347
LAG is • Unstable network may cause the LAG cost to change dynamically assuming the cost parameter is not configured for anything else other than default Mellanox Technologies 347 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 348
admin Example switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # spanning-tree port type edge switch (config interface ethernet 1/1) # Related Commands show spanning-tree Note Mellanox Technologies 348 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 349
Role admin Example switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # spanning-tree guard root switch (config interface ethernet 1/1) # Related Commands show spanning-tree Note Mellanox Technologies 349 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 350
-tree bpdufilter enable switch (config interface ethernet 1/1) # Related Commands show spanning-tree Note This command can be used when the switch is connected to hosts. Mellanox Technologies 350 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 351
Description N/A Default N/A Configuration Mode Config History 3.1.0000 Role admin Example switch (config) # clear panning-tree counters switch (config) # Related Commands show spanning tree Note Rev 1.6.9 Mellanox Technologies 351 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 352
Max Age 20 sec Forward Delay 15 sec Related Commands Interface Role ---- ---- switch (config) # clear spanning-tree counters spanning-tree Sts ----- Cost ---- Prio Type ---- ---- Note Mellanox Technologies 352 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 353
has global admin state, and per VLAN admin state. Both states need to be enabled in order to enable the IGMP snooping on a specific VLAN. Mellanox Technologies 353 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 354
-interval - 1 second. proxy reporting is disabled mrouter-timout - 125 port-purge-timeout - 260 seconds report-suppression-interval - 5 seconds. Configuration Mode Config History 3.1.1400 Role admin Mellanox Technologies 354 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 355
timeout is 125 seconds Port purge timeout is 260 seconds Report suppression interval is 3 seconds switch (config) # ip igmp snooping (admin) show ip igmp snooping Mellanox Technologies 355 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 356
igmp snooping inter- faces interface leave-mode ----------- ------------ Eth1/1 Fast Eth1/2 Normal Eth1/3 Normal ... switch (config interface ethernet 1/1) # Related Commands show ip igmp snooping interfaces Note Mellanox Technologies 356 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 357
1 switch (config vlan 1) # Related Commands show ip igmp snooping groups Note If the deleted interface is the last port, it deletes the entire multicast group. Mellanox Technologies 357 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 358
ip igmp snooping mrouter Note The multicast router port can be created only if IGMP snooping is enabled both glob- ally and on the VLAN. Mellanox Technologies 358 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 359
125 seconds Port purge timeout is 260 seconds Report suppression interval is 5 seconds IGMP snooping unregistered multicast: flood switch (config) # show ip igmp snooping Note Mellanox Technologies 359 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 360
timeout is 125 seconds Port purge timeout is 260 seconds Report suppression interval is 3 seconds IGMP snooping unregistered multicast: flood Related Commands switch (config) # Note Mellanox Technologies 360 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 361
ID Group St/Dyn Ports 1 230.0.0.1 St Eth1/1 Total Num of Dynamic Group Addresses 0 Total Num of Static Group Addresses 1 switch (config) # Related Commands Note Mellanox Technologies 361 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 362
version is V2 Snooping switch is acting as Non-Querier mrouter static port list: Eth1/1 mrouter dynamic port list: none switch (config) # Related Commands Note Mellanox Technologies 362 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 363
Any Command Mode History 3.1.1400 Role admin Example switch (config) # show ip igmp snooping mrouter Vlan Ports 1 Eth1/1(static) switch (config) # Related Commands Note Rev 1.6.9 Mellanox Technologies 363 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 364
1400 Role admin Example switch (config) # show ip igmp snooping interfaces interface leave-mode ----------- ------------ 1/1 Normal 1/2 Normal 1/3 Normal 1/4 Fast ... switch (config) # Related Commands Note Rev 1.6.9 Mellanox Technologies 364 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 365
transmitted: 0 Unsuccessful joins received count Per Vlan: 0 Active/Successful joins received count Per Vlan: 0 Active Groups count: 0 Packets dropped: 0 switch (config) # Related Commands Note Rev 1.6.9 Mellanox Technologies 365 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 366
LLDP. Syntax Description N/A Default Disabled Configuration Mode Config History 3.2.0300 Role admin Example switch (config)# lldp switch (config)# Related Commands show lldp local Note Rev 1.6.9 Mellanox Technologies 366 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 367
Description seconds 1-10 Default 2 Configuration Mode Config History 3.2.0300 Role admin Example switch (config)# lldp reinit 10 switch (config)# Related Commands show lldp timers Note Mellanox Technologies 367 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 368
seconds 5-32768 Default 30 Configuration Mode Config History 3.2.0300 Role admin Example switch (config)# lldp timer 10 switch (config)# Related Commands show lldp timers Note Mellanox Technologies 368 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 369
)# Related Commands show lldp timers Note The recommended value for the tx-delay is set by the following formula: 1 - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 370
value of lldpMessageTxInterval is '30', and the value of lldpMessageTxHoldMultiplier is '4', then the value '120' is encoded in the TTL field in the LLDP header. Mellanox Technologies 370 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 371
1/1)# lldp receive switch (config interface ethernet 1/1)# lldp transmit switch (config interface ethernet 1/1)# Related Commands show lldp interface Note The LLDP is disabled by default (globally) Mellanox Technologies 371 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 372
argument Role admin Example switch (config interface ethernet 1/1)# lldp tlv-select port-description sys-name switch (config interface ethernet 1/1)# Related Commands show lldp interface Note Mellanox Technologies 372 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 373
Chassis sub type: macAddress (4) Chassis id: 0002C9030046AF00 System Name: my-switch System Description: SX1036 Supported capabilities: B,R Supported capabilities enabled: B Related Commands switch (config)# Note Rev 1.6.9 Mellanox Technologies 373 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 374
: sys-description, SC: sys-capabilities, MA: management-address Related Commands Interface Receive Transmit TLVs Eth1/1 Enabled Enabled PD,SN,SD,SC,MA switch (config)# Note Mellanox Technologies 374 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 375
: ifName(5) Remote port description: Ethernet 1/1 Remote system name: remote-system-name Remote system description: remote-system-description Remote system capabilities supported: B; enabled B Related Commands switch (config)# Note Mellanox Technologies 375 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 376
Role admin Example switch (config)# show lldp timers msg-tx-interval:30 tx-delay:2 tx-hold:4 tx-reinit-delay:2 switch (config)# Related Commands Note Rev 1.6.9 Mellanox Technologies 376 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 377
timers Remote Table Last Change Time : 10300 Remote Table Inserts : 5 Remote Table Deletes : 0 Remote Table Drops : 0 Remote Table Ageouts : 0 switch (config)# Related Commands Note Rev 1.6.9 Mellanox Technologies 377 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 378
)# show lldp statistics ethernet 1/1 Interface Frames In In TLVs TLVs Ageout Out Discarded Errors Total Discarded Unrecognize Frames Eth 1/1 0 0 10 0 0 0 0 switch (config)# Related Commands Note Mellanox Technologies 378 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 379
Rev 1.6.9 3.8 Quality of Service 3.8.1 Enhanced Transmission Selection (ETS) dcb ets enable dcb ets enable no dcb ets enable 25% 1 25% 2 25% 3 25% Number of Traffic Class: 4 Related Commands Note switch (config) # show dcb ets Mellanox Technologies 379 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 380
% 3 30% Number of Traffic Class: 4 Related Commands switch (config) # show dcb ets Note The sum of all traffic class bandwidth must be equal to 100. Mellanox Technologies 380 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 381
Ethernet History 3.1.0000 Role admin Example switch (config interface ethernet 1/1) # vlan map-priority 1 trafficclass 2 switch (config interface ethernet 1/1) # Related Commands show dcb ets interface Note Mellanox Technologies 381 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 382
admin Example switch (config)# show dcb ets ETS enabled TC Bandwidth 0 25% 1 25% 2 25% 3 25% Number of Traffic Class: 4 Related Commands Note switch (config) # Rev 1.6.9 Mellanox Technologies 382 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 383
interface. Syntax Description type ethernet or port-channel number interface number, i.e. 1/1 Default ETS is enabled. Configuration Mode Any Command Mode History 3.1.0000 Role admin Rev 1.6.9 Mellanox Technologies 383 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 384
Port Info TC Bandwidth RecomBandwidth 0 30% 30% 1 30% 30% 2 30% 30% 3 10% 10% ETS Remote Port Info No Remote Entry is Present switch (config) # Rev 1.6.9 Mellanox Technologies 384 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 385
priority-flow-control This command asks the user to approve traffic loss because there might be interfaces with dcb mode on, that will be shutdown. Mellanox Technologies 385 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 386
0 N 1 Y 2 Y 3 N Related Commands Note Interface PFC admin 1/1 Disabled 1/2 Disabled 1/3 Disabled 1/4 Disabled ... switch (config) # show dcb priority-flow-control PFC oper Disabled Disabled Disabled Disabled Mellanox Technologies 386 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 387
0 N 1 Y 2 Y 3 N Related Commands Note Interface PFC admin 1/1 On 1/2 Disabled 1/3 Disabled 1/4 Disabled ... switch (config) # show dcb priority-flow-control PFC oper Enabled Disabled Disabled Disabled Mellanox Technologies 387 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 388
: 0 : 1 2 3 4 5 6 7 TC Lossless 0 N 1 Y 2 Y 3 N Related Commands Note Interface PFC admin 1/1 On 1/2 Disabled 1/3 Disabled 1/4 Disabled ... switch (config) # PFC oper Enabled Disabled Disabled Disabled Mellanox Technologies 388 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 389
Example switch (config)# mac access-list my-mac-list switch (config mac access-list my-mac-list)# Related Commands ipv4/port access-group Note Rev 1.6.9 Mellanox Technologies 389 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 390
my-list switch (config interface ethernet 1/1) # Related Commands ipv4/mac access-list Note The access control list should be defined prior to the binding action. Mellanox Technologies 390 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 391
:ff any vlan 6 cos 2 protocol 80 switch (config mac access-list my-list) # Related Commands ipv4/mac access-list ipv4/mac port access-group Note Mellanox Technologies 391 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 392
-number 10 deny ip any any switch (config ipv4 access-list my-list) # Related Commands ipv4/mac access-list ipv4/mac port access-group Note Mellanox Technologies 392 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 393
tcp any any eq-source 1200 switch (config ipv4 access-list my-list) # Related Commands ipv4/mac access-list ipv4/mac port access-group Note Mellanox Technologies 393 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 394
)# show access-list action my-action Access-list Action my-action Mapped_Vlan_ID |Mapped_port |Counter_set |Policer_ID | N/A |N/A |N/A |N/A | switch (config access-list action my-action)# Related Commands Note Mellanox Technologies 394 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 395
access-list action my-action Access-list Action my-action Mapped_Vlan_ID |Mapped_port |Counter_set |Policer_ID | 10 |N/A |N/A |N/A | switch (config access-list action my-action)# Related Commands Note Mellanox Technologies 395 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 396
access-list action my-action Access-list Action my-action Mapped_Vlan_ID |Mapped_port |Counter_set |Policer_ID | 10 |N/A |N/A |N/A | switch (config access-list action my-action)# Related Commands Note Mellanox Technologies 396 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 397
(MAC ACL rule) deny/permit (IPv4 ACL rule) deny/permit (IPv4 TCP/UDP ACL rule) ipv4/mac access-list ipv4/mac port access-group Note Mellanox Technologies 397 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 398
(MAC ACL rule) deny/permit (IPv4 ACL rule) deny/permit (IPv4 TCP/UDP ACL rule) ipv4/mac access-list ipv4/mac port access-group Note Mellanox Technologies 398 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 399
session ID. The range is 1-7. Default N/A Configuration Mode Config History 3.3.3500 Role admin Example switch (config)# monitor session 1 switch (config monitor session 1)# Related Commands Note Mellanox Technologies 399 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 400
History 3.3.3500 Initial version 3.3.4100 Added force argument Role admin Example switch (config monitor session 1) # destination interface ethernet 1/2 switch (config monitor session 1)# Related Commands Note Mellanox Technologies 400 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 401
Disabled Configuration Mode Config Monitor Session History 3.3.3500 Role admin Example switch (config monitor session 1) # no shutdown switch (config monitor session 1)# Related Commands Note Rev 1.6.9 Mellanox Technologies 401 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 402
mirroring is configured in one direction (e.g. ingress) on an interface and then is configured in the other direction (e.g. egress), then the ultimate setting is "both". Mellanox Technologies 402 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 403
-class 2 switch (config monitor session 1)# Related Commands Note If add-ethernet-header is used, the source MAC address is the one attached to the switch. Mellanox Technologies 403 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 404
Example switch (config monitor session 1) # truncate switch (config monitor session 1)# Related Commands Note This command applies for all sessions on the same analyzer port. Rev 1.6.9 Mellanox Technologies 404 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 405
(config monitor session 1) # congestion pause-excessive-frames switch (config monitor session 1)# Related Commands Note This command applies for all sessions on the same analyzer port. Mellanox Technologies 405 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 406
- traffic class 2 - vlan 10 - priority 5 - destination-mac 00:0d:ec:f1:a9:c8 Source interfaces Interface direction eth1/1 both switch (config) # Related Commands Note Rev 1.6.9 Mellanox Technologies 406 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 407
eth1/2 2 Disable Down add-vlan eth1/2 3 Enable Up add-eth eth1/5 7 Disable Down local switch (config) # Source eth1/1(b) eth1/8(i), po1(e) eth1/18(e) Related Commands Note Mellanox Technologies 407 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 408
hides the sFlow commands. Syntax Description N/A Default Disabled Configuration Mode Config History 3.3.3500 Role admin Example switch (config) # protocol sflow switch (config) # Related Commands Note Mellanox Technologies 408 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 409
without deleting the configuration. Syntax Description N/A Default Disabled Configuration Mode Config History 3.3.3500 Role admin Example switch (config) # sflow enable switch (config) # Related Commands Note Mellanox Technologies 409 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 410
sflow sflow Enters sFlow configuration mode. Syntax Description N/A Default N/A Configuration Mode Config History 3.3.3500 Role admin Example switch (config) # sflow switch (config sflow) # Related Commands Note Rev 1.6.9 Mellanox Technologies 410 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 411
disables sampling. Default 16000 Configuration Mode Config sFlow History 3.3.3500 Role admin Example switch (config sflow) # sampling-rate 16111 switch (config sflow) # Related Commands Note Mellanox Technologies 411 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 412
3.3.3500 Role admin Example switch (config sflow) # max-sample-size 165 switch (config sflow) # Related Commands Note Sampled payload beyond the configured size is discarded. Mellanox Technologies 412 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 413
. Default 20 seconds Configuration Mode Config sFlow History 3.3.3500 Role admin Example switch (config sflow) # counter-poll-interval 30 switch (config sflow) # Related Commands Note Mellanox Technologies 413 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 414
(config sflow) # max-datagram-size 9216 switch (config sflow) # Related Commands Note This packet contains the data sample as well as the statistical counter data. Mellanox Technologies 414 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 415
: 6343 Configuration Mode Config sFlow History 3.3.3500 Role admin Example switch (config sflow) # collector-ip 10.10.10.10 switch (config sflow) # Related Commands Note Mellanox Technologies 415 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 416
switch (config sflow) # agent-ip 20.20.20.20 switch (config sflow) # Related Commands Note The IP address here is used in the sFlow header. Mellanox Technologies 416 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 417
counters. Syntax Description N/A Default N/A Configuration Mode Config sFlow History 3.3.3500 Role admin Example switch (config sflow) # clear counters switch (config sflow) # Related Commands Note Rev 1.6.9 Mellanox Technologies 417 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 418
Config Interface Port Channel History 3.3.3500 Role admin Example switch(config interface ethernet 1/1)# sflow enable ... switch(config interface port-channel 1)# sflow enable Related Commands Note Mellanox Technologies 418 Mellanox® Technologies Confidential - HP Mellanox SX1018 | Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 419
: Total Packets: 2000 Number of flow samples: 1200 Number of samples discarded: 0 Number of statistic samples: 800 Number of datagrams: 300 Related Commands Note Rev 1.6.9 Mellanox Technologies 419 Mellanox® Technologies Confidential
www.mellanox.com
Mellanox MLNX-OS®
Command Reference Guide for SX1018HP
Ethernet Managed Blade Switch
Rev 1.6.9
Software Version 3.3.4100
Mellanox® Technologies Confidential