SwitchX® Hardware Installation GuideEach Mellanox Technologies’ switch platform is
SwitchX® Hardware User ManualThis document contains hardware descriptions, LED
Switch ErrataFor any possible errata due to hardware issues see the
MX-OS Software WebUI User’s ManualWebUI user’s manual for MX-OS.
Mellanox MLNX-OS SwitchX Software
User Manual
Mellanox MLNX-OS Software Configuration
Guide
The InfiniBand Architecture Specification that is provided by IBTA.
shipped with an Installation Guide document to
bring-up and initialize the switch platform.
assignments and hardware specifications among other
things.
switch support product page. This requires a customer
support login.
This document contains information regarding configuring and managing Mellanox Technologies'
SwitchX® Switch Platforms.
Configuration Guide for MLNX-OS displaying different configuration scenarios.
All of these documents can be found on the Mellanox Website. They are available either through
the product pages or through the support page with a login and password.
Mellanox Technologies
13
Page 14
Documentation Conventions
Typographical Conventions
Table 3 - Typographical Conventions
Description ConventionExample
File namesfile.extension
Directory namesdirectory
Commands and their parameterscommand param1sx10xx-1 > show hosts
Required item< >
Optional item[ ]
Mutually exclusive parameters{p1, p2, p3} or {p1 | p2 |
p3}
Rev 1.6.2
Optional mutually exclusive parame-
[p1 | p2 | p3]
ters
Prompt of a command in Standard
hostname >sx10xx-1 >
mode
Prompt of a command in Enable modehostname #sx10xx-1 #
Prompt of a command in Config modehostname (config) #sx10xx-1 (config) #
Comments to explain command
//// This is a comment
examples
Variables for which users supply spe-
Italic fontenable
cific values
Emphasized wordsItalic fontThese are emphasized words
Note <text> This is a note.
Warning<text>Make sure to connect to the
RS-232 RJ-45 port of the
switch and not to the MGT
port.
Mellanox Technologies
14
Page 15
Rev 1.6.2
Glossary
Table 4 - Glossary
AAAAuthentication, Authorization, and Accounting:
•Authentication - verifies user credentials (username and password)
•Authorization - grants or refuses privileges to a user/client for accessing specific
services
•Accounting - tracks network resources consumption by users
ARPAddress Resolution Protocol. A protocol that translates IP addresses into
MAC addresses for communication over a local area network (LAN).
BOARD_MONITORBoard temperature sensor for the selected Leaf or Spine module.
CA (Channel Adapter)A device which terminates an Infiniband link, and executes transport level
functions.
CLICommand Line Interface. A user interface in which you type commands at the
prompt.
DCBData Center Bridging.
DCBXDCBX protocol is an extension of the Link Layer Discovery Protocol
(LLDP). DCBX end points exchange request and acknowledgment messages.
For flexibility, parameters are coded in a type-length-value (TLV) format.
DHCPThe Dynamic Host Configuration Protocol (DHCP) is an automatic configura-
tion protocol used on IP networks.
Director Class SwitchA high density InfiniBand chassis switch system.
DMA (Direct Memory Access)Allowing Hardware to move data blocks directly to the memory, bypassing
the CPU.
DNSDomain Name System. A hierarchical naming system for devices in a com-
puter network.
Edge SwitchA switch system with a 1RU form factor.
ETSETS provides a common management framework for assignment of band-
width to traffic classes.
Fabric ManagementThe use of a set of tools (APIs) to configure, discover, and manage and a
group of devices organized as a connected fabric.
FTPFile Transfer Protocol (FTP) is a standard network protocol used to transfer
files from one host to another over a TCP-based network, such as the Internet.
GatewayA network node that interfaces with another network using a different network
protocol.
GID (Global IDentifier)A 128-bit number used to identify a Port on a network adapter (see below), a
port on a Router, or a Multicast Group.
GUID (Globally Unique IDentifier)
HA (High Availability)A system design protocol that provides redundancy of system components,
A 64-bit number that uniquely identifies a device or component in a subnet.
thus enables overcoming single or multiple failures in minimal downtime.
Mellanox Technologies
15
Page 16
Rev 1.6.2
Table 4 - Glossary
IBInfiniBand.
LACPLink Aggregation Control Protocol (LACP) provides a method to control the
bundling of several physical ports together to form a single logical channel.
LACP allows a network device to negotiate an automatic bundling of links by
sending LACP packets to the peer (directly connected device that also implements LACP).
LDAPThe Lightweight Directory Access Protocol is an application protocol for
reading and editing directories over an IP network.
LID (Local IDentifier)A 16 bit address assigned to end nodes by the subnet manager
Each LID is unique within its subnet.
LLDPLink Layer Discovery Protocol (LLDP) is an industry standard protocol
designed to supplant proprietary Link-Layer protocols such as Extreme's EDP
(Extreme Discovery Protocol) and CDP (Cisco Discovery Protocol). The goal
of LLDP is to provide an inter-vendor compatible mechanism to deliver LinkLayer notifications to adjacent network devices.
MACA Media Access Control address (MAC address) is a unique identifier
assigned to network interfaces for communications on the physical network
segment. MAC addresses are used for numerous network technologies and
most IEEE 802 network technologies including Ethernet.
MTU (Maximum Transfer Unit)The maximum size of a packet payload (not including headers) that can be
sent /received from a port.
PFC/FCPriority Based Flow Control applies pause functionality to traffic classes OR
classes of service on the Ethernet link.
QoS or Quality of ServiceQuality of service is the ability to manage different applications or users by
priority such that a required bit rate, delay, packet dropping probability, and/or
other measures may be guaranteed.
QSFP_AMBIENT_TEMPAmbient temperature sensor of the QSFP cage for the selected Leaf or Spine
module
RADIUSRemote Authentication Dial In User Service. A networking protocol that
enables AAA centralized management for computers to connect and use a network service.
RDMA (Remote Direct Memory
Accessing memory in a remote side without involvement of the remote CPU.
Access)
RSTPRapid Spanning Tree Protocol. A spanning-tree protocol used to prevent loops
in bridge configurations. RSTP is not aware of VLANs and blocks ports at the
physical level.
SA (Subnet Administrator) The interface for querying and manipulating subnet management data.
SCPSecure Copy or SCP is a means of securely transferring computer files
between a local and a remote host or between two remote hosts. It is based on
the Secure Shell (SSH) protocol.
Mellanox Technologies
16
Page 17
Rev 1.6.2
Table 4 - Glossary
SM (Subnet Manager)An entity that configures and manages the subnet, discovers the network
topology, assign LIDs, determines the routing schemes and sets the routing
tables. There is only one master SM and possible several slaves (Standby
mode) at a given time. The SM administers switch routing tables thereby
establishing paths through the fabric.
SNMPSimple Network Management Protocol. A network protocol for the manage-
ment of a network and the monitoring of network devices and their functions.
SNTPNetwork Time Protocol. A protocol for synchronizing computer clocks in a
network.
SSHSecure Shell. A protocol (program) for securely logging in to and running pro-
grams on remote machines across a network. The program authenticates
access to the remote machine and encrypts the transferred information through
the connection.
syslogA standard for forwarding log messages in an IP network.
TACACS+Terminal Access Controller Access-Control System Plus. A networking proto-
col that enables access to a network of devices via one or more centralized
servers. TACACS+ provides separate AAA services.
TCA (Target Channel Adapter)A Channel Adapter that is not required to support verbs, usually used in I/O
devices.
WebUIWeb User Interface. A user interface in which you select commands from drop
down menus or by clicking on icons.
XML GatewayExtensible Markup Language Gateway. Provides an XML request-response
protocol for setting and retrieving HW management information.
Mellanox Technologies
17
Page 18
1Using the Command Line Interface
This chapter explains how to use the command line interface (CLI) of MLNX-OS SwitchX®.
1.1CLI Modes
The CLI can be in one of three modes, and each mode makes available a certain group (or level) of
commands for execution. The different CLI configuration modes are:
Table 5 - CLI Modes and Config Context
Mode/ContextDescription
StandardWhen the CLI is launched, it begins in Standard mode. This is the
most restrictive mode and only has commands to query a
restricted set of state information. Users cannot take any actions
that directly affect the system, nor can they change any configuration.
EnableThe “enable” command moves the user to Enable mode. This
mode offers commands to view all state information and take
actions like rebooting the system, but it does not allow any configuration to be changed. Its commands are a superset of those in
Standard mode. To return to Standard mode, enter “disable”.
Rev 1.6.2
ConfigThe “configure terminal” command moves the user from Enable
mode to Config mode. Config mode is allowed only for user
accounts in the “admin” role (or capabilities) – see “User Roles
(Capabilities)”. This mode has a full unrestricted set of commands to view anything, take any action, or change any configuration. Its commands are a superset of those in Enable mode. To
return to Enable mode, enter “exit” or “no configure”. Note that
moving directly from/to Standard mode to/from Config mode is
not possible.
Config Interface ManagementConfiguration mode for management interface mgmt0, mgmt1
and loopback.
Config interface ethernetConfiguration mode for Ethernet interface.
Config Interface Port ChannelConfiguration mode for Port channel (LAG).
Config VlanConfiguration mode for VLAN.
Any Command ModeSeveral commands such as “show” can be applied within any
context.
Mellanox Technologies
18
Page 19
1.2Syntax Conventions
To help you identify the parts of a CLI command, this section uses conventions to show the syntax of
commands.
Table 6 - Syntax Conventions
Syntax ConventionDescriptionExample
Rev 1.6.2
< > Angled bracketsIndicates a value/variable that
must be replaced.
[ ] Square bracketsEncloses optional parameters.
However, only one parameter out
of the list of parameters listed can
be used. You cannot have a combination of the parameters unless
otherwise stated.
{ } BracesEncloses alternatives or variables
that are required for the parameter
in square brackets.
| Vertical barIdentifies mutually exclusive
choices.
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 and are case-sensitive.
For example, when you enter the enable command, enter it all in lowercase, not
ENABLE or Enable. Text entries you create are also case-sensitive. For example, if you
set a LAG name to Lag1, enter it exactly, not lag1 or LAG1.
1.3Getting Help
You may request context-sensitive help at any time by pressing “?” on the command line. This will
show a list of choices for the word you are on, or a list of top-level commands if you have not
typed anything yet.
For example, if you are in Standard mode and you type “?” at the command line, then you will get
the following list of available commands
switch [standalone: master] > ?
Mellanox Technologies
19
Page 20
Rev 1.6.2
cli Configure CLI shell options
enable Enter enable mode
exit Log out of the CLI
help View description of the interactive help system
no Negate or clear certain configuration options
ping Send ICMP echo requests to a specified host
show Display system configuration or statistics
slogin Log into another system securely using ssh
switch Configure switch on system
telnet Log into another system using telnet
terminal Set terminal parameters
traceroute Trace the route packets take to a destination
switch-11a596 [standalone: master] >
If you type a legal string and then you press “?” without a space character before it, then you will
either get a description of the command that you have typed so far or the possible command/
parameter completions. If you press “?” after a space character and “<cr>” is shown, this means
that what you have entered so far is a complete command, and that you may press Enter (carriage
return) to execute it.
Try the following to get started:
?
show ?
show c?
show clock?
show clock ?
show interfaces ? (from enable mode)
You can also 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” instead of the “enable” command, or “cli cl” instead of “cli
clear-history”. In case of ambiguity (more than one completion option is available, that is), then
you can click double tabs to obtain the disambiguation options. Thus, if you are in Enable mode
and you wish to learn which commands start with the letter “c”, type “c” and click twice on the tab
key to get the following:
switch [standalone: master] # c<tab>
clear cli configure
switch-1 [standalone: master] # c
(There are three commands that start with the letter “c”: clear, cli and configure.)
Mellanox Technologies
20
Page 21
1.4Prompt and Response Conventions
The prompt always begins with the hostname of the system. What follows depends on what command mode the user is in. To demonstrate by example, and assuming the machine name is
“switch-1”, the prompts for each of the modes are:
switch [standalone: master] > (You are back in Standard mode)
Rev 1.6.2
Commands that succeed do not print any response and simply show the command prompt after
you press <Enter>.
If an error is encountered in executing a command, the response will begin with “%”, followed by
some text describing the error.
1.5User Roles (Capabilities)
There are two user roles or account types: admin and monitor. As “admin”, the user is privileged to
run all the available commands. As “monitor”, the user can run commands that show system configuration and status, or set terminal settings.
Table 7 - User Roles (Accounts) and Default Passwords
User RoleDefault Password
adminadmin
monitormonitor
1.6Using the Negation Form
Several Config mode commands offer the negation form using the keyword “no”. This no form
can be used to disable a function or to cancel certain command parameters or 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
Page 22
The following example performs the following:
1. Displays the current CLI session options.
2. Disables auto-logout.
3. Displays the new CLI session options (auto-logout is disabled).
4. Re-enables auto-logout (after 15 minutes).
5. Displays the final CLI session options (auto-logout is enabled).
// 1. Display the current CLI session options
switch-1 [standalone: master] (config) # show cli
CLI current session settings:
Maximum line size: 8192
Terminal width: 157 columns
Terminal length: 60 rows
Terminal type: xterm
Auto-logout: 15 minutes
Paging: enabled
Progress tracking: enabled
Prefix modes: enabled
...
// 2. Disable auto-logout
switch-1 [standalone: master] (config) # no cli session auto-logout
delimited by “:” or “.”. So you could say “11:22:33:44:55:66”, “1122:3344:5566”,
“11.22.33.44.55.66”, or “1122.3344.5566”.
<netmask>A netmask (e.g. “255.255.255.0”) or mask length prefixed with a slash (e.g. “/24”).
These two express the same information in different formats.
<network prefix>An IPv4 network prefix specifying a network. Used in conjunction with a netmask
to determine which bits are significant. e.g. “192.168.0.0”.
<regular expression>An extended regular expression as defined by the “grep” in the man page. (The
value you provide here is passed on to “grep -E”.)
<node id>ID of a node belonging to a cluster. This is a numerical value greater than zero.
<cluster id>A string specifying the name of a cluster.
<port>TCP/UDP port number.
<TCP port>A TCP port number in the full allowable range [0...65535].
<URL>A normal URL, using any protocol that wget supports, including http, https, ftp,
sftp,
and tftp; or a pseudo-URL specifying an scp file transfer. The scp pseudo-URL
format is scp://username:password@hostname/path/filename.
Note that the path is an absolute path. Paths relative to the user's home directory are
not currently supported. The implementation of ftp does not support authentication,
so use scp or sftpfor that.
Note also that if you omit the “:password” part, you may be prompted for the password in a follow up prompt, where you can type it securely (without the characters
being echoed). This prompt will occur if the “cli default prompt empty-password”
setting is true; otherwise, the CLI will assume you do not want any password. If
you include the “:” character, this will be taken as an explicit declaration that the
password is empty, and you will not be prompted in any case.
Mellanox Technologies
23
Page 24
2System Management
2.1Management Interfaces
2.1.1 Interface
This chapter describes the commands should be used to configure and monitor the management
interface.
interface
interface {mgmt0 | mgmt1 | lo}
Enters a management interface context.
Syntax Descriptionmgmt0Management port 0 (out of band).
mgmt1Management port 1 (out of band).
loLoopback interface.
Rev 1.6.2
ib0IP over IB in-band management, relevant only for
NoteIf DHCP is enabled on the specified interface, then the DHCP IP assignment will
hold until DHCP is disabled.
Mellanox Technologies
25
Page 26
Rev 1.6.2
alias
alias <index> ip address < IP address> <netmask>
no alias <index>
Adds an additional IP address to the specified interface. The secondary address will
appear in the output of “show interface” under the data of the primary interface along
with the alias.
The no form of the command removes the secondary address to the specified interface.
Syntax DescriptionindexA number that is to be aliased to (associated with) the
secondary IP.
IP addressAdditional IP address.
netmaskSubnet mask of the IP address.
DefaultN/A
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Example
switch (config interface mgmt0) # alias 2 ip address 9.9.9.9
255.255.255.255
switch (config interface mgmt0) # show interfaces mgmt0
Interface mgmt0 state
Admin up: yes
Link up: yes
IP address: 172.30.2.2
Netmask: 255.255.0.0
Secondary address: 9.9.9.9/32 (alias: 'mgmt0:2')
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 1
IPv6 address: fe80::202:c9ff:fe5e:a5d8/64
Speed: 1000Mb/s (auto)
Duplex: full (auto)
Interface type: ethernet
Interface ifindex: 2
Interface source: physical
MTU: 1500
HW address: 00:02:C9:5E:A5:D8
Comment:
•Setting the 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 setting which is determined by querying the interface to find out its current auto-detected state
Mellanox Technologies
30
Page 31
Rev 1.6.2
speed
speed <speed>
no speed
Sets the interface speed.
The no form of the command resets the speed setting for this interface to its default
value.
Syntax DescriptionspeedSets the speed of the interface. The following are the
possible values:
•10 - fixed to 10Mbps
•100 - fixed to 1000Mbps
•1000 - fixed to 1000Mbps
•auto - auto speed sensing (10/100/1000Mbps)
Defaultauto
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Example
switch (config interface mgmt0) # speed auto
switch (config interface mgmt0) # show interfaces mgmt0
Interface mgmt0 state
Admin up: yes
Link up: yes
IP address: 172.30.2.2
Netmask: 255.255.0.0
Secondary address: 9.9.9.9/32 (alias: 'mgmt0:2')
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 1
IPv6 address: fe80::202:c9ff:fe5e:a5d8/64
Speed: 1000Mb/s (auto)
Duplex: full (auto)
Interface type: ethernet
Interface ifindex: 2
Interface source: physical
MTU: 1500
HW address: 00:02:C9:5E:A5:D8
Comment:
•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
Mellanox Technologies
32
Page 33
Rev 1.6.2
dhcp
dhcp [renew]
no dhcp
Enables DHCP on the specified interface.
The no form of the command disables DHCP on the specified interface.
Syntax DescriptionrenewForces a renewal of the IP address. A restart on the
DHCP client for the specified interface will be issued.
DefaultCould be enabled or disabled (per part number) manufactured with 3.2.0500
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Example
switch (config interface mgmt0) # dhcp
switch (config) # show interfaces mgmt0 configured
Interface mgmt0 configuration
Enabled: yes
DHCP: yes
Zeroconf: no
IP address:
Netmask:
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 0
Speed: auto
Duplex: auto
MTU: 1500
Comment:
Related Commands show interfaces <ifname> configured
Note
•When enabling DHCP, the IP address and netmask are received via DHCP hence, the static
IP address configuration is ignored
•Enabling DHCP disables zeroconf and vice versa
•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
Page 34
shutdown
shutdown
no shutdown
Disables the specified interface.
The no form of the command enables the specified interface.
Syntax DescriptionN/A
Defaultno shutdown
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config interface mgmt0) # no shutdown
switch (config) # show interfaces mgmt0 configured
Interface mgmt0 configuration
Enabled: yes
DHCP: yes
Zeroconf: no
IP address:
Netmask:
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 0
Speed: auto
Duplex: auto
MTU: 1500
Comment:
switch (config) #
Related Commandsshow interfaces <ifname> configured
Note
Mellanox Technologies
34
Page 35
zeroconf
zeroconf
no zeroconf
Enables zeroconf on the specified interface. It randomly chooses a unique link-local
IPv4 address from the 169.254.0.0/16 block. This command is an alternative to
DHCP.
The no form of the command disables the use of zeroconf on the specified interface.
Syntax DescriptionN/A
Defaultno zeroconf
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config interface mgmt0) # zeroconf
switch (config) # show interfaces mgmt0 configured
Interface mgmt0 configuration
Enabled: yes
DHCP: no
Zeroconf: yes
IP address:
Netmask:
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 0
Speed: auto
Duplex: auto
MTU: 1500
Comment:
Related Commandsshow interfaces <ifname> configured
NoteEnabling zeroconf disables DHCP and vice versa.
Mellanox Technologies
35
Page 36
Rev 1.6.2
comment
comment <comment>
no comment
Adds a comment for an interface.
The no form of the command removes a comment for an interface.
Syntax DescriptioncommentA free-form string that has no semantics other than
being displayed when the interface records are listed.
Defaultno comment
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Example
switch (config interface mgmt0) # comment my-interface
switch (config interface mgmt0) # show interfaces mgmt0
Interface mgmt0 state
Admin up: yes
Link up: yes
IP address: 172.30.2.2
Netmask: 255.255.0.0
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 1
IPv6 address: fe80::202:c9ff:fe5e:a5d8/64
Speed: 1000Mb/s (auto)
Duplex: full (auto)
Interface type: ethernet
Interface ifindex: 2
Interface source: physical
MTU: 1500
HW address: 00:02:C9:5E:A5:D8
Comment: my-interface
•The interface identifier is a 64-bit long modified EUI-64, which is based on the MAC
address of the interface
•If IPv6 is enabled on an interface, the system will automatically add a link-local address to
the interface. Link-local addresses can only be used to communicate with other hosts on the
same link, and packets with link-local addresses are never forwarded by a router.
•A link-local address, which may not be removed, 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.
Configures IPv6 address and netmask to this interface, static or autoconfig options
are possible.
The no form of the command removes the given IPv6 address and netmask or disables the autoconfig options.
Syntax DescriptionIPv6 address/netmaskConfigures a static IPv6 address and netmask.
Format example: 2001:db8:1234::5678/64.
autoconfig Enables IPv6 stateless address auto configuration
(SLAAC) for this interface. An address will be automatically added to the interface based on an IPv6 prefix
learned from router advertisements, combined with an
interface identifier.
autoconfig defaultEnables default learning routes. The default route will
be discovered automatically, if the autoconfig is
enabled.
Rev 1.6.2
autoconfig privacyUses privacy extensions for SLAAC to construct the
autoconfig address, if the autoconfig is enabled.
DefaultNo IP address available, auto config is enabled
Modes/ContextConfig Interface Management
History3.1.0000
Roleadmin
Mellanox Technologies
39
Page 40
Rev 1.6.2
Example
switch (config interface mgmt0) # ipv6 fe80::202:c9ff:fe5e:a5d8/64
switch (config interface mgmt0) # show interfaces mgmt0
Interface mgmt0 state
Admin up: yes
Link up: yes
IP address: 172.30.2.2
Netmask: 255.255.0.0
IPv6 enabled: yes
Autoconf enabled: no
Autoconf route: yes
Autoconf privacy: no
IPv6 addresses: 1
IPv6 address: fe80::202:c9ff:fe5e:a5d8/64
Speed: 1000Mb/s (auto)
Duplex: full (auto)
Interface type: ethernet
Interface ifindex: 2
Interface source: physical
MTU: 1500
HW address: 00:02:C9:5E:A5:D8
Comment: my-interface
•Hostname may contain letters, numbers, 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
Page 44
ip name-server
ip name-server <IPv4/IPv6 address>
no name-server <IPv4/IPv6 address>
Sets the static name server.
The no form of the command clears the name server.
Syntax DescriptionIPv4/v6 addressIPv4 or IPv6 address.
DefaultNo server name
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # ip name-server 9.9.9.9
switch (config) # show hosts
Hostname: switch
Name server: 9.9.9.9 (configured)
Name server: 10.211.0.121 (dynamic)
Name server: 172.30.0.126 (dynamic)
Name server: 10.4.0.135 (dynamic)
Domain name: lab.mtl.com (dynamic)
Domain name: vmlab.mtl.com (dynamic)
Domain name: yok.mtl.com (dynamic)
Domain name: mtl.com (dynamic)
IP 127.0.0.1 maps to hostname localhost
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: no
switch (config) #
Related Commandsshow hosts
Note
Mellanox Technologies
44
Page 45
ip domain-list
ip domain-list <domain-name>
no ip domain-list <domain-name>
Sets the static domain name.
The no form of the command clears the domain name.
Syntax Descriptiondomain-nameThe domain name in a string form.
A domain name is an identification string that defines a
realm of administrative autonomy, authority, or control
in the Internet. Domain names are formed by the rules
and procedures of the Domain Name System (DNS).
DefaultNo static domain name
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # ip domain-list mydomain.com
switch (config) # show hosts
Hostname: switch
Name server: 10.211.0.121 (dynamic)
Name server: 172.30.0.126 (dynamic)
Name server: 10.4.0.135 (dynamic)
Domain name: mydomain.com (configured)
Domain name: lab.mtl.com (dynamic)
Domain name: vmlab.mtl.com (dynamic)
Domain name: yok.mtl.com (dynamic)
Domain name: mtl.com (dynamic)
IP 1.1.1.1 maps to hostname p
IP 127.0.0.1 maps to hostname localhost
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: no
switch (config) #
Configures the static hostname IPv4 or IPv6 address mappings.
The no form of the command clears the static mapping.
Syntax DescriptionhostnameThe hostname in a string form.
IP AddressThe IPv4 or IPv6 address.
DefaultNo static domain name.
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # ip host my-host 2.2.2.2
switch (config) # ipv6 host my-ipv6-host 2001::8f9
switch (config) # show hosts
Hostname: switch
Name server: 9.9.9.9 (configured)
Name server: 10.211.0.121 (dynamic)
Name server: 172.30.0.126 (dynamic)
Name server: 10.4.0.135 (dynamic)
Domain name: mydomain.com (configured)
Domain name: lab.mtl.com (dynamic)
Domain name: vmlab.mtl.com (dynamic)
Domain name: yok.mtl.com (dynamic)
Domain name: mtl.com (dynamic)
IP 1.1.1.1 maps to hostname p
IP 127.0.0.1 maps to hostname localhost
IP 2.2.2.2 maps to hostname my-host
IPv6 2001::8f9 maps to hostname my-ipv6-host
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: yes
switch (config) #
Related Commandsshow hosts
Note
Mellanox Technologies
46
Page 47
ip/ipv6 map-hostname
{ip |ipv6} map-hostname
no {ip | ipv6} map-hostname
Maps between the currently-configured hostname and the loopback address
127.0.0.1.
The no form of the command clears the mapping.
Syntax DescriptionN/A
DefaultIPv4 mapping is enabled by default
IPv6 mapping is disabled by default
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # ip map-hostname
switch (config) # # show hosts
Hostname: switch
Name server: 9.9.9.9 (configured)
Name server: 10.211.0.121 (dynamic)
Name server: 172.30.0.126 (dynamic)
Name server: 10.4.0.135 (dynamic)
Domain name: mydomain.com (configured)
Domain name: lab.mtl.com (dynamic)
Domain name: vmlab.mtl.com (dynamic)
Domain name: yok.mtl.com (dynamic)
Domain name: mtl.com (dynamic)
IP 1.1.1.1 maps to hostname p
IP 127.0.0.1 maps to hostname localhost
IP 2.2.2.2 maps to hostname my-host
IPv6 2001::8f9 maps to hostname my-ipv6-host
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: yes
switch (config) #
switch (config) # ping my-host-name
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.078 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.052 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.058 ms
Related Commandsshow hosts
Note
•If no mapping is configured, a mapping between the hostname and the IPv4 loopback
address 127.0.0.1 will be added
•The no form of the command maps the hostname to the IPv6 loopback address if there is no
statically configured mapping from the hostname to an IPv6 address (disabled by default)
•Static host mappings are preferred over DNS results. As 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
Page 48
show hosts
show hosts
Displays hostname, DNS configuration, and static host mappings.
Syntax DescriptionN/A
DefaultN/A
Modes/ContextAny Command Mode
History3.1.0000
Roleadmin
Rev 1.6.2
Example
Related CommandsN/A
Note
2.1.3 Routing
switch (config) # show hosts
Hostname: my-host-name
Name server: 9.9.9.9 (configured)
Name server: 10.211.0.121 (dynamic)
Name server: 172.30.0.126 (dynamic)
Name server: 10.4.0.135 (dynamic)
Domain name: mydomain.com (configured)
Domain name: lab.mtl.com (dynamic)
Domain name: vmlab.mtl.com (dynamic)
Domain name: yok.mtl.com (dynamic)
Domain name: mtl.com (dynamic)
IP 1.1.1.1 maps to hostname p
IP 127.0.0.1 maps to hostname localhost
IP 2.2.2.2 maps to hostname my-host
IPv6 ::1 maps to hostname localhost6
Automatically map hostname to loopback address: yes
Automatically map hostname to IPv6 loopback address: no
switch (config) #
ip/ipv6 route
{ip | ipv6} route <network-prefix> <netmask> {<nexthop-address> | <ifname>}
no ip route <network-prefix> <netmask> {<nexthop-address> | <ifname>}
Sets a static route for a given IP.
The no form of the command deletes the static route.
Mellanox Technologies
48
Page 49
Syntax Descriptionnetwork-prefixIPv4 or IPv6 network prefix.
netmaskIPv4 netmask formats are:
•/24
•255.255.255.0
IPv6 netmask format is:
•/48 (as a part of the network prefix)
nexthop-addressThe IPv4 or IPv6 address of the next hope router for
this route.
ifnameThe interface name (e.g., mgmt0, mgmt1).
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # ip route 20.20.20.0 255.255.255.0 mgmt0
switch (config) # show ip route
::/0
:: mgmt0 static
::1/128
:: lo local
2222:2222:2222::/64
:: mgmt1 interface
switch (config) #
Related Commandsshow ip default-gateway
Note
Mellanox Technologies
51
Page 52
Rev 1.6.2
show ip/ipv6 default-gateway
show {ip | ipv6} default-gateway [static]
Displays the default gateway.
Syntax DescriptionstaticDisplays the static configuration of the default gateway.
DefaultN/A
Modes/ContextAny Command Mode
History3.1.0000
Roleadmin
Example
switch (config) # ip default-gateway 10.10.10.10
switch (config) # show ip default-gateway
Active default gateways:
172.30.0.1 (interface: mgmt0)
switch (config) # show ip default-gateway static
Configured default gateway: 10.10.10.10
Related Commandsshow ip default-gateway
NoteThe configured IPv4 default gateway will not be used if DHCP is enabled.
2.1.4 Network to Media Resolution (ARP & NDP)
IPv4 network use Address Resolution Protocol (ARP) to resolve IP address to MAC address,
while IPv6 network uses Network Discovery Protocol (NDP) that performs basically the same as
ARP.
ip arp
ip arp <IP address> <MAC address>
no ip arp <IP address> <MAC address>
Sets a static ARP entry.
The no form of the command deletes the static ARP.
Syntax DescriptionIP addressIPv4 address.
MAC addressMAC address.
DefaultN/A
Modes/ContextConfig Interface Management
History3.2.0500
Roleadmin
Mellanox Technologies
52
Page 53
Rev 1.6.2
Example
switch (config interface mgmt0) #ip arp 20.20.20.20 aa:aa:aa:aa:aa:aa
switch (config interface mgmt0) # show ip arp
ARP Timeout: 1500
Total number of entries: 6
Address Type MAC Address Interface
10.209.1.103 Dynamic 00:02:C9:11:A1:78 mgmt0
10.209.1.168 Dynamic 00:02:C9:5E:C3:28 mgmt0
10.209.1.104 Dynamic 00:02:C9:11:A1:E6 mgmt0
10.209.1.153 Dynamic 00:02:C9:11:A1:86 mgmt0
10.209.1.105 Dynamic 00:02:C9:5E:0B:56 mgmt0
10.209.0.1 Dynamic 00:00:5E:00:01:01 mgmt0
20.20.20.20 Static AA:AA:AA:AA:AA:AA mgmt0
switch (config interface mgmt0) #
Related Commandsshow ip arp
ip route
Note
•
Mellanox Technologies
53
Page 54
show ip arp
show ip arp [count]
Shows the ARP table
Syntax DescriptionN/A
DefaultN/A
Modes/ContextAny Command Mode
History3.2.0500
Roleadmin
Rev 1.6.2
Example
switch (config) # show ip arp
ARP Timeout: 1500
Total number of entries: 9
Address Type MAC Address Interface
10.209.1.105 Dynamic 00:02:C9:5E:0B:56 mgmt0
10.209.1.168 Dynamic 00:02:C9:5E:C3:28 mgmt0
10.209.0.1 Dynamic 00:00:5E:00:01:01 mgmt0
10.209.1.226 Dynamic 00:02:C9:62:6A:54 mgmt0
1.1.1.1 Static 00:00:00:00:00:01 Vlan1
1.1.2.1 Static 00:00:00:00:00:02 Vlan1
1.1.3.1 Static 00:00:00:00:00:03 Vlan1
1.1.4.1 Static 00:00:00:00:00:04 Vlan1
1.1.5.1 Static 00:00:00:00:00:05 Vlan1
ARP Timeout: 1500
switch (config) # show ip arp count
ARP Table size: 9 (inband:5, out of band:4)
switch (config) #
switch (config) # ping 172.30.2.2
PING 172.30.2.2 (172.30.2.2) 56(84) bytes of data.
64 bytes from 172.30.2.2: icmp_seq=1 ttl=64 time=0.703 ms
64 bytes from 172.30.2.2: icmp_seq=2 ttl=64 time=0.187 ms
64 bytes from 172.30.2.2: icmp_seq=3 ttl=64 time=0.166 ms
64 bytes from 172.30.2.2: icmp_seq=4 ttl=64 time=0.161 ms
64 bytes from 172.30.2.2: icmp_seq=5 ttl=64 time=0.153 ms
64 bytes from 172.30.2.2: icmp_seq=6 ttl=64 time=0.144 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) #
-nDoes not resolve IP addresses to their domain names.
-rBypasses the normal routing and send directly to a host
on an attached network.
-APerforms AS path lookups in routing registries and
print results directly after the corresponding addresses.
-VPrints version info and exit.
-fStarts from the first_ttl hop (instead from 1).
Rev 1.6.2
-gRoutes packets throw the specified gateway (maximum
8 for IPv4 and 127 for IPv6).
-iSpecifies a network interface to operate with.
-mSets the max number of hops (max TTL to be reached).
Default is 30.
-NSets the number of probes to be tried simultaneously
(default is 16).
-pUses destination port. It is an initial value for the UDP
destination port (incremented by each probe, default is
33434), for the ICMP seq number (incremented as well,
default from 1), and the constant destination port for
TCP tries (default is 80).
-tSets the TOS (IPv4 type of service) or TC (IPv6 traffic
class) value for outgoing packets.
-lUses specified flow_label for IPv6 packets.
-wSets the number of seconds to wait for response to a
probe (default is 5.0). Non-integer (float point) values
allowed too.
-qSets the number of probes per each hop. Default is 3.
-sUses source src_addr for outgoing packets.
-zSets minimal time interval between probes (default is
0). If the value is more than 10, then it specifies a number in milliseconds, else it is a number of seconds (float
point values allowed too).
Mellanox Technologies
63
Page 64
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
Related Commands
Note
switch (config) # traceroute 192.168.10.70
traceroute to 192.168.10.70 (192.168.10.70), 30 hops max, 40 byte packets
1 172.30.0.1 (172.30.0.1) 3.632 ms 2.849 ms 3.544 ms
2 10.222.128.46 (10.222.128.46) 3.176 ms 3.289 ms 3.656 ms
3 10.158.128.30 (10.158.128.30) 15.331 ms 15.819 ms 16.388 ms
4 10.158.128.65 (10.158.128.65) 20.468 ms 7.893 ms 12.27 ms
5 10.7.34.115 (10.7.34.115) 16.405 ms 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) #
Invokes standard binary, passing command line parameters straight through. Runs in
foreground, printing packets as they arrive, until the user hits Ctrl+C.
Syntax DescriptionN/A
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # tcpdump
......
09:37:38.678812 IP 192.168.10.7.ssh > 192.168.10.1.54155: P
1494624:1494800(176) ack 625 win 90
<nop,nop,timestamp 5842763 858672398>
09:37:38.678860 IP 192.168.10.7.ssh > 192.168.10.1.54155: P
1494800:1495104(304) ack 625 win 90
<nop,nop,timestamp 5842763 858672398>
...
9141 packets captured
9142 packets received by filter
0 packets dropped by kernel
switch (config) #
Related CommandsN/A
Note
Mellanox Technologies
65
Page 66
clear counters
clear counters [all | interface <type> <number>]
Clears switch counters.
Syntax DescriptionallClears all switch counters.
typeA specific interface type (i.e. Ethernet, port-channel,
Activates features using 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
Page 67
Rev 1.6.2
Syntax DescriptiondeleteUninstalls an existing license key. Note that this has the
same effect as the “no license install”, except that you
specify the license by its ID instead of by repeating the
license key.
installInstalls a new license key. If the key is invalid (i.e. it
could never have been a valid license), an error message is printed and it is not added. If the license is valid
but there is something else wrong with it (i. e. it names
a nonexistent feature, it is expired, etc.) a warning message is printed but it is added.
switch (config) # clock set 23:23:23 2010/08/19
switch (config) # show clock
Time: 23:23:26
Date: 2010/08/19
Time zone: UTC
(Etc/UTC)
UTC offset: same as UTC
switch (config) #
Related Commandsshow clock
NoteIf not specified, the date will be left the same.
Sets the system time zone. The time zone may be specified in one of three ways:
•A nearby city whose time zone rules to follow. The system has a large list of cities which
can be displayed by the help and completion system. They are organized hierarchically
because there are too many of them to display in a flat list. A given city may be required to
be specified in two, three, or four words, depending on the city.
•An offset from UTC. This will be in the form UTC-offset UTC, UTC-offset UTC+<0-14>,
UTC-offset UTC-<1-12>.
•UTC (Universal Time, which is almost identical to GMT), and this is the default time zone
The no form of the command resets time zone to its default (GMT).
Syntax Descriptionzone wordThe possible forms this could take include: continent,
city, continent, country, city, continent, region, country,
city, ocean, and/or island.
DefaultGMT
Modes/ContextConfig
History3.1.0000
Roleadmin
Example
switch (config) # clock timezone America North United_States 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) #
boot next fallback-reboot enable
no boot next fallback-reboot enable
Sets the default setting for next boot. Normally, if the system fails to apply the configuration on startup (after attempting upgrades or downgrades, as appropriate), it will
reboot to the other partition as a fallback.
The no form of the command tells the system not to do that, only for the next boot.
NoteNormally, if the system fails to apply the configuration on startup (after attempting
upgrades or downgrades, as appropriate), it will reboot to the other partition as a fallback. The 'no' variant of this command tells the system NOT to do that, ONLY for
the next boot. Note that this setting is not persistent, and will go back to enabled automatically after every boot.
Note that if you are downgrading to an older software version which has never been
run yet on this system, the "fallback reboot" will ALWAYS happen, unless you use
"no boot next fallback-reboot enable" first. This is also true in some other cases, such
as when you have run the older software version before, but you have switched to a
different configuration file since upgrading. In general, a downgrade will only work
(without having the fallback reboot forcibly disabled) if it can find a snapshot of the
configuration file (by the same name as the currently active one) which was taken
when you earlier upgraded from the older software version. If it doesn't find this file,
it will do a fallback reboot in preference 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
Page 77
image default-chip-fw
image default-chip-fw <file name>
Sets the default firmware package to be installed.
Syntax DescriptionfilenameSpecifies the firmware filename.
•“no-track” overrides CLI default and does not track the
installation progress
•“track” overrides CLI default and tracks the installation
progress
•“check-sig” requires an image to have either a valid signature or no signature
•“ignore-sig” allows unsigned or invalidly signed images
to be installed
•“require-sig” requires from the installed image to have a
valid signature. If a valid signature is not found on the
image, the image cannot be installed.
Related Commandsshow images
Note
•The image cannot be installed on the “active” location (the one which is currently being
•On a two-location system, the location is chosen automatically if no location is specified
booted)
Mellanox Technologies
80
Page 81
image move
image move <src image name> <dest image name>
Renames the specified image file.
Syntax Descriptionsrc image nameSpecifies the old image name.
image options require-sig
no image options require-sig
Requires from all the installed images a valid signature.
The no form of the command does not require a signature. However if one is present,
it must be valid.
Syntax Descriptionrequire-sigRequires images to be signed by a trusted signature.
Settings for next boot only:
Fallback reboot on configuration failure: yes (default)
switch (config) #
Related Commands N/A
Note
Mellanox Technologies
83
Page 84
show images
show image
Displays information about the system images and boot parameters.
Syntax DescriptionN/A
DefaultN/A
Modes/ContextAny Command Mode
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # show images
Images available to be installed:
image-SX_PPC_M460EX-ppc-m460ex-20120122-084759.img
SX_PPC_M460EX 3.0.0000-dev-HA 2012-01-22 08:47:59 ppc
Syntax DescriptionfilenameDisplay the contents of a particular statistics report file.
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Example
switch (config) # show files stats
memory-201140524-111745.csv
switch (config) #
Related Commandsfile stats
Note
Mellanox Technologies
91
Page 92
show files system
show files system [detail]
Displays usage information of the file systems on the system.
Syntax DescriptiondetailDisplays more detailed information on file-system.
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # show files system
Statistics for /config filesystem:
Bytes Total 100 MB
Bytes Used 3 MB
Bytes Free 97 MB
Bytes Percent Free 97%
Bytes Available 97 MB
Inodes Total 0
Inodes Used 0
Inodes Free 0
Inodes Percent Free 0%
Statistics for /var filesystem:
Bytes Total 860 MB
Bytes Used 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) #
Related CommandsN/A
Note
Mellanox Technologies
92
Page 93
show files tcpdump
show files tcpdump
Displays a list of statistics report files.
Syntax DescriptionN/A
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # show files stats
test
dump3
switch (config) #
Related Commandsfile tcpdump
tcpdump
Note
Mellanox Technologies
93
Page 94
2.5.3 Configuration File
configuration audit
Rev 1.6.2
configuration audit max-changes <number>
Chooses settings related to configuration change auditing.
Syntax Description
Default
Modes/Context
History
Role
Example
Related Commands
Note
max-changesSet maximum number of audit messages to log per
change.
1000
Config
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
Page 95
configuration copy
configuration copy <source name> <dest name>
Copies a configuration file.
Syntax Descriptionsource nameName of source file.
dest nameName of destination file. If the file of specified file-
name does not exist a new file will be created with said
filename.
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
Related Commands
Note
switch (config) # configuration copy initial.bak example
switch (config) #
•This command does not affect the current running configuration
•The 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
Page 96
configuration delete
configuration delete <filename>
Deletes a configuration file.
Syntax DescriptionfilenameName of file to delete.
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # show configuration files
example initial initial.bak initial.prev
switch (config) # configuration delete example
switch (config) # show configuration files
initial initial.bak initial.prev
switch (config) #
Related Commandsshow configuration
Note
•This command does not affect the current running configuration
•The active configuration file may not be deleted
Mellanox Technologies
96
Page 97
configuration fetch
configuration fetch <URL or scp or sftp://username:password@
hostname[:port]/path/filename> [<name>]
Downloads a configuration file from a remote host.
•The downloaded file should not override the active configuration file, using the <name>
parameter
•If no name 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
Page 98
configuration jump-start
configuration jump-start
Runs the initial-configuration wizard.
Syntax DescriptionN/A
DefaultN/A
Modes/ContextConfig
History3.1.0000
Roleadmin
Rev 1.6.2
Example
switch (config) # configuration jump-start
Mellanox configuration wizard
Step 1: Hostname? [switch-3cc29c]
Step 2: Use DHCP on mgmt0 interface? y
Step 3: Admin password (Enter to leave unchanged)?
You have entered the following information:
1. Hostname: switch-3cc29c
2. Use DHCP on mgmt0 interface: yes
3. Enable IPv6: yes
4. Enable IPv6 autoconfig (SLAAC) on mgmt0 interface: yes
53. Admin password (Enter to leave unchanged): (unchanged)
To change an answer, enter the step number to return to.
Otherwise hit <enter> to save changes and exit.
Choice:
Configuration changes saved.
switch (config) #
Related CommandsN/A
Note
•The wizard is automatically invoked whenever the CLI is launched when the active config-
•This command invokes the wizard on demand – see chapter “Initializing the Switch for the
uration file is fresh (i.e. not modified from its initial contents)
First Time” in the Mellanox MLNX-OS SwitchX User Manual
Mellanox Technologies
98
Page 99
configuration merge
configuration merge <filename>
Merges the “shared configuration” from one configuration file into the running configuration.
Syntax DescriptionfilenameName of file from which to merge settings.