Command Line User’s Guide - Allied Telesis

[Pages:468]Management Software

AT-S63

Command Line User's Guide

For AT-9400 Switch Stacks

AT-S63 Version 3.2.0 for AT-9400 Basic Layer 3 Switches

613-001027 Rev. A

Copyright ? 2008 Allied Telesis, Inc.

All rights reserved. No part of this publication may be reproduced without prior written permission from Allied Telesis, Inc.

Allied Telesis and the Allied Telesis logo are trademarks of Allied Telesis, Incorporated. Microsoft and Internet Explorer are registered trademarks of Microsoft Corporation. Netscape Navigator is a registered trademark of Netscape Communications Corporation. All other product names, company names, logos or other designations mentioned herein are trademarks or registered trademarks of their respective owners.

Allied Telesis, Inc. reserves the right to make changes in specifications and other information contained in this document without prior written notice. The information provided herein is subject to change without notice. In no event shall Allied Telesis, Inc. be liable for any incidental, special, indirect, or consequential damages whatsoever, including but not limited to lost profits, arising out of or related to this manual or the information contained herein, even if Allied Telesis, Inc. has been advised of, known, or should have known, the possibility of such damages.

Contents

Preface ............................................................................................................................................................ 13 How This Guide is Organized........................................................................................................................... 14 Product Documentation .................................................................................................................................... 16 Where to Go First ............................................................................................................................................. 17 Starting a Management Session ...................................................................................................................... 18 Document Conventions .................................................................................................................................... 19 Where to Find Web-based Guides ................................................................................................................... 20 Contacting Allied Telesis .................................................................................................................................. 21

Online Support ........................................................................................................................................... 21 Email and Telephone Support.................................................................................................................... 21 Returning Products .................................................................................................................................... 21 Sales and Corporate Information ............................................................................................................... 21 Management Software Updates................................................................................................................. 21

Section I: Basic Operations ...................................................................................... 23

Chapter 1: Overview ...................................................................................................................................... 25 Introduction....................................................................................................................................................... 26 AT-S63 Management Software ........................................................................................................................ 27 Supported Models ............................................................................................................................................ 27 Supported Features.......................................................................................................................................... 28 AT-StackXG Stacking Module .......................................................................................................................... 29 Maximum Number of Switches in a Stack ........................................................................................................ 30 Management Interfaces.................................................................................................................................... 30 Management Access Methods ......................................................................................................................... 30 Enhanced Stacking........................................................................................................................................... 31 Stack Topology................................................................................................................................................. 32 Discovery Process............................................................................................................................................ 34 Master and Member Switches .......................................................................................................................... 35 Active Configuration File................................................................................................................................... 36 Module ID Numbers.......................................................................................................................................... 38

Static Module ID Numbers ......................................................................................................................... 38 Dynamic Module ID Numbers .................................................................................................................... 39 Guidelines .................................................................................................................................................. 41 Port Numbers in Commands ............................................................................................................................ 42 MAC Address Tables........................................................................................................................................ 43 File Systems ..................................................................................................................................................... 43 Compact Flash Memory Card Slots.................................................................................................................. 43 Stack IP Address .............................................................................................................................................. 44 Upgrading the AT-S63 Management Software................................................................................................. 45 Powering On a Stack........................................................................................................................................ 46 Troubleshooting the Discovery Process ........................................................................................................... 48

3

Contents

Chapter 2: Starting a Command Line Management Session ..................................................................... 51 Starting a Local Management Session ............................................................................................................. 52 Remote Telnet Management ............................................................................................................................ 54

Planning for Remote Management............................................................................................................. 54 Starting a Remote Telnet Management Session........................................................................................ 54 Quitting a Management Session ....................................................................................................................... 56 Command Line Interface Features ................................................................................................................... 57 Command Formatting ....................................................................................................................................... 58 Redundant Twisted Pair Ports .......................................................................................................................... 59

Chapter 3: Basic Command Line Commands ............................................................................................. 61 CLEAR SCREEN .............................................................................................................................................. 62 EXIT .................................................................................................................................................................. 63 HELP................................................................................................................................................................. 64 LOGOFF, LOGOUT and QUIT ......................................................................................................................... 65 SAVE CONFIGURATION ................................................................................................................................. 66 SET PROMPT................................................................................................................................................... 67 SHOW USER .................................................................................................................................................... 68

Chapter 4: Stacking Commands ................................................................................................................... 69 SET STACK ...................................................................................................................................................... 70 SHOW STACK .................................................................................................................................................. 72

Chapter 5: Basic Stack Commands ............................................................................................................. 75 DISABLE TELNET ............................................................................................................................................ 76 ENABLE TELNET ............................................................................................................................................. 77 PING ................................................................................................................................................................. 78 RESET SWITCH ............................................................................................................................................... 79 RESET SYSTEM .............................................................................................................................................. 80 RESTART REBOOT ......................................................................................................................................... 81 RESTART SWITCH .......................................................................................................................................... 82 SET ASYN ........................................................................................................................................................ 84 SET DATE ........................................................................................................................................................ 85 SET PASSWORD MANAGER .......................................................................................................................... 86 SET PASSWORD OPERATOR ........................................................................................................................ 87 SET SWITCH CONSOLETIMER ...................................................................................................................... 88 SET SYSTEM ................................................................................................................................................... 89 SET TELNET INSERTNULL ............................................................................................................................. 90 SET TIME ......................................................................................................................................................... 91 SET USER PASSWORD .................................................................................................................................. 92 SHOW ASYN .................................................................................................................................................... 93 SHOW CONFIG DYNAMIC .............................................................................................................................. 94 SHOW CONFIG INFO ...................................................................................................................................... 96 SHOW SWITCH................................................................................................................................................ 97 SHOW SYSTEM .............................................................................................................................................100 SHOW TIME ...................................................................................................................................................102

Chapter 6: SNMPv2 and SNMPv2c Commands .........................................................................................103 ADD SNMP COMMUNITY ..............................................................................................................................104 CREATE SNMP COMMUNITY .......................................................................................................................106 DELETE SNMP COMMUNITY........................................................................................................................109 DESTROY SNMP COMMUNITY ....................................................................................................................111 DISABLE SNMP .............................................................................................................................................112 DISABLE SNMP AUTHENTICATETRAP .......................................................................................................113 DISABLE SNMP COMMUNITY ......................................................................................................................114 ENABLE SNMP ..............................................................................................................................................115 ENABLE SNMP AUTHENTICATETRAP ........................................................................................................116 ENABLE SNMP COMMUNITY .......................................................................................................................117

4

AT-S63 Stack Command Line User's Guide

SET SNMP COMMUNITY .............................................................................................................................. 118 SHOW SNMP ................................................................................................................................................. 120

Chapter 7: Port Parameter Commands ..................................................................................................... 123 DISABLE SWITCH PORT .............................................................................................................................. 124 DISABLE SWITCH PORT FLOW................................................................................................................... 125 ENABLE SWITCH PORT ............................................................................................................................... 126 ENABLE SWITCH PORT FLOW.................................................................................................................... 127 PURGE SWITCH PORT................................................................................................................................. 128 RESET SWITCH PORT ................................................................................................................................. 129 SET SWITCH PORT ...................................................................................................................................... 130 SET SWITCH PORT FILTERING................................................................................................................... 134 SET SWITCH PORT RATELIMITING ............................................................................................................ 137 SHOW SWITCH PORT .................................................................................................................................. 140

Chapter 8: Port Statistics Commands ....................................................................................................... 145 RESET SWITCH PORT COUNTER............................................................................................................... 146 SHOW SWITCH MODULE COUNTER .......................................................................................................... 147 SHOW SWITCH PORT COUNTER ............................................................................................................... 150

Chapter 9: MAC Address Table Commands ............................................................................................. 151 ADD SWITCH FDB|FILTER ........................................................................................................................... 152 DELETE SWITCH FDB|FILTER ..................................................................................................................... 154 RESET SWITCH FDB .................................................................................................................................... 156 SET SWITCH AGINGTIMER|AGEINGTIMER................................................................................................ 157 SHOW SWITCH AGINGTIMER|AGEINGTIMER ........................................................................................... 158 SHOW SWITCH FDB ..................................................................................................................................... 159

Chapter 10: Static Port Trunking Commands ........................................................................................... 163 Overview......................................................................................................................................................... 164 ADD SWITCH TRUNK ................................................................................................................................... 166 CREATE SWITCH TRUNK ............................................................................................................................ 168 DELETE SWITCH TRUNK ............................................................................................................................. 170 DESTROY SWITCH TRUNK.......................................................................................................................... 171 SET SWITCH TRUNK .................................................................................................................................... 172 SHOW SWITCH TRUNK................................................................................................................................ 173

Chapter 11: LACP Port Trunking Commands ........................................................................................... 175 ADD LACP PORT........................................................................................................................................... 176 CREATE LACP AGGREGATOR.................................................................................................................... 178 DELETE LACP PORT .................................................................................................................................... 180 DESTROY LACP AGGREGATOR ................................................................................................................. 181 DISABLE LACP .............................................................................................................................................. 182 ENABLE LACP ............................................................................................................................................... 183 SET LACP AGGREGATOR ........................................................................................................................... 184 SET LACP SYSPRIORITY ............................................................................................................................. 186 SET LACP STATE.......................................................................................................................................... 187 SHOW LACP .................................................................................................................................................. 188

Chapter 12: Port Mirroring Commands ..................................................................................................... 191 Overview......................................................................................................................................................... 192 SET SWITCH MIRROR.................................................................................................................................. 193 SET SWITCH PORT MIRROR....................................................................................................................... 194 SHOW SWITCH MIRROR.............................................................................................................................. 195

5

Contents

Section II: Advanced Operations ...........................................................................197

Chapter 13: File System Commands ..........................................................................................................199 Overview .........................................................................................................................................................200 COPY ..............................................................................................................................................................201 CREATE CONFIG ..........................................................................................................................................203 DELETE FILE .................................................................................................................................................204 FORMAT DEVICE ..........................................................................................................................................205 RENAME ......................................................................................................................................................... 206 SET CFLASH DIR...........................................................................................................................................208 SET CONFIG ..................................................................................................................................................209 SHOW CFLASH..............................................................................................................................................211 SHOW CONFIG ..............................................................................................................................................212 SHOW FILE ....................................................................................................................................................213 SHOW FLASH ................................................................................................................................................214

Chapter 14: File Download and Upload Commands .................................................................................215 LOAD METHOD=LOCAL................................................................................................................................216 LOAD METHOD=TFTP...................................................................................................................................218 LOAD METHOD=XMODEM ...........................................................................................................................223 UPLOAD METHOD=LOCAL...........................................................................................................................227 UPLOAD METHOD=TFTP..............................................................................................................................229 UPLOAD METHOD=XMODEM ......................................................................................................................232

Chapter 15: Event Log and Syslog Client Commands .............................................................................235 ADD LOG OUTPUT ........................................................................................................................................236 CREATE LOG OUTPUT .................................................................................................................................238 DESTROY LOG OUTPUT ..............................................................................................................................242 DISABLE LOG ................................................................................................................................................243 DISABLE LOG OUTPUT ................................................................................................................................244 ENABLE LOG .................................................................................................................................................245 ENABLE LOG OUTPUT .................................................................................................................................246 PURGE LOG...................................................................................................................................................247 SAVE LOG ......................................................................................................................................................248 SET LOG FULLACTION .................................................................................................................................250 SET LOG OUTPUT.........................................................................................................................................251 SHOW LOG ....................................................................................................................................................254 SHOW LOG OUTPUT ....................................................................................................................................259 SHOW LOG STATUS .....................................................................................................................................261

Chapter 16: Class of Service (CoS) Commands .......................................................................................263 SET SWITCH PORT PRIORITY OVERRIDEPRIORITY ................................................................................264

Section III: Snooping Protocol ...............................................................................267

Chapter 17: IGMP Snooping Commands ...................................................................................................269 DISABLE IGMPSNOOPING ...........................................................................................................................270 ENABLE IGMPSNOOPING ............................................................................................................................271 SET IP IGMP ..................................................................................................................................................272 SHOW IGMPSNOOPING ...............................................................................................................................275 SHOW IP IGMP ..............................................................................................................................................277

6

AT-S63 Stack Command Line User's Guide

Section IV: SNMPv3 ............................................................................................... 281

Chapter 18: SNMPv3 Commands ............................................................................................................... 283 ADD SNMPV3 USER ..................................................................................................................................... 285 CREATE SNMPV3 ACCESS ......................................................................................................................... 287 CREATE SNMPV3 COMMUNITY .................................................................................................................. 290 CREATE SNMPV3 GROUP ........................................................................................................................... 292 CREATE SNMPV3 NOTIFY ........................................................................................................................... 294 CREATE SNMPV3 TARGETADDR ............................................................................................................... 296 CREATE SNMPV3 TARGETPARAMS .......................................................................................................... 298 CREATE SNMPV3 VIEW ............................................................................................................................... 300 DELETE SNMPV3 USER............................................................................................................................... 302 DESTROY SNMPv3 ACCESS ....................................................................................................................... 303 DESTROY SNMPv3 COMMUNITY................................................................................................................ 305 DESTROY SNMPv3 GROUP......................................................................................................................... 306 DESTROY SNMPv3 NOTIFY......................................................................................................................... 307 DESTROY SNMPv3 TARGETADDR ............................................................................................................. 308 DESTROY SNMPv3 TARGETPARMS........................................................................................................... 309 DESTROY SNMPV3 VIEW ............................................................................................................................ 310 PURGE SNMPV3 ACCESS ........................................................................................................................... 311 PURGE SNMPV3 COMMUNITY.................................................................................................................... 312 PURGE SNMPV3 NOTIFY............................................................................................................................. 313 PURGE SNMPV3 TARGETADDR ................................................................................................................. 314 PURGE SNMPV3 VIEW................................................................................................................................. 315 SET SNMPV3 ACCESS ................................................................................................................................. 316 SET SNMPV3 COMMUNITY.......................................................................................................................... 318 SET SNMPV3 GROUP................................................................................................................................... 320 SET SNMPV3 NOTIFY................................................................................................................................... 322 SET SNMPV3 TARGETADDR ....................................................................................................................... 324 SET SNMPV3 TARGETPARAMS .................................................................................................................. 326 SET SNMPV3 USER...................................................................................................................................... 328 SET SNMPV3 VIEW....................................................................................................................................... 330 SHOW SNMPV3 ACCESS............................................................................................................................. 332 SHOW SNMPV3 COMMUNITY ..................................................................................................................... 333 SHOW SNMPv3 GROUP ............................................................................................................................... 334 SHOW SNMPV3 NOTIFY .............................................................................................................................. 335 SHOW SNMPV3 TARGETADDR................................................................................................................... 336 SHOW SNMPV3 TARGETPARAMS.............................................................................................................. 337 SHOW SNMPV3 USER.................................................................................................................................. 338 SHOW SNMPV3 VIEW .................................................................................................................................. 339

Section V: Spanning Tree Protocols ...................................................................... 341

Chapter 19: Spanning Tree Protocol Commands ..................................................................................... 343 ACTIVATE STP .............................................................................................................................................. 344 DISABLE STP ................................................................................................................................................ 345 ENABLE STP ................................................................................................................................................. 346 PURGE STP................................................................................................................................................... 347 SET STP......................................................................................................................................................... 348 SET STP PORT.............................................................................................................................................. 351 SET SWITCH MULTICASTMODE ................................................................................................................. 353 SHOW STP .................................................................................................................................................... 355

7

Contents

Chapter 20: Rapid Spanning Tree Protocols Commands ........................................................................357 ACTIVATE RSTP ............................................................................................................................................358 DISABLE RSTP ..............................................................................................................................................359 ENABLE RSTP ...............................................................................................................................................360 PURGE RSTP.................................................................................................................................................361 SET RSTP ......................................................................................................................................................362 SET RSTP PORT ...........................................................................................................................................365 SHOW RSTP ..................................................................................................................................................368

Section VI: Virtual LANs .......................................................................................371

Chapter 21: Port-based and Tagged VLAN Commands ...........................................................................373 ADD VLAN ......................................................................................................................................................374 CREATE VLAN ...............................................................................................................................................376 DELETE VLAN................................................................................................................................................379 DESTROY VLAN ............................................................................................................................................382 SET SWITCH INFILTERING ..........................................................................................................................383 SET VLAN.......................................................................................................................................................384 SHOW VLAN ..................................................................................................................................................385

Section VII: Internet Protocol Routing .................................................................387

Chapter 22: Internet Protocol Version 4 Packet Routing Commands .....................................................389 ADD IP ARP....................................................................................................................................................390 ADD IP INTERFACE.......................................................................................................................................392 ADD IP ROUTE ..............................................................................................................................................394 DELETE IP ARP .............................................................................................................................................396 DELETE IP INTERFACE ................................................................................................................................397 DELETE IP ROUTE ........................................................................................................................................398 PURGE IP .......................................................................................................................................................399 SET IP ARP ....................................................................................................................................................400 SET IP ARP TIMEOUT ...................................................................................................................................402 SET IP INTERFACE .......................................................................................................................................403 SET IP LOCAL INTERFACE ..........................................................................................................................405 SET IP ROUTE ...............................................................................................................................................406 SHOW IP ARP ................................................................................................................................................408 SHOW IP COUNTER......................................................................................................................................410 SHOW IP INTERFACE ...................................................................................................................................412 SHOW IP ROUTE ...........................................................................................................................................414

Section VIII: Port Security .....................................................................................419

Chapter 23: 802.1x Port-based Network Access Control Commands ....................................................421 DISABLE PORTACCESS|PORTAUTH ..........................................................................................................422 DISABLE RADIUSACCOUNTING ..................................................................................................................423 ENABLE PORTACCESS|PORTAUTH ...........................................................................................................424 ENABLE RADIUSACCOUNTING ...................................................................................................................425 SET PORTACCESS|PORTAUTH PORT ROLE=AUTHENTICATOR ............................................................426 SET PORTACCESS|PORTAUTH PORT ROLE=SUPPLICANT ....................................................................435 SET RADIUSACCOUNTING ..........................................................................................................................437 SHOW PORTACCESS|PORTAUTH ..............................................................................................................439 SHOW PORTACCESS|PORTAUTH PORT ...................................................................................................441 SHOW RADIUSACCOUNTING ......................................................................................................................444

8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download