HP Mellanox SX1018 Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether
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 SX1018HP Ether - Page 1
Mellanox MLNX-OS™ Command Reference Guide for SX1018HP Ethernet Managed Blade Switch Rev 1.6.2 Software Ver. 3.3.1000 www.mellanox.com - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 2
Rev 1.6.2 2 Mellanox Technologies Document Number: 3454 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 3
Table of Contents Rev 1.6.2 Table of Contents 3 Document Revision History 12 About this Manual 13 Chapter 1 Using the Command Line Interface 18 1.1 CLI Modes 18 1.2 Syntax Conventions 19 1.3 Getting neighbors 56 show ipv6 neighbors 57 ip dhcp 57 show ip dhcp 59 Mellanox Technologies 3 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 4
98 configuration merge 99 configuration move 100 configuration new 101 configuration revert 102 configuration switch-to 103 configuration text fetch 104 configuration text file 105 Mellanox Technologies 4 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 5
ldap bind-dn/bind-password 154 ldap group-attribute/group-dn 155 ldap host 156 ldap login-attribute 157 ldap port 158 ldap referrals 159 Mellanox Technologies 5 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 6
show xml-gw 203 2.15 Web Server 203 web auto-logout 204 web client cert-verify 205 web client ca-list 206 web enable 207 Mellanox Technologies 6 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 7
253 email ssl cert-verify 254 email ssl ca-list 255 show email 256 2.19 Statistics and Alarms 257 stats alarm clear 257 Mellanox Technologies 7 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 8
shutdown 300 description 301 speed 302 clear counters 303 show interfaces ethernet 304 show interfaces ethernet [] capabilities 305 show interfaces ethernet [] description 306 Mellanox Technologies 8 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 9
(config 346 ip igmp snooping fast-leave 348 ip igmp snooping static-group 349 ip igmp snooping mrouter 351 ip igmp snooping unregistered multicast 352 Mellanox Technologies 9 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 10
timers 369 show lldp statistics global 370 show lldp statistics [interface ethernet - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 11
ip load-sharing 406 ip arp 407 ip arp timeout 408 clear ip arp 409 show ip arp 410 ping 411 traceroute 412 tcpdump 415 Mellanox Technologies 11 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - 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 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 13
errata due to hardware issues see the switch support product page. This requires a customer support login. MX-OS Software 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 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - 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 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 15
privileges to a user/client for accessing specific services • Accounting - tracks network resources consumption by 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 downtime. Mellanox Technologies 15 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 16
Control applies pause functionality to traffic classes OR classes of service on the Ethernet link. QoS or Quality of Service Quality of service is the ability to manage different applications or users by two remote hosts. It is based on the Secure Shell (SSH) protocol. Mellanox Technologies 16 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 17
protocol that enables access to a network of devices 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 user interface in which you select commands from drop down - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - 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 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 19
Do not 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 lowercase get the following list of available commands switch [standalone: master] > ? Mellanox Technologies 19 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 20
enter "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 "en three commands that start with the letter "c": clear, cli and configure.) Mellanox Technologies 20 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 21
options. To re-enable a function or to set cancelled command parameters or options, enter the command without the "no" keyword (with parameter values if necessary). Mellanox Technologies 21 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - 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.2 Mellanox Technologies 22 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 23
> A domain name, e.g. "mellanox.com". full allowable range [0...65535]. A normal URL, using any protocol that wget supports, including http, https, ftp, sftp, and tftp; or a pseudo-URL - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 24
over IB in-band management, relevant only for InfiniBand switch systems. N/A Config 3.1.0000 admin switch (config) # interface mgmt0 switch (config interface mgmt0) # show interfaces Mellanox Technologies 24 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 25
: TX queue len: 467577486 1385520 0 0 0 0 0 1000 If DHCP is enabled on the specified interface, then the DHCP IP assignment will hold until DHCP is disabled. Mellanox Technologies 25 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 26
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 26 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 27
Rev 1.6.2 Related Commands Note show interfaces • If DHCP is enabled on the 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 27 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 28
interface 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 Mellanox Technologies 28 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 29
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 29 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 30
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 SX1018HP Ether - Page 31
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 31 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 32
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 SX1018HP Ether - Page 33
• 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 33 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 34
Autoconf enabled: no Autoconf route: yes Autoconf privacy: no IPv6 addresses: 0 Speed: auto Duplex: auto MTU: 1500 Comment: switch (config) # show interfaces configured Rev 1.6.2 Mellanox Technologies 34 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 35
route: yes Autoconf privacy: no IPv6 addresses: 0 Speed: auto Duplex: auto MTU: 1500 Comment: show interfaces configured Enabling zeroconf disables DHCP and vice versa. Mellanox Technologies 35 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 36
3738865 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 Mellanox Technologies 36 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 37
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 37 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 38
, 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 38 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 39
for SLAAC to construct the autoconfig address, if the autoconfig is enabled. No IP address available, auto config is enabled Config Interface Management 3.1.0000 admin Mellanox Technologies 39 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 40
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 40 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 41
: 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 41 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 42
Related Commands N/A Note Rev 1.6.2 Mellanox Technologies 42 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 43
, periods ('.'), and hyphens ('-'), in any combination • Hostname can't contain other letters, such as '%', '_', etc. • Hostname can't begin with a hyphen. • Hostname can be 1-63 characters long Mellanox Technologies 43 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 44
IPv6 ::1 maps to hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: no switch (config) # show hosts Rev 1.6.2 Mellanox Technologies 44 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 45
localhost IPv6 ::1 maps to hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: no switch (config) # show hosts Mellanox Technologies 45 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 46
-host IPv6 ::1 maps to hostname localhost6 Automatically map hostname to loopback address: yes Automatically map hostname to IPv6 loopback address: yes switch (config) # show hosts Mellanox Technologies 46 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 47
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 47 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 48
>} no ip route { | } Sets a static route for a given IP. The no form of the command deletes the static route. Mellanox Technologies 48 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 49
.255 172.30.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 show ip route Source DHCP static static static interface Mellanox Technologies 49 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 50
ip route • 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 50 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 51
) # show ipv6 route Destination prefix Gateway Interface Source ::/0 :: mgmt0 static ::1/128 :: lo local 2222:2222:2222::/64 :: mgmt1 interface switch (config) # show ip default-gateway Mellanox Technologies 51 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 52
ARP entry. The no form of the command deletes the static ARP. IP address IPv4 address. MAC address MAC address. N/A Config Interface Management 3.2.0500 admin Mellanox Technologies 52 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 53
:01:01 AA:AA:AA:AA:AA:AA Interface mgmt0 mgmt0 mgmt0 mgmt0 mgmt0 mgmt0 mgmt0 switch (config interface mgmt0) # show ip arp ip route • Mellanox Technologies 53 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 54
) # show ip arp count ARP Table size: 9 (inband:5, out of band:4) switch (config) # ip arp • Interface mgmt0 mgmt0 mgmt0 mgmt0 Vlan1 Vlan1 Vlan1 Vlan1 Vlan1 Mellanox Technologies 54 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 55
) 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 55 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 56
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 56 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 57
dhcp {default-gateway yield-to-static| hostname | | primary-intf | send-hostname} Sets global DHCP configuration. The no form of the command deletes the DHCP configuration. Mellanox Technologies 57 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 58
to static configuration: yes DHCP Client Options: Send Hostname: no Client Hostname: switch (using system hostname) switch (config) # show ip dhcp dhcp [renew] DHCP is supported for IPv4 networks only. Mellanox Technologies 58 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 59
IPv6 globally on the management interface. The no form of the command disables IPv6 globally on the management interface. N/A IPv6 is disabled Config 3.1.0000 admin Mellanox Technologies 59 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 60
Example Related Commands Note switch (config) # ipv6 enable switch (config) # show ipv6 IPv6 summary IPv6 supported: yes IPv6 admin enabled: yes IPv6 interface count: 2 switch (config) # ipv6 default-gateway ipv6 host ipv6 map-hostname ipv6 neighbor ipv6 route show ipv6 show - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 61
ms ^C --- 172.30.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) # traceroutes Mellanox Technologies 61 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 62
Rev 1.6.2 traceroute traceroute [-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 62 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 63
and the 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. Sets the , else it is a number of seconds (float point values allowed too). Mellanox Technologies 63 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 64
11.985 ms 12.264 ms 6 192.168.10.70 (192.168.10.70) 16.377 ms 16.091 ms 20.475 ms switch (config) # Mellanox Technologies 64 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 65
:1495104(304) ack 625 win 90 ... 9141 packets captured 9142 packets received by filter 0 packets dropped by kernel switch (config) # N/A Mellanox Technologies 65 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 66
license keys. The no form of the command uninstalls an existing license key. If the key specified was not already installed, an error is returned. Mellanox Technologies 66 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 67
3.1.0000 admin switch (config) # license install switch (config) # show licenses License 1: Feature: SX_CONFIG Valid: yes Active: yes switch (config) # show licenses Mellanox Technologies 67 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 68
is currently activated by a license N/A N/A Config 3.1.0000 monitor/admin switch (config) # show licenses License 1: Feature: SX_CONFIG Valid: yes Active: yes switch (config) # license Mellanox Technologies 68 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 69
Time zone: UTC (Etc/UTC) UTC offset: same as UTC switch (config) # show clock If not specified, the date will be left the same. Rev 1.6.2 Mellanox Technologies 69 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 70
Other New_York switch (config) # show clock Time: 04:21:44 Date: 2012/02/26 Time zone: America North United_States Other New_York switch (config) # show clock Mellanox Technologies 70 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 71
values are 3 or 4. NTP is enabled. NTP version number is 4. Config 3.1.0000 admin switch (config) # no ntp peer 192.168.10.24 disable switch (config) # N/A Mellanox Technologies 71 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 72
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 72 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 73
. N/A N/A Config 3.1.0000 admin switch (config) # show clock Time: 04:21:44' Date: 2012/02/26 Time zone: America North United_States Other New_York switch (config) # N/A Rev 1.6.2 Mellanox Technologies 73 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 74
current NTP settings. N/A N/A Config 3.1.0000 admin switch (config) # show ntp NTP is enabled. Clock is unsynchronized. No NTP peers or servers configured. switch (config) # N/A Rev 1.6.2 Mellanox Technologies 74 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 75
one currently booted from, thus avoiding a cycle through all the available locations. N/A enable/config 3.1.0000 admin switch (config) # image boot location 2 switch (config) # show images Mellanox Technologies 75 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 76
to falling back to the initial database, since the latter will generally involve a loss of network connectivity, and avoid that is considered of paramount importance. Mellanox Technologies 76 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 77
firmware filename. N/A Config 3.1.0000 admin switch (config) # image default-chip-fw image-SX_PPC_M460EX-ppc-m460ex20120122-084759.img switch (config) # image install-chip fw show images Mellanox Technologies 77 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 78
image file. image name Specifies the image name. N/A Config 3.1.0000 admin switch (config) # image delete image-MLXNX-OS-201140526-010145.img switch (config) # show images Mellanox Technologies 78 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 79
URL or via SCP. URL HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. filename Specifies a filename for this image image • 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 SX1018HP Ether - Page 80
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 80 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 81
name. dest image name Specifies the new image name. N/A Config 3.1.0000 admin switch (config) # image move image1.img image2.img switch (config) # show images Rev 1.6.2 Mellanox Technologies 81 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 82
be valid. require-sig Requires images to be signed by a trusted signature. N/A Config 3.1.0000 admin switch (config) # image options require-sig switch (config) # show images Mellanox Technologies 82 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 83
. Image signing: trusted signature always required Admin require signed images: yes Settings for next boot only: Fallback reboot on configuration failure: yes (default) switch (config) # N/A Mellanox Technologies 83 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 84
. Image signing: trusted signature always required Admin require signed images: yes Settings for next boot only: Fallback reboot on configuration failure: yes (default) switch (config) # N/A Mellanox Technologies 84 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 85
FTP server is disabled Config 3.1.0000 admin switch (config) # ftp-server enable switch (config) # show ftp-server FTP server enabled: yes show ftp-server Rev 1.6.2 Mellanox Technologies 85 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 86
Generated dump sysdump-switch-112104-201140526-091707.tgz switch (config) # file debug-dump The dump can then be manipulated using the "file debug-dump..." commands. Mellanox Technologies 86 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 87
or not. upload Uploads a debug dump file to a remote host. URL HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. N/A Config 3.1.0000 admin switch (config) # file debug-dump email sysdump-switch-112104-20114052091707.tgz - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 88
file. upload Uploads a stats report file. URL - HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. N/A Config 3.1.0000 admin switch (config) # file stats move memory-1.csv memory-2.csv switch - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 89
to the specified URL. Default Modes/Context History Role Example Related Commands Note URL - HTTP, HTTPS, FTP, TFTP, SCP and SFTP are supported. Example: scp://username[:password]@hostname/path/filename. N/A Config 3.1.0000 admin switch (config) # file tcmpdump delete my-tcpdump-file.txt switch - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 90
of 'uname -a': Linux switch-112104 2.6.27-MELLANOXuni-m405ex SX_PPC 3.1.0000 #1 201201-25 13:59:00 ppc ppc ppc GNU/Linux switch (config) # file debug-dump Mellanox Technologies 90 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 91
. filename Display the contents of a particular statistics report file. N/A Config 3.1.0000 admin switch (config) # show files stats memory-201140524-111745.csv switch (config) # file stats Mellanox Technologies 91 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 92
209 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 Mellanox Technologies 92 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 93
Related Commands Note Displays a list of statistics report files. N/A N/A Config 3.1.0000 admin switch (config) # show files stats test dump3 switch (config) # file tcpdump tcpdump Rev 1.6.2 Mellanox Technologies 93 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 94
3.1.0000 admin switch (config) # configuration audit max-changes 100 switch (config) # show configuration audit Maximum number of changes to log: 100 switch (config) # show configuration N/A Mellanox Technologies 94 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 95
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 95 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 96
.bak initial.prev switch (config) # show configuration • This command does not affect the current running configuration • The active configuration file may not be deleted Rev 1.6.2 Mellanox Technologies 96 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 97
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 97 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 98
configuration wizard. N/A N/A Config 3.1.0000 admin switch (config) # configuration jump-start Mellanox configuration wizard Step 1: Hostname? [switch-3cc29c] Step 2: Use DHCP on mgmt0 "Initializing the Switch for the First Time" in the Mellanox MLNX-OS SwitchX User Manual Mellanox Technologies 98 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 99
(config) # configuration merge new-config-file switch (config) # • No configuration files are modified during this process • The configuration name must be a non-active configuration file Mellanox Technologies 99 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 100
switch (config) # show configuration • This command does not affect the current running configuration • The active configuration file may not be the target of a move Rev 1.6.2 Mellanox Technologies 100 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 101
initial initial.bak initial.prev switch (config) # configuration new example2 switch (config) # show configuration files example2 initial initial.bak initial.prev switch (config) # show configuration Mellanox Technologies 101 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 102
connectivity (interfaces, routes, and ARP). saved Reverts running configuration to last saved configuration. N/A Config 3.1.0000 admin switch (config) # configuration revert saved switch (config) # show configuration Mellanox Technologies 102 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 103
) initial.prev initial.bak switch (config) # show configuration files The current running configuration is lost and not automatically saved to the previous active configuration file. Mellanox Technologies 103 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 104
filename for saving downloaded text file N/A Config 3.2.1000 Initial version 3.2.3000 Updated command admin switch (config) # configuration fetch text scp://username[:password]@hostname/path/filename N/A Mellanox Technologies 104 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 105
and their output, instead of just those that get errors. delete Deletes the file. rename Renames the file. upload Supported types are HTTP, HTPPS, FTP, TFTP, SCP and SFTP. For example: scp://username[:password]@hostname/path/filename. N/A Config 3.1.0000 admin switch - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 106
inactive saved configuration. save Saves new file to local persistent storage. upload Supported types are HTTP, HTPPS, FTP, TFTP, SCP and SFTP. For example: scp:// Active configuration: initial Unsaved changes: yes switch (config) # show configuration files Mellanox Technologies 106 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 107
admin switch (config) # configuration upload active scp://root:password@ 192.168.10.125/tmp/conf1 switch (config) # N/A No configuration file may have the name "active". Mellanox Technologies 107 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 108
auto no interface mgmt0 zeroconf ## ## Local user account configuration ## username a** capability admin no username a** disable username a** disable password ...... switch (config) # show running-config configuration write Mellanox Technologies 108 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 109
interface mgmt0 display interface mgmt0 duplex auto interface mgmt0 mtu 1500 no interface mgmt0 shutdown interface mgmt0 speed auto no interface mgmt0 zeroconf switch (config) # N/A Mellanox Technologies 109 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 110
... switch (config) # show configuration running Same as "show configuration running" except that it applies to the currently running configuration, rather than the current persisted configuration. Mellanox Technologies 110 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 111
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 111 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 112
condition • info - informational condition • none - disables the logging locally and remotely • notice - normal, but significant condition • warning - warning condition Override is disabled. Config 3.1.0000 admin Mellanox Technologies 112 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 113
) 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 113 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 114
• info - informational condition • none - disables the logging locally and remotely • notice - normal, but significant condition • warning - warning condition Remote logging is disabled Config 3.1.0000 admin Mellanox Technologies 114 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 115
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 115 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 116
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 116 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 117
(43 megabytes) Log format: standard Subsecond timestamp field: disabled Levels at which messages are logged: CLI commands: notice Audit messages: notice switch (config) # show logging Mellanox Technologies 117 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 118
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 118 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 119
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 119 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 120
field: enabled Subsecond timestamp precision: 1 whole digit; 3 fractional digits Levels at which messages are logged: CLI commands: info Audit messages: notice switch (config) # show logging Mellanox Technologies 120 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 121
and audit message are set to notice logging level Config 3.1.0000 admin switch (config) # logging files delete current switch (config) # show logging show log files Mellanox Technologies 121 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 122
to this number, starting with the oldest. 10 files are kept by default with rotation criteria of 5% of the log partition size Config 3.1.0000 admin Mellanox Technologies 122 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 123
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 123 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 124
The file 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. 10 files are kept by default with files uplaod 1 scp://admin@scpserver show logging show log files Mellanox Technologies 124 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 125
are logged: CLI commands: info Audit messages: notice switch (config) # logging fields logging files rotation logging level logging local logging receive logging Mellanox Technologies 125 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 126
Feb 1 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]: [4.199] [ .INFO]: Event sent by user i:2785-0-0 has been handled switch (config) # Mellanox Technologies 126 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 127
asking about unsaved changes. N/A Config 3.1.0000 admin switch (config) # reload Configuration has been modified; save first? [yes] yes Configuration changes saved. ... switch (config) # reset factory Mellanox Technologies 127 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 128
> [capability | disable [login | password] | full-name] Creates a user and sets its capabilities, password and name. The no form of the command deletes the user configuration. Mellanox Technologies 128 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 129
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 129 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 130
switch (config) # username show users CAPABILITY admin admin monitor admin monitor ACCOUNT STATUS Password set Password set Password set No password required No password required Mellanox Technologies 130 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 131
/3 172.22.237.34 Wed Feb 1 11:42 - 11:46 (00:04) wtmp begins Wed Feb 1 11:38:10 2012 switch (config) # username show usernames Mellanox Technologies 131 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 132
an AAA accounting server. The no form of the command disables the accounting. N/A N/A Config 3.1.0000 Initial version 3.2.3000 Removed 'time' parameter from the command. admin Mellanox Technologies 132 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 133
tacacs+ switch (config) # show aaa • TACACS+ is presently the only accounting service method supported • Change accounting covers both configuration changes and system actions that are visible under audit logged when the action is started, not when the action has completed Mellanox Technologies 133 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 134
authentication is attempted. It is required that "local" is one of the methods selected. It is recommended 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 SX1018HP Ether - Page 135
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 135 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 136
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 136 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 137
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 SX1018HP Ether - Page 138
Rev 1.6.2 Default Modes/Context History Role Example Related Commands Note N/A Config 3.2.3000 admin switch (config) # aaa authentication attempts lockout enable N/A Mellanox Technologies 138 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 139
not track authentication for such users (which of course also implies no-lockout). N/A Config 3.2.3000 admin switch (config) # aaa authentication attempts class-override admin nolockout N/A Mellanox Technologies 139 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 140
. no-unlock Leaves the account locked but clears the history of login failures. N/A Config 3.2.3000 admin switch (config) # aaa authentication attempts reset user admin all N/A Mellanox Technologies 140 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 141
-history Clears the history of login failures. no-unlock Unlocks the account. N/A Config 3.2.3000 admin switch (config) # aaa authentication attempts reset user admin noclear-history N/A Mellanox Technologies 141 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 142
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 142 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 143
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 143 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 144
: admin Map Order: remote-first Authentication method(s): local Accounting method(s): tacacs+ switch (config) # aaa accounting aaa authentication aaa authorization show aaa show usernames username Rev 1.6.2 Mellanox Technologies 144 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 145
time from -------- ------- 0Q72B43EHBKT8CB5AF5PGRX3U3B3TUL4CYJP93N(*) no no 08/20 14:29:19 ttyS0 Last fail ------- 1 2012/ (*) Hashed for security reasons switch-627d3c [standalone: master] (config) # switch (config) # N/A Mellanox Technologies 145 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 146
servers configured. switch (config) # aaa authorization radius-server host show radius Each RADIUS server can override those global parameters using the command "radius-server host". Mellanox Technologies 146 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 147
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 147 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 148
servers: 40.40.40.40:1812 Enabled: yes Key: 3333 (default) Timeout: 3 (default) Retransmit: 1 (default) switch (config) # aaa authorization radius-server radius-server host Rev 1.6.2 Mellanox Technologies 148 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 149
. switch (config) # aaa authorization show radius show tacacs tacacs-server host Each TACACS+ server can override those global parameters using the command "tacacs-server host". Mellanox Technologies 149 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 150
: 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 150 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 151
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 151 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 152
.40.40:49 Enabled: yes Auth-type PAP Key: 3333 (default) Timeout: 3 (default) Retransmit: 1 (default) switch (config) # aaa authorization tacacs-server tacacs-server host Rev 1.6.2 Mellanox Technologies 152 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 153
: none Server SSL port : 636 (not active) SSL cert verify : yes LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show ldap Mellanox Technologies 153 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 154
servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show ldap For anonymous login, bind-dn and bind-password should be empty strings "". Mellanox Technologies 154 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 155
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 155 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 156
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 156 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 157
SSL port : 636 (not active) SSL cert verify : yes LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Mellanox Technologies 157 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 158
SSL port : 636 (not active) SSL cert verify : yes LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Mellanox Technologies 158 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 159
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 159 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 160
SSL port : 636 (not active) SSL cert verify : yes LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Mellanox Technologies 160 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 161
SSL security mode is enabled (LDAP over SSL). cert-verify is enabled mode is none (LDAP SSL is not activated) port-number is 636 Config Mellanox Technologies 161 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 162
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 162 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 163
SSL port : 636 (not active) SSL cert verify : yes LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Mellanox Technologies 163 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 164
SSL port : 636 (not active) SSL cert verify : yes LDAP servers: 1: 10.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap Mellanox Technologies 164 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 165
.10.10.10 2: 10.10.10.12 switch (config) # show aaa show ldap 2.9 Cryptographic (X.509, IPSec) This chapter displays X.509 and IPSec related commands Rev 1.6.2 Mellanox Technologies 165 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 166
identity | pfs-group | preshared-key | prompt-preshared-key | transform-set] | manual [auth | disable | encrypt | local-spi | mode | remote-spi]}} Syntax Description IPSec peering • local-spi: Configures the local SPI for this manual IPSec peering • mode: Configures the peering mode for this IPSec - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 167
Rev 1.6.2 Default Modes/Context History Role Example Related Commands Note N/A Config 3.2.3000 admin switch (config)# crypto ipsec peer 10.10.10.10 local 10.7.34.139 enable switch (config)# N/A Mellanox Technologies 167 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 168
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 168 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 169
• 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 169 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 170
the organization name. state-or-prov Configures the default certificate value for state or province. N/A Config 3.2.1000 admin switch (config) # crypto certificate generation default organization Mellanox N/A Mellanox Technologies 170 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 171
Installs a certificate. regenerate Regenerates the named certificate using configured certificate generation default values for the specified validity period rename Renames the certificate. N/A Config 3.2.3000 admin Mellanox Technologies 171 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 172
Rev 1.6.2 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 172 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 173
generation. days-valid Specifies the number of days the certificate is valid N/A Config 3.2.1000 admin switch (config) # crypto certificate system-self-signed regenerate days-valid 3 N/A Mellanox Technologies 173 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 174
to the certificate. name Displays information about the certificate specified. public-pem Displays the uninterpreted public certificate as a PEM formatted data string N/A Config 3.2.1000 admin Mellanox Technologies 174 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 175
: 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 175 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 176
Association State No active IPSec security associations. switch (config)# N/A 2.10 CLI Session This chapter displays all the relevant commands used to manage CLI session terminal. Mellanox Technologies 176 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 177
cli clear-history cli clear-history Syntax Description Default Modes/Context History Role Example Related Commands Note Clears the command history of the current user. N/A N/A Config 3.1.0000 admin switch (config) # cli clear-history switch (config) # N/A Rev 1.6.2 Mellanox Technologies 177 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 178
or not to save unsaved changes before rebooting. prompt empty-password Prompts for a password if none is specified in a pseudoURL for SCP. N/A Config 3.1.0000 admin Mellanox Technologies 178 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 179
: 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 179 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 180
the width of the terminal in characters. Valid range is 34-999. x-display full Specifies the display as a raw string, e.g localhost:0.0. N/A Config 3.1.0000 admin Mellanox Technologies 180 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 181
Example Related Commands Note switch (config) # cli session auto-logout switch (config) # show terminal Rev 1.6.2 Mellanox Technologies 181 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 182
: Show hidden config: yes Confirm losing changes: yes Confirm reboot/shutdown: no Confirm factory reset: yes Prompt on empty password: yes switch (config) # cli default Mellanox Technologies 182 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 183
login-local refers to the serial connection banner. The no form of the command resets the system login banner to its default. string Text string. "Mellanox MLNX-OS Switch Management" Config 3.1.0000 admin switch (config) # banner login example switch (config) # show banner Banners: MOTD - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 184
) # banner login-remote Testing switch (config) # show banner If more then one word is used (there is a space) quotation marks should be added (i.e. "xxxx xxxx"). Mellanox Technologies 184 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 185
Switch" Config 3.1.0000 admin switch (config) # banner motd Testing switch (config) # show banner Banners: MOTD: Testing Login: Mellanox MLNX-OS Switch Management switch (config) # show banner If more then one word is used (there is a space) quotation marks should be added (i.e. "xxxx xxxx - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 186
Example Related Commands Note Displays configured banners. N/A N/A Config 3.1.0000 unpriv/monitor/admin switch (config) # show banner Banners: MOTD: Testing Login: Mellanox MLNX-OS Switch Management switch (config) # banner login banner motd 2.12 SSH ssh server enable ssh server enable no ssh - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 187
:be:3e:68 switch (config) # show ssh server Disabling SSH server does not terminate existing SSH sessions, it only prevents new ones from being established. Mellanox Technologies 187 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 188
the host keys of the specified type. generate Generates new RSA and DSA host keys for SSH. SSH keys are locally generated Config 3.1.0000 admin Mellanox Technologies 188 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 189
/ F4E31lyn7GC4EQAAAIA/2osHipXf+NRjplgfmHROVVf/mGE9Vzc9/ AMUxlJJn5VhvEJ5CZW9cI+LxMOJojhOj3YW3B1czGxRObDA9vUbKXTNc8bkgoUrxySAH1rH N0PqJgeT4L009AItSp3m1mxHqdS7jixfTvOTEKWXrgpczlmTB8+zjhUah/YuuBl2H g==" switch (config) # show ssh server Mellanox Technologies 189 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 190
DSA v2 host key: 7c:4a:f7:72:51:67:b5:0b:cd:a2:d2:b9:f3:be:3e:68 switch (config) # show ssh server Mellanox Technologies 190 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 191
Sets the minimum version of the SSH protocol that the server supports. The no form of the command resets the minimum version of SSH protocol supported. version Possible versions are 1 and 2. 2 Config 3.1.0000 :a2:d2:b9:f3:be:3e:68 switch (config) # show ssh server Mellanox Technologies 191 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 192
ssh server • Multiple ports can be specified by repeating the parameter • The command will remove any previous ports if not listed in the command Mellanox Technologies 192 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 193
:72: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 Mellanox Technologies 193 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 194
: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 194 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 195
Related Commands Note show ssh client Rev 1.6.2 Mellanox Technologies 195 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 196
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 specified running the "show" command to prevent the newlines from being inserted. Mellanox Technologies 196 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 197
. 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 SX1018HP Ether - Page 198
: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) # N/A Mellanox Technologies 198 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 199
:d6 DSA v2 host key: 7c:4a:f7:72:51:67:b5:0b:cd:a2:d2:b9:f3:be:3e:68 switch (config) # ssh server Mellanox Technologies 199 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 200
. N/A Telnet server is disabled Config 3.1.0000 admin switch (config) # telnet-server enable switch (config) # show telnet-server Telnet server enabled: yes show telnet-server Rev 1.6.2 Mellanox Technologies 200 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 201
Related Commands Note Displays telnet server settings. N/A N/A Config 3.1.0000 admin switch (config) # show telnet-server Telnet server enabled: yes switch (config) # telnet-server enable Rev 1.6.2 Mellanox Technologies 201 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 202
is enabled Config 3.1.0000 admin switch (config) # xml-gw enable switch (config) # show xml-gw XML Gateway enabled: yes switch (config) # show xml-gw Rev 1.6.2 Mellanox Technologies 202 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 203
the XML gateway setting. N/A N/A Config 3.1.0000 admin switch (config) # show xml-gw XML Gateway enabled: yes switch (config) # xml-gw enable 2.15 Web Server Rev 1.6.2 Mellanox Technologies 203 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 204
10.10.10.10 1080 basic web-user web-password The no form of the command does not automatically log users out due to inactivity. Mellanox Technologies 204 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 205
transfers. The no form of the command disables verification of server certificates during HTTPS file transfers. N/A N/A Config 3.2.3000 admin switch (config) # web client cert-verify N/A Mellanox Technologies 205 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 206
default supplemental CA certificate list. none Uses no supplemental certificates. default-ca-list Config 3.2.3000 admin switch (config) # web client ca-list default-ca-list N/A Mellanox Technologies 206 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 207
address: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # show web 10.10.10.10 1080 basic web-user web-password Mellanox Technologies 207 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 208
: 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 208 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 209
Related Commands Note show web web enable Enabling HTTP is meaningful if the WebUI as a whole is enabled. Rev 1.6.2 Mellanox Technologies 209 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 210
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 210 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 211
: 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 211 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 212
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 212 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 213
: yes 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 Mellanox Technologies 213 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 214
: 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 214 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 215
Related Commands Note show web web proxy host Rev 1.6.2 Mellanox Technologies 215 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 216
: Proxy port: Authentication type: Basic auth username: Basic auth password: switch (config) # web proxy auth 10.10.10.10 1080 basic web-user web-password Mellanox Technologies 216 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 217
type: Basic auth username: Basic auth password: switch (config) # show web web proxy auth 10.10.10.10 1080 basic web-user web-password Rev 1.6.2 Mellanox Technologies 217 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 218
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 218 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 219
listen enabled: yes No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 No trap sinks configured. switch (config) # show snmp Mellanox Technologies 219 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 220
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 220 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 221
are configured Default community is "public" Default UDP port is 162 Default SNMP version is 2c Config 3.1.0000 Initial version. 3.2.1050 Add inform option. admin Mellanox Technologies 221 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 222
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 222 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 223
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 223 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 224
listen enabled: yes No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 No trap sinks configured. switch (config) # show snmp Mellanox Technologies 224 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 225
events • 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 225 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 226
listen enabled: yes No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 No trap sinks configured. switch (config) # show snmp Mellanox Technologies 226 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 227
-128 Authentication password: (NOT SET; user disabled) Privacy password: (NOT SET; user disabled) SET access: Enabled: yes Capability level: admin switch (config) # show snmp user Mellanox Technologies 227 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 228
enabled: yes No Listen Interfaces. Traps enabled: Default trap community: Default trap port: yes public 162 No trap sinks configured. switch(config) # show snmp Rev 1.6.2 Mellanox Technologies 228 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 229
2.17 Scheduled Jobs Use the commands in this section to manage and schedule the execution of jobs. Rev 1.6.2 Mellanox Technologies 229 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 230
job. job ID An integer. N/A Config 3.1.0000 admin switch (config) # job 100 switch (config job 100) # show jobs Job state is lost on reboot. Rev 1.6.2 Mellanox Technologies 230 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 231
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 231 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 232
to be added (string). "" Config job 3.1.0000 admin switch (config)# job 100 switch (config job 100) # comment Job_for_example switch (config job 100) # show jobs Rev 1.6.2 Mellanox Technologies 232 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 233
switch (config job 100) # show jobs If a job is disabled, it will not be executed automatically according to its schedule; nor can it be executed manually. Mellanox Technologies 233 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 234
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 234 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 235
of its commands fails Config job 3.1.0000 admin switch (config)# job 100 switch (config job 100) # fail-continue switch (config job 100) # show jobs Rev 1.6.2 Mellanox Technologies 235 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 236
the job (string). "". Config job 3.1.0000 admin switch (config)# job 100 switch (config job 100) # name my-job switch (config job 100) # show jobs Rev 1.6.2 Mellanox Technologies 236 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 237
once switch (config job 100) # show jobs A schedule type is essentially a structure for specifying one or more future dates and times for a job to execute. Mellanox Technologies 237 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 238
10 switch (config job 100) # show jobs A schedule type is essentially a structure for specifying one or more future dates and times for a job to execute. Mellanox Technologies 238 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 239
13:11:42 +0000 Next Exec Time: N/A Commands: Command 10: show power Last Output: Module Status PS1 OK PS2 NOT PRESENT switch (config) # show jobs Mellanox Technologies 239 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 240
enable Syntax Description Default Modes/Context History Role Example Related Commands Note Enables the support of the email notification and specifies which events will be sent as email notifications. show email Refer to "show email event" command for full event list. Mellanox Technologies 240 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 241
support email. The no form of the command resets auto-support email security mode to its default. none Does not use TLS to secure auto-support secure auto- support email and does not send an email if TLS fails. tls-none Attempts TLS over the default server port to secure auto-support email, and - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 242
Verifies server certificates. The no form of the command does not verify server certificates. N/A N/A Config 3.2.3000 admin switch (config) # email autosupport ssl cert-verify N/A Rev 1.6.2 Mellanox Technologies 242 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 243
supplemental CA certificate list. none No supplemental list; uses built-in list only. default_ca_list Config 3.2.3000 admin switch (config) # email autosupport ssl ca-list default_ca_list N/A Mellanox Technologies 243 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 244
saving undeliverable emails. The no form of the command disables sending of emails to vendor auto-support upon certain failures. duration Example: "5d4h3m2s" for 5 days, 4 hours, 3 minutes, admin switch (config) # email dead-letter enable switch (config) # show email Mellanox Technologies 244 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 245
hostname or IP address IP address. No email domain Config 3.1.0000 admin 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) # show emails - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 246
: 10.0.8.11 Mail hub port: 25 Domain: (not specified) Return address: do-not-reply Include hostname in return address: yes ... switch (config) # show email [events] Mellanox Technologies 246 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 247
.0.8.11 Mail hub port: 125 Domain: (system domain name) Return address: do-not-reply Include hostname in return address: yes ... switch (config) # show email Rev 1.6.2 Mellanox Technologies 247 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 248
has crashed liveness-failure: A process in the system was detected as hungswitch (config) # switch (config) # show email 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 248 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 249
Sends detailed event emails to this recipient. No recipients are added Config 3.1.0000 admin 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 return - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 250
(config) # show email Mail hub: Mail hub port: 25 Domain: (not specified) Return address: user1 Include hostname in return address: yes ... switch (config) # show email Mellanox Technologies 250 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 251
files: yes Dead letter max age: 5 days No recipients configured. Autosupport emails Enabled: no Recipient: [email protected] Mail hub: autosupport.mellanox.com switch (config) # show email This only takes effect if the return address does not contain an "@" character - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 252
Note Sends test-email to all configured event and failure recipients. N/A N/A Config 3.1.0000 admin switch (config) # email autosupport enable switch (config) # show email [events] Rev 1.6.2 Mellanox Technologies 252 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 253
regular mailhub port, with STARTTLS. If this fails, it falls back on plaintext. default-cert Config 3.2.3000 admin switch (config) # email ssl mode tls-none N/A Mellanox Technologies 253 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 254
of SSL/TLS server certificates for email. N/A N/A Config 3.2.3000 admin switch (config) # email ssl cert-verify N/A This command has no impact unless TLS is used. Mellanox Technologies 254 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 255
-list Config 3.2.3000 admin switch (config) # email ssl ca-list none N/A This command has no impact unless TLS is used, and certificate verification is enabled. Mellanox Technologies 255 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 256
: host@localdomain Dead letter settings: Save dead.letter files: yes Dead letter max age: 5 days No recipients configured. Autosupport emails Enabled: no Recipient: [email protected] Mail hub: autosupport.mellanox.com switch (config) # show email - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 257
Modes/Context History Role Example Related Commands Note Clears alarm state. alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: switch (config) # stats alarm cpu_util_indiv clear switch (config) # show stats alarm Mellanox Technologies 257 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 258
no form of the command disables the alarm, notifications will not be received. alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: per- cent ) # stats alarm cpu_util_indiv enable switch (config) # show stats alarm Mellanox Technologies 258 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 259
Example Related Commands Note Configures repetition of events from this alarm. alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: stats alarm cpu_util_indiv event-repeat single switch (config) # show stats alarm Mellanox Technologies 259 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 260
Context History Role Example Related Commands Note Configure alarms thresholds. alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too 10 switch (config) # show stats alarm Not all alarms support all four thresholds. Mellanox Technologies 260 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 261
/Context History Role Example Related Commands Note Configures alarms rate limit. alarm ID Alarms supported by the system, for example: • cpu_util_indiv - Average CPU utilization too high: stats alarm paging rate-limit window long 2000 switch (config) # show stats alarm Mellanox Technologies 261 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 262
Modes/Context History Role Example Related Commands Note Clears CHD counters. CHD ID CHD supported by the system, for example: • cpu_util - CPU utilization: percentage of time 0000 admin switch (config) # stats chd memory_day clear switch (config) # show stats chd Mellanox Technologies 262 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 263
Note Enables the CHD. The no form of the command disables the CHD. chd-id CHD supported by the system, for example: • cpu_util - CPU utilization: percentage of time spent • monitor/admin switch (config) # stats chd memory_day enable switch (config) # show stats chd Mellanox Technologies 263 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 264
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 264 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 265
Related Commands Note show stats chd Rev 1.6.2 Mellanox Technologies 265 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 266
: page faults • power - Power supply usage • power-consumption • temperature - Modules temperature N/A Config 3.1.0000 admin switch (config) # stats sample temperature clear switch (config) # show stats sample Mellanox Technologies 266 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 267
faults • power - Power supply usage • power-consumption • temperature - Modules temperature Enabled Config 3.1.0000 admin switch (config) # stats sample temperature enable switch (config) # show stats sample Mellanox Technologies 267 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 268
(config) # stats sample temperature interval 1 switch (config) # show stats sample temperature Sample "temperature" (Modules temperature): Enabled: yes Sampling interval: 1 second switch (config) # show stats sample Mellanox Technologies 268 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 269
Related Commands Note Clears data for all samples, CHDs, and status for all alarms. N/A N/A Config 3.1.0000 admin switch (config) # stats clear-all switch (config) # N/A Rev 1.6.2 Mellanox Technologies 269 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 270
Role Example Related Commands Note Exports statistics to a file. format Currently the only supported value for is "csv" (comma-separated value). report name Determines dataset config) # show files stats mellanoxexample.csv switch (config) # show files stats Mellanox Technologies 270 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 271
memory_pct_used (Too much memory in use): (disabled) Alarm paging (Paging activity too high): ok Alarm temperature (Temperature is too high): ok switch (config) # stats alarm Mellanox Technologies 271 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 272
for 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 Mellanox Technologies 272 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 273
switch (config) # show stats cpu 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 Mellanox Technologies 273 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 274
interval: 1 minute 11 seconds switch (config) # N/A 2.20 Chassis Management health health {max-report-len | re-notif-cntr | report-clear} Configures health daemon settings. Mellanox Technologies 274 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 275
the health report. max-report-len: 50 re-notif-cntr: Config 3.1.0000 admin switch (config) # health re-notif-cntr 125 switch (config) # show health-report Mellanox Technologies 275 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 276
modules. Config 3.1.0000 admin switch (config) # power enable L01 switch (config) # show power show power consumers This command is not applicable for 1U systems. Rev 1.6.2 Mellanox Technologies 276 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 277
Commands Note Gracefully turns off the USB interface. N/A N/A Config 3.1.0000 admin switch (config) # usb eject switch (config) # N/A Applicable only for systems with USB interface. Rev 1.6.2 Mellanox Technologies 277 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 278
• This command will delete all switch configuration (keeping IP connectivity) and reset the system • Refer to the "Licensing" chapter in the MLNX-OS SwitchX User Manual • Refer to the 'port type' command in order to change the link protocol - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 279
OK FAN FAN F3 5640.00 OK FAN FAN F4 5640.00 OK PS1 FAN F1 5730.00 OK PS2 FAN - - NOT PRESENT switch (config) # N/A Mellanox Technologies 279 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 280
used / 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 Mellanox Technologies 280 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 281
SX6036 MSX6036F-1BFR MT1140X00300 MGMT SX6036 MSX6036F-1BFR MT1140X00300 FAN SXX0XX_FAN MSX60-FF MT1143X05136 PS1 SXX0XX_PS MSX60-PF MT1144X11656 CPU CPU SA000203-B MT1140X00188 switch (config) # N/A Mellanox Technologies 281 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 282
Is Fatal MGMT 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) # N/A Rev 1.6.2 Mellanox Technologies 282 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 283
0 MB 0 MB 0 MB 813 MB Physical Memory Borrowed for System Buffers and Cache: Buffers: 0 MB Cache: 452 MB Total Buffers/Cache: 452 MB switch (config) # N/A Mellanox Technologies 283 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 284
Role Example Related Commands Note Displays firmware ASIC version. N/A N/A Config 3.1.0000 admin switch (config) # show asic-version SX module Version SX 9.1.1260 switch (config) # N/A Rev 1.6.2 Mellanox Technologies 284 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 285
: 295.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 Mellanox Technologies 285 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 286
15.17 48.00 0.32 OK FAN8 14.98 48.00 0.31 OK Total power used : 291.97 W Max power : 1636.00 W switch (config) # N/A Rev 1.6.2 Mellanox Technologies 286 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 287
.50 OK MGMT QSFP_TEMP2 25.50 OK MGMT QSFP_TEMP3 24.50 OK MGMT BOARD_MONITOR 28.00 OK MGMT CPU_BOARD_MONITOR 31.00 OK switch (config) # N/A Rev 1.6.2 Mellanox Technologies 287 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 288
CPU_BOARD_MONITOR V4 3.30 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) # N/A Mellanox Technologies 288 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 289
switch (config) # show health-report | ALERTS CONFIGURATION | Re-notification counter (sec):[3600] Report max counter: [50] | HEALTH REPORT | No Health issues file switch (config) # N/A Rev 1.6.2 Mellanox Technologies 289 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 290
load averages: 0.11 / 0.23 / 0.23 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 Mellanox Technologies 290 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 291
Example Related Commands Note Displays system profile. N/A N/A Any Command Mode 3.2.0000 admin switch (config) # show system profile eth-single-switch switch (config) # system profile Rev 1.6.2 Mellanox Technologies 291 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 292
Related Commands Note Displays system capabilities. N/A N/A Config 3.1.0000 Initial version 3.3.0000 Added GW support admin switch (config) # show system capabilities IB: Supported Ethernet: Supported, Full L2 GW: Supported Max number of GW ports: 0 Max SM nodes: 648 IB Max licensed speed - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 293
show system mac show system mac Syntax Description Default Modes/Context History Role Example Related Commands Note Displays system MAC address. N/A N/A Config 3.1.0000 admin switch (config) # show system mac 00:02:C9:5E:AF:18 switch (config) # N/A Rev 1.6.2 Mellanox Technologies 293 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 294
-control disabled IP routing bgp pim vrrp ospf igmp enabled disabled disabled disabled disabled enabled Infiniband sm disabled disabled Proxy-arp switch (config) # N/A disabled Rev 1.6.2 Mellanox Technologies 294 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 295
Rev 1.6.2 Mellanox Technologies 295 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 296
Rev 1.6.2 Mellanox Technologies 296 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 297
Ethernet subport number. to be used in case of split port. N/A Config 3.1.0000 Initial version. 3.2.1100 Added range support. admin switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # exit switch (config) # interface ethernet 1/1-1/10 switch (config interface - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 298
, send off Config interface ethernet Config Interface Port Channel 3.1.0000 admin switch (config interface ethernet 1/1) # flowcontrol receive off switch (config interface ethernet 1/1) # show interface ethernet N/A Mellanox Technologies 298 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 299
bytes. 1522 bytes Config interface ethernet Config Interface Port Channel 3.1.0000 admin switch (config interface ethernet 1/1) # mtu 9216 switch (config interface ethernet 1/1) # show interface ethernet Mellanox Technologies 299 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 300
interface is enabled. Config interface ethernet Config Interface Port Channel 3.1.0000 admin switch (config interface ethernet 1/1) # shutdown switch (config interface ethernet 1/1) # show interface ethernet N/A Rev 1.6.2 Mellanox Technologies 300 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 301
40 bytes "" Config interface ethernet Config Interface Port Channel 3.1.0000 admin switch (config interface ethernet 1/1) # description my-interface switch (config interface ethernet 1/1) # show interface ethernet Mellanox Technologies 301 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 302
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 302 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 303
interface counters. N/A N/A Config interface ethernet Config Interface Port Channel 3.1.0000 admin switch (config interface ethernet 1/1) # clear counters switch (config interface ethernet 1/1) # show interface ethernet Rev 1.6.2 Mellanox Technologies 303 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 304
0 frames 0 unicast frames 0 multicast frames 0 broadcast frames 0 octets 0 error frames 0 discard frames Tx 0 frames 0 unicast frames 0 multicast frames 0 broadcast frames 0 octets 0 discard frames switch (config) # Mellanox Technologies 304 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 305
capabilities. Interface number: /. N/A Any Command Mode 3.1.0000 admin switch (config) # show interfaces ethernet 1/1 capabilities Eth1/1 Speed : 10000,40000 FlowControl : Send, Receive switch (config) # Mellanox Technologies 305 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 306
interface. inf Interface number: /. N/A Any Command Mode 3.1.0000 admin switch (config) # show interfaces ethernet 0/1 description Interface Status Protocol Ethernet 1/1 Enables up switch (config) # Mellanox Technologies 306 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 307
Port Operational state Speed Negotiation Eth1/1 Up Eth1/2 Up Eth1/3 Up ... switch (config) # 40 Gbps 10 Gbps 40 Gbps No-Negotiation No-Negotiation No-Negotiation Mellanox Technologies 307 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 308
type : Optical cable/ module ethernet speed and type: 40GBASE - SR4 vendor : Mellanox cable_length : 50 m part number : MC2210411-SR4 revision : A1 serial number : type is qsfp (if the interface supports 40Gbps speed) Config interface ethernet 3.1.1400 admin Mellanox Technologies 308 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 309
the interface - used the command with "qsfp", the speed is set to 40Gbps "module-type qsfp". • This command is applicable only on 40Gbps Ethernet ports Mellanox Technologies 309 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 310
1-4096 / 2-4096 Port channel number. Port channels are not created by default. Config 3.1.1400 Initial version. 3.2.1100 Added range support. admin switch (config)# interface port-channel 1 switch (config interface port-channel 1) # exit switch (config)# interface port-channel 1-10 switch - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 311
the switch. The no form of the command disables LACP in the switch. N/A LACP is disabled. Config 3.1.1400 admin switch (config)# lacp switch (config)# Rev 1.6.2 Mellanox Technologies 311 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 312
port-channel Port-channel Module Admin Status is enabled Port-channel System Identifier is 00:02:c9:5c:61:70 LACP System Priority: 3 switch (config)# Mellanox Technologies 312 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 313
(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 313 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 314
)# show interfaces port-channel load-balance destination-ip,source-mac,source-port switch (config)# Several load balance methods can be configured (refer to the example) Mellanox Technologies 314 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 315
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 315 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 316
. N/A N/A Any Command Mode 3.1.1400 admin switch (config)# show lacp system-identifier 00:02:c9:5c:61:70 switch (config)# show lacp interface port-channel Rev 1.6.2 Mellanox Technologies 316 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 317
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 317 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 318
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 318 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 319
Rev 1.6.2 Mellanox Technologies 319 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 320
: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 320 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 321
Port-channel Module Admin Status is enabled Port-channel System Identifier is 00:01:02:03:04:05 LACP System Priority: 32768 switch (config) # Rev 1.6.2 Mellanox Technologies 321 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 322
mode switchport [trunk | hybrid] allowed-vlan Interfaces are not added automatically to VLAN unless configured with trunk or hybrid mode with "all" option turned on. Mellanox Technologies 322 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 323
/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 323 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 324
10) # show vlan 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 Mellanox Technologies 324 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 325
/5 access 1 Eth1/6 access 1 .... Po34 access 1 Po4096 access 1 switch (config interface ethernet 1/7) # show vlan show interfaces switchport switchport access vlan switchport [trunk | hybrid] allowed-vlan vlan Mellanox Technologies 325 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 326
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 326 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 327
1/7) # show vlan show interfaces switchport switchport access vlan switchport mode vlan This command is not applicable for interfaces with port mode access or access-dcb. Mellanox Technologies 327 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 328
MAC address table. The no form of the command resets the aging time of the MAC address table to its default. age 10-1000000 seconds. Mellanox Technologies 328 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 329
(config) # show mac-address-table aging-time Mac Address Aging Time: 50 switch (config) # show mac-address-table show mac-address-table aging time Rev 1.6.2 Mellanox Technologies 329 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 330
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 330 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 331
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 331 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 332
:c0 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 Mellanox Technologies 332 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 333
) # mac-address-table aging-time mac-address-table static clear mac-address-table MAC addresses learned on the mgmt0 is not shown by this command. Mellanox Technologies 333 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 334
no form disables the spanning tree feature. N/A Spanning tree is enabled. Config 3.1.0000 admin switch (config) # no spanning-tree switch (config) # show spanning-tree Rev 1.6.2 Mellanox Technologies 334 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 335
admin switch (config) # spanning-tree forward-time switch (config) # show spanning-tree The following formula applies on the spanning tree timers: 2*(ForwardTime -1)>=MaxAgeTime >= 2*(Hello Time + 1) Mellanox Technologies 335 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 336
- mines according to the spanning tree operational mode. Normal Config 3.1.0000 admin switch (config) # spanning-tree port type edge default switch (config) # show spanning-tree Mellanox Technologies 336 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 337
, 24576, 28672, 32768, 36864, 40960, 45056, 49152, 53248, 57344, 61440. 32786 Config 3.1.0000 admin switch (config) # spanning-tree priority 4096 switch (config) # show spanning-tree Mellanox Technologies 337 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 338
Config interface ethernet 3.1.0000 admin switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # spanning-tree port-priority 16 switch (config interface ethernet 1/1) # show spanning-tree Mellanox Technologies 338 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 339
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 339 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 340
" Config interface ethernet 3.1.0000 admin switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # spanning-tree port type edge switch (config interface ethernet 1/1) # show spanning-tree Mellanox Technologies 340 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 341
disabled. Config interface ethernet 3.1.0000 admin switch (config) # interface ethernet 1/1 switch (config interface ethernet 1/1) # spanning-tree guard root switch (config interface ethernet 1/1) # show spanning-tree Mellanox Technologies 341 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 342
interface ethernet 1/1) # spanning-tree bpdufilter enable switch (config interface ethernet 1/1) # show spanning-tree This command can be used when the switch is connected to hosts. Mellanox Technologies 342 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 343
Role Example Related Commands Note Clears the spanning-tree counters. N/A N/A Config 3.1.0000 admin switch (config) # clear panning-tree counters switch (config) # show spanning tree Rev 1.6.2 Mellanox Technologies 343 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 344
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Interface Role ---- ---- switch (config) # clear spanning-tree counters spanning-tree Sts ----- Cost ---- Prio Type ---- ---- Mellanox Technologies 344 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 345
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 345 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 346
5 seconds. last-member-query-interval - 1 second. proxy reporting is disabled mrouter-timout - 125 port-purge-timeout - 260 seconds report-suppression-interval - 5 seconds. Config 3.1.1400 admin Mellanox Technologies 346 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 347
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 347 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 348
ethernet 1/1) # show ip igmp snooping inter- faces interface leave-mode ----------- ------------ Eth1/1 Fast Eth1/2 Normal Eth1/3 Normal ... switch (config interface ethernet 1/1) # show ip igmp snooping interfaces Mellanox Technologies 348 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 349
Static Group Addresses 1 switch (config vlan 1) # show ip igmp snooping groups If the deleted interface is the last port, it deletes the entire multicast group. Mellanox Technologies 349 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 350
Rev 1.6.2 Mellanox Technologies 350 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 351
vlan 1) # show ip igmp snooping mrouter The multicast router port can be created only if IGMP snooping is enabled both globally and on the VLAN. Mellanox Technologies 351 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 352
is 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 Mellanox Technologies 352 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 353
is 1 seconds Mrouter timeout is 125 seconds Port purge timeout is 260 seconds Report suppression interval is 3 seconds IGMP snooping unregistered multicast: flood switch (config) # Mellanox Technologies 353 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 354
snooping groups Vlan 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) # Mellanox Technologies 354 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 355
is enabled IGMP version is V2 Snooping switch is acting as Non-Querier mrouter static port list: Eth1/1 mrouter dynamic port list: none switch (config) # Mellanox Technologies 355 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 356
Displays IGMP snooping multicast router information. N/A Any Command Mode 3.1.1400 admin switch (config) # show ip igmp snooping mrouter Vlan Ports 1 Eth1/1(static) switch (config) # Rev 1.6.2 Mellanox Technologies 356 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 357
snooping interface information. N/A Any Command Mode 3.1.1400 admin switch (config) # show ip igmp snooping interfaces interface leave-mode ----------- ------------ 1/1 Normal 1/2 Normal 1/3 Normal 1/4 Fast ... switch (config) # Rev 1.6.2 Mellanox Technologies 357 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 358
transmitted: 0 Leave messages 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) # Rev 1.6.2 Mellanox Technologies 358 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 359
Enables LLDP globally. The no form of the command disables the LLDP. N/A Disabled Config 3.2.0300 admin switch (config)# lldp switch (config)# show lldp local Rev 1.6.2 Mellanox Technologies 359 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 360
no form of the command sets the parameter to default. seconds 1-10 2 Config 3.2.0300 admin switch (config)# lldp reinit 10 switch (config)# show lldp timers Mellanox Technologies 360 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 361
form of the command sets the parameter to default. seconds 5-32768 30 Config 3.2.0300 admin switch (config)# lldp timer 10 switch (config)# show lldp timers Mellanox Technologies 361 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 362
10 switch (config)# show lldp timers The recommended value for the tx-delay is set by the following formula: 1 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 363
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 363 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 364
(config interface ethernet 1/1)# lldp receive switch (config interface ethernet 1/1)# lldp transmit switch (config interface ethernet 1/1)# show lldp interface The LLDP is disabled by default (globally) Mellanox Technologies 364 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 365
Initial revision 3.3.0000 Added none argument admin switch (config interface ethernet 1/1)# lldp tlv-select port-description sys-name switch (config interface ethernet 1/1)# show lldp interface Mellanox Technologies 365 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 366
(config)# show lldp local LLDP is Enabled Local global configuration Chassis sub type: macAddress (4) Chassis id: 0002C9030046AF00 System Name: my-switch System Description: SX1036 Supported capabilities: B,R Supported capabilities enabled: B switch (config)# Rev 1.6.2 Mellanox Technologies 366 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 367
: sys-name, SD: sys-description, SC: sys-capabilities, MA: management-address Interface Receive Transmit TLVs Eth1/1 Enabled Enabled PD,SN,SD,SC,MA switch (config)# Mellanox Technologies 367 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 368
-id: Eth1/1 ; port id subtype: 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 switch (config)# Mellanox Technologies 368 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 369
configuration N/A N/A Any Command Mode 3.2.0300 admin switch (config)# show lldp timers msg-tx-interval:30 tx-delay:2 tx-hold:4 tx-reinit-delay:2 switch (config)# Rev 1.6.2 Mellanox Technologies 369 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 370
(config)# show lldp 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)# Rev 1.6.2 Mellanox Technologies 370 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 371
admin switch (config)# 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)# Mellanox Technologies 371 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 372
Rev 1.6.2 3.8 Quality of Service 3.8.1 Enhanced Transmission Selection (ETS) dcb ets enable dcb ets enable no dcb ets enable Syntax Description 0 25% 1 25% 2 25% 3 25% Number of Traffic Class: 4 Related Commands Note switch (config) # show dcb ets Mellanox Technologies 372 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 373
0 20% 1 20% 2 30% 3 30% Number of Traffic Class: 4 switch (config) # show dcb ets The sum of all traffic class bandwidth must be equal to 100. Mellanox Technologies 373 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 374
2. Priority 6,7 mapped to tc 3. Config interface ethernet 3.1.0000 admin switch (config interface ethernet 1/1) # vlan map-priority 1 trafficclass 2 switch (config interface ethernet 1/1) # show dcb ets interface Mellanox Technologies 374 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 375
3.1.0000 admin 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.2 Mellanox Technologies 375 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 376
Displays ETS configuration and operational data, per interface. type ethernet or port-channel number interface number, i.e. 1/1 ETS is enabled. Any Command Mode 3.1.0000 admin Rev 1.6.2 Mellanox Technologies 376 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 377
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.2 Mellanox Technologies 377 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 378
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 378 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 379
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 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 379 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 380
: 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) # show dcb priority-flow-control PFC oper Enabled Disabled Disabled Disabled Mellanox Technologies 380 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 381
Enabled List Priority Disabled List : 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 381 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 382
default. Config 3.1.1400 admin switch (config)# mac access-list my-mac-list switch (config mac access-list my-mac-list)# ipv4/port access-group Rev 1.6.2 Mellanox Technologies 382 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 383
port access-group my-list switch (config interface ethernet 1/1) # ipv4/mac access-list The access control list should be defined prior to the binding action. Mellanox Technologies 383 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 384
:ff:ff:ff:ff any vlan 6 cos 2 protocol 80 switch (config mac access-list my-list) # ipv4/mac access-list ipv4/mac port access-group Mellanox Technologies 384 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 385
my-list) # seq-number 10 deny ip any any switch (config ipv4 access-list my-list) # ipv4/mac access-list ipv4/mac port access-group Mellanox Technologies 385 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 386
-number 10 deny tcp any any eq-source 1200 switch (config ipv4 access-list my-list) # ipv4/mac access-list ipv4/mac port access-group Mellanox Technologies 386 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 387
action my-action)# 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)# Mellanox Technologies 387 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 388
my-action)# show 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)# Mellanox Technologies 388 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 389
my-action)# show 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)# Mellanox Technologies 389 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 390
/permit (MAC ACL rule) deny/permit (IPv4 ACL rule) deny/permit (IPv4 TCP/UDP ACL rule) ipv4/mac access-list ipv4/mac port access-group Mellanox Technologies 390 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 391
/permit (MAC ACL rule) deny/permit (IPv4 ACL rule) deny/permit (IPv4 TCP/UDP ACL rule) ipv4/mac access-list ipv4/mac port access-group Mellanox Technologies 391 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 392
routing switch (config) # interface vlan show ip routing • This command requires L3 license (i.e.LIC-1036-L3) • Disabling the command does not remove the feature configuration Mellanox Technologies 392 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 393
) Mac Address: 00:02:c9:5d:e0:f0 Internet Address: 0.0.0.0/0 Broadcast address: 255.255.255.255 MTU: 1522 bytes Description: N/A switch (config interface vlan 10) # Mellanox Technologies 393 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 394
one of the L2 interfaces. To do so, run the command "swichport ..." • At least one interface belong to that VLAN must be in UP state Mellanox Technologies 394 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 395
:f0 Internet Address: 10.10.10.10/24 Broadcast address: 10.10.10.255 MTU: 1522 bytes Description: my-ip-interface switch (config) # interface vlan Mellanox Technologies 395 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 396
0 Multicast octets switch (config) # interface vlan • Enabling counters for the router interface adds delay to the traffic stream • There are maximum of 16 counter sets Mellanox Technologies 396 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 397
:02:c9:5d:e0:f0 Internet Address: 0.0.0.0/0 Broadcast address: 255.255.255.255 MTU: 1522 bytes Description: my-ip-interface switch (config) # interface vlan Rev 1.6.2 Mellanox Technologies 397 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 398
.10.10.10/24 Broadcast address: 10.10.10.255 MTU: 9216 bytes Description: my-ip-interface switch (config interface vlan 10)# interface vlan Rev 1.6.2 Mellanox Technologies 398 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 399
:02:c9:5d:e0:f0 Internet Address: 0.0.0.0/0 Broadcast address: 255.255.255.255 MTU: 1522 bytes Description: N/A switch (config interface vlan 20) # interface vlan Rev 1.6.2 Mellanox Technologies 399 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 400
Clears the interface counters. N/A N/A Config vlan interface 3.2.0230 admin switch (config interface vlan 10) # clear counters switch (config interface vlan 10) # interface vlan counters Rev 1.6.2 Mellanox Technologies 400 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 401
Commands Note interface vlan Byte counters count octets starting from the IP header field, it doesn't count the L2 header (MAC, VLAN) and FCS length. Mellanox Technologies 401 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 402
range of 1-32 N/A Config 3.2.3000 admin switch (config) # show interfaces loopback 2 Loopback 2 Internet Address: 2.2.2.2/32 Broadcast address: 2.2.2.2 MTU: 1500 bytes Description: my-loopback switch (config) # Mellanox Technologies 402 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 403
network mask must be aligned in the LSB mask, (for example 192.168.0.0 /16 or 192.168.10.0 /24, or 192.168.10.10 /32) Mellanox Technologies 403 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 404
• all all Config 3.2.0230 admin switch (config) # ip load-sharing all switch (config) # show ip load-sharing Load sharing: all switch (config) ip route Rev 1.6.2 Mellanox Technologies 404 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 405
mgmt0 mgmt0 mgmt0 Vlan11 Vlan12 Vlan13 Vlan14 Vlan1 Vlan11 Vlan12 Vlan14 Vlan13 Source DHCP static direct direct direct direct direct direct static static static static Mellanox Technologies 405 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 406
Note Displays ECMP hash attribute. N/A N/A Any Command Mode 3.2.0230 admin switch (config) # show ip load-sharing Load sharing: all switch (config) # ip load-sharing Rev 1.6.2 Mellanox Technologies 406 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 407
:02:c9:5c:30:40 4.0.0.2 00:02:c9:5c:30:40 switch (config interface vlan 11) # Interface Vlan11 Vlan11 Vlan12 Vlan13 Vlan14 show ip arp Mellanox Technologies 407 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 408
3.0.0.2 00:02:c9:5c:30:40 4.0.0.2 00:02:c9:5c:30:40 switch (config) # ip arp show ip arp Interface Vlan11 Vlan11 Vlan12 Vlan13 Vlan14 Mellanox Technologies 408 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 409
VLAN, range1-4094 IP address Clears dynamic ARP entries for a specific IP address. N/A Config 3.2.0230 admin switch (config) # clear ip arp switch (config) # ip arp Mellanox Technologies 409 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 410
Vlan1 Vlan1 Vlan1 Vlan1 Vlan1 switch (config) # show ip arp count ARP Table size: 9 (inband:5, out of band:4) switch (config) # ip arp ip arp timeout Mellanox Technologies 410 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 411
transmitted, 6 received, 0% packet loss, time 5004ms rtt min/avg/max/mdev = 0.144/0.252/0.703/0.202 ms switch (config) # traceroute • Ping to IPv6 address is not supported. • When using -I option use the interface name + interface number, for example "ping -I vlan10 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 412
Rev 1.6.2 traceroute traceroute [-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 412 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 413
and the 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. Sets the else it is a number of seconds (float point values allowed too). Mellanox Technologies 413 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 414
ms 6 192.168.10.70 (192.168.10.70) 16.377 ms 16.091 ms 20.475 ms switch (config) # • Traceroute fot IPv6 is not supported • The following flags are not supported: -6, -l, -A • When using -i option use the interface name + interface number, for example "traceroute -i vlan10 - HP Mellanox SX1018 | Mellanox MLNX-OS Command Reference Guide for SX1018HP Ether - Page 415
the interface name + interface number, for example "tcpdump -i vlan10" • For all flag options of this command refer to the linux 'man page' of tcp dump. Mellanox Technologies 415
www.mellanox.com
Mellanox MLNX-OS™
Command Reference Guide for SX1018HP
Ethernet Managed Blade Switch
Rev 1.6.2
Software Ver. 3.3.1000