Kontron AT8404 CLI User Manual

AT8404 CLI Reference Manual
AdvancedTCA
M5307_TECH_2 Manual ID
2.06 Revision Index
19 March, 2010 Date of Issue

Revision History

Publication Title: AT8404 CLI Reference Manual
ID Number: M5307_TECH_2
Rev.
Index
2.00 First Release for AT8404 04 Sept. 2007
2.01 Update commands to FASTPATH 5.0.1.9 19 Dec. 2007
2.02 Update for FASTPATH 5.2, BETA Manual 15 May, 2009
2.03 Final Manual for FASTPATH 5.2 28 July, 2009
2.04 Remove sntp multicast commands, add stratum3 accurency to set board clock commands, add comment for clear config command
2.05 Remove download frudata, download fwum commands 23 Nov, 2009
2.06 Editorial changes, remove chapter 4.7 “keying for advanced feaures”, fixed errors in chapter 5.16,
Brief Description of Changes Date of Issue
13 Nov, 2009
19 Mar, 2010

Imprint

Kontron AG may be contacted via the following:
Kontron Canada, Inc. Kontron Modular Computers GmbH
4555 Ambroise-Lafortune Sudetenstrasse 7
Boisbriand, Québec 87600 Kaufbeuren
J7H 0A4 Canada Germany
Tel: (450) 437-5682 +49 (0) 8341 803 333
(800) 354-4223
Fax: (450) 437-8053 +49 (0) 8341 803 339
E-mail: support@ca.kontron.com support-kom@kontron.com
For further information about Kontron AG, our products or services, please visit our Internet web site: www.kontron.com

Disclaimer

Copyright © 2006 Kontron AG. All rights reserved. All data is for information purposes only and not guaranteed for legal purposes. Information has been carefully checked and is believed to be accurate; however, no responsibility is assumed for inaccuracies. Kontron and the Kontron logo and all other trademarks or registered trademarks are the property of their respective owners and are recognized. Specifications are subject to change without notice.
AT8404 Preface

About This Book

This document describes command-line interface (CLI) commands you use to view and configure FASTPATH software. You can access the CLI by using a direct connection to the serial port or by using telnet or SSH over a remote network connection.
This document is for system administrators who configure and operate systems using FASTPATH software. It provides an understanding of the configuration options of the FASTPATH software.
Software engineers who integrate FASTPATH software into their hardware platform can also benefit from a description of the configuration options.
This document assumes that the reader has an understanding of the FASTPATH software base and has read the appropriate specification for the relevant networking device platform. It also assumes that the reader has a basic knowledge of Ethernet and networking concepts.

How to Use This Document

Chapter 1 “Using the Command-Line Interface” details the procedure to quickly become acquainted with the FASTPATH software.
Note: Refer to the release notes for the FASTPATH application level code. The release notes detail the platform specific functionality of the Switching, Routing, SNMP, Config, Management, and Bandwidth Provisioning packages. The suite of features supported by the FASTPATH packages are not available on all the platforms to which FASTPATH has been ported.

Proprietary Note

This document contains information proprietary to Kontron Modular Computers GmbH. It may not be copied or transmitted by any means, disclosed to others, or stored in any retrieval system or media without the prior written consent of Kontron Modular Computers GmbH or one of its authorized agents.
The information contained in this document is, to the best of our knowledge, entirely correct. However, Kontron Modular Computers GmbH cannot accept liability for any inaccuracies or the consequences thereof, or for any liability arising from the use or application of any circuit, product, or example shown in this document.
Kontron Modular Computers GmbH reserves the right to change, modify, or improve this document or the product described herein, as seen fit by Kontron Modular Computers GmbH without further notice.

Trademarks

Broadcom®, the pulse logo, Connecting everything®, the Connecting everything logo, and FASTPATH® are among the trademarks of Broadcom Corporation and/or its affiliates in the United States, certain other countries and/or the EU. Any other trademarks or trade names mentioned are the property of their respective owners.
Linux is a registered trademark of Linus Torvalds.
RedHat is a registered trademark of RedHat
Kontron Modular Computers GmbH and the Kontron Logo are trade marks owned by Kontron Modular Computers GmbH, Kaufbeuren (Germany). In addition, this document may include names, company logos and trademarks, which are registered trademarks and, therefore, proprietary to their respective owners.
Page iii AT8404 CLI Reference Manual
Preface AT8404

Environmental Protection Statement

This product has been manufactured to satisfy environmental protection requirements where possible. Many of the components used (structural parts, printed circuit boards, connectors, batteries, etc.) are capable of being recycled.
Final disposition of this product after its service life must be accomplished in accordance with applicable country, state, or local laws or regulations.

Explanation of Symbols

CE Conformity
This symbol indicates that the product described in this manual is in compliance with all applied CE standards. Please refer also to the section “Applied Standards” in this manual.
Caution, Electric Shock!
This symbol and title warn of hazards due to electrical shocks (> 60V) when touching products or parts of them. Failure to observe the precautions indicated and/or prescribed by the law may endanger your life/health and/or result in damage to your material.
Please refer also to the section “High Voltage Safety Instructions” on the following page.
Warning, ESD Sensitive Device!
This symbol and title inform that electronic boards and their components are sensitive to static electricity. Therefore, care must be taken during all handling operations and inspections of this product, in order to ensure product integrity at all times.
Please read also the section “Special Handling and Unpacking Instructions” on the following page.
Warning!
This symbol and title emphasize points which, if not fully understood and taken into consider­ation by the reader, may endanger your health and/or result in damage to your material.
Note...
This symbol and title emphasize aspects the reader should read through carefully for his or her own advantage.

For Your Safety

Your new Kontron product was developed and tested carefully to provide all features necessary to ensure its compliance with electrical safety requirements. It was also designed for a long fault-free life. However, the life expectancy of your product can be drastically reduced by improper treatment during unpacking and installation. Therefore, in the interest of your own safety and of the correct operation of your new Kontron product, you are requested to conform with the following guidelines.

High Voltage Safety Instructions

Warning!
All operations on this device must be carried out by sufficiently skilled personnel only.
AT8404 CLI Reference Manual Page iv
AT8404 Preface
Caution, Electric Shock!
Indicates that you must enter a value in place of the brackets and text inside them. Before installing your new Kontron product into a system always ensure that your mains power is switched off. This applies also to the installation of piggybacks.
Serious electrical shock hazards can exist during all installation, repair and maintenance oper­ations with this product. Therefore, always unplug the power cable and any other cables which provide external voltages before performing work.

Special Handling and Unpacking Instructions

ESD Sensitive Device!
Electronic boards and their components are sensitive to static electricity. Therefore, care must be taken during all handling operations and inspections of this product, in order to ensure prod­uct integrity at all times.
Do not handle this product out of its protective enclosure while it is not used for operational purposes unless it is otherwise protected.
Whenever possible, unpack or pack this product only at EOS/ESD safe work stations. Where a safe work station is not guaranteed, it is important for the user to be electrically discharged before touching the product with his/her hands or tools. This is most easily done by touching a metal part of your system housing.
It is particularly important to observe standard anti-static precautions when changing piggybacks, ROM devices, jumper settings etc. If the product contains batteries for RTC or memory back-up, ensure that the board is not placed on conductive surfaces, including anti-static plastics or sponges. They can cause short circuits and damage the batteries or conductive circuits on the board.

General Instructions on Usage

In order to maintain Kontron’s product warranty, this product must not be altered or modified in any way. Changes or modifications to the device, which are not explicitly approved by Kontron Modular Computers GmbH and described in this manual or received from Kontron’s Technical Support as a special handling instruction, will void your warranty.
This device should only be installed in or connected to systems that fulfill all necessary technical and specific environmental requirements. This applies also to the operational temperature range of the specific board version, which must not be exceeded. If batteries are present their temperature restrictions must be taken into account.
In performing all necessary installation and application operations, please follow only the instructions supplied by the present manual.
Keep all the original packaging material for future storage or warranty shipments. If it is necessary to store or ship the board please re-pack it as nearly as possible in the manner in which it was delivered.
Special care is necessary when handling or unpacking the product. Please, consult the special handling and unpacking instruction on the previous page of this manual.

Two Year Warranty

Kontron Modular Computers GmbH grants the original purchaser of Kontron’s products a two year limited hardware warranty as described in the following. However, no other warranties that may be granted or implied by anyone on
behalf of Kontron are valid unless the consumer has the express written consent of Kontron Modular Computers GmbH.
Page v AT8404 CLI Reference Manual
Preface AT8404
Kontron Modular Computers GmbH warrants their own products, excluding software, to be free from manufacturing and material defects for a period of 24 consecutive months from the date of purchase. This warranty is not transferable nor extendible to cover any other users or long-term storage of the product. It does not cover products which have been modified, altered or repaired by any other party than Kontron Modular Computers GmbH or their authorized agents. Furthermore, any product which has been, or is suspected of being damaged as a result of negligence, improper use, incorrect handling, servicing or maintenance, or which has been damaged as a result of excessive current/voltage or temperature, or which has had its serial number(s), any other markings or parts thereof altered, defaced or removed will also be excluded from this warranty.
If the customer’s eligibility for warranty has not been voided, in the event of any claim, he may return the product at the earliest possible convenience to the original place of purchase, together with a copy of the original document of purchase, a full description of the application the product is used on and a description of the defect. Pack the product in such a way as to ensure safe transportation (see our safety instructions).
Kontron provides for repair or replacement of any part, assembly or sub-assembly at their own discretion, or to refund the original cost of purchase, if appropriate. In the event of repair, refunding or replacement of any part, the ownership of the removed or replaced parts reverts to Kontron Modular Computers GmbH, and the remaining part of the original guarantee, or any new guarantee to cover the repaired or replaced items, will be transferred to cover the new or repaired items. Any extensions to the original guarantee are considered gestures of goodwill, and will be defined in the “Repair Report” issued by Kontron with the repaired or replaced item.
Kontron Modular Computers GmbH will not accept liability for any further claims resulting directly or indirectly from any warranty claim, other than the above specified repair, replacement or refunding. In particular, all claims for damage to any system or process in which the product was employed, or any loss incurred as a result of the product not functioning at any given time, are excluded. The extent of Kontron Modular Computers GmbH liability to the customer shall not exceed the original purchase price of the item for which the claim exists.
Kontron Modular Computers GmbH issues no warranty or representation, either explicit or implicit, with respect to its products’ reliability, fitness, quality, marketability or ability to fulfil any particular application or purpose. As a result, the products are sold “as is,” and the responsibility to ensure their suitability for any given task remains that of the purchaser. In no event will Kontron be liable for direct, indirect or consequential damages resulting from the use of our hardware or software products, or documentation, even if Kontron were advised of the possibility of such claims prior to the purchase of the product or during any period since the date of its purchase.
Please remember that no Kontron Modular Computers GmbH employee, dealer or agent is authorized to make any modification or addition to the above specified terms, either verbally or in any other form, written or electronically transmitted, without the company’s consent.
AT8404 CLI Reference Manual Page vi
AT8404
Chapter
1
Chapter
2
Revision History .........................................................................................................ii
Imprint ........................................................................................................................ii
Disclaimer ..................................................................................................................ii
About This Book ........................................................................................................iii
How to Use This Document ..................................................................................iii
Proprietary Note ........................................................................................................iii
Trademarks ...............................................................................................................iii
Environmental Protection Statement ........................................................................iv
Explanation of Symbols ............................................................................................iv
For Your Safety .........................................................................................................iv
High Voltage Safety Instructions ...........................................................................iv
Special Handling and Unpacking Instructions .......................................................v
General Instructions on Usage ..............................................................................v
Two Year Warranty ....................................................................................................v
1. Using the Command-Line Interface ............................................................. 1 - 2
1.1 Command Syntax .................................................................................... 1 - 2
1.2 Command Conventions ........................................................................... 1 - 2
1.3 Common Parameter Values .................................................................... 1 - 3
1.4 Slot/Port Naming Convention .................................................................. 1 - 4
1.5 Using the “No” Form of a Command ....................................................... 1 - 4
1.6 FASTPATH Modules ................................................................................ 1 - 4
1.7 Command Modes .................................................................................... 1 - 5
1.8 Command Completion and Abbreviation ................................................ 1 - 7
1.9 CLI Error Messages ................................................................................ 1 - 7
1.10 CLI Line-Editing Conventions .................................................................. 1 - 7
1.11 Using CLI Help ........................................................................................ 1 - 8
1.12 Accessing the CLI ................................................................................... 1 - 8
2. Switching Commands .................................................................................. 2 - 2
Page vii AT8404 CLI Reference Manual
AT8404
2.1 Port Configuration Commands ................................................................2 - 2
2.1.1 interface ........................................................................................2 - 3
2.1.2 auto-negotiate ...............................................................................2 - 3
2.1.3 auto-negotiate all ..........................................................................2 - 3
2.1.4 advertise speed ............................................................................2 - 3
2.1.5 show advertise speed ...................................................................2 - 4
2.1.6 block .............................................................................................2 - 4
2.1.7 description ....................................................................................2 - 4
2.1.8 mtu ................................................................................................2 - 4
2.1.9 shutdown ......................................................................................2 - 5
2.1.10 shutdown all ..................................................................................2 - 5
2.1.11 speed ............................................................................................2 - 6
2.1.12 speed all .......................................................................................2 - 6
2.1.13 show port ......................................................................................2 - 6
2.1.14 show port protocol ........................................................................2 - 7
2.2 Spanning Tree Protocol (STP) Commands ..............................................2 - 7
2.2.1 spanning-tree ................................................................................2 - 7
2.2.2 spanning-tree bpdufilter ................................................................2 - 8
2.2.3 spanning-tree bpdufilter default ....................................................2 - 8
2.2.4 spanning-tree bpduflood ...............................................................2 - 8
2.2.5 spanning-tree bpduguard .............................................................2 - 9
2.2.6 spanning-tree bpdumigrationcheck ..............................................2 - 9
2.2.7 spanning-tree configuration name ................................................2 - 9
2.2.8 spanning-tree configuration revision .............................................2 - 9
2.2.9 spanning-tree edgeport ..............................................................2 - 10
2.2.10 spanning-tree forceversion .........................................................2 - 10
2.2.11 spanning-tree forward-time .........................................................2 - 11
2.2.12 spanning-tree hello-time ............................................................. 2 - 11
2.2.13 spanning-tree max-age ...............................................................2 - 11
2.2.14 spanning-tree max-hops .............................................................2 - 12
2.2.15 spanning-tree mst .......................................................................2 - 12
2.2.16 spanning-tree mst instance ........................................................2 - 13
2.2.17 spanning-tree mst priority ...........................................................2 - 13
2.2.18 spanning-tree mst vlan ...............................................................2 - 14
2.2.19 spanning-tree port mode ............................................................2 - 14
2.2.20 spanning-tree port mode all ........................................................2 - 15
2.2.21 spanning-tree port-state .............................................................2 - 15
2.2.22 spanning-tree rootguard .............................................................2 - 15
2.2.23 show spanning-tree ....................................................................2 - 16
2.2.24 show spanning-tree brief ............................................................2 - 16
2.2.25 show spanning-tree interface .....................................................2 - 17
2.2.26 show spanning-tree mst port detailed .........................................2 - 17
2.2.27 show spanning-tree mst port summary ......................................2 - 19
2.2.28 show spanning-tree mst summary ..............................................2 - 19
2.2.29 show spanning-tree summary ....................................................2 - 20
2.2.30 show spanning-tree vlan .............................................................2 - 20
AT8404 CLI Reference Manual Page viii
AT8404
2.3 VLAN Commands ................................................................................. 2 - 20
2.3.1 vlan database ............................................................................. 2 - 20
2.3.2 network mgmt_vlan .................................................................... 2 - 21
2.3.3 vlan ............................................................................................ 2 - 21
2.3.4 vlan acceptframe ........................................................................ 2 - 21
2.3.5 vlan ingressfilter ......................................................................... 2 - 22
2.3.6 vlan makestatic .......................................................................... 2 - 22
2.3.7 vlan name .................................................................................. 2 - 22
2.3.8 vlan participation ........................................................................ 2 - 23
2.3.9 vlan participation all .................................................................... 2 - 23
2.3.10 vlan port acceptframe all ............................................................ 2 - 23
2.3.11 vlan port ingressfilter all ............................................................. 2 - 24
2.3.12 vlan port pvid all ......................................................................... 2 - 24
2.3.13 vlan port tagging all .................................................................... 2 - 25
2.3.14 vlan protocol group .................................................................... 2 - 25
2.3.15 vlan protocol group add protocol ................................................ 2 - 25
2.3.16 vlan protocol group remove ....................................................... 2 - 26
2.3.17 protocol group ............................................................................ 2 - 26
2.3.18 protocol vlan group .................................................................... 2 - 26
2.3.19 protocol vlan group all ................................................................ 2 - 26
2.3.20 vlan pvid ..................................................................................... 2 - 27
2.3.21 vlan tagging ................................................................................ 2 - 27
2.3.22 vlan association subnet .............................................................. 2 - 27
2.3.23 vlan association mac .................................................................. 2 - 28
2.3.24 show vlan ................................................................................... 2 - 28
2.3.25 show vlan brief ........................................................................... 2 - 29
2.3.26 show vlan port ............................................................................ 2 - 29
2.3.27 show vlan association subnet .................................................... 2 - 30
2.3.28 show vlan association mac ........................................................ 2 - 30
2.4 Double VLAN Commands ..................................................................... 2 - 30
2.4.1 dvlan-tunnel ethertype ............................................................... 2 - 30
2.4.2 mode dot1q-tunnel ..................................................................... 2 - 31
2.4.3 mode dvlan-tunnel ..................................................................... 2 - 31
2.4.4 show dot1q-tunnel ...................................................................... 2 - 31
2.4.5 show dvlan-tunnel ...................................................................... 2 - 32
2.5 Voice VLAN Commands ........................................................................ 2 - 32
2.5.1 voice vlan (Global Config) .......................................................... 2 - 32
2.5.2 voice vlan (Interface Config) ...................................................... 2 - 33
2.5.3 voice vlan data priority ............................................................... 2 - 33
2.5.4 show voice vlan .......................................................................... 2 - 33
2.6 Provisioning (IEEE 802.1p) Commands ................................................ 2 - 34
2.6.1 vlan port priority all ..................................................................... 2 - 34
2.6.2 vlan priority ................................................................................. 2 - 34
2.7 Protected Ports Commands .................................................................. 2 - 34
2.7.1 switchport protected (Global Config) .......................................... 2 - 35
Page ix AT8404 CLI Reference Manual
AT8404
2.7.2 switchport protected (Interface Config) .......................................2 - 35
2.7.3 show switchport protected ..........................................................2 - 36
2.7.4 show interfaces switchport .........................................................2 - 36
2.8 GARP Commands .................................................................................2 - 36
2.8.1 set garp timer join .......................................................................2 - 36
2.8.2 set garp timer leave ....................................................................2 - 37
2.8.3 set garp timer leaveall ................................................................2 - 37
2.8.4 show garp ...................................................................................2 - 38
2.9 GVRP Commands .................................................................................2 - 38
2.9.1 set gvrp adminmode ...................................................................2 - 38
2.9.2 set gvrp interfacemode ...............................................................2 - 38
2.9.3 show gvrp configuration ..............................................................2 - 39
2.10 GMRP Commands .................................................................................2 - 39
2.10.1 set gmrp adminmode ..................................................................2 - 40
2.10.2 set gmrp interfacemode ..............................................................2 - 40
2.10.3 show gmrp configuration ............................................................2 - 40
2.10.4 show mac-address-table gmrp ...................................................2 - 41
2.11 Port-Based Network Access Control Commands ..................................2 - 41
2.11.1 authentication login .....................................................................2 - 41
2.11.2 clear dot1x statistics ...................................................................2 - 42
2.11.3 clear radius statistics ..................................................................2 - 42
2.11.4 dot1x default-login ......................................................................2 - 42
2.11.5 dot1x guest-vlan .........................................................................2 - 43
2.11.6 dot1x initialize .............................................................................2 - 43
2.11.7 dot1x login ..................................................................................2 - 43
2.11.8 dot1x max-req .............................................................................2 - 43
2.11.9 dot1x max-users .........................................................................2 - 44
2.11.10 dot1x port-control ........................................................................2 - 44
2.11.11 dot1x port-control all ...................................................................2 - 44
2.11.12 dot1x re-authenticate ..................................................................2 - 45
2.11.13 dot1x re-authentication ...............................................................2 - 45
2.11.14 dot1x system-auth-control ..........................................................2 - 45
2.11.15 dot1x timeout ..............................................................................2 - 46
2.11.16 dot1x unauthenticated-vlan ........................................................2 - 47
2.11.17 dot1x user ...................................................................................2 - 47
2.11.18 users defaultlogin .......................................................................2 - 47
2.11.19 users login ..................................................................................2 - 47
2.11.20 show authentication ....................................................................2 - 48
2.11.21 show authentication users ..........................................................2 - 48
2.11.22 show dot1x .................................................................................2 - 48
2.11.23 show dot1x clients ......................................................................2 - 50
2.11.24 show dot1x users ........................................................................2 - 51
2.11.25 show users authentication ..........................................................2 - 51
2.12 Storm-Control Commands .....................................................................2 - 52
2.12.1 storm-control broadcast ..............................................................2 - 52
AT8404 CLI Reference Manual Page x
AT8404
2.12.2 storm-control broadcast level ..................................................... 2 - 52
2.12.3 storm-control broadcast rate ...................................................... 2 - 53
2.12.4 storm-control broadcast all ......................................................... 2 - 53
2.12.5 storm-control broadcast all level ................................................ 2 - 54
2.12.6 storm-control broadcast all rate ................................................. 2 - 54
2.12.7 storm-control multicast ............................................................... 2 - 54
2.12.8 storm-control multicast level ...................................................... 2 - 55
2.12.9 storm-control multicast rate ........................................................ 2 - 55
2.12.10 storm-control multicast all .......................................................... 2 - 56
2.12.11 storm-control multicast all level .................................................. 2 - 56
2.12.12 storm-control multicast all rate ................................................... 2 - 56
2.12.13 storm-control unicast .................................................................. 2 - 57
2.12.14 storm-control unicast level ......................................................... 2 - 57
2.12.15 storm-control unicast rate .......................................................... 2 - 58
2.12.16 storm-control unicast all ............................................................. 2 - 58
2.12.17 storm-control unicast all level ..................................................... 2 - 58
2.12.18 storm-control unicast all rate ...................................................... 2 - 59
2.12.19 storm-control flowcontrol ............................................................ 2 - 59
2.12.20 show storm-control ..................................................................... 2 - 60
2.13 Port-Channel/LAG (802.3ad) Commands ............................................. 2 - 61
2.13.1 port-channel ............................................................................... 2 - 61
2.13.2 addport ....................................................................................... 2 - 61
2.13.3 deleteport (Interface Config) ...................................................... 2 - 62
2.13.4 deleteport (Global Config) .......................................................... 2 - 62
2.13.5 lacp admin key ........................................................................... 2 - 62
2.13.6 lacp collector max-delay ............................................................ 2 - 62
2.13.7 lacp actor admin ......................................................................... 2 - 63
2.13.8 lacp actor admin key .................................................................. 2 - 63
2.13.9 lacp actor admin state ................................................................ 2 - 63
2.13.10 lacp actor admin state individual ................................................ 2 - 64
2.13.11 lacp actor admin state longtimeout ............................................ 2 - 64
2.13.12 lacp actor admin state passive ................................................... 2 - 65
2.13.13 lacp actor port ............................................................................ 2 - 65
2.13.14 lacp actor port priority ................................................................ 2 - 65
2.13.15 lacp actor system priority ........................................................... 2 - 65
2.13.16 lacp partner admin key ............................................................... 2 - 66
2.13.17 lacp partner admin state ............................................................. 2 - 66
2.13.18 lacp partner admin state individual ............................................. 2 - 67
2.13.19 lacp partner admin state longtimeout ......................................... 2 - 67
2.13.20 lacp partner admin state passive ............................................... 2 - 67
2.13.21 lacp partner port id ..................................................................... 2 - 68
2.13.22 lacp partner port priority ............................................................. 2 - 68
2.13.23 lacp partner system-id ................................................................ 2 - 69
2.13.24 lacp partner system priority ........................................................ 2 - 69
2.13.25 port-channel static ...................................................................... 2 - 69
2.13.26 port lacpmode ............................................................................ 2 - 70
Page xi AT8404 CLI Reference Manual
AT8404
2.13.27 port lacpmode all ........................................................................2 - 70
2.13.28 port lacptimeout (Interface Config) .............................................2 - 70
2.13.29 port lacptimeout (Global Config) .................................................2 - 71
2.13.30 port-channel adminmode ............................................................2 - 71
2.13.31 port-channel linktrap ...................................................................2 - 72
2.13.32 port-channel load-balance ..........................................................2 - 72
2.13.33 port-channel hash multicast ........................................................2 - 73
2.13.34 port-channel name ......................................................................2 - 73
2.13.35 port-channel system priority .......................................................2 - 73
2.13.36 show lacp actor ...........................................................................2 - 73
2.13.37 show lacp partner .......................................................................2 - 74
2.13.38 show port-channel brief ..............................................................2 - 74
2.13.39 show port-channel ......................................................................2 - 75
2.13.40 show port-channel system priority ..............................................2 - 75
2.13.41 show port-channel hash multicast ..............................................2 - 75
2.14 Port Mirroring .........................................................................................2 - 75
2.14.1 monitor session ..........................................................................2 - 75
2.14.2 no monitor ...................................................................................2 - 76
2.14.3 show monitor session .................................................................2 - 76
2.15 Static MAC Filtering ...............................................................................2 - 77
2.15.1 macfilter ......................................................................................2 - 77
2.15.2 macfilter adddest ........................................................................2 - 78
2.15.3 macfilter adddest all ....................................................................2 - 78
2.15.4 macfilter addsrc ..........................................................................2 - 78
2.15.5 macfilter addsrc all ......................................................................2 - 79
2.15.6 show mac-address-table static ...................................................2 - 79
2.15.7 show mac-address-table staticfiltering .......................................2 - 80
2.16 DHCP Snooping Configuration Commands ...........................................2 - 80
2.16.1 ip dhcp snooping ........................................................................2 - 80
2.16.2 ip dhcp snooping vlan .................................................................2 - 80
2.16.3 ip dhcp snooping verify mac-address .........................................2 - 81
2.16.4 ip dhcp snooping database .........................................................2 - 81
2.16.5 ip dhcp snooping database write-delay ......................................2 - 81
2.16.6 ip dhcp snooping binding ............................................................2 - 82
2.16.7 ip verify binding ...........................................................................2 - 82
2.16.8 ip dhcp snooping limit .................................................................2 - 82
2.16.9 ip dhcp snooping log-invalid .......................................................2 - 83
2.16.10 ip dhcp snooping trust ................................................................2 - 83
2.16.11 ip verify source ...........................................................................2 - 83
2.16.12 show ip dhcp snooping ...............................................................2 - 84
2.16.13 show ip dhcp snooping binding ..................................................2 - 84
2.16.14 show ip dhcp snooping database ...............................................2 - 85
2.16.15 show ip dhcp snooping statistics ................................................2 - 85
2.16.16 clear ip dhcp snooping binding ...................................................2 - 86
2.16.17 clear ip dhcp snooping statistics .................................................2 - 86
AT8404 CLI Reference Manual Page xii
AT8404
2.16.18 show ip verify source ................................................................. 2 - 86
2.16.19 show ip source binding .............................................................. 2 - 87
2.17 Dynamic ARP Inspection Commands ................................................... 2 - 88
2.17.1 ip arp inspection vlan ................................................................. 2 - 88
2.17.2 ip arp inspection validate ........................................................... 2 - 88
2.17.3 ip arp inspection vlan logging ..................................................... 2 - 88
2.17.4 ip arp inspection trust ................................................................. 2 - 89
2.17.5 ip arp inspection limit ................................................................. 2 - 89
2.17.6 ip arp inspection filter ................................................................. 2 - 90
2.17.7 arp access-list ............................................................................ 2 - 90
2.17.8 permit ip host mac host .............................................................. 2 - 90
2.17.9 show ip arp inspection ............................................................... 2 - 91
2.17.10 show ip arp inspection statistics ................................................. 2 - 91
2.17.11 clear ip arp inspection statistics ................................................. 2 - 92
2.17.12 show ip arp inspection interfaces ............................................... 2 - 92
2.17.13 show arp access-list ................................................................... 2 - 93
2.18 IGMP Snooping Configuration Commands ........................................... 2 - 93
2.18.1 set igmp ..................................................................................... 2 - 93
2.18.2 set igmp interfacemode .............................................................. 2 - 94
2.18.3 set igmp fast-leave ..................................................................... 2 - 95
2.18.4 set igmp groupmembership-interval ........................................... 2 - 95
2.18.5 set igmp maxresponse ............................................................... 2 - 96
2.18.6 set igmp mcrtrexpiretime ............................................................ 2 - 96
2.18.7 set igmp mrouter ........................................................................ 2 - 97
2.18.8 set igmp mrouter interface ......................................................... 2 - 97
2.18.9 show igmpsnooping ................................................................... 2 - 97
2.18.10 show igmpsnooping mrouter interface ....................................... 2 - 98
2.18.11 show igmpsnooping mrouter vlan .............................................. 2 - 99
2.18.12 show mac-address-table igmpsnooping ..................................... 2 - 99
2.19 IGMP Snooping Querier Commands .................................................... 2 - 99
2.19.1 set igmp querier ....................................................................... 2 - 100
2.19.2 set igmp querier query-interval ................................................ 2 - 100
2.19.3 set igmp querier timer expiry .................................................... 2 - 101
2.19.4 set igmp querier version ........................................................... 2 - 101
2.19.5 set igmp querier election participate ........................................ 2 - 101
2.19.6 show igmpsnooping querier ..................................................... 2 - 102
2.20 MLD Snooping Commands ................................................................. 2 - 102
2.20.1 set mld ..................................................................................... 2 - 103
2.20.2 set mld interfacemode .............................................................. 2 - 103
2.20.3 set mld fast-leave ..................................................................... 2 - 104
2.20.4 set mld groupmembership-interval ........................................... 2 - 104
2.20.5 set mld maxresponse ............................................................... 2 - 105
2.20.6 set mld mcrtexpiretime ............................................................. 2 - 105
2.20.7 set mld mrouter ........................................................................ 2 - 105
2.20.8 set mld mrouter interface ......................................................... 2 - 106
Page xiii AT8404 CLI Reference Manual
AT8404
2.20.9 show mldsnooping ....................................................................2 - 106
2.20.10 show mldsnooping mrouter interface ........................................2 - 107
2.20.11 show mldsnooping mrouter vlan ...............................................2 - 107
2.20.12 show mac-address-table mldsnooping .....................................2 - 107
2.21 MLD Snooping Querier Commands .....................................................2 - 108
2.21.1 set mld querier ..........................................................................2 - 108
2.21.2 set mld querier query_interval ..................................................2 - 108
2.21.3 set mld querier timer expiry ......................................................2 - 109
2.21.4 set mld querier election participate ...........................................2 - 109
2.21.5 show mldsnooping querier ........................................................2 - 110
2.22 Port Security Commands ..................................................................... 2 - 111
2.22.1 port-security .............................................................................. 2 - 111
2.22.2 port-security max-dynamic ....................................................... 2 - 111
2.22.3 port-security max-static ............................................................ 2 - 111
2.22.4 port-security mac-address ........................................................2 - 112
2.22.5 port-security mac-address move ..............................................2 - 112
2.22.6 show port-security ....................................................................2 - 112
2.22.7 show port-security dynamic ......................................................2 - 113
2.22.8 show port-security static ........................................................... 2 - 113
2.22.9 show port-security violation ......................................................2 - 113
2.23 LLDP (802.1AB) Commands ...............................................................2 - 113
2.23.1 lldp transmit ..............................................................................2 - 113
2.23.2 lldp receive ...............................................................................2 - 114
2.23.3 lldp timers .................................................................................2 - 114
2.23.4 lldp transmit-tlv .........................................................................2 - 114
2.23.5 lldp transmit-mgmt .................................................................... 2 - 115
2.23.6 lldp notification .......................................................................... 2 - 115
2.23.7 lldp notification-interval ............................................................. 2 - 116
2.23.8 clear lldp statistics .................................................................... 2 - 116
2.23.9 clear lldp remote-data ...............................................................2 - 116
2.23.10 show lldp ...................................................................................2 - 116
2.23.11 show lldp interface ....................................................................2 - 117
2.23.12 show lldp statistics ....................................................................2 - 117
2.23.13 show lldp remote-device ...........................................................2 - 118
2.23.14 show lldp remote-device detail ................................................. 2 - 118
2.23.15 show lldp local-device ...............................................................2 - 119
2.23.16 show lldp local-device detail .....................................................2 - 120
2.24 LLDP-MED Commands .......................................................................2 - 120
2.24.1 lldp med ....................................................................................2 - 120
2.24.2 lldp med confignotification ........................................................2 - 121
2.24.3 lldp med transmit-tlv .................................................................2 - 121
2.24.4 lldp med all ...............................................................................2 - 122
2.24.5 lldp med confignotification all ....................................................2 - 122
2.24.6 lldp med faststartrepeatcount ...................................................2 - 122
2.24.7 lldp med transmit-tlv all .............................................................2 - 122
AT8404 CLI Reference Manual Page xiv
AT8404
2.24.8 show lldp med .......................................................................... 2 - 123
2.24.9 show lldp med interface ........................................................... 2 - 123
2.24.10 show lldp med local-device detail ............................................. 2 - 124
2.24.11 show lldp med remote-device .................................................. 2 - 125
2.24.12 show lldp med remote-device detail ......................................... 2 - 125
2.25 Denial of Service Commands .............................................................. 2 - 126
2.25.1 dos-control all ........................................................................... 2 - 127
2.25.2 dos-control sipdip ..................................................................... 2 - 127
2.25.3 dos-control firstfrag .................................................................. 2 - 127
2.25.4 dos-control tcpfrag ................................................................... 2 - 128
2.25.5 dos-control tcpflag .................................................................... 2 - 128
2.25.6 dos-control l4port ..................................................................... 2 - 129
2.25.7 dos-control icmp ....................................................................... 2 - 129
2.25.8 show dos-control ...................................................................... 2 - 129
2.26 MAC Database Commands ................................................................. 2 - 130
2.26.1 bridge aging-time ..................................................................... 2 - 130
2.26.2 show forwardingdb agetime ..................................................... 2 - 130
2.26.3 show mac-address-table multicast ........................................... 2 - 131
2.26.4 show mac-address-table stats ................................................. 2 - 131
2.27 ISDP Commands ................................................................................ 2 - 131
2.27.1 isdp run .................................................................................... 2 - 131
2.27.2 isdp holdtime ............................................................................ 2 - 132
2.27.3 isdp timer ................................................................................. 2 - 132
2.27.4 isdp advertise-v2 ...................................................................... 2 - 132
2.27.5 isdp enable ............................................................................... 2 - 132
2.27.6 clear isdp counters ................................................................... 2 - 133
2.27.7 clear isdp table ......................................................................... 2 - 133
2.27.8 show isdp ................................................................................. 2 - 133
2.27.9 show isdp interface .................................................................. 2 - 134
2.27.10 show isdp entry ........................................................................ 2 - 134
2.27.11 show isdp neighbors ................................................................ 2 - 134
2.27.12 show isdp traffic ....................................................................... 2 - 135
2.27.13 debug isdp packet .................................................................... 2 - 136
2.28 Multicast Handling Commands ........................................................... 2 - 136
2.28.1 multicast (interface) .................................................................. 2 - 136
2.28.2 show port multicast .................................................................. 2 - 136
2.28.3 multicast (VLAN) ...................................................................... 2 - 137
2.28.4 show vlan multicast .................................................................. 2 - 137
2.28.5 set igmp proxy-report interfacemode ....................................... 2 - 137
2.29 Port Bridging Commands .................................................................... 2 - 138
2.29.1 L2-port-bridge .......................................................................... 2 - 138
Page xv AT8404 CLI Reference Manual
AT8404
Chapter
3
3. Quality of Service (QoS) Commands ...........................................................3 - 2
3.1 Class of Service (CoS) Commands .........................................................3 - 2
3.1.1 classofservice dot1p-mapping ......................................................3 - 2
3.1.2 classofservice ip-dscp-mapping ...................................................3 - 3
3.1.3 classofservice trust .......................................................................3 - 3
3.1.4 cos-queue min-bandwidth ............................................................3 - 3
3.1.5 cos-queue strict ............................................................................3 - 4
3.1.6 traffic-shape ..................................................................................3 - 4
3.1.7 show classofservice dot1p-mapping .............................................3 - 4
3.1.8 show classofservice ip-precedence-mapping ...............................3 - 5
3.1.9 show classofservice ip-dscp-mapping ..........................................3 - 5
3.1.10 show classofservice trust ..............................................................3 - 5
3.1.11 show interfaces cos-queue ...........................................................3 - 6
3.1.12 show interface cos-counter ...........................................................3 - 6
3.1.13 show packet-memory ...................................................................3 - 6
3.1.14 packet-memory (configure) ...........................................................3 - 7
3.1.15 packet-memory (interface) ............................................................3 - 7
3.1.16 show protection-group ..................................................................3 - 7
3.1.17 protection-group (configure) .........................................................3 - 7
3.1.18 protection-group (interface) ..........................................................3 - 8
3.2 Differentiated Services (DiffServ) Commands .........................................3 - 8
3.2.1 diffserv ..........................................................................................3 - 9
3.3 DiffServ Class Commands .......................................................................3 - 9
3.3.1 class-map ...................................................................................3 - 10
3.3.2 class-map rename ......................................................................3 - 10
3.3.3 match ethertype ..........................................................................3 - 10
3.3.4 match any ................................................................................... 3 - 11
3.3.5 match class-map ........................................................................3 - 11
3.3.6 match cos ...................................................................................3 - 12
3.3.7 match secondary-cos .................................................................3 - 12
3.3.8 match destination-address mac ..................................................3 - 12
3.3.9 match dstip .................................................................................3 - 13
3.3.10 match dstip6 ...............................................................................3 - 13
3.3.11 match dstl4port ...........................................................................3 - 13
3.3.12 match ip dscp .............................................................................3 - 13
3.3.13 match ip precedence ..................................................................3 - 14
3.3.14 match ip tos ................................................................................3 - 14
3.3.15 match protocol ............................................................................3 - 15
3.3.16 match source-address mac ........................................................3 - 15
3.3.17 match srcip .................................................................................3 - 15
AT8404 CLI Reference Manual Page xvi
AT8404
3.3.18 match srcip6 ............................................................................... 3 - 16
3.3.19 match srcl4port .......................................................................... 3 - 16
3.3.20 match vlan .................................................................................. 3 - 16
3.3.21 match secondary-vlan ................................................................ 3 - 16
3.4 DiffServ Policy Commands .................................................................... 3 - 17
3.4.1 assign-queue ............................................................................. 3 - 17
3.4.2 drop ............................................................................................ 3 - 17
3.4.3 mirror .......................................................................................... 3 - 17
3.4.4 redirect ....................................................................................... 3 - 18
3.4.5 conform-color ............................................................................. 3 - 18
3.4.6 class ........................................................................................... 3 - 18
3.4.7 mark cos .................................................................................... 3 - 19
3.4.8 mark ip-precedence ................................................................... 3 - 19
3.4.9 police-simple .............................................................................. 3 - 20
3.4.10 policy-map .................................................................................. 3 - 20
3.4.11 policy-map rename .................................................................... 3 - 21
3.5 DiffServ Service Commands ................................................................. 3 - 21
3.5.1 service-policy ............................................................................. 3 - 21
3.6 DiffServ Show Commands .................................................................... 3 - 22
3.6.1 show class-map ......................................................................... 3 - 22
3.6.2 show diffserv .............................................................................. 3 - 23
3.6.3 show policy-map ........................................................................ 3 - 23
3.6.4 show diffserv service .................................................................. 3 - 25
3.6.5 show diffserv service brief .......................................................... 3 - 25
3.6.6 show policy-map interface ......................................................... 3 - 25
3.6.7 show service-policy .................................................................... 3 - 26
3.7 MAC Access Control List (ACL) Commands ......................................... 3 - 26
3.7.1 mac access-list extended ........................................................... 3 - 27
3.7.2 mac access-list extended rename ............................................. 3 - 27
3.7.3 {deny | permit} (MAC ACL) ......................................................... 3 - 27
3.7.4 mac access-group ...................................................................... 3 - 29
3.7.5 show mac access-lists ............................................................... 3 - 29
3.8 IP Access Control List (ACL) Commands ............................................. 3 - 30
3.8.1 access-list .................................................................................. 3 - 30
3.8.2 ip access-list .............................................................................. 3 - 31
3.8.3 ip access-list rename ................................................................. 3 - 32
3.8.4 {deny | permit} (IP ACL) ............................................................. 3 - 32
3.8.5 ip access-group .......................................................................... 3 - 33
3.8.6 acl-trapflags ............................................................................... 3 - 33
3.8.7 show acl-traptimer ...................................................................... 3 - 34
3.8.8 acl-traptimer ............................................................................... 3 - 34
3.8.9 show ip access-lists ................................................................... 3 - 34
3.8.10 show access-lists ....................................................................... 3 - 35
3.9 IPv6 Access Control List (ACL) Commands ......................................... 3 - 35
Page xvii AT8404 CLI Reference Manual
AT8404
Chapter
4
3.9.1 ipv6 access-list ...........................................................................3 - 35
3.9.2 ipv6 access-list rename ..............................................................3 - 36
3.9.3 {deny | permit} (IPv6) ..................................................................3 - 36
3.9.4 ipv6 traffic-filter ...........................................................................3 - 37
3.9.5 show ipv6 access-lists ................................................................3 - 37
3.10 Auto-Voice over IP Commands ..............................................................3 - 38
3.10.1 auto-voip all ................................................................................3 - 38
3.10.2 auto-voip .....................................................................................3 - 39
3.10.3 show auto-voip ...........................................................................3 - 39
4. Utility Commands .........................................................................................4 - 2
4.1 Commands for update and startup Configuration ....................................4 - 2
4.1.1 download ipmifw ...........................................................................4 - 2
4.1.2 download amcipmifw ....................................................................4 - 2
4.2 Dual Image Commands ...........................................................................4 - 3
4.2.1 delete ............................................................................................4 - 3
4.2.2 boot system ..................................................................................4 - 3
4.2.3 show bootvar ................................................................................4 - 3
4.2.4 filedescr ........................................................................................4 - 3
4.3 ATCA commands .....................................................................................4 - 3
4.3.1 set board sensor threshold ...........................................................4 - 3
4.3.2 set board device-id .......................................................................4 - 4
4.3.3 show atca ekeying ........................................................................4 - 4
4.3.4 ekeying (interface) ........................................................................4 - 4
4.3.5 ekeying all (configure) ..................................................................4 - 4
4.4 System Information and Statistics Commands ........................................4 - 5
4.4.1 show arp switch ............................................................................4 - 5
4.4.2 show eventlog ...............................................................................4 - 5
4.4.3 show hardware .............................................................................4 - 6
4.4.4 show version .................................................................................4 - 6
4.4.5 show interface ..............................................................................4 - 6
4.4.6 show interface ethernet ................................................................4 - 7
4.4.7 show mac-addr-table ..................................................................4 - 13
4.4.8 show process cpu .......................................................................4 - 14
4.4.9 show running-config ...................................................................4 - 15
4.4.10 show sysinfo ...............................................................................4 - 16
4.4.11 show tech-support ......................................................................4 - 16
4.4.12 terminal length ............................................................................4 - 16
4.4.13 show terminal length ...................................................................4 - 17
4.4.14 show boardinfo post-status .........................................................4 - 17
4.4.15 show boardinfo sensors ..............................................................4 - 17
AT8404 CLI Reference Manual Page xviii
AT8404
4.4.16 show boardinfo event-log ........................................................... 4 - 17
4.4.17 show boardinfo update-status .................................................... 4 - 18
4.4.18 show boardinfo version .............................................................. 4 - 18
4.4.19 show boardinfo address ............................................................. 4 - 18
4.4.20 show boardinfo fru ..................................................................... 4 - 18
4.4.21 show boardinfo ipmidev ............................................................. 4 - 19
4.4.22 show boardinfo amc connection ................................................ 4 - 19
4.4.23 show boardinfo amc fru .............................................................. 4 - 19
4.4.24 show boardinfo amc ipmidev ..................................................... 4 - 19
4.4.25 show boardinfo led ..................................................................... 4 - 19
4.4.26 show boardinfo cpu-load ............................................................ 4 - 19
4.4.27 show boardinfo memory-usage .................................................. 4 - 20
4.5 Logging Commands .............................................................................. 4 - 20
4.5.1 logging buffered ......................................................................... 4 - 20
4.5.2 logging buffered wrap ................................................................ 4 - 20
4.5.3 logging cli-command .................................................................. 4 - 20
4.5.4 logging console .......................................................................... 4 - 21
4.5.5 logging host ................................................................................ 4 - 21
4.5.6 logging host remove ................................................................... 4 - 21
4.5.7 logging port ................................................................................ 4 - 22
4.5.8 logging syslog ............................................................................ 4 - 22
4.5.9 show logging .............................................................................. 4 - 22
4.5.10 show logging buffered ................................................................ 4 - 23
4.5.11 show logging hosts .................................................................... 4 - 23
4.5.12 show logging traplogs ................................................................ 4 - 23
4.5.13 clear board event-log ................................................................. 4 - 24
4.5.14 show logging backtrace ............................................................. 4 - 24
4.5.15 show logging errcounter ............................................................. 4 - 24
4.5.16 clear errcounter .......................................................................... 4 - 24
4.5.17 show logging persistent ............................................................. 4 - 24
4.6 System Utility and Clear Commands .................................................... 4 - 25
4.6.1 traceroute ................................................................................... 4 - 25
4.6.2 clear config ................................................................................. 4 - 26
4.6.3 clear counters ............................................................................ 4 - 26
4.6.4 clear igmpsnooping .................................................................... 4 - 26
4.6.5 clear pass ................................................................................... 4 - 26
4.6.6 clear port-channel ...................................................................... 4 - 27
4.6.7 clear traplog ............................................................................... 4 - 27
4.6.8 clear vlan .................................................................................... 4 - 27
4.6.9 enable passwd ........................................................................... 4 - 27
4.6.10 enable passwd encrypted <password> ...................................... 4 - 27
4.6.11 logout ......................................................................................... 4 - 27
4.6.12 ping ............................................................................................ 4 - 28
4.6.13 quit ............................................................................................. 4 - 29
4.6.14 reload ......................................................................................... 4 - 29
4.6.15 reload fast .................................................................................. 4 - 29
Page xix AT8404 CLI Reference Manual
AT8404
4.6.16 copy ............................................................................................4 - 29
4.6.17 delete nvram:extra-profile ...........................................................4 - 31
4.6.18 set bootstopkey ..........................................................................4 - 31
4.7 Simple Network Time Protocol (SNTP) Commands ..............................4 - 32
4.7.1 sntp broadcast client poll-interval ...............................................4 - 32
4.7.2 sntp client mode .........................................................................4 - 32
4.7.3 sntp client port ............................................................................4 - 32
4.7.4 sntp unicast client poll-interval ....................................................4 - 33
4.7.5 sntp unicast client poll-timeout ...................................................4 - 33
4.7.6 sntp unicast client poll-retry ........................................................4 - 33
4.7.7 sntp server ..................................................................................4 - 34
4.7.8 show sntp ...................................................................................4 - 34
4.7.9 show sntp client ..........................................................................4 - 34
4.7.10 show sntp server ........................................................................4 - 35
4.8 DHCP Server Commands ......................................................................4 - 35
4.8.1 ip dhcp pool ................................................................................4 - 35
4.8.2 client-identifier ............................................................................4 - 36
4.8.3 client-name .................................................................................4 - 36
4.8.4 default-router ..............................................................................4 - 36
4.8.5 dns-server ...................................................................................4 - 37
4.8.6 hardware-address .......................................................................4 - 37
4.8.7 host .............................................................................................4 - 37
4.8.8 lease ...........................................................................................4 - 38
4.8.9 network (DHCP Pool Config) ......................................................4 - 38
4.8.10 bootfile ........................................................................................4 - 38
4.8.11 domain-name ..............................................................................4 - 39
4.8.12 netbios-name-server ...................................................................4 - 39
4.8.13 netbios-node-type .......................................................................4 - 39
4.8.14 next-server ..................................................................................4 - 40
4.8.15 option ..........................................................................................4 - 40
4.8.16 ip dhcp excluded-address ...........................................................4 - 41
4.8.17 ip dhcp ping packets ...................................................................4 - 41
4.8.18 service dhcp ...............................................................................4 - 41
4.8.19 ip dhcp bootp automatic .............................................................4 - 42
4.8.20 ip dhcp conflict logging ...............................................................4 - 42
4.8.21 clear ip dhcp binding ...................................................................4 - 42
4.8.22 clear ip dhcp server statistics .....................................................4 - 42
4.8.23 clear ip dhcp conflict ...................................................................4 - 43
4.8.24 show ip dhcp binding ..................................................................4 - 43
4.8.25 show ip dhcp global configuration ..............................................4 - 43
4.8.26 show ip dhcp pool configuration .................................................4 - 43
4.8.27 show ip dhcp server statistics .....................................................4 - 44
4.8.28 show ip dhcp conflict ..................................................................4 - 45
4.9 DHCP Filtering .......................................................................................4 - 45
4.9.1 ip dhcp filtering ...........................................................................4 - 45
AT8404 CLI Reference Manual Page xx
AT8404
4.9.2 ip dhcp filtering trust ................................................................... 4 - 46
4.9.3 show ip dhcp filtering ................................................................. 4 - 46
4.10 DNS Client Commands ......................................................................... 4 - 46
4.10.1 ip domain lookup ........................................................................ 4 - 46
4.10.2 ip domain name ......................................................................... 4 - 47
4.10.3 ip domain list .............................................................................. 4 - 47
4.10.4 ip name server ........................................................................... 4 - 47
4.10.5 ip host ........................................................................................ 4 - 48
4.10.6 ip domain retry ........................................................................... 4 - 48
4.10.7 ip domain timeout ....................................................................... 4 - 48
4.10.8 clear host ................................................................................... 4 - 49
4.10.9 show hosts ................................................................................. 4 - 49
4.11 Serviceability Packet Tracing Commands ............................................. 4 - 50
4.11.1 debug arp ................................................................................... 4 - 50
4.11.2 debug auto-voip ......................................................................... 4 - 50
4.11.3 debug clear ................................................................................ 4 - 51
4.11.4 debug console ............................................................................ 4 - 51
4.11.5 debug dot1x packet .................................................................... 4 - 51
4.11.6 debug igmpsnooping packet ...................................................... 4 - 51
4.11.7 debug igmpsnooping packet transmit ........................................ 4 - 52
4.11.8 debug igmpsnooping packet receive .......................................... 4 - 53
4.11.9 debug ip acl ................................................................................ 4 - 53
4.11.10 debug ip igmp packet ................................................................. 4 - 54
4.11.11 debug ip mcache packet ............................................................ 4 - 54
4.11.12 debug lacp packet ...................................................................... 4 - 54
4.11.13 debug mldsnooping packet ........................................................ 4 - 55
4.11.14 debug ping packet ...................................................................... 4 - 55
4.11.15 debug sflow packet .................................................................... 4 - 56
4.11.16 debug spanning-tree bpdu ......................................................... 4 - 56
4.11.17 debug spanning-tree bpdu receive ............................................ 4 - 57
4.11.18 debug spanning-tree bpdu transmit ........................................... 4 - 57
4.11.19 logging persistent ....................................................................... 4 - 58
4.12 Cable Test Command ............................................................................ 4 - 58
4.12.1 cablestatus ................................................................................. 4 - 58
4.13 sFlow Commands ................................................................................. 4 - 59
4.13.1 sflow receiver ............................................................................. 4 - 59
4.13.2 sflow sampler ............................................................................. 4 - 60
4.13.3 sflow poller ................................................................................. 4 - 60
4.13.4 show sflow agent ....................................................................... 4 - 61
4.13.5 show sflow receivers .................................................................. 4 - 62
4.13.6 show sflow samplers .................................................................. 4 - 62
Page xxi AT8404 CLI Reference Manual
AT8404
Chapter
5
5. Management Commands .............................................................................5 - 2
5.1 Network Interface Commands .................................................................5 - 2
5.1.1 enable (Privileged EXEC access) .................................................5 - 2
5.1.2 serviceport ip ................................................................................5 - 2
5.1.3 serviceport protocol ......................................................................5 - 3
5.1.4 network parms ..............................................................................5 - 3
5.1.5 network protocol ...........................................................................5 - 3
5.1.6 network mac-address ...................................................................5 - 3
5.1.7 network mac-type .........................................................................5 - 4
5.1.8 show network ................................................................................5 - 4
5.1.9 show serviceport ...........................................................................5 - 5
5.2 Console Port Access Commands ............................................................5 - 5
5.2.1 configuration .................................................................................5 - 6
5.2.2 lineconfig ......................................................................................5 - 6
5.2.3 serial baudrate ..............................................................................5 - 6
5.2.4 serial timeout ................................................................................5 - 6
5.2.5 show serial ....................................................................................5 - 7
5.3 Telnet Commands ....................................................................................5 - 7
5.3.1 ip telnet server enable ..................................................................5 - 7
5.3.2 telnet .............................................................................................5 - 7
5.3.3 transport input telnet .....................................................................5 - 8
5.3.4 transport output telnet ...................................................................5 - 8
5.3.5 session-limit ..................................................................................5 - 9
5.3.6 session-timeout ............................................................................5 - 9
5.3.7 telnetcon maxsessions .................................................................5 - 9
5.3.8 telnetcon timeout ........................................................................5 - 10
5.3.9 show telnet .................................................................................5 - 10
5.3.10 show telnetcon ............................................................................5 - 10
5.4 Secure Shell (SSH) Commands ............................................................5 - 11
5.4.1 ip ssh ..........................................................................................5 - 11
5.4.2 ip ssh protocol ............................................................................ 5 - 11
5.4.3 ip ssh server enable ................................................................... 5 - 11
5.4.4 sshcon maxsessions ..................................................................5 - 12
5.4.5 sshcon timeout ...........................................................................5 - 12
5.4.6 show ip ssh .................................................................................5 - 12
5.5 Management Security Commands ........................................................5 - 13
AT8404 CLI Reference Manual Page xxii
5.5.1 crypto certificate generate ..........................................................5 - 13
5.5.2 crypto key generate rsa ..............................................................5 - 13
5.5.3 crypto key generate dsa .............................................................5 - 14
AT8404
5.6 Access Commands ............................................................................... 5 - 14
5.6.1 disconnect .................................................................................. 5 - 14
5.6.2 show loginsession ...................................................................... 5 - 14
5.7 User Account Commands ..................................................................... 5 - 15
5.7.1 users name ................................................................................ 5 - 15
5.7.2 users name <username> unlock ................................................ 5 - 15
5.7.3 users passwd ............................................................................. 5 - 15
5.7.4 users passwd <username> encrypted <password> ................... 5 - 16
5.7.5 users snmpv3 accessmode ....................................................... 5 - 16
5.7.6 users snmpv3 authentication ..................................................... 5 - 17
5.7.7 users snmpv3 encryption ........................................................... 5 - 17
5.7.8 show users ................................................................................. 5 - 18
5.7.9 show users accounts ................................................................. 5 - 18
5.7.10 passwd ....................................................................................... 5 - 18
5.7.11 passwords min-length ................................................................ 5 - 19
5.7.12 passwords history ...................................................................... 5 - 19
5.7.13 passwords aging ........................................................................ 5 - 19
5.7.14 passwords lock-out .................................................................... 5 - 20
5.7.15 show passwords configuration ................................................... 5 - 20
5.7.16 write memory ............................................................................. 5 - 20
5.8 SNMP Commands ................................................................................ 5 - 20
5.8.1 snmp-server ............................................................................... 5 - 21
5.8.2 snmp-server community ............................................................. 5 - 21
5.8.3 snmp-server community ipaddr .................................................. 5 - 21
5.8.4 snmp-server community ipmask ................................................ 5 - 22
5.8.5 snmp-server community mode ................................................... 5 - 22
5.8.6 snmp-server community ro ........................................................ 5 - 22
5.8.7 snmp-server enable traps violation ............................................ 5 - 23
5.8.8 snmp-server enable traps .......................................................... 5 - 23
5.8.9 snmp-server enable traps linkmode ........................................... 5 - 24
5.8.10 snmp-server enable traps multiusers ......................................... 5 - 24
5.8.11 snmp-server enable traps pll ...................................................... 5 - 24
5.8.12 snmp-server enable traps stpmode ........................................... 5 - 25
5.8.13 snmptrap .................................................................................... 5 - 25
5.8.14 snmptrap snmpversion ............................................................... 5 - 26
5.8.15 snmptrap ipaddr ......................................................................... 5 - 26
5.8.16 snmptrap mode .......................................................................... 5 - 26
5.8.17 snmp trap link-status .................................................................. 5 - 26
5.8.18 snmp trap link-status all ............................................................. 5 - 27
5.8.19 show snmpcommunity ...............................................................5 - 27
5.8.20 show snmptrap ........................................................................... 5 - 28
5.8.21 show trapflags ............................................................................ 5 - 28
5.8.22 snmptrap notification .................................................................. 5 - 29
5.8.23 snmp-server engine-id ............................................................... 5 - 29
5.8.24 show snmp-engine-id ................................................................. 5 - 29
5.8.25 set board snmp site .................................................................... 5 - 29
Page xxiii AT8404 CLI Reference Manual
AT8404
5.8.26 show boardinfo snmp site ...........................................................5 - 30
5.8.27 set board snmp ipmi-trap ............................................................5 - 30
5.8.28 set board snmp ipmi-trap interval ...............................................5 - 30
5.8.29 set board snmp ipmi-trap filter ....................................................5 - 30
5.8.30 enable (filter) ...............................................................................5 - 31
5.8.31 disable (filter) ..............................................................................5 - 31
5.8.32 ipmb (filter) ..................................................................................5 - 31
5.8.33 type (filter) ...................................................................................5 - 31
5.8.34 status (filter) ................................................................................5 - 31
5.8.35 assert (filter) ................................................................................5 - 31
5.8.36 show boardinfo snmp ipmi-trap ..................................................5 - 32
5.9 RADIUS Commands ..............................................................................5 - 32
5.9.1 authorization network radius .......................................................5 - 32
5.9.2 radius accounting mode .............................................................5 - 32
5.9.3 radius server attribute .................................................................5 - 32
5.9.4 radius server host .......................................................................5 - 33
5.9.5 radius server key ........................................................................5 - 34
5.9.6 radius server msgauth ................................................................5 - 35
5.9.7 radius server primary ..................................................................5 - 35
5.9.8 radius server retransmit ..............................................................5 - 36
5.9.9 radius server timeout ..................................................................5 - 36
5.9.10 show radius ................................................................................5 - 36
5.9.11 show radius servers ....................................................................5 - 37
5.9.12 show radius accounting ..............................................................5 - 39
5.9.13 show radius accounting statistics ...............................................5 - 40
5.9.14 show radius statistics ..................................................................5 - 41
5.10 TACACS+ Commands ...........................................................................5 - 42
5.10.1 tacacs-server host ......................................................................5 - 42
5.10.2 tacacs-server key .......................................................................5 - 43
5.10.3 tacacs-server timeout .................................................................5 - 43
5.10.4 key ..............................................................................................5 - 44
5.10.5 port .............................................................................................5 - 44
5.10.6 priority .........................................................................................5 - 44
5.10.7 timeout ........................................................................................5 - 44
5.10.8 show tacacs ................................................................................5 - 44
5.11 Configuration Scripting Commands .......................................................5 - 45
5.11.1 script apply .................................................................................5 - 46
5.11.2 script delete ................................................................................5 - 46
5.11.3 script list ......................................................................................5 - 46
5.11.4 script show ..................................................................................5 - 46
5.11.5 script validate ..............................................................................5 - 46
5.12 Pre-login Banner and System Prompt Commands ................................5 - 47
5.12.1 copy (pre-login banner) ..............................................................5 - 47
5.12.2 set prompt ...................................................................................5 - 47
5.13 Diagnostics Commands .........................................................................5 - 47
AT8404 CLI Reference Manual Page xxiv
AT8404
Appendix
A
Appendix
B
5.13.1 diagnostics ................................................................................. 5 - 47
5.13.2 show logging diag-report ............................................................ 5 - 47
5.14 PCI express Commands ....................................................................... 5 - 47
5.14.1 show boardinfo pcie ................................................................... 5 - 47
5.15 Storage Commands .............................................................................. 5 - 48
5.15.1 set board storage connect ......................................................... 5 - 48
5.15.2 show boardinfo storage .............................................................. 5 - 48
5.16 Clock support commands ...................................................................... 5 - 48
5.16.1 set board pcie clock ................................................................... 5 - 48
5.16.2 set board pll ............................................................................... 5 - 48
5.16.3 show boardinfo pll status ........................................................... 5 - 49
5.16.4 show boardinfo pll config ........................................................... 5 - 49
5.16.5 set board clock bpl ..................................................................... 5 - 49
5.16.6 set board clock mux-amc ........................................................... 5 - 49
5.16.7 set board clock mux-bpl ............................................................. 5 - 49
5.16.8 set board clock override ............................................................. 5 - 50
5.16.9 set board clock receiver ............................................................. 5 - 50
5.16.10 set board clock source ............................................................... 5 - 50
5.16.11 show boardinfo clock bpl ............................................................ 5 - 50
5.16.12 show boardinfo clock amc .......................................................... 5 - 51
A. Getting Help ................................................................................................A - 2
B. FASTPATH Log Messages ..........................................................................B - 2
B.1 Core ........................................................................................................B - 2
B.2 Utilities .....................................................................................................B - 3
B.3 Management ...........................................................................................B - 5
B.4 Switching .................................................................................................B - 7
B.5 QoS .......................................................................................................B - 12
B.6 Technologies .........................................................................................B - 13
B.7 O/S Support ..........................................................................................B - 14
Page xxv AT8404 CLI Reference Manual
AT8404
Appendix
C
C. List of Commands ....................................................................................... C - 2
AT8404 CLI Reference Manual Page xxvi
Chapter 1
1
AT8404
Using the Command-Line Interface
Page 1 - 1 AT8404 CLI Reference Manual
Using the Command-Line Interface AT8404

1. Using the Command-Line Interface

The command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the CLI by using a direct serial connection or by using a remote logical connection with telnet or SSH.
This chapter describes the CLI syntax, conventions, and modes. It contains the following sections:
1.1 “Command Syntax” on page 1 - 2
1.2 “Command Conventions” on page 1 - 2
1.3 “Common Parameter Values” on page 1 - 3
1.4 “Slot/Port Naming Convention” on page 1 - 4
1.5 “Using the “No” Form of a Command” on page 1 - 4
1.6 “FASTPATH Modules” on page 1 - 4
1.7 “Command Modes” on page 1 - 5
1.8 “Command Completion and Abbreviation” on page 1 - 7
1.9 “CLI Error Messages” on page 1 - 7
1.10 “CLI Line-Editing Conventions” on page 1 - 7
1.11 “Using CLI Help” on page 1 - 8
1.12 “Accessing the CLI” on page 1 - 8

1.1 Command Syntax

A command is one or more words that might be followed by one or more parameters. Parameters can be required or optional values.
Some commands, such as show network or clear vlan, do not require parameters. Other commands, such as network parms, require that you supply a value after the command. You must type the parameter values in a specific order, and optional parameters follow required parameters. The following example describes the network parms command syntax:
Format network parms <ipaddr> <netmask> [gateway]
network parms is the command name.
<ipaddr> and <netmask> are parameters and represent required values that you must enter after you type
the command keywords.
[gateway] is an optional parameter, so you are not required to enter a value in place of the parameter.
The CLI Command Reference lists each command by the command name and provides a brief description of the command. Each command reference also contains the following information:
Format shows the command keywords and the required and optional parameters.
Mode identifies the command mode you must be in to access the command.
Default shows the default value, if any, of a configurable setting on the device.
The show commands also contain a description of the information that the command shows.

1.2 Command Conventions

In this document, the command name is in bold font. Parameters are in italic font. You must replace the parameter name with an appropriate value, which might be a name or number. Parameters are order dependent.
AT8404 CLI Reference Manual Page 1 - 2
AT8404 Using the Command-Line Interface
The parameters for a command might include mandatory values, optional values, or keyword choices. Table 1 describes the conventions this document uses to distinguish between value types.
Table 1: Parameter Conventions
Symbol Example Description
<> angle brackets <value> Indicates that you must enter a value in place of the
brackets and text inside them.
[] square brackets [value] Indicates an optional parameter that you can enter in place
of the brackets and text inside them.
{} curly braces {choice1 | choice2} Indicates that you must select a parameter from the list of
choices.
| Vertical bars choice1 | choice2 Separates the mutually exclusive choices.
[{}] Braces within square brackets

1.3 Common Parameter Values

[{choice1 | choice2}] Indicates a choice within an optional element.
Parameter values might be names (strings) or numbers.To use spaces as part of a name parameter, enclose the name value in double quotes. For example, the expression “System Name with Spaces” forces the system to accept the spaces. Empty strings (““) are not valid user-defined strings. Table 2 describes common parameter values and value formatting.
Table 2: Parameter Descriptions
Parameter Description
ipaddr This parameter is a valid IP address. You can enter the IP address in the following
formats:
a (32 bits)
a.b (8.24 bits)
a.b.c (8.8.16 bits)
a.b.c.d (8.8.8.8)
In addition to these formats, the CLI accepts decimal, hexidecimal and octal formats through the following input formats (where n is any valid hexidecimal, octal or decimal number):
0xn (CLI assumes hexidecimal format)
0n (CLI assumes octal format with leading zeros)
n (CLI assumes decimal format)
ipv6-address FE80:0000:0000:0000:020F:24FF:FEBF:DBCB, or
FE80:0:0:0:20F:24FF:FEBF:DBCB, or FE80::20F24FF:FEBF:DBCB, or FE80:0:0:0:20F:24FF:128:141:49:32
For additional information, refer to RFC 3513.
Interface or slot/port
Valid slot and port number separated by a forward slash. For example, 0/1 represents slot number 0 and port number 1.
Logical Interface Represents a logical slot and port number. This is applicable in the case of a port-
channel (LAG). You can use the logical slot/port to configure the port-channel.
Character strings Use double quotation marks to identify character strings, for example, “System Name
with Spaces”. An empty string (“”) is not valid.
Page 1 - 3 AT8404 CLI Reference Manual
Using the Command-Line Interface AT8404

1.4 Slot/Port Naming Convention

FASTPATH software references physical entities such as cards and ports by using a slot/port naming convention. The FASTPATH software also uses this convention to identify certain logical entities, such as Port-Channel interfaces.
The slot number has two uses. In the case of physical ports, it identifies the card containing the ports. In the case of logical and CPU ports it also identifies the type of interface or port.
Table 3: Type of Slots
Slot Type Description
Physical slot numbers Physical slot numbers begin with zero, and are allocated up to the maximum
Logical slot numbers Logical slots immediately follow physical slots and identify port-channel (LAG)
CPU slot numbers The CPU slots immediately follow the logical slots.
number of physical slots.
or router interfaces.
The port identifies the specific physical port or logical interface being managed on a given slot.
Table 4: Type of Ports
Port Type Description
Physical Ports The physical ports for each slot are numbered sequentially starting from zero.
Logical Interfaces Port-channel or Link Aggregation Group (LAG) interfaces are logical interfaces
CPU ports CPU ports are handled by the driver as one or more physical entities located on
Note: In the CLI, loopback and tunnel interfaces do not use the slot/port format. To specify a loopback interface, you use the loopback ID. To specify a tunnel interface, you use the tunnel ID.
that are only used for bridging functions. VLAN routing interfaces are only used for routing functions. Loopback interfaces are logical interfaces that are always up. Tunnel interfaces are logical point-to-point links that carry encapsulated
packets.
physical slots.

1.5 Using the “No” Form of a Command

The no keyword is a specific form of an existing command and does not represent a new or distinct command. Almost every configuration command has a no form. In general, use the no form to reverse the action of a command or reset a value back to the default. For example, the no shutdown configuration command reverses the shutdown of an interface. Use the command without the keyword no to re-enable a disabled feature or to enable a feature that is disabled by default. Only the configuration commands are available in the no form.

1.6 FASTPATH Modules

FASTPATH software consists of flexible modules that can be applied in various combinations to develop advanced Layer 2/3/4+ products. The commands and command modes available on your switch depend on the installed
AT8404 CLI Reference Manual Page 1 - 4
Loading...
+ 343 hidden pages