Dell Commands Example
Dell Commands Example
CLI Comparison
Comparing command line syntax from each of the Dell modular
Ethernet switch vendors
This document is for informational purposes only and may contain typographical errors and
technical inaccuracies. The content is provided as is, without express or implied warranties of any
kind.
© 2012 Dell Inc. All rights reserved. Dell and its affiliates cannot be responsible for errors or omissions
in typography or photography. Dell, the Dell logo, and PowerEdge are trademarks of Dell Inc. Intel and
Xeon are registered trademarks of Intel Corporation in the U.S. and other countries. Microsoft,
Windows, and Windows Server are either trademarks or registered trademarks of Microsoft Corporation
in the United States and/or other countries. Other trademarks and trade names may be used in this
document to refer to either the entities claiming the marks and names or their products. Dell disclaims
proprietary interest in the marks and names of others.
ii
Ethernet Switch Deployment: CLI Comparison
Contents
Executive summary .................................................................................................. 4
Introduction ........................................................................................................... 4
Initial Switch Deployment ........................................................................................... 5
Accessing the Switch Command Line ........................................................................... 5
Privilege Levels or Command Shells ............................................................................ 5
Activate the IP Management Port of the Switch ................................................................. 7
Configure a Default Gateway for the Management Port ....................................................... 7
Create User Accounts on the Switch .............................................................................. 8
Creating VLANs ....................................................................................................... 8
Configure Switch Ports for Access Mode .......................................................................... 9
Configure Switch Ports for Trunk or Tagged Mode ............................................................. 10
Link Aggregation ..................................................................................................... 11
Configuration Management ........................................................................................ 11
Conclusion ............................................................................................................ 11
iii
Ethernet Switch Deployment: CLI Comparison
Executive summary
As Dell brings comprehensive solutions to the data center, the server administrator may become
responsible for the maintenance of switches and storage arrays. The Dell M1000e server chassis brings
all of these elements under a single point of configuration. As such, this guide is meant to be a useful
comparison of the different commands used to configure the switches available in the modular chassis.
The end goal is to cross-reference new commands to those commands that the administrator may
already know.
Introduction
The Dell PowerEdge M1000e Modular Server Enclosure supports more than a dozen server models and
over 20 different I/O modules. When considering all combinations of servers, I/O modules, and
subcomponents; there are a vast number of configuration options available to the PowerEdge user.
This document is designed to note the similarities and differences between the four primary vendors of
modular Ethernet switches available to the Dell modular user. This information is not restricted to the
modular environment, but is designed to assist the modular server administrator to track some of the
subtle differences found when configuring switches provided by multiple vendors.
For each step outlined in this document, we will compare different command line syntax used by the
four current enterprise switch vendors supported in the Dell M1000e chassis. The vendors and
operating systems are:
There may be several devices, both modular and standalone, that will support the same operating
system and command syntax. This document compares the available commands rather than dealing
with the specific models or feature offerings of each switch.
The Cisco Nexus B22 Fabric Extender module must be managed remotely from a Cisco Nexus switch.
Cisco commands included in this document are added as a point of reference, but the exact method of
execution may differ from that of other modular switches.
4
Ethernet Switch Deployment: CLI Comparison
The first step the administrator must follow is to connect to the serial port of the switch. Though a
proper serial cable is included with most switches, the cable is not necessary for configuration. The
administrator can take advantage of the M1000e Chassis Management Controller (CMC) to host a serial
connection to each IO module by typing the following command from the CMC command line.
>connect switch-x (where x is the number from 1to 6 assigned to the switch slot of the chassis)
This internal serial connection is not available on the Cisco Fabric Extender I/O module.
Additionally, the CMC graphical interface contains the ability to assign an IP address for the
management port of most modular switches.
5
Ethernet Switch Deployment: CLI Comparison
Each command shell displays a different prompt to inform the administrator which shell is currently
active. Upon initial connection to the switch, the administrator logs into the user-level shell. Very
few commands are available in this shell, so the first step is to enter the privilege command shell. In
this section, the full expected prompt is displayed.
From the privilege command shell, the administrator can enter the global configuration command
shell:
From the global configuration command shell, each of the switch interfaces has its own configuration
shell. These interfaces include switch ports, management ports, and VLANs.
Each of the following command sets will now start by including the command to enter the proper
configuration shell. To save space on the page, only the final character of the expected prompt will be
displayed. Each list of commands will start from the global configuration shell.
6
Ethernet Switch Deployment: CLI Comparison
7
Ethernet Switch Deployment: CLI Comparison
(Accounts are managed via graphical interface) # username TestUser password Dell1234
Creating VLANs
All Dell modular switches can be divided into multiple broadcast domains called Virtual Local Area
Networks (VLANs). The typical process to manage VLAN access is to first define the VLAN and then to
assign two or more ports to that VLAN. The following commands are used to create a VLAN.
Once a VLAN has been configured, ports can be associated to it. Ports that are assigned to the same
VLAN will be able to pass traffic to each other. Ports not assigned to the VLAN will not pass traffic to
each other without additional configuration in the network.
8
Ethernet Switch Deployment: CLI Comparison
9
Ethernet Switch Deployment: CLI Comparison
Force10 (uplink port is tagged in VLAN definition) Power Connect (trunk mode automatically tagged)
# interface fortyGig 0/33 # interface tengigabitethernet 1/0/17
# description *uplink* # description *uplink*
# switchport # switchport mode trunk
# switchport mode private-vlan trunk # switchport trunk allowed vlan 32,33,34
# no shutdown # no shutdown
# exit
# interface vlan 32 (repeat for VLANs 33,
34)
# tagged fortyGigE 0/33
# no shutdown
Brocade (trunk mode automatically tagged) Cisco (trunk mode automatically tagged)
#interface extengigabitethernet 0/17 # interface ethernet 1/17
# description *uplink* # description *uplink*
# switchport # switchport mode trunk
# switchport mode trunk # switchport trunk allowed vlan 32,33,34
# switchport trunk allowed vlan add 32 # no shutdown
# switchport trunk allowed vlan add 33
# switchport trunk allowed vlan add 34
# no shutdown
10
Ethernet Switch Deployment: CLI Comparison
Link Aggregation
To increase the available bandwidth between the Ethernet switch and the data center network,
multiple uplink ports can be combined together to act as a single link. The process starts by creating a
port channel, and then several uplink ports can be added to that port channel. All of the ports in the
channel will act as a single, large link to the network. Link aggregation will also need to be configured
at the top of rack switch where these uplink ports are connected.
If multiple uplink ports are connected to the same top of rack switch, the administrator should strongly
consider adding all of the ports to a single port channel. Failure to do so could create forwarding loop
between the ports which could severely impact the network. There are other methods to avoid loops,
such as spanning tree, but those are beyond the scope of this document.
Configuration Management
At any time during the switch configuration process, the administrator can preview or save the current
switch configuration by using the following commands from the privileged command shell. These
commands are applicable on all of the switches.
# show running-config
Conclusion
The previous list of commands does not cover every option available in a Dell modular Ethernet switch.
The commands provide a quick basis for comparison of common features shared among all of the switch
vendors. After following these guidelines, the server administrator should have a functioning switch in
the chassis. Additional security and connectivity features can now be included.
11