Dell Force10 S4820T Command Line Reference Guide

0 (0)
FTOS Command Line Reference
Guide for the
S4820T (FTOS 8.3.19.0)
System
Publication Date: January 2013
Notes, Cautions, and Warnings
NOTE: A NOTE indicates important information that helps you make better use of your computer.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
Information in this publication is subject to change without notice.
© 2013 Dell Force10. All rights reserved.
Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden.
Trademarks used in this text: Dell™, the DELL logo, Dell Precision™, OptiPlex™, Latitude™, PowerEdge™, PowerVault™,
PowerConnect™, OpenManage™, EqualLogic™, KACE™, FlexAddress™ and V ostro™ are trademarks of Dell Inc. Intel
®
, Pentium
®
, Xeon
®
,
Core™ and Celeron
®
are registered trademarks of Intel Corporation in the U.S. and other countries. AMD
®
is a registered trademark and AMD
Opteron™, AMD Phenom™, and AMD Sempron™ are trademarks of Advanced Micro Devices, Inc. Microsoft
®
, Windows
®
, Windows
Server
®
, MS-DOS
®
and Windows V ista
®
are either trademarks or registered trademarks of Microsoft Corporation in the United States and/or
other countries. Red Hat Enterprise Linux
®
and Enterprise Linux
®
are registered trademarks of Red Hat, Inc. in the United S tates and/or other
countries. Novell
®
is a registered trademark and SUSE ™ is a trademark of Novell Inc. in the United States and other countries. Oracle
®
is a
registered trademark of Oracle Corporation and/or its affiliates. Citrix
®
, Xen
®
, XenServer
®
and XenMotion
®
are either registered trademarks
or trademarks of Citrix Systems, Inc. in the United States and/or other countries. VMware
®
, Virtual SMP
®
, vMotion
®
, vCenter
®
, and vSphere
®
are registered trademarks or trademarks of VMWare, Inc. in the United States or other countrie s .
Other trademarks and trade names may be used in this publication to refer to either the entities claimi ng the marks and names or their products.
Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
January 2013
| 3
1 About this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Information Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
2 CLI Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Accessing the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
Multiple Configuration Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Navigating the Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18
Obtaining Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Using the Keyword No . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Filtering show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
Displaying All Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Filtering Command Output Multiple Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
EXEC Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
EXEC Privilege Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
CONFIGURATION Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
INTERFACE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
LINE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
TRACE-LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
MAC ACCESS LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
IP ACCESS LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
ROUTE-MAP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25
PREFIX-LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
AS-PATH ACL Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
IP COMMUNITY LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
REDIRECT-LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
SPANNING TREE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
Per-VLAN SPANNING TREE Plus Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
RAPID SPANNING TREE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27
MULTIPLE SPANNING TREE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
PROTOCOL GVRP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
ROUTER OSPF Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
ROUTER RIP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
ROUTER ISIS Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
ROUTER BGP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
VLT DOMAIN Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Determining the Chassis Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
3 File Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Basic File Management Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
4 |
www.dell.com | support.dell.com
Upgrading the C-Series FPGA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64
4 Control and Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
5 802.1ag. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155
6 802.1X. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .170
7 Access Control Lists (ACL). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Commands Common to all ACL Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Common IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190
Standard IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195
Extended IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203
Common MAC Access List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .238
Standard MAC ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .241
Extended MAC ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .246
IP Prefix List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .252
Route Map Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .258
AS-Path Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .278
IP Community List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .281
8 Bidirectional Forwarding Detection (BFD). . . . . . . . . . . . . . . . . . . . . . . .287
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .287
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .287
9 Border Gateway Protocol IPv4 (BGPv4). . . . . . . . . . . . . . . . . . . . . . . . .303
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .303
BGPv4 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304
MBGP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .395
BGP Extended Communities (RFC 4360) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421
10 Bare Metal Provisioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431
| 5
11 Content Addressable Memory (CAM). . . . . . . . . . . . . . . . . . . . . . . . . . .435
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .435
CAM Profile Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .435
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .436
CAM IPv4flow Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .449
CAM Layer 2 ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .452
12 Control Plane Policing (CoPP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .457
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .457
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .457
13 Data Center Bridging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
DCB and Switch Stacking Caveats for the S4820T . . . . . . . . . . . . . . . . . . . . . . . .463
DCB Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
PFC Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463
ETS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .465
DCBX Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .465
14 Dynamic Host Configuration Protocol (DHCP) . . . . . . . . . . . . . . . . . . . .499
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .499
Commands to Configure the System to be a DHCP Server . . . . . . . . . . . . . . . . . . . . .499
Commands to Configure Secure DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .507
15 Equal Cost Multi-Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .515
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .515
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .515
16 FIPS Cryptography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .525
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .525
FIPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .525
17 FIP Snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531
FIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531
18 Force10 Resilient Ring Protocol (FRRP) . . . . . . . . . . . . . . . . . . . . . . . .543
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .543
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .543
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .543
6 |
www.dell.com | support.dell.com
19 GARP VLAN Registration (GVRP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .553
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .553
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .553
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .554
20 High Availability (HA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .565
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .565
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .565
21 ICMP Message Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .577
22 Internet Group Management Protocol (IGMP) . . . . . . . . . . . . . . . . . . . .579
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .579
IGMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .579
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .579
IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .592
Important Points to Remember for IGMP Snooping . . . . . . . . . . . . . . . . . . . . . . . .592
Important Points to Remember for IGMP Querie r . . . . . . . . . . . . . . . . . . . . . . . . . .593
23 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .599
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .599
Basic Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .599
Port Channel Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .659
Time Domain Reflectometer (TDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .670
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .671
UDP Broadcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .673
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .673
24 IPv4 Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .677
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .677
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .677
25 IPv6 Access Control Lists (IPv6 ACLs) . . . . . . . . . . . . . . . . . . . . . . . . .737
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .737
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .737
IPv6 ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .738
IPv6 Route Map Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .765
26 IPv6 Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .771
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .771
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .771
| 7
27 IPv6 Border Gateway Protocol (IPv6 BGP). . . . . . . . . . . . . . . . . . . . . . .793
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .793
IPv6 BGP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .793
IPv6 MBGP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .865
28 iSCSI Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .893
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .893
29 Intermediate System to Intermediate System (IS-IS) . . . . . . . . . . . . . . .901
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .901
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .901
30 Link Aggregation Control Protocol (LACP) . . . . . . . . . . . . . . . . . . . . . . .951
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .951
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .951
31 Layer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .959
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .959
MAC Addressing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .959
Virtual LAN (VLAN) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .981
Far-End Failure Detection (FEFD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .992
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .992
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .992
32 Link Layer Discovery Protocol (LLDP) . . . . . . . . . . . . . . . . . . . . . . . . .1001
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1001
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1001
LLDP-MED Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1011
33 Multicast Source Discovery Protocol (MSDP). . . . . . . . . . . . . . . . . . . .1021
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1021
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1021
34 Multiple Spanning Tree Protocol (MSTP) . . . . . . . . . . . . . . . . . . . . . . .1033
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1033
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1033
35 Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1049
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1049
IPv4 Multicast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1049
IPv6 Multicast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1059
8 |
www.dell.com | support.dell.com
36 Neighbor Discovery Protocol (NDP) . . . . . . . . . . . . . . . . . . . . . . . . . . .1067
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1067
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1067
37 Open Shortest Path First (OSPFv2) . . . . . . . . . . . . . . . . . . . . . . . . . . .1075
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1075
OSPFv2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1075
38 PIM-Sparse Mode (PIM-SM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1139
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1139
IPv4 PIM-Sparse Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1139
IPv6 PIM-Sparse Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1163
39 Port Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1177
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1177
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1177
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1177
40 Private VLAN (PVLAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1183
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1183
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1183
Private VLAN Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1183
41 Per-VLAN Spanning Tree Plus (PVST+). . . . . . . . . . . . . . . . . . . . . . . .1193
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1193
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1193
42 Quality of Service (QoS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1207
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1207
Global Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1207
Per-Port QoS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1208
Policy-Based QoS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1218
Important Points to Remember — multicast-bandwidth option . . . . . . . . . . . . . . .1234
Queue-Level Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1258
43 Routing Information Protocol (RIP). . . . . . . . . . . . . . . . . . . . . . . . . . . .1269
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1269
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1269
44 Remote Monitoring (RMON) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1291
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1291
| 9
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1291
45 Rapid Spanning Tree Protocol (RSTP). . . . . . . . . . . . . . . . . . . . . . . . .1305
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1305
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1305
46 Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1317
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1317
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1317
AAA Accounting Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1318
Authorization and Privilege Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1321
Authentication and Password Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1325
RADIUS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1339
TACACS+ Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1346
Port Authentication (802.1X) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1349
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1350
SSH Server and SCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1360
Trace List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1375
Secure DHCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1385
47 Service Provider Bridging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1391
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1391
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1391
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1391
48 sFlow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1397
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1397
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1397
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1398
49 Simple Network Management Protocol and Syslog . . . . . . . . . . . . . . . 1409
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1409
SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1409
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1410
Syslog Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1428
50 S-Series Stacking Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1443
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1443
Switch Stacking an DCB Caveats for the S4820T . . . . . . . . . . . . . . . . . . . . . . . .1443
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1444
10 |
www.dell.com | support.dell.com
51 Storm Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1453
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1453
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1453
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1453
52 Spanning Tree Protocol (STP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1463
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1463
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1463
53 System Time and Date . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1475
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1475
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1475
54 S4810 and S4820T u-Boot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1493
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1493
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1493
55 Uplink Failure Detection (UFD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1497
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1497
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1497
56 VLAN Stacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1507
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1507
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1507
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1507
57 Virtual Link Trunking (VLT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1519
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1519
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1519
58 Virtual Router Redundancy Protocol (VRRP) . . . . . . . . . . . . . . . . . . . .1533
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1533
IPv4 VRRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1533
IPv6 VRRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1546
59 S-Series Debugging and Diagnostics. . . . . . . . . . . . . . . . . . . . . . . . . .1553
Offline Diagnostic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1553
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1553
Buffer Tuning Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1556
Hardware Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1561
| 11
60 SNMP Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1573
12 |
www.dell.com | support.dell.com
About this Guide | 13
1

About this Guide

This book provides information on the FTOS Command Line Interface (CLI). It
includes some information on the protocols and features found in FTOS and on the
Dell Force10 systems supported by FTOS (C-Series
c, E-Series e, and S-Series
s).
This chapter includes:
Objectives
Audience
Conventions
Related Documents

Objectives

This document is intended as a reference guide for the FTOS command line interface
(CLI) commands, with detailed syntax statements, along with usage information and
sample output.
For details on when to use the commands, refer to the
FTOS Configuration Guide. That
guide contains a chapter with a list of the RFCs and MIBs (management information
base files) supported.

Audience

This document is intended for system administrators who are responsible for
configuring or maintaining networks. This guide assumes you are knowledgeable in
Layer 2 and Layer 3 networking technologies.
14 | About this Guide
www.dell.com | support.dell.com

Conventions

This document uses the following conventions to describe command syntax:

Information Symbols

Table 1-1 describes symbols contained in this guide.

Related Documents

For more information about the system, refer to the following documents:
Convention Description
keyword Keywords are in bold and should be entered in the CLI as listed.
parameter
Parameters are in italics and require a number or word to be entered in the CLI.
{X} Keywords and parameters within braces must be entered in the CLI.
[X] Keywords and parameters within brackets are optional.
x | y Keywords and parameters separated by bar require you to choose one.
x||y Keywords and parameters separated by a double bar enables you to choose any or all of them.
Table 1-1. Information Symbols
Symbol Brief Description
Note
This symbol signals important operational information.
Caution
This symbol signals information about situations that could result in equipment damage or loss
of data.
Warning
This symbol signals information about hardware handling that could result in injury.
c
C-Series
This symbol indicates that the selected feature is supported on the C-Series.
e
E-Series
This symbol indicates that the selected feature is supported on the E-Series TeraScale AND
E-Series ExaScale.
e
t
E-Series
TeraScale
This symbol indicates that the selected feature is supported on the E-Seri es TeraScale platform
only.
e
x
E-Series
ExaScale
This symbol indicates that the selected feature is supported on the E-Series ExaScale platform
only.
s
S-Series
This symbol indicates that the selected feature is supported on the S-Series.
About this Guide | 15
FTOS Configuration Guide
Installation and maintenance guides for your system
Release Notes for your system and FTOS version
16 | About this Guide
www.dell.com | support.dell.com
CLI Basics | 17
2

CLI Basics

This chapter describes the command structure and command modes. FTOS
commands are in a text-based interface that allows you to use launch commands,
change the command modes, and configure interfaces and protocols.
This chapter covers the following topics:
Accessing the Command Line
Multiple Configuration Users
Navigating the Command Line Interface
Obtaining Help
Using the Keyword No
Filtering show Commands
Command Modes

Accessing the Command Line

When the system boots successfully, you are positioned on the command line in the
EXEC mode and not prompted to log in. You can access the commands through a
serial console port or a Telnet session. When you Telnet into the switch, you are
prompted to enter a login name and password.
The following text is an example of a successful Telnet login session.
telnet 172.31.1.53
Trying 172.31.1.53...
Connected to 172.31.1.53.
Escape character is '^]'.
Login: username
Password: FTOS>
Once you log into the switch, the prompt provides you with current command-level
information (refer to Table 2-1).
18 | CLI Basics
www.dell.com | support.dell.com

Multiple Configuration Users

When a user enters the CONFIGURATION mode and another user(s) is already in
that configuration mode, FTOS generates an alert warning message similar to the
following:
FTOS#conf
% Warning: The following users are currently configuring the system:
User "" on line console0
User "admin" on line vty0 ( 123.12.1.123 )
User "admin" on line vty1 ( 123.12.1.123 )
User "Irene" on line vty3 ( 123.12.1.321 )
FTOS#conf
When another user enters the CONFIGURATION mode, FTOS sends a message
similar to the following, where the user in this case is “admin” on vty2:
% Warning: User "admin" on line vty2 "172.16.1.210" is in configuration

Navigating the Command Line Interface

The Command Line Interface (CLI) prompt displayed by FTOS is comprised of:
“hostname”— the initial part of the prompt, “FTOS” by default. You can change
it with the
hostname command, as described in hostname.
The second part of the prompt, reflecting the current CLI mode, as shown in
Table 2-1.
The CLI prompt changes as you move up and down the levels of the command
structure. Table 2-1 lists the prompts and their corresponding command levels, called
modes. Starting with the CONFIGURATION mode, the co mm and prompt adds
modifiers to further identify the mode. The command modes are explained in
Command Modes.
Note: Some of the following modes are not available on C-Series or S-Series.
Table 2-1. Command Prompt and Corresponding Command Mode
Prompt CLI Command Mode
FTOS> EXEC
FTOS# EXE C Privilege
FTOS(conf)# CONFIGURATION
CLI Basics | 19

Obtaining Help

As soon as you are in a command mode there are several ways to access help.
To obtain a list of keywords at any command mode, do the following:
FTOS(conf-if)#
FTOS(conf-if-gi-0/0)#
FTOS(conf-if-te-0/0)#
FTOS(conf-if-fo-0/0)#
FTOS(conf-if-lo-0)#
FTOS(conf-if-nu-0)#
FTOS(conf-if-po-0)#
FTOS(conf-if-vl-0)#
FTOS(conf-if-so-0/0)#
FTOS(conf-if-ma-0/0)#
FTOS(conf-if-range)#
INTERFACE
FTOS(config-ext-nacl)#
FTOS(config-std-nacl)#
IP ACCESS LIST
FTOS(config-line-aux)#
FTOS(config-line-console)#
FTOS(config-line-vty)#
LINE
FTOS(config-ext-macl)#
FTOS(config-std-macl)#
MAC ACCESS LIST
FTOS(config-mon-sess)# MONITOR SESSION
FTOS(config-span)# STP
FTOS(config-mstp)# MULTIPLE SPANNING TREE
FTOS(config-pvst)# Per-VLAN SPANNING TREE Plus
FTOS(config-rstp)# RAPID SPANNING TREE
FTOS(config-gvrp)# PROTOCOL GVRP
FTOS(config-route-map)# ROUTE-MAP
FTOS(conf-nprefixl)# PREFIX-LIST
FTOS(conf-router_rip)# ROUTER RIP
FTOS(conf-redirect-list)# REDIRECT
FTOS(conf-router_bgp)# ROUTER BGP
FTOS(conf-router_ospf)# ROUTER OSPF
FTOS(conf-router_isis)# ROUTER ISIS
FTOS(conf-trace-acl)# TRACE-LIST
FTOS(config-vlt-domain) VLT DOMAIN
Table 2-1. Command Prompt and Corresponding Command Mode
Prompt CLI Command Mode
20 | CLI Basics
www.dell.com | support.dell.com
Enter a ? at the prompt or after a keyword. There must always be a space
before the
?.
To obtain a list of keywords with a brief functional description, do the following:
•Enter
help at the prompt.
To obtain a list of available options, do the following:
Type a keyword followed by a space and a
?
Type a partial keyword followed by a
?
A display of keywords beginning with the partial keyword is listed.
The following text illustrates the results of entering
ip ? at the prompt.
FTOS(conf)#ip ?
access-list Named access-list
as-path BGP autonomous system path filter
community-list Add a community list entry
domain-list Domain name to complete unqualified host name
domain-lookup Enable IP Domain Name System hostname translation
domain-name Define the default domain name
fib FIB configuration commands
ftp FTP configuration commands
host Add an entry to the ip hostname table
max-frag-count Max. fragmented packets allowed in IP re-assembly
multicast-routing Enable IP multicast forwarding
name-server Specify address of name server to use
pim Protocol Independent Multicast
prefix-list Build a prefix list
radius Interface configuration for RADIUS
redirect-list Named redirect-list
route Establish static routes
scp SCP configuration commands
source-route Process packets with source routing header options
ssh SSH configuration commands
tacacs Interface configuration for TACACS+
telnet Specify telnet options
tftp TFTP configuration commands
trace-group Named trace-list
trace-list Named trace-list
FTOS(conf)#ip
When entering commands, you can take advantage of the following timesaving
features:
The commands are not case sensitive.
Y ou can enter partial (truncated) command keywords. For example, you can enter
int gig int interface for the interface gigabitethernet interface
command.
Use the TAB key to complete keywords in commands.
Use the up arrow key to display the last enabled command.
Use either the Backspace key or the Delete key to erase the previous character.
CLI Basics | 21
Use the left and right arrow keys to navigate left or right in the FTOS command
line. Table 2-2 defines the key combinations valid at the FTOS command line.

Using the Keyword No

To disable, delete, or return to default values, use the no form of the commands. For
most commands, if you type the keyword
no in front of the command, you will
disable that command or delete it from the running configuration. In this document,
the no form of the command is discussed in the Command Syntax portion of the
command description.

Filtering show Commands

You can filter the display output of a show command to find specific information, to
display certain information only , or to begin the command output at the first instance
of a regular expression or phrase.
Table 2-2. Short-cut Keys and their Actions
Key
Combination Action
CNTL-A Moves the cursor to the beginning of the command line.
CNTL-B Moves the cursor back one character.
CNTL-D Deletes character at cursor.
CNTL-E Moves the cursor to the end of the line.
CNTL-F Moves the cursor forward one character.
CNTL-I Completes a keyword.
CNTL-K Deletes all characters from the cursor to the end of the command line.
CNTL-L Re-enters the previous command.
CNTL-N Return to more recent commands in the history buffer after recalling commands
with Ctrl-P or the up arrow key
CNTL-P Recalls commands, beginning with the last command
CNTL-R Re-enters the previous command.
CNTL-U Deletes the line.
CNTL-W Deletes the previous word.
CNTL-X Deletes the line.
CNTL-Z Ends continuous scrolling of command outputs.
Esc B Moves the cursor back one word.
Esc F Moves the cursor forward one word.
Esc D Deletes all characters from the cursor to the end of the word.
22 | CLI Basics
www.dell.com | support.dell.com
When you execute a show command, followed by a pipe ( | ) and one of the
parameters listed below and a regular expression, the resulting output either excludes
or includes those parameters, as defined by the parameter:
display — display additional configuration information
except— display only text that does not match the pattern (or regular expression)
find — search for the first occurrence of a pattern
grep — display text that matches a pattern
no-more — do not paginate the display output
save — copy output to a file for future use
The
grep command option has an ignore-case sub-option that makes the search
case-insensitive. For example, the commands:
show run | grep Ethernet would return a search result with instances containing a
capitalized “Ethernet,” such as
interface GigabitEthernet 0/0.
show run | grep ethernet would not return the search result, above, because it only
searches for instances containing a non-capitalized “ethernet.”
Executing the command
show run | grep Ethernet ignore-case would return instances
containing both “Ethernet” and “ethernet.”

Displaying All Output

To display the output all at once (not one screen at a time), use the no-more after the
pipe. This is similar to the
terminal length screen-length command except that the
no-more option affects the output of just the specified comm a nd.For example:
FTOS#show running-config|no-more

Filtering Command Output Multiple Times

You can filter a single command output multiple times. Place the save option as the
last filter. For example:
FTOS# command | grep regular-expression | except regular-expression | grep
other-regular-expression |
find regular-expression | no-more | save
Note: FTOS accepts a space before or after the pipe, no space before or after the
pipe, or any combination. For example:
FTOS
#command | grep gigabit |except regular-expression | find
regular-expression
CLI Basics | 23

Command Modes

T o navigate to various CLI modes, you need to use specific commands to launch each
mode. Navigation to these modes is discussed in the following sections.

EXEC Mode

When you initially log in to the switch, by default, you are logged into the EXEC
mode. This mode allows you to view settings and to enter the EXEC Privilege mode
to configure the device. While you are in the EXEC mode, the
> prompt is displayed
following the “hostname” prompt, as described above, wh ich is “
FTOS” by default.
You can change it with the
hostname command. Refer to the command hostname.
Each mode prompt is preceded by the hostname.

EXEC Privilege Mode

The enable command accesses the EXEC Privilege mode. If an administrator has
configured an “Enable” password, you will be prompted to enter it here.
The EXEC Privilege mode allows you to access all commands accessible in EXEC
mode, plus other commands, such as to clear ARP entries and IP addresses. In
addition, you can access the CONFIGURATION mode to configure interfaces,
routes, and protocols on the switch. While you are logged in to the EXEC Privilege
mode, the # prompt is displayed.

CONFIGURATION Mode

In the EXEC Privilege mode, use the configure command to enter the
CONFIGURATION mode and configure routing protocols and access interfaces.
To enter the CONFIGURATION mode:
1. Verify that you are logged in to the EXEC Privilege mode.
2. Enter the
configure command. The prompt changes to include (conf).
From this mode, you can enter INTERFACE by using the interface command.

INTERFACE Mode

Use the INTERF ACE mode to configure interfaces or IP services on those interfaces.
An interface can be physical (for example, a Gigabit Ethernet port) or virtual (for
example, the Null interface).
Note: Some of the following modes are not available on C-Series or S-Series.
24 | CLI Basics
www.dell.com | support.dell.com
To enter INTERFACE mode:
1. Verify that you are logged into the CONFIGURATION mode.
2. Enter the
interface command followed by an interface type and interface number that is
available on the switch.
3. The prompt changes to include the designated interface and slot/port number, as outlined
in Table 2-3.

LINE Mode

Use the LINE mode to configure console or virtual terminal parameters.
To enter LINE mode:
1. Verify that you are logged in to the CONFIGURATION mode.
2. Enter the
line command. You must include the keywords console or vty and their line num-
ber available on the switch.The prompt changes to include (config-line-console) or (con-
fig-line-vty).
You can exit this mode by using the exit command.

TRACE-LIST Mode

When in the CONFIGURATION mode, use the trace-list command to enter the
TRACE-LIST mode and configure a Trace list.
1. Verify that you are logged in to the CONFIGURATION mode.
2. Enter the
ip trace-list command. You must include the name of the Trace list. The prompt
change to include (conf-trace-acl).
Table 2-3. Interface prompts
Prompt Interface Type
FTOS(conf-if)# INTERFACE mode
FTOS(conf-if-gi-0/0)# Gigabit Ethernet interface followed by slot/port information
FTOS(conf-if-te-0/0)# Ten Gigabit Ethernet interface followed by slot/port information
FTOS(conf-if-fo-0/0)# Forty Gigabit Ethernet interface followed by slot/port information
FTOS(conf-if-lo-0)# Loopback interface number.
FTOS(conf-if-nu-0)# Null Interface followed by zero
FTOS(conf-if-po-0)# Port-channel interface number
FTOS(conf-if-vl-0)# VLAN Interface followed by VLAN number (range 1 to 4094)
FTOS(conf-if-so-0/0)# SONET interface followed by slot/port information.
FTOS(conf-if-ma-0/0)# Management Ethernet interface followed by slot/port information
FTOS(conf-if-range)# Designated interface range (used for bulk configuration; refer to
interface range).
CLI Basics | 25
You can exit this mode by using the exit command.

MAC ACCESS LIST Mode

While in the CONFIGURATION mode, use the mac access-list standard or mac
access-list extended command to enter the MAC ACCESS LIST mode and configure
either standard or extended access control lists (ACL).
To enter MAC ACCESS LIST mode:
1. Verify that you are logged in to the CONFIGURATION mode.
2. Use the
mac access-list standard or mac access-list extende d command. You must include
a name for the ACL.The prompt changes to include (conf-std-macl) or (conf-ext-macl).
You can return to the CONFIGURATION mode by entering the exit command.

IP ACCESS LIST Mode

While in the CONFIGURATION mode, use the ip access-list standard or ip access-list
extended
command to ente r the IP ACCESS LIST mode and configure either standard
or extended access control lists (ACL).
To enter IP ACCESS LIST mode:
1. Verify that you are logged in to the CONFIGURATION mode.
2. Use the
ip access-list standard or ip access-list extended command. You must include a
name for the ACL.The prompt changes to include (conf-std-nacl) or (conf-ext-nacl).
You can return to the CONFIGURATION mode by entering the exit command.

ROUTE-MAP Mode

While in the CONFIGURATION mode, use the route-map command to enter the
ROUTE-MAP mode and configure a route map.
To enter ROUTE-MAP mode:
1. Verify that you are logged in to the CONFIGURATION mode.
2. Use the
route-map map-name [permit | deny] [sequence-number] command. The prompt
changes to include (route-map).
You can return to the CONFIGURATION mode by entering the exit command.
26 | CLI Basics
www.dell.com | support.dell.com

PREFIX-LIST Mode

While in the CONFIGURATION mode, use the ip prefix-list command to enter the
PREFIX-LIST mode and configure a prefix list.
To enter PREFIX-LIST mode:
1. Verify that you are logged in to the CONFIGURATION mode.
2. Enter the
ip prefix-list command. You must include a name for the prefix list.The prompt
changes to include (conf-nprefixl).
You can return to the CONFIGURATION mode by entering the exit command.

AS-PATH ACL Mode

Use the AS-PATH ACL mode to configure an AS-PATH Access Control List (ACL)
on the E-Series. Refer to Chapter 7, Access Control Lists (ACL).
To enter AS-PATH ACL mode:
1. Verify that you are logged in to the CONFIGURATION mode.
2. Enter the
ip as-path access-list command. You must include a name for the AS-PATH
ACL.The prompt changes to include (config-as-path).
You can return to the CONFIGURATION mode by entering the exit command.

IP COMMUNITY LIST Mode

Use the IP COMMUNITY LIST mode to configure an IP Community ACL on the
E-Series. Refer to Chapter 7, Access Control Lists (ACL) .
To enter IP COMMUNITY LIST mode:
1. Ve rify that you are logged in to the CONFIGURATION mod e.
2. Enter the
ip community-list command. You must include a name for the Community
list.The prompt changes to include (config-community-list).
You can return to the CONFIGURATION mode by entering the exit command.

REDIRECT-LIST Mode

Use the REDIRECT-LIST mode to configure a Redirect list on the E-Series, as
described in the E-Series
FTOS Command Line Reference Guide Chapter 39,
Policy-based Routing (PBR).
To enter REDIRECT-LIST mode:
CLI Basics | 27
1. Ve rify that you are logged in to the CONFIGURATION mod e.
2. Use the
ip redirect-list command. You must include a name for the Redirect-list.The
prompt changes to include (conf-redirect-list).
You can return to the CONFIGURATION mode by entering the exit command.

SPANNING TREE Mode

Use the STP mode to enable and configure the Spanning Tree protocol, as described
in Chapter 52, Spanning Tree Protocol (STP).
To enter STP mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
protocol spanning-tree stp-id command.
You can return to the CONFIGURATION mode by entering the exit command.

Per-VLAN SPANNING TREE Plus Mode

Use PVST+ mode to enable and configure the Per-VLAN Spanning Tree (PVST+)
protocol, as described in Chapter 41, Per-VLAN Spanning Tree Plus (PVST+).
To enter PVST+ mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
protocol spanning-tree pvst command.
You can return to the CONFIGURATION mode by entering the exit command.

RAPID SPANNING TREE Mode

Use PVST+ mode to enable and configure the RSTP protocol, as described in
Chapter 45, Rapid Spanning Tree Protocol (RSTP).
To enter RSTP mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
protocol spanning-tree rstp command.
You can return to the CONFIGURATION mode by entering the exit command.
Note: The protocol is PVST+, but the plus sign is dropped at the CLI prompt
28 | CLI Basics
www.dell.com | support.dell.com

MULTIPLE SPANNING TREE Mode

Use MULTIPLE SPANNING TREE mode to enable and configure the Multiple
Spanning Tree protocol, as described in Chapter 34, Multiple Spanning Tree Protocol
(MSTP).
To enter MULTIPLE SPANNING TREE mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
protocol spanning-tree mstp command.
You can return to the CONFIGURATION mode by entering the exit command.

PROTOCOL GVRP Mode

Use the PROTOCOL GVRP mode to enable and configure GARP VLAN
Registration Protocol (GVRP), as described in Chapter 19, GARP VLAN
Registration (GVRP).
To enter PROTOCOL GVRP mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
protocol gvrp command syntax.
You can return to the CONFIGURATION mode by entering the exit command.

ROUTER OSPF Mode

Use the ROUTER OSPF mode to configure OSPF, as described in Chapter 37, Open
Shortest Path First (OSPFv2).
To enter ROUTER OSPF mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Use the
router ospf {process-id} command.The prompt changes to include
(conf-router_ospf-id).
You can switch to the INTERFACE mode by using the interface command or you can
switch to the ROUTER RIP mode by using the
router rip command.

ROUTER RIP Mode

Use the ROUTER RIP mode to configure RIP on the C-Series or E-Series, as
described in Chapter 43, Routing Information Protocol (RIP).
To enter ROUTER RIP mode:
CLI Basics | 29
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
router rip command.The prompt changes to include (conf-router_rip).
You can switch to the INTERFACE mode by using the interface command or you can
switch to the ROUTER OSPF mode by using the
router ospf command.

ROUTER ISIS Mode

Use the ROUTER ISIS mode to configure ISIS on the E-Series, as described in the
E-Series E-Series
FTOS Command Line Reference Guide chapter Intermediate System to
Intermediate System (IS-IS).
To enter ROUTER ISIS mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
router isis [tag] command.The prompt changes to include (conf-router_isis).
You can switch to the INTERFACE mode by using the interface command or you can
switch to the ROUTER RIP mode by using the
router rip command.

ROUTER BGP Mode

Use the ROUTER BGP mode to configure BGP on the C-Series or E-Series, as
described in Chapter 9, Border Gateway Protocol IPv4 (BGPv4).
To enter ROUTER BGP mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
router bgp as-number command.The prompt changes to include
(conf-router_bgp).
You can return to the CONFIGURATION mode by entering the exit command.

VLT DOMAIN Mode

Use VLT DOMAIN mode to enable and configure the VLT domain protocol, as
described in Chapter 57, Virtual Link Trunking (VLT ).
To enter VLT DOMAIN mode:
1. Ve ri fy that you are logged into the CONFIGURATION mode.
2. Enter the
config-vlt-domain command.
You can return to the CONFIGURATION mode by entering the exit command.
30 | CLI Basics
www.dell.com | support.dell.com

Determining the Chassis Mode

The chassis mode in FTOS determines which hardware is being supported in an
E-Series chassis. The chassis mode is programmed into an EEPROM on the
backplane of the chassis and the change takes place only after the chassis is rebooted.
Configuring the appropriate chassis mode enables the system to use all the ports on
the card and recognize all software features.
Loading...
+ 1546 hidden pages