FTOS Command Line Reference Guide
FTOS Version 8.4.2.4 July 20, 2011
ii
Copyright 2011 Force10 Networks
All rights reserved. Printed in the USA. July 2011.
Force10 Networks® reserves the right to change, modify, revise this publication without notice.
Trademarks
Force10 Networks, Force10, E-Series, Traverse, Traverseedge, and Turin Networks are registered trademarks of Force10 Networks, Inc. Force10, the Force10 logo, E1200, E600, E600i, E300, EtherScale, TeraScale, FTOS, C-Series, and S-Series are trademarks of Force10 Networks, Inc. All other brand and product names are registered trademarks or trademarks of their respective holders.
Statement of Conditions
In the interest of improving internal design, operational function, and/or reliability, Force10 Networks reserves the right to make changes to products described in this document without notice. Force10 Networks does not assume any liability that may occur due to the use or application of the product(s) described herein.
=
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 iii
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
PrefaceAbout this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvAudience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvConventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xvInformation Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviRelated Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Chapter 1CLI Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Accessing the Command Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Multiple Configuration Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Navigating the Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Obtaining Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Using the Keyword No . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Filtering show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Displaying All Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Filtering Command Output Multiple Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7EXEC Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7EXEC Privilege Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7CONFIGURATION Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7INTERFACE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7LINE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8TRACE-LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8MAC ACCESS LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8IP ACCESS LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9ROUTE-MAP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9PREFIX-LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9AS-PATH ACL Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10IP COMMUNITY LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10REDIRECT-LIST Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Contents
iv
SPANNING TREE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Per-VLAN SPANNING TREE Plus Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11RAPID SPANNING TREE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11MULTIPLE SPANNING TREE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11PROTOCOL GVRP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11ROUTER OSPF Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12ROUTER RIP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12ROUTER ISIS Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12ROUTER BGP Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Determining the Chassis Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 2File Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Basic File Management Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Upgrading the C-Series FPGA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Chapter 3BOOT_USER Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Chapter 4Control and Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Chapter 5802.1ag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Chapter 6802.3ah . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Chapter 7802.1X . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 v
Chapter 8Access Control Lists (ACL). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199Commands Common to all ACL Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199Common IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202Standard IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206Extended IP ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213Common MAC Access List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247Standard MAC ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251Extended MAC ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255IP Prefix List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261Route Map Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267AS-Path Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286IP Community List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Chapter 9ACL VLAN Group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Chapter 10Bidirectional Forwarding Detection (BFD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Chapter 11Border Gateway Protocol IPv4 (BGPv4) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317BGPv4 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318MBGP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399BGP Extended Communities (RFC 4360) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Chapter 12Content Addressable Memory (CAM) for ExaScale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Chapter 13Content Addressable Memory (CAM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449CAM Profile Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
vi
CAM IPv4flow Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463CAM Layer 2 ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Chapter 14Configuration Rollback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Chapter 15Dynamic Host Configuration Protocol (DHCP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479Commands to Configure the System to be a DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479Commands to Configure Secure DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488
Chapter 16Equal Cost Multi-Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Chapter 17Far-End Failure Detection (FEFD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 501
Chapter 18Force10 Resilient Ring Protocol (FRRP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Chapter 19Force10 Service Agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
Chapter 20GARP VLAN Registration (GVRP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 555
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 vii
Chapter 21High Availability (HA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 565
Chapter 22Internet Group Management Protocol (IGMP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577IGMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577IGMP Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Important Points to Remember for IGMP Snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589Important Points to Remember for IGMP Querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Chapter 23Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595Basic Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595Port Channel Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657Time Domain Reflectometer (TDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667UDP Broadcast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
Chapter 24IPv4 Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Chapter 25 IPv6 Access Control Lists (IPv6 ACLs). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 731
IPv6 ACL Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 732IPv6 Route Map Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759
Chapter 26IPv6 Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
viii
Chapter 27IPv6 Border Gateway Protocol (IPv6 BGP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781IPv6 BGP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781IPv6 MBGP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 850
Chapter 28Intermediate System to Intermediate System (IS-IS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 877
Chapter 29Link Aggregation Control Protocol (LACP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925
Chapter 30Layer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933MAC Addressing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933Virtual LAN (VLAN) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 956
Chapter 31Link Layer Detection Protocol (LLDP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 967
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 967Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 967LLDP-MED Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 976
Chapter 32Multicast Listener Discovery (MLD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 985
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 985MLD Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 985MLD Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 992
Chapter 33Multicast Source Discovery Protocol (MSDP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 997
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 997Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 997
Chapter 34Multiple Spanning Tree Protocol (MSTP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1009
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1009Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1009
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 ix
Chapter 35Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1027
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1027IPv4 Multicast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1027IPv6 Multicast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1038
Chapter 36Neighbor Discovery Protocol (NDP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1045
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1045Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1045
Chapter 37Object Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1053
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1053IPv4 Object Tracking Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1053IPv6 Object Tracking Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1067
Chapter 38Open Shortest Path First (OSPFv2 and OSPFv3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1073OSPFv2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1074OSPFv3 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1137
Chapter 39Policy-based Routing (PBR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1163
Chapter 40PIM-Dense Mode (PIM-DM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173IPv4 PIM-Dense Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173
Chapter 41PIM-Sparse Mode (PIM-SM). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175IPv4 PIM-Sparse Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175IPv6 PIM-Sparse Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1202
Chapter 42PIM-Source Specific Mode (PIM-SSM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215IPv4 PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
x
IPv4 PIM-Source Specific Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215IPv6 PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217IPv6 PIM-Source Specific Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217
Chapter 43Power over Ethernet (PoE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1219
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1219Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1219
Chapter 44Port Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1227
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1227Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1227
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1228
Chapter 45Private VLAN (PVLAN). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1241
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1241Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1241
Private VLAN Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1241
Chapter 46Per-VLAN Spanning Tree plus (PVST+) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1251
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1251Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1251
Chapter 47Quality of Service (QoS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1267
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1267Global Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1267Per-Port QoS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1268Policy-Based QoS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1277
Important Points to Remember—multicast-bandwidth option . . . . . . . . . . . . . . . . . . . . . . . . . 1292Queue-Level Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1316
Chapter 48Router Information Protocol (RIP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1329
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1329Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1329
Chapter 49Remote Monitoring (RMON) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1349
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1349
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 xi
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1349
Chapter 50Rapid Spanning Tree Protocol (RSTP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1361
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1361Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1361
Chapter 51Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373AAA Accounting Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1373Authorization and Privilege Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1377Authentication and Password Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1380RADIUS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1392TACACS+ Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1397Port Authentication (802.1X) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1400
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1401SSH Server and SCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1409Trace List Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1422Secure DHCP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1432
Chapter 52Service Provider Bridging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1439
Chapter 53sFlow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1445
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1445Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1445
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446
Chapter 54SNMP and Syslog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1457
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1457SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1457
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1458Syslog Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1475
xii
Chapter 55SONET. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1489
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1489Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1489
Chapter 56S-Series Stacking Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1509
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1509Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1509
Chapter 57Storm Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1519
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1519Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1519
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1519
Chapter 58Spanning Tree Protocol (STP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1529
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1529Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1529
Chapter 59Time and Network Time Protocol (NTP). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1541
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1541Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1541
Chapter 60Uplink Failure Detection (UFD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1557
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1557Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1557
Chapter 61VLAN Stacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1569
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1569Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1569
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1569
Chapter 62Virtual Routing and Forwarding (VRF). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1579
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1579Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1579
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 xiii
Chapter 63Virtual Router Redundancy Protocol (VRRP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1589
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1589IPv4 VRRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1589IPv6 VRRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1604
Chapter 64C-Series Diagnostics and Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1609
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1609Inter-process Communication Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1609RPM Management Port Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1615Data Path Debugging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1617Interface Troubleshooting Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1620Advanced ASIC Debugging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1624ACL and System-Flow Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1628Interface Management Debug Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1631Layer 2 Debug Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1633Trace Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1634Offline Diagnostic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1640PoE Hardware Status Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1642Buffer Tuning Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1643
Chapter 65E-Series ExaScale Debugging and Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1651
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1651Diagnostics and Monitoring Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1651
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1652Offline Diagnostic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1670Hardware Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1673
Chapter 66E-Series Debugging and Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1697
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1697Diagnostics and Monitoring Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1697
Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1698Offline Diagnostic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1719Hardware Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1721
Chapter 67S-Series Debugging and Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1741
Offline Diagnostic Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1741Important Points to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1741
Buffer Tuning Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1743
xiv
Hardware Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1749Appendix AICMP Message Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1761
Appendix BSNMP Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1763
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1767
Command Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1789
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 xv
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011
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 Force10 systems supported by FTOS (C-Series c, E-Series e, and S-Series s).
This chapter includes:
• Objectives• Audience• Conventions• Related Documents
ObjectivesThis 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 an Appendix with a list of the RFCs and MIBs (management information base files) supported.
AudienceThis 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.
ConventionsThis document uses the following conventions to describe command syntax:
Preface About this Guide
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.
xvi About this Guide
Information SymbolsTable 1 describes symbols contained in this guide.
Related DocumentsFor more information about the system, refer to the following documents:
• FTOS Configuration Guide • Installation and maintenance guides for your system• Release Notes for your system and FTOS version
[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 Information Symbols
Symbol Brief Description
DangerThis symbol signals information about hardware handling that could result in injury.
Caution This symbol signals information about situations that could result in equipment damage or loss of data.
Warning This symbol signals information about situations that could reduce your component or system performance.
NoteThis symbol signals important operational information.
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.
et E-SeriesTeraScale
This symbol indicates that the selected feature is supported on the E-Series TeraScale platform only.
ex E-SeriesExaScale
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.
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 1
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 LineWhen 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.
Figure 1 is an example of a successful Telnet login session.
Figure 1 Login Example
Once you log into the switch, the prompt provides you with current command-level information (refer to Table 2).
Chapter 1 CLI Basics
telnet 172.31.1.53Trying 172.31.1.53...Connected to 172.31.1.53.Escape character is '^]'.Login: usernamePassword: Force10>
2 CLI Basics
Multiple Configuration UsersWhen 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:
Figure 2 Configuration Mode User Alert
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 InterfaceThe Command Line Interface (CLI) prompt displayed by FTOS is comprised of:
• “hostname”— the initial part of the prompt, “Force10” 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.
The CLI prompt changes as you move up and down the levels of the command structure. Table 2 lists the prompts and their corresponding command levels, called modes. Starting with the CONFIGURATION mode, the command prompt adds modifiers to further identify the mode. The command modes are explained in Command Modes.
Force10#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 )
Force10(conf)#Force10#
Note: Some of the following modes are not available on C-Series or S-Series.
Table 2 Command Prompt and Corresponding Command Mode
Prompt CLI Command Mode
Force10> EXEC
Force10# EXEC Privilege
Force10(conf)# CONFIGURATION
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 3
Obtaining HelpAs 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: — 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.
Force10(conf-if)#Force10(conf-if-gi-0/0)#Force10(conf-if-te-0/0)#Force10(conf-if-lo-0)#Force10(conf-if-nu-0)#Force10(conf-if-po-0)#Force10(conf-if-vl-0)#Force10(conf-if-so-0/0)#Force10(conf-if-ma-0/0)#Force10(conf-if-range)#
INTERFACE
Force10(config-ext-nacl)#Force10(config-std-nacl)#
IP ACCESS LIST
Force10(config-line-aux)#Force10(config-line-console)#Force10(config-line-vty)#
LINE
Force10(config-ext-macl)#Force10(config-std-macl)#
MAC ACCESS LIST
Force10(config-mon-sess)# MONITOR SESSION
Force10(config-span)# STP
Force10(config-mstp)# MULTIPLE SPANNING TREE
Force10(config-pvst)# Per-VLAN SPANNING TREE Plus
Force10(config-rstp)# RAPID SPANNING TREE
Force10(config-gvrp)# PROTOCOL GVRP
Force10(config-route-map)# ROUTE-MAP
Force10(conf-nprefixl)# PREFIX-LIST
Force10(conf-router_rip)# ROUTER RIP
Force10(conf-redirect-list)# REDIRECT
Force10(conf-router_bgp)# ROUTER BGP
Force10(conf-router_ospf)# ROUTER OSPF
Force10(conf-router_isis)# ROUTER ISIS
Force10(conf-trace-acl)# TRACE-LIST
Table 2 Command Prompt and Corresponding Command Mode
Prompt CLI Command Mode
4 CLI Basics
• 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.
Figure 3 illustrates the results of entering ip ? at the prompt.
Figure 3 Partial Keyword Example
When entering commands, you can take advantage of the following timesaving features:
• The commands are not case sensitive.• You 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.
Force10(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 namedomain-lookup Enable IP Domain Name System hostname translationdomain-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-assemblymulticast-routing Enable IP multicast forwarding name-server Specify addess 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 optionsssh 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 Force10(conf)#ip
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 5
Use the left and right arrow keys to navigate left or right in the FTOS command line. Table 3 defines the key combinations valid at the FTOS command line.
Using the Keyword NoTo 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 CommandsYou 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 3 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.
6 CLI Basics
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 OutputTo 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 command.For example:
Force10#show running-config|no-more
Filtering Command Output Multiple TimesYou can filter a single command output multiple times. Place the save option as the last filter. For example:
Force10# 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:Force10#command | grep gigabit |except regular-expression | find regular-expression
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 7
Command ModesTo 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. which is “Force10” by default. You can change it with the hostname command. See 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 ModeIn 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 ModeUse the INTERFACE 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).
To enter INTERFACE mode:
1. Verify that you are logged into the CONFIGURATION mode.
Note: Some of the following modes are not available on C-Series or S-Series.
8 CLI Basics
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 4.
LINE ModeUse 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
number available on the switch.The prompt changes to include (config-line-console) or (config-line-vty).
You can exit this mode by using the exit command.
TRACE-LIST ModeWhen 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).
You can exit this mode by using the exit command.
MAC ACCESS LIST ModeWhile 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).
Table 4 Interface prompts
Prompt Interface Type
Force10(conf-if)# INTERFACE mode
Force10(conf-if-gi-0/0)# Gigabit Ethernet interface followed by slot/port information
Force10(conf-if-te-0/0)# Ten Gigabit Ethernet interface followed by slot/port information
Force10(conf-if-lo-0)# Loopback interface number.
Force10(conf-if-nu-0)# Null Interface followed by zero
Force10(conf-if-po-0)# Port-channel interface number
Force10(conf-if-vl-0)# VLAN Interface followed by VLAN number (range 1 to 4094)
Force10(conf-if-so-0/0)# SONET interface followed by slot/port information.
Force10(conf-if-ma-0/0)# Management Ethernet interface followed by slot/port information
Force10(conf-if-range)# Designated interface range (used for bulk configuration; see interface range).
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 9
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 extended 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 ModeWhile in the CONFIGURATION mode, use the ip access-list standard or ip access-list extended command to enter 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 ModeWhile 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.
PREFIX-LIST ModeWhile 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.
10 CLI Basics
AS-PATH ACL ModeUse the AS-PATH ACL mode to configure an AS-PATH Access Control List (ACL) on the E-Series. See Chapter 8, 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 ModeUse the IP COMMUNITY LIST mode to configure an IP Community ACL on the E-Series. See Chapter 8, Access Control Lists (ACL).
To enter IP COMMUNITY LIST mode:
1. Verify that you are logged in to the CONFIGURATION mode.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 ModeUse the REDIRECT-LIST mode to configure a Redirect list on the E-Series, as described in Chapter 39, Policy-based Routing (PBR).
To enter REDIRECT-LIST mode:
1. Verify that you are logged in to the CONFIGURATION mode.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 ModeUse the STP mode to enable and configure the Spanning Tree protocol, as described in Chapter 58, Spanning Tree Protocol (STP).
To enter STP mode:
1. Verify 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.
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 11
Per-VLAN SPANNING TREE Plus ModeUse PVST+ mode to enable and configure the Per-VLAN Spanning Tree (PVST+) protocol, as described in Chapter 46, Per-VLAN Spanning Tree plus (PVST+).
To enter PVST+ mode:
1. Verify 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 ModeUse PVST+ mode to enable and configure the RSTP protocol, as described in Chapter 50, Rapid Spanning Tree Protocol (RSTP).
To enter RSTP mode:
1. Verify 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.
MULTIPLE SPANNING TREE ModeUse 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. Verify 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 ModeUse the PROTOCOL GVRP mode to enable and configure GARP VLAN Registration Protocol (GVRP), as described in Chapter 20, GARP VLAN Registration (GVRP).
To enter PROTOCOL GVRP mode:
1. Verify 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.
Note: The protocol is PVST+, but the plus sign is dropped at the CLI prompt
12 CLI Basics
ROUTER OSPF ModeUse the ROUTER OSPF mode to configure OSPF, as described in Chapter 38, Open Shortest Path First (OSPFv2 and OSPFv3).
To enter ROUTER OSPF mode:
1. Verify 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 ModeUse the ROUTER RIP mode to configure RIP on the C-Series or E-Series, as described in Chapter 48, Router Information Protocol (RIP).
To enter ROUTER RIP mode:
1. Verify 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 ModeUse the ROUTER ISIS mode to configure ISIS on the E-Series, as described in Intermediate System to Intermediate System (IS-IS).
To enter ROUTER ISIS mode:
1. Verify 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 ModeUse the ROUTER BGP mode to configure BGP on the C-Series or E-Series, as described in Chapter 11, Border Gateway Protocol IPv4 (BGPv4).
To enter ROUTER BGP mode:
1. Verify 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.
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 13
Determining the Chassis ModeThe 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.
14 CLI Basics
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 15
Overview
This chapter contains commands needed to manage the configuration files and includes other file management commands found in FTOS. This chapter contains these sections:
• Basic File Management Commands• Upgrading the C-Series FPGA
Basic File Management CommandsThe commands included in this chapter are:
• boot config• boot host• boot network• boot system• boot system gateway• cd• change bootflash-image• copy• copy (Streamline Upgrade)• copy running-config startup-config• delete• dir• download alt-boot-image• download alt-full-image• download alt-system-image• format (C-Series and E-Series)• format flash (S-Series)• logging coredump• logging coredump server• pwd• rename• boot system• show bootvar
Chapter 2 File Management
16 File Management
boot config
• show file• show file-systems• show linecard• show os-version• show running-config• show startup-config• show version• upgrade (E-Series version)• upgrade (C-Series version)• upgrade (S-Series management unit) on page 45• upgrade fpga-image
boot configce Set the location and name of the configuration file that is loaded at system start-up (or reload)
instead of the default startup-configuration.
Syntax boot config {remote-first | rpm0 file-url | rpm1 file-url}
Parameters
Defaults Not configured.
Command Modes CONFIGURATION
CommandHistory
UsageInformation
To display these changes in the show bootvar command output, you must save the running configuration to the startup configuration (copy running-config startup-config or write).
Force10 Networks strongly recommends using local files for configuration (RPM0 or RPM1 flash or slot0).
When you specify a file as the boot config file, it is listed in the boot variables (bootvar) as LOCAL CONFIG FILE. If you do not specify a boot config file, then the startup-configuration is used, although the bootvar shows LOCAL CONFIG FILE = variable does not exist. When you specify a boot config file, the switch reloads with that config file, rather than the startup-config. Note that if you specify a local config file which is not present in the specified location, then the startup-configuration is loaded.
remote-first Enter the keywords remote-first to attempt to load the boot configuration files from a remote location.
rpm0 Enter the keywords rpm0 first to specify the local boot configuration file for RPM 0.
rpm1 Enter the keywords rpm1 first to specify the local boot configuration file for RPM 1.
file-url Enter the location information:• For a file on the internal Flash, enter flash:// followed by the filename.• For a file on the external Flash, enter slot0:// followed by the filename.
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
boot host
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 17
The write memory command always saves the running-configuration to the file labeled startup-configuration. When using a LOCAL CONFIG FILE other than the startup-config, use the copy command to save any running-configuration changes to that local file.
Output for show bootvar with no boot configuration configured
Output for show bootvar with boot configuration configured
RelatedCommands
boot hostc e Set the location of the configuration file from a remote host.
Syntax boot host {primary | secondary} remote-url
Parameters
Defaults Not configured.
Force10#show bootvarPRIMARY IMAGE FILE = flash://FTOS-EF-8.2.1.0.binSECONDARY IMAGE FILE = flash://FTOS-EF-7.6.1.0.binDEFAULT IMAGE FILE = flash://FTOS-EF-7.5.1.0.binLOCAL CONFIG FILE = variable does not existPRIMARY HOST CONFIG FILE = variable does not existSECONDARY HOST CONFIG FILE = variable does not existPRIMARY NETWORK CONFIG FILE = variable does not existSECONDARY NETWORK CONFIG FILE = variable does not existCURRENT IMAGE FILE = flash://FTOS-EF-8.2.1.0.binCURRENT CONFIG FILE 1 = flash://startup-configCURRENT CONFIG FILE 2 = variable does not existCONFIG LOAD PREFERENCE = local firstBOOT INTERFACE GATEWAY IP ADDRESS = variable does not exist
Force10#show bootvarPRIMARY IMAGE FILE = flash://FTOS-EF-8.2.1.0.binSECONDARY IMAGE FILE = flash://FTOS-EF-7.6.1.0.binDEFAULT IMAGE FILE = flash://FTOS-EF-7.5.1.0.binLOCAL CONFIG FILE = variable does not existPRIMARY HOST CONFIG FILE = variable does not existSECONDARY HOST CONFIG FILE = variable does not existPRIMARY NETWORK CONFIG FILE = variable does not existSECONDARY NETWORK CONFIG FILE = variable does not existCURRENT IMAGE FILE = flash://FTOS-EF-8.2.1.0.binCURRENT CONFIG FILE 1 = flash://CustomerA.cfgCURRENT CONFIG FILE 2 = variable does not existCONFIG LOAD PREFERENCE = local firstBOOT INTERFACE GATEWAY IP ADDRESS = variable does not exist
show bootvar Display the variable settings for the E-Series boot parameters.
primary Enter the keywords primary to attempt to load the primary host configuration files.
secondary Enter the keywords secondary to attempt to load the secondary host configuration files.
remote-url Enter the following location keywords and information:• For a file on an FTP server, enter ftp://user:password@hostip/
filepath• For a file on a TFTP server, enter tftp://hostip/filepath
18 File Management
boot network
Command Modes CONFIGURATION
CommandHistory
UsageInformation
To display these changes in the show bootvar command output, you must save the running configuration to the startup configuration (using the copy command).
RelatedCommands
boot networkc e Set the location of the configuration file in a remote network.
Syntax boot network {primary | secondary} remote-url
Parameters
Defaults None
Command Modes CONFIGURATION
CommandHistory
UsageInformation
To display these changes in the show bootvar command output, you must save the running configuration to the startup configuration (using the copy command).
RelatedCommands
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
show bootvar Display the variable settings for the E-Series boot parameters.
primary Enter the keywords primary to attempt to load the primary network configuration files.
secondary Enter the keywords secondary to attempt to load the secondary network configuration files.
remote-url Enter the following location keywords and information:• For a file on an FTP server, enter ftp://user:password@hostip/filepath• For a file on a TFTP server, enter tftp://hostip/filepath
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
show bootvar Display the variable settings for the E-Series boot parameters.
boot system
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 19
boot systemc e Tell the system where to access the FTOS image used to boot the system.
Syntax boot system {rpm0 | rpm1} (default | primary | secondary} file-url
Parameters
Defaults Not configured.
Command Modes CONFIGURATION
CommandHistory
UsageInformation
To display these changes in the show bootvar command output, you must save the running configuration to the startup configuration (using the copy command) and reload system.
RelatedCommands
boot system gatewayc e Specify the IP address of the default next-hop gateway for the management subnet.
Syntax boot system gateway ip-address
Parameters
Command Modes CONFIGURATION
rpm0 Enter the keyword rpm0 to configure boot parameters for RPM0.
rpm1 Enter the keyword rpm1 to configure boot parameters for RPM1.
default After entering rpm0 or rpm1, enter the keyword default to specify the parameters to be used if those specified by primary or secondary fail. The default location should always be the internal flash device (flash:), so that you can be sure that a verified image is available there.
primary After entering rpm0 or rpm1, enter the keyword primary to configure the boot parameters used in the first attempt to boot FTOS.
secondary After entering rpm0 or rpm1, enter the keyword secondary to configure boot parameters used if the primary operating system boot selection is not available.
file-url To boot from a file:• on the internal Flash, enter flash:// followed by the filename.• on an FTP server, enter ftp://user:password@hostip/filepath• on the external Flash, enter slot0:// followed by the filename.• on a TFTP server, enter tftp://hostip/filepath
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
change bootflash-image Change the primary, secondary, or default boot image configuration.
boot system gateway Specify the IP address of the default next-hop gateway for the management subnet.
ip-address Enter an IP address in dotted decimal format.
20 File Management
cd
UsageInformation
Saving the address to the startup configuration file preserves the address in NVRAM in case the startup configuration file is deleted.
CommandHistory
RelatedCommands
cd c e s Change to a different working directory.
Syntax cd directory
Parameters
Command Modes EXEC Privilege
CommandHistory
change bootflash-imagec e Change boot flash image from which to boot.
Syntax change bootflash-image {cp | linecard linecard-slot | rp}
Parameters
Defaults Not configured.
Command Modes EXEC Privilege
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
change bootflash-image Change the primary, secondary, or default boot image configuration.
directory (OPTONAL) Enter one of the following:• flash: (internal Flash) or any sub-directory• slot0: (external Flash) or any sub-directory (C-Series and E-Series only)
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
cp Enter the keyword cp to change the bootflash image on the Control Processor on the RPM.
linecard linecard-slot Enter the keyword linecard followed by the slot number to change the bootflash image on a specific line card.C-Series Range: 0-7 E-Series Range: 0 to 13 on the E1200; 0 on 6 on the E600, and 0 to 5 on the E300.
rp Enter the keyword rp to change the bootflash image on the RPM Route Processor.
copy
Command Line Reference for FTOS version 8.4.2.4 Publication Date: July 20, 2011 21
CommandHistory
UsageInformation
A system message appears stating that the bootflash image has been changed. You must reload the system before the system can switch to the new bootflash image.
copyc e s Copy one file to another location. FTOS supports IPv4 and IPv6 addressing for FTP, TFTP,
and SCP (in the hostip field).
Syntax copy source-file-url destination-file-url
Parameters
Command Modes EXEC Privilege
CommandHistory
UsageInformation
FTOS supports a maximum of 100 files, at the root directory level, on both the internal and external Flash.
The usbflash and rpm0usbflash commands are supported on E-Series ExaScale platform only. Refer to the FTOS Release Notes for a list of approved USB vendors.
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
file-url Enter the following location keywords and information:• To copy a file from the internal FLASH, enter flash:// followed by the filename.• To copy a file on an FTP server, enter ftp://user:password@hostip/filepath• To copy a file from the internal FLASH on RPM0, enter rpm0flash://filepath• To copy a file from the external FLASH on RPM0, enter rpm0slot0://filepath• To copy a file from the internal FLASH on RPM1, enter rpm1flash://filepath• To copy a file from the external FLASH on RPM1, enter rpm1slot0://filepath• To copy the running configuration, enter the keyword running-config.• To copy the startup configuration, enter the keyword startup-config.• To copy using Secure Copy (SCP), enter the keyword scp: (If scp: is entered in
the source position, then enter the target URL; If scp: is entered in the target position, first enter the source URL; see below for examples.)
• To copy a file on the external FLASH, enter slot0:// followed by the filename.• To copy a file on a TFTP server, enter tftp://hostip/filepath
ExaScale only• To copy a file from a USB drive on RPM0, enter rpm0usbflash://filepath• To copy a file from an external USB drive, enter usbflash://filepath
Version 8.4.1.0 Added IPv6 addressing support for FTP, TFTP, and SCP.
Version 8.2.1.0 Added usbflash and rpm0usbflash commands on E-Series ExaScale
Version 7.6.1.0 Introduced on S-Series and added SSH port number to SCP prompt sequence on all systems.
Version 7.5.1.0 Introduced on C-Series
E-Series original Command
22 File Management
copy (Streamline Upgrade)
When copying a file to a remote location (for example, using Secure Copy (SCP)), enter only the keywords and FTOS prompts you for the rest of the information.
For example, when using SCP, you can enter copy running-config scp: The running-config is the source, and the target is specified in the ensuing prompts. FTOS prompts you to enter any required information, as needed for the named destination—remote destination, destination filename, user ID and password, etc.
When you use the copy running-config startup-config command to copy the running configuration (the startup configuration file amended by any configuration changes made since the system was started) to the startup configuration file, FTOS creates a backup file on the internal flash of the startup configuration.
FTOS supports copying the running-configuration to a TFTP server or to an FTP server:
copy running-config tftp:
copy running-config ftp:
Command Example: copy running-config scp:
In this example — copy scp: flash: — specifying SCP in the first position indicates that the target is to be specified in the ensuing prompts. Entering flash: in the second position means tha