Management Software AT-S62 ◆ Command Line Interface User’s Guide AT-8500 Series Layer 2+ Fast Ethernet Switches Version 1.4.0 613-50486-00 Rev.
Copyright © 2006 Allied Telesyn, Inc. All rights reserved. No part of this publication may be reproduced without prior written permission from Allied Telesyn, Inc. 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 Telesyn, Inc.
Contents Preface ............................................................................................................................................................ 15 How This Guide is Organized........................................................................................................................... 16 Document Conventions ....................................................................................................................................
Contents RESTART SWITCH .......................................................................................................................................... 58 SET ASYN ........................................................................................................................................................ 60 SET IP INTERFACE ......................................................................................................................................... 61 SET IP ROUTE .........
AT-S62 Management Software Command Line Interface User’s Guide ENABLE SWITCH PORT ............................................................................................................................... 131 ENABLE SWITCH PORT FLOW.................................................................................................................... 132 PURGE SWITCH PORT.................................................................................................................................
Contents Chapter 13: File Download and Upload Commands .................................................................................209 LOAD METHOD=LOCAL................................................................................................................................210 LOAD METHOD=TFTP...................................................................................................................................212 LOAD METHOD=XMODEM ....................................................
AT-S62 Management Software Command Line Interface User’s Guide SHOW QOS FLOWGROUP........................................................................................................................... 319 SHOW QOS POLICY ..................................................................................................................................... 321 SHOW QOS TRAFFICCLASS .......................................................................................................................
Contents CREATE SNMPV3 GROUP ...........................................................................................................................396 CREATE SNMPV3 NOTIFY ...........................................................................................................................398 CREATE SNMPV3 TARGETADDR ................................................................................................................400 CREATE SNMPV3 TARGETPARAMS .......................................
AT-S62 Management Software Command Line Interface User’s Guide Chapter 26: Multiple Spanning Tree Protocol Commands ...................................................................... 475 ACTIVATE MSTP ........................................................................................................................................... 476 ADD MSTP .....................................................................................................................................................
Contents Section VI: Port Security ........................................................................................543 Chapter 30: MAC Address-based Port Security Commands ...................................................................545 SET SWITCH PORT INTRUSIONACTION.....................................................................................................546 SET SWITCH PORT SECURITYMODE ...............................................................................................
AT-S62 Management Software Command Line Interface User’s Guide Chapter 37: TACACS+ and RADIUS Commands ...................................................................................... 625 ADD RADIUSSERVER................................................................................................................................... 626 ADD TACACSSERVER..................................................................................................................................
Contents 12
Tables Table 1. New Features in AT-S62 Version 1.4.0 .................................................................................................................20 Table 2. Module Variable .....................................................................................................................................................72 Table 3. File Extensions and File Types ............................................................................................................................
Tables 14
Preface This guide contains instructions on how to configure an AT-8500 Series Layer 2 Gigabit Ethernet switch using the command line interface in the AT-S62 management software. For instructions on how to manage the switch from the menus or web browser interface, refer to the AT-S62 Management Software Menus Interface User’s Guide or the AT-S62 Management Software Web Browser Interface User’s Guide. The guides are available from the Allied Telesyn web site.
Preface How This Guide is Organized This guide is organized into the following sections Section I: Basic Operations The chapters in this section contain the commands for performing a variety of basic operations, such as configuring a switch’s IP configuration, setting port parameters, and using enhanced stacking.
AT-S62 Management Software Command Line Interface User’s Guide Document Conventions This document uses the following conventions: Note Notes provide additional information. Caution Cautions inform you that performing or omitting a specific action may result in equipment damage or loss of data. Warning Warnings inform you that performing or omitting a specific action may result in bodily injury.
Preface Where to Find Web-based Guides The installation and user guides for all Allied Telesyn products are available in portable document format (PDF) on our web site at www.alliedtelesyn.com. You can view the documents online or download them onto a local workstation or server.
AT-S62 Management Software Command Line Interface User’s Guide Contacting Allied Telesyn This section provides Allied Telesyn contact information for technical support as well as sales and corporate information. Online Support You can request technical support online by accessing the Allied Telesyn Knowledge Base: http://kb.alliedtelesyn.com. You can use the Knowledge Base to submit questions to our technical support staff and review answers to previously asked questions.
Preface New Features History AT-S62 Version 1.4.0 Table 1 lists the new features in version 1.4.0 of the AT-S62 management software. Table 1. New Features in AT-S62 Version 1.4.0 Change Chapter and Command Basic Switch Commands Modified the SHOW CONFIG DYN command to display the parameter settings of individual switch modules. Chapter 3, “Basic Switch Commands” on page 41 Modified command: Added a fan control feature for the AT-8524POE switch.
AT-S62 Management Software Command Line Interface User’s Guide Table 1. New Features in AT-S62 Version 1.4.0 (Continued) Change Chapter and Command Quality of Service - Policies Added the following parameters to the commands for creating and modifying QoS policies: TOS, MOVETOSTOPRIORITY and MOVEPRIORITYTOTOS, as defined above.
Preface 22
Section I Basic Operations The chapters in this section provide information and procedures for basic switch setup using the AT-S62 management software.
Section I: Basic Operations
Chapter 1 Starting a Command Line Management Session This chapter contains the following topics: “Starting a Command Line Management Session” on page 26 “Command Line Interface Features” on page 27 “Command Formatting” on page 28 “Ports 49R and 50R on the AT-8550GB and AT-8550SP Switches” on page 29 25
Chapter 1: Starting a Command Line Management Session Starting a Command Line Management Session The command line interface is supported from a local, Telnet, or SSH management session of an AT-8500 Series switch. For instructions on how to start a local or remote management session, refer to the AT-S62 Management Software Menus Interface User’s Guide. The default management interface when you start a session is the command line interface (CLI).
AT-S62 Management Software Command Line Interface User’s Guide Command Line Interface Features The following features are supported in the command line interface: Section I: Basic Operations Command history - Use the up and down arrow keys. Context-specific help - Press the question mark key at any time to see a list of legal next parameters. Keyword abbreviations - Any keyword can be recognized by typing an unambiguous prefix, for example, “sh” for “show”.
Chapter 1: Starting a Command Line Management Session Command Formatting The following formatting conventions are used in this manual: screen text font - This font illustrates the format of a command and command examples. 28 screen text font - Italicized screen text indicates a variable for you to enter. [ ] - Brackets indicate optional parameters. | - Vertical line separates parameter options for you to choose from.
AT-S62 Management Software Command Line Interface User’s Guide Ports 49R and 50R on the AT-8550GB and AT-8550SP Switches This section applies to the 10/100/1000Base-T twisted pair ports 49R and 50R and the SFP and GBIC slots on the AT-8550GB and AT-8550SP switches. Note the following when configuring these ports: Twisted pair ports 49R and 50R change to the redundant status mode when an SFP or GBIC module is installed and establishes a link with its end node.
Chapter 1: Starting a Command Line Management Session 30 Section I: Basic Operations
Chapter 2 Basic Command Line Commands This chapter contains the following commands: “CLEAR SCREEN” on page 32 “EXIT” on page 33 “HELP” on page 34 “LOGOFF, LOGOUT and QUIT” on page 35 “MENU” on page 36 “SAVE CONFIGURATION” on page 37 “SET PROMPT” on page 38 “SET SWITCH CONSOLEMODE” on page 39 “SHOW USER” on page 40 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 2: Basic Command Line Commands CLEAR SCREEN Syntax clear screen Parameters None. Description This command clears the screen.
AT-S62 Management Software Command Line Interface User’s Guide EXIT Syntax exit Parameters None. Description This command ends a management session. If you are managing a slave switch, the command returns you to the master switch from where you started the management session. Example The following command ends the current management session: exit Equivalent Commands logoff logout quit For information, see “LOGOFF, LOGOUT and QUIT” on page 35.
Chapter 2: Basic Command Line Commands HELP Syntax help Parameters None. Description This command displays a list of the CLI keywords with a brief description for each keyword.
AT-S62 Management Software Command Line Interface User’s Guide LOGOFF, LOGOUT and QUIT Syntax logoff logout quit Parameters None. Description These three commands all perform the same function: they end a management session. If you are managing a slave switch, the commands return you to the master switch from which you started the management session.
Chapter 2: Basic Command Line Commands MENU Syntax menu Parameters None. Description This command displays the AT-S62 Main Menu. For instructions on how to use the menus, refer to the AT-S62 Management Software Menus Interface User’s Guide. Example The following command displays the AT-S62 Main Menu: menu Equivalent Command exit For information, see “EXIT” on page 33.
AT-S62 Management Software Command Line Interface User’s Guide SAVE CONFIGURATION Syntax save configuration Parameters None. Description This command saves your changes to the switch’s active boot configuration file for permanent storage. Whenever you make a change to an operating parameter of the switch, such as enter a new IP address or create a new VLAN, the change is stored in temporary memory. It will be lost the next time you reset the switch or power cycle the unit.
Chapter 2: Basic Command Line Commands SET PROMPT Syntax set prompt="prompt" Parameter prompt Specifies the command line prompt. The prompt can be from one to 12 alphanumeric characters. Spaces and special characters are allowed. The prompt must be enclosed in quotes. Description This command changes the command prompt. Assigning each switch a different command prompt can make it easier for you to identify the different switches in your network when you manage them.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH CONSOLEMODE Syntax set switch consolemode=menu|cli Parameter consolemode Specifies the mode you want management sessions to start in. Options are: menu Specifies the AT-S62 Main Menu. cli Specifies the command line prompt. This is the default. Description You use this command to specify whether you want your management sessions to start by displaying the command line interface (CLI) or the AT-S62 Main Menu.
Chapter 2: Basic Command Line Commands SHOW USER Syntax show user Parameter None. Description Displays the user account you used to log on to manage the switch.
Chapter 3 Basic Switch Commands This chapter contains the following commands: “DISABLE DHCPBOOTP” on page 43 “DISABLE IP REMOTEASSIGN” on page 44 “DISABLE TELNET” on page 45 “ENABLE BOOTP” on page 46 “ENABLE DHCP” on page 47 “ENABLE IP REMOTEASSIGN” on page 49 “ENABLE TELNET” on page 51 “FORMAT DEVICE” on page 52 “PING” on page 53 “PURGE IP” on page 54 “RESET SWITCH” on page 55 “RESET SYSTEM” on page 56 “RESTART REBOOT” on page 57 “RESTART SWITCH” on
Chapter 3: Basic Switch Commands “SHOW SWITCH” on page 80 “SHOW SYSTEM” on page 83 “SHOW SYSTEM FANCONTROL” on page 85 Note Remember to save your changes with the SAVE CONFIGURATION command.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE DHCPBOOTP Syntax disable dhcpbootp Parameters None. Description This command deactivates the DHCP and BOOTP client software on the switch. The default setting for the DHCP and BOOTP client software is disabled. To activate the DHCP or BOOTP client software, refer to “ENABLE BOOTP” on page 46, “ENABLE DHCP” on page 47, “ENABLE IP REMOTEASSIGN” on page 49, or “SET IP INTERFACE” on page 61.
Chapter 3: Basic Switch Commands DISABLE IP REMOTEASSIGN Syntax disable ip remoteassign Parameters None. Description This command deactivates the DHCP and BOOTP client software on the switch. The default setting for the DHCP and BOOTP client software is disabled. To activate the DHCP or BOOTP client software, refer to “ENABLE BOOTP” on page 46, “ENABLE DHCP” on page 47, “ENABLE IP REMOTEASSIGN” on page 49, or “SET IP INTERFACE” on page 61.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE TELNET Syntax disable telnet Parameters None. Description This command disables the Telnet server software on the switch. You can disable the server software if you do not want anyone to manage the switch using the Telnet application protocol or if you plan to use the Secure Shell protocol. The default setting for the Telnet server is enabled.
Chapter 3: Basic Switch Commands ENABLE BOOTP Syntax enable bootp Parameters None. Description This command activates the BOOTP client software on the switch. The default setting for the BOOTP client software is disabled. When activating the BOOTP client software, note the following: The switch immediately begins to query the network for a BOOTP server after the command is entered. The switch continues to query the network for its IP configuration until it receives a response.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE DHCP Syntax enable dhcp Parameters None. Description This command activates the DHCP client software on the switch. The default setting for the DHCP client software is disabled. When activating the DHCP client software, note the following: The switch immediately begins to query the network for a DHCP server after the command is entered. The switch continues to query the network for its IP configuration until it receives a response.
Chapter 3: Basic Switch Commands set ip interface=eth0 ipaddress=dhcp For information, see “SET IP INTERFACE” on page 61.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE IP REMOTEASSIGN Syntax enable ip remoteassign Parameters None. Description This command activates the DHCP client software on the switch. The default setting for the DHCP client software is disabled. When activating the DHCP client software, note the following: The switch immediately begins to query the network for a DHCP server after the command is entered.
Chapter 3: Basic Switch Commands set ip interface=eth0 ipaddress=dhcp For information, see “SET IP INTERFACE” on page 61.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE TELNET Syntax enable telnet Parameters None. Description This command activates the Telnet server on the switch. With the server activated, you can manage the switch using the Telnet application protocol from any management station on your network. To disable the server, refer to “DISABLE TELNET” on page 45. The default setting for the Telnet server is enabled.
Chapter 3: Basic Switch Commands FORMAT DEVICE Syntax format device=flash Parameter device Specifies the device to format. The only option is “Flash” for the switch’s file system. Description This command formats the flash memory in the switch. It deletes all files in the switch’s file system, as well as all encryption keys in the key database and security certificates in the PKI certificate database. The active AT-S62 image file stored in the application block is not deleted.
AT-S62 Management Software Command Line Interface User’s Guide PING Syntax ping ipaddress Parameter ipaddress Specifies the IP address of an end node you want the switch to ping. Description This command instructs the switch to ping an end node. You can use this command to determine whether a valid link exists between the switch and another device. Note the following before using this command: The switch must have an IP address. The device being pinged must be a member of the management VLAN.
Chapter 3: Basic Switch Commands PURGE IP Syntax purge ip [ipaddress] [netmask] [route] Parameters ipaddress Returns the switch’s IP address to the default setting 0.0.0.0. netmask Returns the subnet mask to the default setting 0.0.0.0. route Returns the gateway address to the default setting 0.0.0.0. Description This command returns the switch’s IP address, subnet mask, and default gateway address to the default settings.
AT-S62 Management Software Command Line Interface User’s Guide RESET SWITCH Syntax reset switch Parameters None. Description This command does the following: Performs a soft reset on all ports. The reset takes less than a second to complete. The ports retain their current operating parameter settings. To perform this function on a per-port basis, refer to “RESET SWITCH PORT” on page 134. Resets the statistics counters for all ports to zero.
Chapter 3: Basic Switch Commands RESET SYSTEM Syntax reset system [name] [contact] [location] Parameters name Deletes the switch’s name. contact Deletes the switch’s contact. location Deletes the switch’s location. Description This command delete’s the switch’s name, the name of the network administrator responsible for managing the unit, and the location of the unit. To set these parameters, refer to “SET SYSTEM” on page 67. To view the current settings, refer to “SHOW SYSTEM” on page 83.
AT-S62 Management Software Command Line Interface User’s Guide RESTART REBOOT Syntax restart reboot Parameters None. Description This command resets the switch. The switch runs its internal diagnostics, loads the AT-S62 management software, and configures its parameter settings using the active boot configuration file. The reset can take from 20 seconds to two minutes to complete, depending on the number and complexity of the commands in the active boot configuration file.
Chapter 3: Basic Switch Commands RESTART SWITCH Syntax restart switch config=none|filename.cfg Parameters config Specifies the configuration file. The file must already exist on the switch. The NONE option returns the switch to its default values. Description This command loads a different configuration file on the switch or returns the switch’s parameter settings to their default values. This command can also be used to reset the switch.
AT-S62 Management Software Command Line Interface User’s Guide Note For a list of default values, refer to Appendix A, “AT-S62 Default Settings” in the AT-S62 Management Software Menus Interface User’s Guide. This command does not change the assignment of the active boot configuration file, the configuration file the switch uses the next time it is reset. If you reset or power cycle the switch, the switch uses the previous configuration.
Chapter 3: Basic Switch Commands SET ASYN Syntax set asyn [speed=1200|2400|4800|9600|19200|38400| 57600|115200] [prompt=”prompt”] Parameters speed Sets the speed (baud rate) of the serial terminal port on the switch. The default is 9600 bps. prompt Specifies the command line prompt. The prompt can be from one to 12 alphanumeric characters. Spaces and special characters are allowed. The prompt must be enclosed in double quotes. This parameter performs the same function as “SET PROMPT” on page 38.
AT-S62 Management Software Command Line Interface User’s Guide SET IP INTERFACE Syntax set ip interface=eth0 ipaddress=ipaddress|bootp|dhcp mask|netmask=subnetmask Parameters interface Specifies the interface number. This value is always eth0. ipaddress Specifies an IP address for the switch or activates the BOOTP or DHCP client software. mask or netmask Specifies the subnet mask for the switch. You must specify a subnet mask when you manually assign the switch an IP address.
Chapter 3: Basic Switch Commands To display the current IP address and subnet mask, refer to “SHOW IP INTERFACE” on page 78. To return the IP address and subnet mask to their default values, refer to “PURGE IP” on page 54. Examples The following command sets the switch’s IP address to 140.35.22.22 and the subnet mask to 255.255.255.0: set ip interface=eth0 ipaddress=140.35.22.22 netmask=255.255.255.0 The following command sets just the subnet mask: set ip interface=eth0 netmask=255.255.255.
AT-S62 Management Software Command Line Interface User’s Guide SET IP ROUTE Syntax set ip route ipaddress=ipaddress Parameter ipaddress Specifies the IP address of the default gateway for the switch. Description This command specifies the IP address of the default gateway for the switch. This IP address is required if you intend to remotely manage the device from a remote management station that is separated from the unit by a router.
Chapter 3: Basic Switch Commands SET PASSWORD MANAGER Syntax set password manager Parameters None. Description This command sets the manager’s password. The manager account allows you to view and change all switch parameters. The default password is “friend.” The password can be from 0 to 16 alphanumeric characters. Allied Telesyn recommends that you avoid special characters, such as spaces, asterisks, or exclamation points because some web browsers do not accept them in passwords.
AT-S62 Management Software Command Line Interface User’s Guide SET PASSWORD OPERATOR Syntax set password operator Parameters None. Description This command sets the operator’s password. Logging in as operator allows you to only view the switch parameters. The default password is “operator.” The password can be from 0 to 16 alphanumeric characters.
Chapter 3: Basic Switch Commands SET SWITCH CONSOLETIMER Syntax set switch consoletimer=value Parameter consoletimer Specifies the console timer in minutes. The range is 1 to 60 minutes. The default is 10 minutes. Description This command sets the console timer, which is used by the management software to end inactive management sessions.
AT-S62 Management Software Command Line Interface User’s Guide SET SYSTEM Syntax set system [name="name"] [contact="contact"] [location="location"] Parameters name Specifies the name of the switch. The name can be from 1 to 39 alphanumeric characters in length and must be enclosed in double quotes (“ “). Spaces are allowed. contact Specifies the name of the network administrator responsible for managing the switch.
Chapter 3: Basic Switch Commands SET SYSTEM FANCONTROL Syntax set system fancontrol=on|off|enable|disable Parameter fancontrol Activates and deactivates fan control. Options are: on or enable Activates fan control. off or disable Deactivates fan control. This is the default setting. Description Note This command only applies to the AT-8524POE switch.
AT-S62 Management Software Command Line Interface User’s Guide The fifth cooling fan is not controlled by this feature and operates are full speed at all times. To view the status of the fan feature and the cooling fans, refer to “SHOW SYSTEM FANCONTROL” on page 85.
Chapter 3: Basic Switch Commands SET USER PASSWORD Syntax set user manager|operator password=password Parameter password Specifies the password. Description This command sets the manager or operator’s password. The default manager password is “friend.” The default operator password is “operator.” The password can be from 0 to 16 alphanumeric characters.
AT-S62 Management Software Command Line Interface User’s Guide SHOW ASYN Syntax show asyn Parameters None. Description This command displays the settings for the serial terminal port on the switch, used for local management of the device. An example of the display is shown in Figure 1. Asynchronous Port (Console) Information: Baud Rate ................................. Parity .................................... Data bits ................................. Stop bits .................................
Chapter 3: Basic Switch Commands SHOW CONFIG DYNAMIC Syntax show config dynamic[=module] Parameters module Displays the settings of a particular switch module. You can specify only one module at a time. For a list of modules, refer to Table 2. Description This command displays the settings of the switch parameters that have been changed from their default values, including those not yet saved to the active boot configuration file. The parameters are displayed in their command line command equivalents.
AT-S62 Management Software Command Line Interface User’s Guide Table 2.
Chapter 3: Basic Switch Commands Table 2.
AT-S62 Management Software Command Line Interface User’s Guide SHOW CONFIG INFO Syntax show config info Parameters None. Description This command is equivalent to all other SHOW commands. It displays the settings for all switch parameters, including those not yet saved to the active boot configuration file.
Chapter 3: Basic Switch Commands SHOW DHCPBOOTP Syntax show dhcpbootp Parameters None. Description This command displays the status of the DHCP and BOOTP client software on the switch. If neither is activated on the switch, the command displays the message in Figure 3. DHCP/BOOTP Information: Status ............................... DISABLE Figure 3. SHOW DHCPBOOTP Command If DHCP is activated, the command displays the prompt in Figure 4. DHCP/BOOTP Information: Status ...............................
AT-S62 Management Software Command Line Interface User’s Guide Example The following command displays the status of the DHCP and BOOTP client software: show dhcpbootp Section I: Basic Operations 77
Chapter 3: Basic Switch Commands SHOW IP INTERFACE Syntax show ip interface=eth0 Parameter interface Specifies the switch’s interface number. This value is always eth0. Description This command displays the IP address, subnet mask, and default gateway address of the switch. Figure 6 is an example of the information displayed by this command. IP Interface Information: IP Address ........................... 149.44.44.44 Net Mask ............................. 255.255.255.0 Default Route ...................
AT-S62 Management Software Command Line Interface User’s Guide SHOW IP ROUTE Syntax show ip route Parameters None. Description This command displays the switch’s default gateway address. To manually set the default gateway address, refer to “SET IP ROUTE” on page 63.
Chapter 3: Basic Switch Commands SHOW SWITCH Syntax show switch Parameters None. Description This command displays a variety of switch parameters. An example of the display is shown in Figure 7. Switch Information: Application Software Version ......... Application Software Build Date ...... Bootloader Version ................... Bootloader Build Date ................ MAC Address .......................... VLAN Mode ............................ Management VLAN ...................... Ingress Filtering ...
AT-S62 Management Software Command Line Interface User’s Guide VLAN mode - The switch’s VLAN mode. The three possible VLAN modes are: User configured (for creating your own port-based and tagged VLANs) 802.1Q-compliant Non-802.1Q-compliant. The default is user configured. To set a switch’s VLAN mode, refer to “SET SWITCH VLANMODE” on page 512. Section I: Basic Operations Management VLAN - The ID number of the management VLAN.
Chapter 3: Basic Switch Commands To enable or disable the server, refer to “ENABLE HTTP SERVER” on page 581 and “DISABLE HTTP SERVER” on page 580. Telnet server status - The status of the Telnet server. When the Telnet server is disabled, you cannot remotely manage the switch using the Telnet application protocol. The default setting is enabled. To enable or disable the server, refer to “ENABLE TELNET” on page 51 and “DISABLE TELNET” on page 45.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SYSTEM Syntax show system Parameters None. Description This command displays the following information: MAC address - The MAC address of the switch. This value cannot be changed. Model Name - The switch model. This value cannot be changed. Serial Number - The switch’s serial number. This value cannot be changed. IP Address - The switch’s IP address for remote management. Subnet mask - The switch’s subnet mask.
Chapter 3: Basic Switch Commands Note To set the system name, administrator, or comments, refer to “SET SYSTEM” on page 67. System Power - The status of the power voltages from the power supply. System Temperature - The ambient air temperature as measured where the air enters the cooling vents on the side of the switch. System Fan Speed - The speed of the cooling fans. The number of fans vary by model.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SYSTEM FANCONTROL Syntax show system fancontrol Parameters None. Description Note This command only applies to the AT-8524POE switch. This command displays the status of the fan control feature and the cooling fans in the switch.
Chapter 3: Basic Switch Commands Fan# - The fan number. The system has five cooling fans. Fans 1 to 4 are managed by the fan control feature. Fan 5 operates at its highest possible speed at all times. RPM - The current speed of the fan in revolutions per minute (RPM). The highest speed is approximately 11,000 RPM for fans 1 to 4 and 6,500 RPM for fan 5. RPM is displayed in increments of 100. % - The speed of the fan as a percentage of its highest possible operating speed.
Chapter 4 Enhanced Stacking Commands This chapter contains the following commands: “ACCESS SWITCH” on page 88 “SET SWITCH STACKMODE” on page 90 “SHOW REMOTELIST” on page 92 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 4, “Enhanced Stacking” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 4: Enhanced Stacking Commands ACCESS SWITCH Syntax access switch number=number|macaddress=macaddress Parameters number Specifies the number of the switch in an enhanced stack that you want to manage. You view this number using the SHOW REMOTELIST command. macaddress Specifies the MAC address of the switch you want to manage. This can also be displayed using the SHOW REMOTELIST command.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command starts a management session on switch number 12: access switch number=12 The following command starts a management session on a switch with the MAC address 00:30:84:52:02:11 access switch macaddress=003084520211 Section I: Basic Operations 89
Chapter 4: Enhanced Stacking Commands SET SWITCH STACKMODE Syntax set switch stackmode=master|slave|unavailable Parameter stackmode Specifies the enhanced stacking mode of the switch. The options are: master Specifies the switch’s stacking mode as master. A master switch must be assigned an IP address and subnet mask. slave Specifies the switch’s stacking mode as slave. A slave does not need an IP address. This is the default setting for a switch.
AT-S62 Management Software Command Line Interface User’s Guide Example The following command sets the switch’s stacking status to master: set switch stackmode=master Section I: Basic Operations 91
Chapter 4: Enhanced Stacking Commands SHOW REMOTELIST Syntax show remotelist [sorted by=macaddress|name] Parameter sorted Sorts the list either by MAC address or by name. The default is by MAC address. Description This command displays the list of switches in an enhanced stack. The list does not include the master switch where you started the management session or switches with a stacking status of unavailable.
AT-S62 Management Software Command Line Interface User’s Guide The following command displays the switches sorted by name: show remotelist sorted by=name Section I: Basic Operations 93
Chapter 4: Enhanced Stacking Commands 94 Section I: Basic Operations
Chapter 5 Simple Network Time Protocol (SNTP) Commands This chapter contains the following commands: “ADD SNTPSERVER PEER|IPADDRESS” on page 96 “DELETE SNTPSERVER PEER|IPADDRESS” on page 97 “DISABLE SNTP” on page 98 “ENABLE SNTP” on page 99 “PURGE SNTP” on page 100 “SET DATE” on page 101 “SET SNTP” on page 102 “SET TIME” on page 103 “SHOW SNTP” on page 104 “SHOW TIME” on page 106 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 5: Simple Network Time Protocol (SNTP) Commands ADD SNTPSERVER PEER|IPADDRESS Syntax add sntpserver peer|ipaddress=ipaddress Parameter peer or ipaddress Specifies the IP address of an SNTP server. These parameters are equivalent. Description This command adds the IP address of an SNTP server to the SNTP client software on the switch. The switch uses the SNTP server to set its date and time. If an IP address has already been assigned, the new address overwrites the old address.
AT-S62 Management Software Command Line Interface User’s Guide DELETE SNTPSERVER PEER|IPADDRESS Syntax delete sntpserver peer|ipaddress=ipaddress Parameter peer or ipaddress Specifies the IP address of an SNTP server. The parameters are equivalent. Description This command deletes the IP address of the SNTP server from the SNTP client software on the switch and returns the parameter to the default value of 0.0.0.0. To view the IP address, refer to “SHOW SNTP” on page 104.
Chapter 5: Simple Network Time Protocol (SNTP) Commands DISABLE SNTP Syntax disable sntp Parameters None. Description This command disables the SNTP client software on the switch. The default setting for SNTP is disabled.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE SNTP Syntax enable sntp Parameters None. Description This command activates the SNTP client software on the switch. The default setting for SNTP is disabled. With SNTP enabled, the switch will obtain its date and time from an SNTP server, assuming that you have specified a server IP address with “ADD SNTPSERVER PEER|IPADDRESS” on page 96.
Chapter 5: Simple Network Time Protocol (SNTP) Commands PURGE SNTP Syntax purge sntp Parameters None. Description This command clears the SNTP configuration and disables the SNTP server. To disable SNTP and retain the configuration, see “DISABLE SNTP” on page 98.
AT-S62 Management Software Command Line Interface User’s Guide SET DATE Syntax set date=dd-mm-yyyy Parameter date Specifies the date for the switch in day-month-year format. Description This command sets the date on the switch. You can use this command to set the switch’s date if you are not using an SNTP server. Note The system’s date when set with this command, are lost whenever you power cycle or reset the switch.
Chapter 5: Simple Network Time Protocol (SNTP) Commands SET SNTP Syntax set sntp [dst=enabled|disabled] [pollinterval=value] [utcoffset=value] Parameters dst Enables or disables daylight savings time. pollinterval Specifies the time interval between two successive queries to the SNTP server. The range is 60 to 1200 seconds. The default is 600 seconds. utcoffset Specifies the time difference in hours between UTC and local time. The range is -12 to +12 hours. The default is 0 hours.
AT-S62 Management Software Command Line Interface User’s Guide SET TIME Syntax set time=hh:mm:ss Parameter time Specifies the hour, minute, and second for the switch’s time in 24-hour format. Description This command sets the time on the switch. You can use this command to set the switch’s time if you are not using an SNTP server. Note The system’s time when set with this command, are lost whenever you power cycle or reset the switch.
Chapter 5: Simple Network Time Protocol (SNTP) Commands SHOW SNTP Syntax show sntp Parameters None. Description This command displays the current settings for the client SNTP software on the switch. An example of the display is shown in Figure 10. SNTP Configuration: Status ........................ Server ........................ UTC Offset .................... Daylight Savings Time (DST) ... Poll Interval ................. Last Delta .................... Disabled 0.0.0.
AT-S62 Management Software Command Line Interface User’s Guide Example The following command displays SNTP client software information: show sntp Section I: Basic Operations 105
Chapter 5: Simple Network Time Protocol (SNTP) Commands SHOW TIME Syntax show time Parameters None. Description This command shows the system’s current date and time. Example The following command shows the system’s date and time.
Chapter 6 SNMPv2 and SNMPv2c Commands This chapter contains the following commands: “ADD SNMP COMMUNITY” on page 108 “CREATE SNMP COMMUNITY” on page 109 “DELETE SNMP COMMUNITY” on page 112 “DESTROY SNMP COMMUNITY” on page 113 “DISABLE SNMP” on page 114 “DISABLE SNMP AUTHENTICATETRAP” on page 115 “DISABLE SNMP COMMUNITY” on page 116 “ENABLE SNMP” on page 117 “ENABLE SNMP AUTHENTICATETRAP” on page 118 “ENABLE SNMP COMMUNITY” on page 119 “SET SNMP COMMUNITY” on page
Chapter 6: SNMPv2 and SNMPv2c Commands ADD SNMP COMMUNITY Syntax add snmp community=community [traphost=ipaddress] [manager=ipaddress] Parameters community Specifies an existing SNMP community string on the switch. This parameter is case sensitive. traphost Specifies the IP address of a trap receiver. manager Specifies the IP address of a management station to have SNMP access to the switch using the community string.
AT-S62 Management Software Command Line Interface User’s Guide CREATE SNMP COMMUNITY Syntax create snmp community=community [access=read|write] [open=yes|no|on|off|true|false] [traphost=ipaddress] [manager=ipaddress] Parameters community Specifies a new community string. The name can be up to 32 alphanumeric characters. No spaces or special characters (such as /, #, or &) are allowed. The string is case sensitive. access Specifies the access level of the new community string.
Chapter 6: SNMPv2 and SNMPv2c Commands Description This command creates a new SNMP community string on the switch. The switch comes with two default community strings, “public,” with an access of read only, and “private,” with an access level of read and write. A switch can support up to eight community strings. The COMMUNITY parameter specifies the new community string. The string can be up to 32 alphanumeric characters. No spaces or special characters (such as /, #, or &) are allowed.
AT-S62 Management Software Command Line Interface User’s Guide management station that will use the string: create snmp community=wind11 access=write open=no manager=149.35.24.22 (The OPEN=NO parameter can be omitted from the example because closed status is the default for a new community string.) This command creates a community string called “serv12” with a closed status.
Chapter 6: SNMPv2 and SNMPv2c Commands DELETE SNMP COMMUNITY Syntax delete snmp community=community traphost=ipaddress manager=ipaddress Parameters community Specifies the SNMP community string on the switch to be modified. The community string must already exist on the switch. This parameter is case sensitive. traphost Specifies the IP address of a trap receiver to be removed from the community string. manager Specifies the IP address of a management station to be removed from the community string.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY SNMP COMMUNITY Syntax destroy snmp community=community Parameter community Specifies an SNMP community string to delete from the switch. This parameter is case sensitive. Description This command deletes an SNMP community string from the switch. IP addresses of management stations and SNMP trap receivers assigned to the community string are deleted as well.
Chapter 6: SNMPv2 and SNMPv2c Commands DISABLE SNMP Syntax disable snmp Parameters None. Description This command disables SNMP on the switch. You cannot manage the unit from an SNMP management station when SNMP is disabled. The default setting for SNMP is disabled.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE SNMP AUTHENTICATETRAP Syntax disable snmp authenticatetrap|authenticate_trap Parameters None. Description This command stops the switch from sending authentication failure traps to trap receivers. However, the switch will continue to send other system traps, such as alarm traps. The default setting for sending authentication failure traps is disabled. The AUTHENTICATETRAP and AUTHENTICATE_TRAP keywords are equivalent.
Chapter 6: SNMPv2 and SNMPv2c Commands DISABLE SNMP COMMUNITY Syntax disable snmp community=community Parameter community Specifies an SNMP community string to disable on the switch. This parameter is case sensitive. Description This command disables a community string on the switch, while leaving SNMP and all other community strings active. IP addresses of management stations or trap receivers assigned to the community string are also disabled.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE SNMP Syntax enable snmp Parameters None. Description This command activates SNMP on the switch so that you can remotely manage the unit with an SNMP application program from a management station on your network. It also enables the switch to send SNMP traps to trap receivers. The default setting for SNMP on the switch is disabled.
Chapter 6: SNMPv2 and SNMPv2c Commands ENABLE SNMP AUTHENTICATETRAP Syntax enable snmp authenticatetrap|authenticate_trap Parameters None. Description This command configures the switch to send authentication failure traps to trap receivers.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE SNMP COMMUNITY Syntax enable snmp community=community Parameter community Specifies an SNMP community string. This parameter is case sensitive. Description This command activates a community string on the switch. The default setting for a new community string is enabled. You can use this command to enable a community string that you disabled with the DISABLE SNMP COMMUNITY command.
Chapter 6: SNMPv2 and SNMPv2c Commands SET SNMP COMMUNITY Syntax set snmp community=community [access=read|write] [open=yes|no|on|off|true|false] Parameters community Specifies the SNMP community string whose access level or access status is to be changed. This community string must already exist on the switch. This parameter is case sensitive. access Specifies the new access level. Options are “read” for read only access and “write” for both read and write access.
AT-S62 Management Software Command Line Interface User’s Guide The following command changes the access level for the SNMP community string “serv12” to read and write with open access: set snmp community=serv12 access=write open=yes Section I: Basic Operations 121
Chapter 6: SNMPv2 and SNMPv2c Commands SHOW SNMP Syntax show snmp [community=community] Parameter community Specifies a community string on the switch. This parameter is case sensitive. Description This command displays the following SNMP information: SNMP status - The status will be enabled or disabled. If enabled, you can manage the switch with an SNMP application program from a remote management station. If disabled, you cannot remotely manage the switch using SNMP.
AT-S62 Management Software Command Line Interface User’s Guide addresses of management stations to a community string, refer to “ADD SNMP COMMUNITY” on page 108. Trap receiver IP addresses - These are the IP addresses of management stations to receive SNMP traps from the switch. (IP addresses or trap receivers are displayed only when you specify a specific community string using the COMMUNITY parameter in this command.
Chapter 6: SNMPv2 and SNMPv2c Commands 124 Section I: Basic Operations
Chapter 7 Port Parameter Commands This chapter contains the following commands: “ACTIVATE SWITCH PORT” on page 126 “DISABLE INTERFACE LINKTRAP” on page 127 “DISABLE SWITCH PORT” on page 128 “DISABLE SWITCH PORT FLOW” on page 129 “ENABLE INTERFACE LINKTRAP” on page 130 “ENABLE SWITCH PORT” on page 131 “ENABLE SWITCH PORT FLOW” on page 132 “PURGE SWITCH PORT” on page 133 “RESET SWITCH PORT” on page 134 “RESET SWITCH PORT COUNTER” on page 135 “SET SWITCH PORT” on pa
Chapter 7: Port Parameter Commands ACTIVATE SWITCH PORT Syntax activate switch port=port autonegotiate Parameter port Specifies a port. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command prompts a port that is using Auto-Negotiation to renegotiate its settings with its end node.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE INTERFACE LINKTRAP Syntax disable interface=port linktrap Parameter port Specifies the port on which you want to disable SNMP link traps. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command disables SNMP link traps on a port.
Chapter 7: Port Parameter Commands DISABLE SWITCH PORT Syntax disable switch port=port Parameter port Specifies the port to disable. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command disables a port. When a port is disabled, it stops forwarding traffic. The default setting for a port is enabled.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE SWITCH PORT FLOW Syntax disable switch port=port flow=pause Parameter port Specifies the port where you want to deactivate flow control. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command deactivates flow control on a port.
Chapter 7: Port Parameter Commands ENABLE INTERFACE LINKTRAP Syntax enable interface=port linktrap Parameter port Specifies the port on which you want to enable SNMP link traps. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command activates SNMP link traps on the port.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE SWITCH PORT Syntax enable switch port=port Parameter port Specifies the port to enable. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command enables a port. When a port is enabled, it forwards traffic. The default setting for a port is enabled.
Chapter 7: Port Parameter Commands ENABLE SWITCH PORT FLOW Syntax enable switch port=port flow=pause Parameter port Specifies the port where you want to activate flow control. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command activates flow control on a port. Flow control only applies to ports operating in full duplex mode.
AT-S62 Management Software Command Line Interface User’s Guide PURGE SWITCH PORT Syntax purge switch port=port Parameters port Specifies the port to reset. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command resets all the port’s settings back to the factory default values. To reset a port and retain its settings, use “RESET SWITCH PORT” on page 134.
Chapter 7: Port Parameter Commands RESET SWITCH PORT Syntax reset switch port=port Parameter port Specifies the port to reset. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command resets a port. The reset takes less that a second to complete. You might reset a port if it is experiencing a problem establishing a link with its end node. The port retains its current operating parameter settings.
AT-S62 Management Software Command Line Interface User’s Guide RESET SWITCH PORT COUNTER Syntax reset switch port=port counter Parameter port Specifies the port whose statistics counters are to be returned to zero. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command returns a port’s statistics counters to zero.
Chapter 7: Port Parameter Commands SET SWITCH PORT Syntax set switch port=port [description=”description”] [status=enabled|disabled] [speed=autonegotiate|10mhalf|10mfull|100mhalf|100mfull| 1000mfull] [mdimode=mdi|mdix|auto] [flowcontrol=disable|enable|auto] [fctrllimit=value] [backpressure=yes|no|on|off|true|false|enabled|disabled] [bplimit=value] [bcastfiltering=yes|no|on|off|true|false|enabled|disabled] [holbplimit=value] [renegotiation=auto] [unkmcastfiltering=yes|no|on|off|true|false|enabled| disabled]
AT-S62 Management Software Command Line Interface User’s Guide autonegotiate The port uses Auto-Negotiation for both speed and duplex mode. This is the default setting. 10mhalf 10 Mbps and half-duplex mode. 10mfull 10 Mbps and full-duplex mode. 100mhalf 100 Mbps and half-duplex mode. 100mfull 100 Mbps and full-duplex mode. 1000mfull 1000 Mbps and full-duplex mode. (Applicable only to 1000 Mbps fiber optic ports on SFP and GBIC modules.
Chapter 7: Port Parameter Commands backpressure Controls back pressure on the port. Back pressure applies only to ports operating in halfduplex mode. The options are: yes, on, true, enabled Activates back pressure on the port. These options are equivalent. no, off, false, disabled Deactivates back pressure on the port. This is the default. These options are equivalent. bplimit Specifies the number of cells for back pressure. A cell represents 64 bytes. The range is 1 to 57,344 cells.
AT-S62 Management Software Command Line Interface User’s Guide no, off, false, disabled The port forwards unknown ingress multicast frames. This is the default setting. These values are equivalent. softreset Resets the port. This parameter does not change any of a port’s operating parameters. Description This command sets a port’s operating parameters. You can set more than one parameter at a time.
Chapter 7: Port Parameter Commands For information, see “ENABLE SWITCH PORT” on page 131. enable switch port=port flow=pause For information, see “ENABLE SWITCH PORT FLOW” on page 132. reset switch port=port For information, see “RESET SWITCH PORT” on page 134.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH PORT RATELIMITING Syntax set switch port=ports|all [rate=value] [bcastratelimiting=yes|no|on|off|true|false|enabled| disabled] [mcastratelimiting=yes|no|on|off|true|false|enabled| disabled] [unkucastratelimiting=yes|no|on|off|true|false|enabled| disabled] Parameters port Specifies all ports on the switch. This feature cannot be configured on a per-port basis. You must specify ALL.
Chapter 7: Port Parameter Commands yes, on, true, enabled Activates unknown unicast packet rate limit on the port. The values are equivalent. no, off, false, disabled Deactivates unknown unicast packet rate limit on the port. The values are equivalent. Description This command controls the maximum number of ingress multicast, broadcast, and unknown unicast packets the switch ports accept each second. Packets exceeding the threshold are discarded.
AT-S62 Management Software Command Line Interface User’s Guide set switch port=all unkucastratelimiting=enabled This command changes the rate limit to 15,000 packets on an AT-8524M switch that does not have an expansion module in expansion slot 26: set switch port=1-25 rate=15000 The following command deactivates unicast rate filtering on all ports in an AT-8516F/SC switch with no expansion modules: set switch port=1-16 unkucastratelimiting=disabled Section I: Basic Operations 143
Chapter 7: Port Parameter Commands SHOW INTERFACE Syntax show interface[=port] Parameter port Specifies the port whose interface information you want to display. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). All ports are displayed if you omit the port number. Description This command displays the contents of the interface MIB for a specific port.
AT-S62 Management Software Command Line Interface User’s Guide Down - The port and the end node have not established a link. unknown - The port status is unknown. ifLinkUpDownTrapEnable - Whether or not link traps have been enabled for the port, one of the following: Enabled - Link traps are enabled. To disable link traps, see “DISABLE INTERFACE LINKTRAP” on page 127. Disabled - Link traps are disabled. To enable link traps, see “ENABLE INTERFACE LINKTRAP” on page 130.
Chapter 7: Port Parameter Commands SHOW SWITCH COUNTER Syntax show switch counter Parameters None. Description This command displays operating statistics, such as the number of packets received and transmitted, and the number of CRC errors, for the entire switch. An example of the display is shown in Figure 12. Port: All Bytes Rx ......... Frames Rx ........ Bcast Frames Rx... Mcast Frames Rx .. Frames 64 ........ Frames 128-255 ... Frames 512-1023 .. CRC Error ........ No. of Rx Errors .
AT-S62 Management Software Command Line Interface User’s Guide Bcast Frames Tx Number of broadcast frames transmitted by the switch. Mcast Frames Rx Number of multicast frames received by the switch. Mcast Frames Tx Number of multicast frames transmitted by the switch. Frames 64 Frames 65-127 Frames 128-255 Frames 256-511 Frames 512-1023 Frames 1024-1518 Frames 1519-1522 Number of frames transmitted from the port, grouped by size.
Chapter 7: Port Parameter Commands Example The following command displays the switch’s operating statistics: show switch counter 148 Section I: Basic Operations
AT-S62 Management Software Command Line Interface User’s Guide SHOW SWITCH PORT Syntax show switch port[=port] Parameter port Specifies the port whose parameter settings you want to view. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). All ports are displayed if you omit the port number.
Chapter 7: Port Parameter Commands field does not apply to a fiber optic port. To adjust a port’s MDI/MDIX setting, refer to “SET SWITCH PORT” on page 136. 150 Actual Speed/Duplex - Displays the current operating speed and duplex mode of a port. This field displays no value (—) if the port does not have a link to an end node or has been disabled. Actual MDI Crossover- Displays the current operating MDI/MDIX setting of a twisted pair port.
AT-S62 Management Software Command Line Interface User’s Guide Unknown Unicast Rate Limiting Status - Displays the status of unicast rate limiting. If enabled, the port has a threshold as to the maximum number of ingress unicast packets it will accept. The default is disabled. To configure this parameter, refer to “SET SWITCH PORT RATELIMITING” on page 141. Rate - The threshold for broadcast, multicast, and unicast rate limiting.
Chapter 7: Port Parameter Commands Note The information for an SFP or GBIC module includes additional nonadjustable operating specifications of the module. An example of the information displayed by this command is shown in Figure 13 on page 152. Port #11 Information: Port Description ..................... Port Type ............................ Status ............................... Link State ........................... Configured Speed/Duplex .............. Configured MDI Crossover .............
AT-S62 Management Software Command Line Interface User’s Guide SHOW SWITCH PORT COUNTER Syntax show switch port=port counter Parameter port Specifies the port whose statistics you want to view. You can specify more than one port at a time. To view all ports, do not specify a port. Description This command displays the operating statistics for a port on the switch. Examples of the statistics include the number of packets transmitted and received, and the number of CRC errors.
Chapter 7: Port Parameter Commands 154 Section I: Basic Operations
Chapter 8 MAC Address Table Commands This chapter contains the following commands: “ADD SWITCH FDB|FILTER” on page 156 “DELETE SWITCH FDB|FILTER” on page 158 “RESET SWITCH FDB” on page 160 “SET SWITCH AGINGTIMER|AGEINGTIMER” on page 161 “SHOW SWITCH AGINGTIMER|AGEINGTIMER” on page 162 “SHOW SWITCH FDB” on page 163 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 8: MAC Address Table Commands ADD SWITCH FDB|FILTER Syntax add switch fdb|filter destaddress|macaddress=macaddress port=port vlan=name|vid Note The FDB and FILTER keywords are equivalent. Parameters destaddress or macaddress Specifies the static unicast or multicast address to be added to the switch’s MAC address table. The parameters are equivalent.
AT-S62 Management Software Command Line Interface User’s Guide The following command adds the multicast MAC address 01:00:51:00:00 10 to ports 1 to 5.
Chapter 8: MAC Address Table Commands DELETE SWITCH FDB|FILTER Syntax delete switch fdb|filter macaddress|destaddress=macaddress vlan=name|vid [status=static|multicast] Note The FDB and FILTER keywords are equivalent. Parameters macaddress or Deletes a dynamic or static unicast or multicast MAC destaddress address from the MAC address table. The address can be entered in either of the following formats: xxxxxxxxxxxx or xx:xx:xx:xx:xx:xx This parameter must be accompanied with the VLAN parameter.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command deletes the static MAC address 00:A0:D2:18:1A:11 from the table. The port where the address was learned or assigned is part of the Default_VLAN, which has a VID of 1: delete switch fdb macaddress=00A0D2181A11 vlan=1 The following command deletes the MAC address 00:A0:C1:11:22:44 from the table.
Chapter 8: MAC Address Table Commands RESET SWITCH FDB Syntax reset switch fdb [port=port] Parameter port Specifies the port whose dynamic MAC addresses you want to delete from the MAC address table. You can specify more than one port at a time. Description This command deletes the dynamic MAC addresses learned by the switch. You can delete all the dynamic addresses or addresses learned on a specific port. After a port’s dynamic MAC addresses have been deleted, the port begins to learn new addresses.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH AGINGTIMER|AGEINGTIMER Syntax set switch agingtimer|ageingtimer=value Parameter agingtimer or ageingtimer Specifies the aging timer for the MAC address table. The value is in seconds. The range is 0 to 1048575. The default is 300 seconds (5 minutes). The parameters are equivalent. Description The switch uses the aging timer to delete inactive dynamic MAC addresses from the MAC address table.
Chapter 8: MAC Address Table Commands SHOW SWITCH AGINGTIMER|AGEINGTIMER Syntax show switch agingtimer|ageingtimer Parameters None. Description This command displays the current setting for the aging timer. The switch uses the aging timer to delete inactive dynamic MAC addresses from the MAC address table. To set the aging timer, refer to “SET SWITCH AGINGTIMER|AGEINGTIMER” on page 161. Figure 14 illustrates the information displayed by this command. Aging interval: 300 second(s) Figure 14.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SWITCH FDB Syntax show switch fdb [address=macaddress] [port=port] [status=static|dynamic|multicast] [vlan=name] Parameters address Specifies a MAC address. Use this parameter to determine the port on the switch on which a particular MAC address was learned (dynamic) or assigned (static). The address can be entered in either of the following formats: xxxxxxxxxxxx or xx:xx:xx:xx:xx:xx port Specifies a port on the switch.
Chapter 8: MAC Address Table Commands Figure 15 is an example of the information displayed by this command for unicast addresses.
AT-S62 Management Software Command Line Interface User’s Guide Type - The type of the address: static or dynamic. Port Maps - The tagged and untagged ports on the switch that are members of a multicast group. This column is useful in determining which ports belong to different groups.
Chapter 8: MAC Address Table Commands 166 Section I: Basic Operations
Chapter 9 Static Port Trunking Commands This chapter contains the following commands: “ADD SWITCH TRUNK” on page 168 “CREATE SWITCH TRUNK” on page 170 “DELETE SWITCH TRUNK” on page 172 “DESTROY SWITCH TRUNK” on page 173 “SET SWITCH TRUNK” on page 174 “SHOW SWITCH TRUNK” on page 175 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 9: Static Port Trunking Commands ADD SWITCH TRUNK Syntax add switch trunk=name [tgid=id_number] port=port Parameters trunk Specifies the name of the static port trunk to be modified. tgid Specifies the ID number of the static port trunk to be modified. The range is 1 to 6. This parameter is optional. port Specifies the port to be added to the port trunk. You can add more than one port at a time.
AT-S62 Management Software Command Line Interface User’s Guide Example The following command adds port 5 to a port trunk called load22: add switch trunk=load22 port=5 Section I: Basic Operations 169
Chapter 9: Static Port Trunking Commands CREATE SWITCH TRUNK Syntax create switch trunk=name [tgid=value] port=ports [select=macsrc|macdest|macboth|ipsrc|ipdest|ipboth] Parameters trunk Specifies the name of the trunk. The name can be up to 16 alphanumeric characters. No spaces or special characters are allowed. tgid Specifies an ID number for the trunk. The range is 1 to 6. If this parameter is omitted, the default is the next available ID number. port Specifies the ports of the trunk.
AT-S62 Management Software Command Line Interface User’s Guide Note Before creating a static port trunk, examine the speed, duplex mode, and flow control settings of the lowest numbered port to be in the trunk. Check to be sure that the settings are correct for the end node to which the trunk will be connected. When you create the trunk, the AT-S62 management software copies the settings of the lowest numbered port in the trunk to the other ports so that all the settings are the same.
Chapter 9: Static Port Trunking Commands DELETE SWITCH TRUNK Syntax delete switch trunk=name [tgid=value] port=port Parameters trunk Specifies the name of the static port trunk to be modified. tgid Specifies the ID number of the trunk. The range is 1 to 6. This parameter is optional. port Specifies the port to be removed from the existing port trunk. You can specify more than one port at a time. Description This command removes ports from a static port trunk.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY SWITCH TRUNK Syntax destroy switch trunk=name [tgid-value] Parameter trunk Specifies the name of the trunk to be deleted. tgid Specifies the ID number of the trunk. The range is 1 to 6. This parameter is optional. Description This command deletes a static port trunk from a switch. After a port trunk has been deleted, the ports that made up the trunk can be connected to different end nodes.
Chapter 9: Static Port Trunking Commands SET SWITCH TRUNK Syntax set switch trunk=name select=macsrc|macdest|macboth|ipsrc|ipdest|ipboth Parameters trunk Specifies the name of the static port trunk. tgid Specifies the ID number of the trunk. The range is 1 to 6. This parameter is optional. select Specifies the load distribution method. Options are: macsrc Source MAC address. macdest Destination MAC address. macboth Source address/destination MAC address. ipsrc Source IP address.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SWITCH TRUNK Syntax show switch trunk Parameters None. Description This command displays the names, ports, and load distribution methods of the static port trunks on the switch. An example of the command is shown in Figure 17. Trunk group ID ............ Trunk Status ........... Trunk group name ....... Trunk method ........... Ports .................. 2 UP Server11 SRC/DST MAC 12-16 Figure 17.
Chapter 9: Static Port Trunking Commands Example The following command displays port trunking information: show switch trunk 176 Section I: Basic Operations
Chapter 10 LACP Port Trunking Commands This chapter contains the following commands: “ADD LACP PORT” on page 178 “CREATE LACP AGGREGATOR” on page 179 “DELETE LACP PORT” on page 181 “DESTROY LACP AGGREGATOR” on page 182 “DISABLE LACP” on page 183 “ENABLE LACP” on page 184 “SET LACP AGGREGATOR” on page 185 “SET LACP SYSPRIORITY” on page 187 “SET LACP STATE” on page 188 “SHOW LACP” on page 189 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 10: LACP Port Trunking Commands ADD LACP PORT Syntax add lacp aggregator=name port=port Parameters aggregator Specifies the name of the aggregator. The name is case-sensitive. port Specifies the port to add to the aggregator. You can add more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-20), or both (for example, 1,14-16). Description This command adds ports to an existing aggregator.
AT-S62 Management Software Command Line Interface User’s Guide CREATE LACP AGGREGATOR Syntax create lacp aggregator=name|adminkey=0xkey port=port [distribution=macsrc|macdest|macboth|ipsrc|ipdest|ipboth] Parameters aggregator Specifies a name for the new aggregator. The name can be up to 20 alphanumeric characters. No spaces or special characters are allowed. If no name is specified, the default name is DEFAULT_AGG followed by a number. adminkey Specifies an adminkey number for the aggregator.
Chapter 10: LACP Port Trunking Commands Description This command creates an LACP aggregator. Note the following when creating a new aggregator: You can specify either a name or an adminkey but not both when creating a new aggregator. When you create a new aggregator by specifying a name, the adminkey is based on the operator key of the lowest numbered port in the aggregator.
AT-S62 Management Software Command Line Interface User’s Guide DELETE LACP PORT Syntax delete lacp aggregator=name port=port Parameters aggregator Specifies the name of the aggregator. The name is case-sensitive. port Specifies the port to delete from an aggregator. You can delete more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-20), or both (for example, 1,14-16). Description This command removes a port from an aggregator.
Chapter 10: LACP Port Trunking Commands DESTROY LACP AGGREGATOR Syntax destroy lacp aggregator=name|adminkey=0xkey Parameter aggregator Specifies the name of the aggregator. The name is case-sensitive. adminkey Specifies the adminkey number of the aggregator. This is a hexadecimal number between 0x1 and 0xffff. Description This command deletes an LACP aggregator from the switch. You can identify the aggregator by its name or adminkey number.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE LACP Syntax disable lacp Parameters None. Description This command disables LACP on the switch. The default is disabled. Caution Do not disable LACP when there are defined aggregators without first disconnecting all cables connected to the aggregate trunk ports. Otherwise, a network loop may occur, resulting in a broadcast storm and poor network performance.
Chapter 10: LACP Port Trunking Commands ENABLE LACP Syntax enable lacp Parameters None. Description This command activates LACP on the switch. The default is disabled. Example The following command activates LACP: enable lacp Equivalent Command set lacp state=enable For information, see “SET LACP STATE” on page 188.
AT-S62 Management Software Command Line Interface User’s Guide SET LACP AGGREGATOR Syntax set lacp aggregator=name|adminkey=key [distribution=macsrc|macdest|macboth|ipsrc|ipdest|ipboth] Parameters aggregator Specifies the name of the aggregator you want to modify. The name is case-sensitive. adminkey Specifies the adminkey number of the aggregator you want to modify. This is a hexadecimal number between 0x1 and 0xffff.
Chapter 10: LACP Port Trunking Commands The following command changes the load distribution method of an LACP aggregator with the adminkey 0x22 to the destination MAC address method: set lacp adminkey=0x22 distribution=macdest 186 Section I: Basic Operations
AT-S62 Management Software Command Line Interface User’s Guide SET LACP SYSPRIORITY Syntax set lacp syspriority=0xpriority Parameters syspriority Specifies the LACP system priority value for a switch. This is a hexadecimal value from 0x1 to 0xffff. The lower the number, the higher the priority. The default is 0x0080. Description This command sets the LACP priority of the switch. This parameter is used whenever the two devices connected by an aggregate trunk encounter a conflict creating the trunk.
Chapter 10: LACP Port Trunking Commands SET LACP STATE Syntax set lacp state=enable|disable Parameters state Specifies the state of LACP on the switch. The options are: enable Enables LACP. disable Disables LACP. This is the default. Description This command enables or disables LACP on the switch. Caution Do not disable LACP if there are defined aggregators without first disconnecting all cables connected to the aggregate trunk ports.
AT-S62 Management Software Command Line Interface User’s Guide SHOW LACP Syntax show lacp [port=port] [aggregator] [machine=port] Parameter port Specifies the port(s) to display. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-20), or both (for example, 1,14-16). aggregator Displays information about the aggregators. machine Specifies the LACP machine state for a port or ports on the system.
Chapter 10: LACP Port Trunking Commands The PORT parameter displays LACP port information. Figure 19 illustrates the information displayed by this parameter. For definitions, refer to the IEEE 802.3ad standard. Port ............. 05 Aggregator ....... LACP sw22 ACTOR PARTNER ============================================ Actor Port ............. 05 Partner Port ......... Selected ............... SELECTED Partner System ....... Oper Key ............... 0xf705 Oper Key ............ Oper Port Priority ....
AT-S62 Management Software Command Line Interface User’s Guide The following command displays the configuration of the aggregators on the system: show lacp aggregator The following command displays the LACP machine states for each port on the system: show lacp machine Section I: Basic Operations 191
Chapter 10: LACP Port Trunking Commands 192 Section I: Basic Operations
Chapter 11 Port Mirroring Commands This chapter contains the following commands: “SET SWITCH MIRROR” on page 194 “SET SWITCH PORT MIRROR” on page 195 “SHOW SWITCH MIRROR” on page 196 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 9, “Port Mirroring” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 11: Port Mirroring Commands SET SWITCH MIRROR Syntax set switch mirror=port Parameter mirror Specifies the destination port for the port mirror. This is the port where the traffic from the source ports will be copied. You can specify only one port as the destination port. Specifying “0” (zero) disables port mirroring. Description This command enables mirroring and specifies the destination port, or disables mirroring. To select the source ports, refer to “SET SWITCH PORT MIRROR” on page 195.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH PORT MIRROR Syntax set switch port=port mirror=none|rx|tx|both Parameters port Specifies the source port of a port mirror. You can specify more than one port. You can specify the ports individually (for example, 5, 7, 22), as a range (for example, 18-23), or both (for example, 1, 5, 14-22). mirror Specifies which traffic on the source ports is to be mirrored to the destination port.
Chapter 11: Port Mirroring Commands SHOW SWITCH MIRROR Syntax show switch mirror Parameters None. Description This command displays the source and destination ports of a port mirror on the switch. An example is shown in Figure 21. Port Mirroring: Mirroring State ..................... Mirror-To (Destination) Port ........ Ingress (Rx) Mirror (Source) Ports .. Egress (Tx) Mirror (Source) Ports ... Enabled 22 1,3 1,3,11-13 Figure 21.
Section II Advanced Operations The chapters in this section contain the commands for advanced switch setup using the AT-S62 management software.
Section II: Advanced Operations
Chapter 12 File System Commands This chapter contains the following commands: “COPY” on page 200 “CREATE CONFIG” on page 202 “DELETE FILE” on page 203 “RENAME” on page 204 “SET CONFIG” on page 205 “SHOW CONFIG” on page 207 “SHOW FILE” on page 208 Note For background information, refer to Chapter 10, “File System” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 12: File System Commands COPY Syntax copy “sourcefile.ext” “destinationfile.ext” Parameters sourcefile.ext Specifies the name of the source file. If the filename contains spaces, enclose it in double quotes. Otherwise, the quotes are optional. destinationfile.ext Specifies the name of the destination file. If the filename contains spaces, enclose in double quotes. Otherwise, the quotes are optional. Description This command creates a copy of a file in the switch’s file system.
AT-S62 Management Software Command Line Interface User’s Guide The following command creates a copy of the configuration file “switch 12.cfg” in the file system and names the copy “backup.cfg”: copy "switch 12.cfg" backup.
Chapter 12: File System Commands CREATE CONFIG Syntax create config=“filename.cfg” Parameter config Specifies the name of a new configuration file. If the filename contains spaces, enclose it in double quotes. Otherwise, the quotes are optional. Description This command creates a new configuration file. The file contains the commands necessary to recreate the current configuration of the switch. The CONFIG parameter specifies the name for the configuration file. The file extension must be “.cfg”.
AT-S62 Management Software Command Line Interface User’s Guide DELETE FILE Syntax delete file=“filename” Parameter file Specifies the name of the file to be deleted. A name with spaces must be enclosed in double quotes. Otherwise, the quotes are optional. Description This command deletes a file from the file system.
Chapter 12: File System Commands RENAME Syntax rename “filename1.ext” “filename2.ext” Parameters filename1.ext Specifies the name of the file to be renamed. If the name contains spaces, enclose it in double quotes. Otherwise, the quotes are optional. filename2.ext Specifies the new name for the file. The filename can be from 1 to 16 alphanumeric characters, not including the filename extension. Spaces are allowed. If the name contains spaces, it must be enclosed in double quotes.
AT-S62 Management Software Command Line Interface User’s Guide SET CONFIG Syntax set config=“filename.cfg”|none Parameter config Specifies the name of the configuration file to act as the active configuration file for the switch. The name can be from 1 to 16 alphanumeric characters, not including the extension “.cfg”. If the filename contains spaces, enclose it in double quotes. Description This command changes the active configuration file on a switch.
Chapter 12: File System Commands Examples The following command selects the file switch22.cfg as the new active boot configuration file for the switch: set config=switch22.cfg The following command uses the NONE option to remove the current active boot configuration file without specifying a new one. The switch does not allow you to save any further changes to the switch’s configuration until you specify another configuration file with the SET CONFIG command. If you reset the unit, it uses the BOOT.
AT-S62 Management Software Command Line Interface User’s Guide SHOW CONFIG Syntax show config [dynamic] Parameter dynamic Displays the settings for all the switch and port parameters in command line format. Description This command, when used without the DYNAMIC parameter, displays two pieces of information. The first is the “Boot configuration file.” This is the configuration file the switch uses the next time it is reset or power cycled.
Chapter 12: File System Commands SHOW FILE Syntax show file[=“filename.ext”] Parameter file Specifies the name of the file to be displayed. If the file name contains spaces, enclose it in double quotes. Otherwise, the quotes are optional. If you do not specify a file name, the command displays the names of all the files in the file system. Description This command displays a list of the files in the switch’s file system.
Chapter 13 File Download and Upload Commands This chapter contains the following commands: “LOAD METHOD=LOCAL” on page 210 “LOAD METHOD=TFTP” on page 212 “LOAD METHOD=XMODEM” on page 216 “UPLOAD METHOD=LOCAL” on page 219 “UPLOAD METHOD=REMOTESWITCH” on page 221 “UPLOAD METHOD=TFTP” on page 225 “UPLOAD METHOD=XMODEM” on page 228 Note For background information, refer to Chapter 11, “File Downloads and Uploads” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 13: File Download and Upload Commands LOAD METHOD=LOCAL Syntax load method=local destfile=appblock srcfile|file=”filename” Parameters method Specifies a local download. destfile Specifies the application block (APPBLOCK) of the switch’s flash memory. This area of memory is reserved for the switch’s active AT-S62 image file. srcfile or file Specifies the name of the AT-S62 image file in the file system to download to the application block.
AT-S62 Management Software Command Line Interface User’s Guide Caution After downloading an AT-S62 image file into the application block from its file system, the switch resets and initializes its management software. The entire process can take a minute or so to complete. Do not interrupt the process by resetting or power cycling the switch. Some network traffic may be lost during the process.
Chapter 13: File Download and Upload Commands LOAD METHOD=TFTP Syntax load method=tftp destfile=”filename”|appblock server=ipaddress srcfile|file=”filename” Parameters method Specifies a TFTP download. destfile Specifies the destination filename for the file. The file is assigned this name when it is stored in the switch’s file system. The name can be from 1 to 32 alphanumeric characters. Spaces are allowed, but special characters (e.g., /, \, #, and %) should not be used.
AT-S62 Management Software Command Line Interface User’s Guide Note In earlier versions of the AT-S62 management software this command also performed switch to switch file transfers for copying files from a master switch to other switches in an enhanced stack. That function is now part of “UPLOAD METHOD=REMOTESWITCH” on page 221 The DESTFILE parameter specifies a name for the file when it is stored in the file system of the switch. Enclose the name in double quotes if it contains a space.
Chapter 13: File Download and Upload Commands You should start the TFTP server software before you perform the download command. The switch where you are downloading the file must have an IP address and subnet mask, such as a master switch. For switches without an IP address, such as a slave switch, you can perform an Xmodem download from a local management session or, alternatively, a switch to switch upload using “UPLOAD METHOD=REMOTESWITCH” on page 221.
AT-S62 Management Software Command Line Interface User’s Guide The following command downloads a new version of the AT-S62 software image directly to the switch’s application block, making it the active image file on the switch. The IP address of the TFTP server is 149.11.11.11 and the name of the image file on the server is “ats63v120.img”: load method=tftp destfile=appblock server=149.11.11.11 srcfile=ats63v120.
Chapter 13: File Download and Upload Commands LOAD METHOD=XMODEM Syntax load method=xmodem destfile=”filename”|appblock Parameters method Specifies an Xmodem download. destfile Specifies the destination filename for the file. The file is assigned this name when stored in the switch’s file system. The name can be up to 32 alphanumeric characters. Spaces are allowed, but special characters (e.g., /, \, #, and %) should not be used. If the name includes spaces, enclose it in double quotes.
AT-S62 Management Software Command Line Interface User’s Guide The APPBLOCK option of the DESTFILE parameter refers to the switch’s application block, which is the portion of flash memory reserved for the active AT-S62 image. This option downloads a new version of the AT-S62 image file into the application block, making it the active image file on the switch. Note The APPBLOCK option should only be used when downloading a new AT-S62 image file and not with any other file type.
Chapter 13: File Download and Upload Commands Examples The following command downloads a new configuration file onto the switch. The configuration file is given the name “switch12.cfg” in the switch’s file system: load method=xmodem destfile=switch12.cfg The source file is not specified when downloading a file using Xmodem. After you enter the command, the management software displays a confirmation prompt followed by another prompt instructing you to begin the file transfer.
AT-S62 Management Software Command Line Interface User’s Guide UPLOAD METHOD=LOCAL Syntax upload method=local destfile=”filename” srcfile|file=appblock Parameters method Specifies a local upload. destfile Specifies a filename for the AT-S62 image file. The file is assigned this name when stored in the file system. The name can be from 1 to 32 alphanumeric characters. Spaces are allowed, but special characters (e.g., /, \, #, and %) should not be used. The extension should be “.img”.
Chapter 13: File Download and Upload Commands upload method=local destfile=”sw12 s63 image.
AT-S62 Management Software Command Line Interface User’s Guide UPLOAD METHOD=REMOTESWITCH Syntax upload method=remoteswitch srcfile|file=”filename”|appblock|switchcfg switchlist=switches [verbose=yes|no|on|off|true|false] Parameters method Specifies a switch to switch upload. srcfile or file Specifies the source file to upload from the master switch to the other switches. Options are: filename Specifies the name of a configuration file in the master switch’s file system.
Chapter 13: File Download and Upload Commands You can also have a master switch distribute a configuration file to the other switches when the switches are to share a similar configuration. It can save you from having to configure the switches individually. The equivalent SRCFILE and FILE parameters specify the name of the file to be uploaded from the switch. You have three options: filename - Uploads a configuration file from the master switch’s file system.
AT-S62 Management Software Command Line Interface User’s Guide When uploading the master switch’s active AT-S62 image file to another switch, the file is copied directly to the application block on the other switch, automatically making it the active image file. It is not copied to the file system. This results in a switch reset of the unit that receives the image file. Some network traffic may be lost while the switch reloads its operating software.
Chapter 13: File Download and Upload Commands Caution After a switch receives the AT-S62 image file, it resets itself and initializes the software. The entire process can take a minute or so to complete. Do not interrupt the process by resetting or power cycling the switch. Some network traffic may be lost during the process. You can upload the AT-S62 image file from the master switch to more than one switch at a time.
AT-S62 Management Software Command Line Interface User’s Guide UPLOAD METHOD=TFTP Syntax upload method=tftp destfile=”filename” server=ipaddress srcfile|file=switchcfg|”filename”|appblock Parameters method Specifies a TFTP upload. destfile Specifies a filename for the uploaded file. The file is given this name when stored on the TFTP server. Enclose the name in double quotes if it contains spaces. server Specifies the IP address of the network node containing the TFTP server software.
Chapter 13: File Download and Upload Commands The switch from where you are uploading the file must have an IP address and subnet mask, such as a master switch of an enhanced stack. To upload a file from a switch that does not have an IP address, such as a slave switch, you can perform an Xmodem upload from a local management session. The DESTFILE parameter specifies a name for the file when it is stored on the TFTP server. The three-letter extension should match the extension in the source filename.
AT-S62 Management Software Command Line Interface User’s Guide The following command uses TFTP to upload the switch’s active configuration file from the file system to a TFTP server with the IP address 149.11.11.11. The active boot file is signified with the SWITCHCFG option rather than by its filename. This option is useful in situations where you do not know the name of the active boot configuration file. The file is stored as “master112.cfg” on the TFTP server: upload method=tftp destfile=master112.
Chapter 13: File Download and Upload Commands UPLOAD METHOD=XMODEM Syntax upload method=xmodem srcfile|file=switchcfg|”filename”|appblock Parameters method Specifies an Xmodem upload. srcfile or file Specifies the file to be uploaded. Options are: switchcfg Uploads the switch’s active boot configuration file. filename Specifies the name of the file in the switch’s file system. Enclose the name in double quotes if it contains a space. appblock Uploads the switch’s active AT-S62 image file.
AT-S62 Management Software Command Line Interface User’s Guide boot configuration file, while this parameter can upload any file in the switch’s file system. APPBLOCK - Uploads the switch’s active AT-S62 image file. Examples The following command uses Xmodem to upload a configuration file called “sw22 boot.cfg” from the switch’s file system to the workstation where you are running the local management session: upload method=xmodem srcfile="sw22 boot.
Chapter 13: File Download and Upload Commands 230 Section II: Advanced Operations
Chapter 14 Event Log and Syslog Server Commands This chapter contains the following commands: “ADD LOG OUTPUT” on page 232 “CREATE LOG OUTPUT” on page 234 “DESTROY LOG OUTPUT” on page 238 “DISABLE LOG” on page 239 “DISABLE LOG OUTPUT” on page 240 “ENABLE LOG” on page 241 “ENABLE LOG OUTPUT” on page 242 “PURGE LOG” on page 243 “SAVE LOG” on page 244 “SET LOG FULLACTION” on page 246 “SET LOG OUTPUT” on page 247 “SHOW LOG” on page 250 “SHOW LOG OUTPUT” on pa
Chapter 14: Event Log and Syslog Server Commands ADD LOG OUTPUT Syntax add log output=output-id module=[all|module] severity=[all|severity] Parameters output Specifies the output definition ID number. module Specifies what AT-S62 events to filter. The available options are: severity all Sends events for all modules. This is the default. module Sends events for specific module(s). You can select more than one module at a time, for example, MAC,PACCESS.
AT-S62 Management Software Command Line Interface User’s Guide The second step is to customize the definition by specifying which event messages generated by the switch are to be sent. This is accomplished with this command. You can customize the definition so that the switch sends all of its event messages or limit it to just a selection of events from particular modules in the AT-S62 management software. An alternative method to configuring a definition is with “SET LOG OUTPUT” on page 247.
Chapter 14: Event Log and Syslog Server Commands CREATE LOG OUTPUT Syntax create log output=output-id destination=syslog server=ipaddress [facility=default|local1|local2|local3|local4|local5|local6 |local7] [syslogformat=extended|normal] Parameters output Specifies an ID number for the new output definition. The range is 2 to 20. (The ID 1 is reserved for temporary (dynamic) storage.) destination Specifies the destination for the log messages.
AT-S62 Management Software Command Line Interface User’s Guide Description This command creates a new output definition. The switch uses the definition to send event messages to a device on your network. You can create up to nineteen output definitions. Note This version of the AT-S62 management software supports only syslog servers as output definitions. After creating a output definition with this command, you must customize it by defining which event messages you want the switch to send.
Chapter 14: Event Log and Syslog Server Commands Table 6. Default Syslog Facilities Facility Number Syslog Protocol Definition Mapped Event Log Modules and Events 4 Security/ authorization messages Security and authorization messages from the following modules: DOS, ENCO, PACCESS (802.1x), PKI, PSEC (port security), RADIUS, SSH, SSL, TACACS+, and system events such as user login and logout. 9 Clock daemon Time-based activities and events from the following modules: TIME, SNTP, and RTC.
AT-S62 Management Software Command Line Interface User’s Guide Table 7. Numerical Code and Facility Level Mappings (Continued) Numerical Code 23 Facility Level Setting LOCAL7 For example, selecting LOCAL2 as the facility level assigns the numerical code of 18 to all events sent to the syslog server by the switch. The SYSLOGFORMAT parameter defines the content of the events.
Chapter 14: Event Log and Syslog Server Commands DESTROY LOG OUTPUT Syntax destroy log output=output-id Parameters output Specifies the output definition ID number. Description This command deletes the specified output definition. To disable the output definition without deleting it, see “DISABLE LOG OUTPUT” on page 240.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE LOG Syntax disable log Parameters None. Description This command disables the event log module. When the log module is disabled, the AT-S62 management software stops storing events in the event logs and sending events to output definitions. The default setting for the event logs is enabled. Note The event log module, even when disabled, still logs all AT-S62 initialization events that occur when the switch is reset or power cycled.
Chapter 14: Event Log and Syslog Server Commands DISABLE LOG OUTPUT Syntax disable log output[=output-id] Parameters output Specifies the output definition ID number to disable. Not specifying an output definition disables all definitions. Description This command disables an output definition. When disabled, no event messages are sent to the specified device, although the definition still exists. To permanently remove an output definition, see “DESTROY LOG OUTPUT” on page 238.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE LOG Syntax enable log Parameters None. Description This command activates the event logs. After the log is activated, the switch immediately starts to store events in the event logs and send events to defined outputs. The default setting for the event log is enabled.
Chapter 14: Event Log and Syslog Server Commands ENABLE LOG OUTPUT Syntax enable log output[=output-id] Parameters output Specifies the output definition ID number to enable. The range is 2 to 20. Description This command enables an output definition that was disabled using “DISABLE LOG OUTPUT” on page 240.
AT-S62 Management Software Command Line Interface User’s Guide PURGE LOG Syntax purge log[=temporary] Parameter log Specifies the event log file you want to purge. There is only one option: temporary Deletes all events stored in the temporary event log. Description This command deletes all the entries stored in the event log.
Chapter 14: Event Log and Syslog Server Commands SAVE LOG Syntax save log[=temporary] filename=filename.log [full] [module=module] [reverse] [severity=all|severity] [overwrite] Parameters log Specifies the event log whose events you want to save to a log file. There is only one option: temporary 244 Specifies the temporary event log. filename Specifies the filename for the log. The name can be up to 16 alphanumeric characters, followed by the extension ”.log.” Spaces are allowed.
AT-S62 Management Software Command Line Interface User’s Guide overwrite Overwrites the file if it already exists. Without this option, the command displays an error if a file with the same name already exists in the switch’s file system. Description This command saves the current entries in the event log to a file in the file system. The parameters in the command allow you to specify which events you want saved in the log file.
Chapter 14: Event Log and Syslog Server Commands SET LOG FULLACTION Syntax set log fullaction [temporary=halt|wrap] Parameters fullaction Specifies what happens when the event log reaches maximum capacity. The possible actions are: halt The log stops storing new events. wrap The log deletes the oldest entries as new ones are added. This is the default. Description This command defines the action of the event log when it has stored its maximum number of entries.
AT-S62 Management Software Command Line Interface User’s Guide SET LOG OUTPUT Syntax set log output=output-id [destination=syslog] server=ipaddress [facility=default|local1|local2|local3|local4|local5|local6 |local7] [syslogformat=extended|normal] [module=all|module] [severity=all|severity-list] Parameters output Specifies an ID number of the output definition to be modified. The range is 2 to 20. destination Specifies the destination for the log messages.
Chapter 14: Event Log and Syslog Server Commands module severity Specifies what AT-S62 events to filter. The available options are: all Sends events for all modules. This is the default. module Sends events for specific module(s). You can select more than one module at a time, for example, MAC,PACCESS. For a list of modules, see Table 8, “AT-S62 Modules” on page 251. Specifies the severity of events to be sent. The options are: all Sends events of all severity levels.
AT-S62 Management Software Command Line Interface User’s Guide The following command changes the facility level and message format for output definition 4.
Chapter 14: Event Log and Syslog Server Commands SHOW LOG Syntax show log[=temporary] [full] [module=module] [reverse] [severity=severity] Parameters log Specifies the event log you want to view. There is only one option: temporary Displays the events stored in the temporary event log. full Specifies the amount of information to be displayed. Without this option, the log displays the time, module, severity, and description for each entry.
AT-S62 Management Software Command Line Interface User’s Guide The event log can display entries in two modes: normal and full. In the normal mode, a log displays the time, module, severity, and description for each entry. In the full mode, the log also displays the filename, line number, and event ID. If you want to view the entries in the full mode, use the FULL parameter. To view entries in the normal mode, omit the parameter.
Chapter 14: Event Log and Syslog Server Commands Table 8.
AT-S62 Management Software Command Line Interface User’s Guide Table 9. Event Log Severity Levels Value Severity Level Description E Error Switch operation is severely impaired. W Warning An issue may require manager attention. I Informational Useful information that can be ignored during normal operation. D Debug Messages intended for technical support and software development. An example of the event log is shown in Figure 23. The example uses the full display mode.
Chapter 14: Event Log and Syslog Server Commands Examples The following command displays all the entries in the event log: show log The following command displays the events in the full display mode, which adds more information: show log full The following command displays only those entries from the AT-S62 modules FILE and QOS: show log module=file,qos The following command displays the error and warning entries from the AT-S62 module VLAN: show log module=vlan severity=e,w 254 Section II: Advanced O
AT-S62 Management Software Command Line Interface User’s Guide SHOW LOG OUTPUT Syntax show log output[=output-id] [full] Parameters output Specifies the output definition ID number. If an output ID number is not specified, all output definitions currently configured on the switch are displayed. full Displays the details of the output definition. If not specified, only a summary is displayed. Description This command displays output definition details.
Chapter 14: Event Log and Syslog Server Commands An example of the information displayed by this command with the FULL parameter is shown in Figure 25. Output ID .................... Output Type .................. Status ....................... Server IP Address ............ Message Format ............... Facility Level ............... Event Severity ............... Event Module ................. 2 Syslog Enabled 149.88.88.88 Extended DEFAULT E,W,I All Figure 25.
AT-S62 Management Software Command Line Interface User’s Guide SHOW LOG STATUS Syntax show log status Parameter None. Description This command displays information about the event log feature. Figure 26 is an example of the information displayed by this command. Event Log Configuration: Event Logging .................... Enabled Number of Output Definitions ..... 4 Figure 26. SHOW LOG STATUS Command The Event Logging field indicates whether the feature is enabled or disabled.
Chapter 14: Event Log and Syslog Server Commands 258 Section II: Advanced Operations
Chapter 15 Classifier Commands This chapter contains the following commands: “CREATE CLASSIFIER” on page 260 “DESTROY CLASSIFIER” on page 263 “PURGE CLASSIFIER” on page 264 “SET CLASSIFIER” on page 265 “SHOW CLASSIFIER” on page 268 Note Remember to use the SAVE CONFIGURATION command to save your changes on the switch. Note For background information, refer to Chapter 13, “Classifiers” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 15: Classifier Commands CREATE CLASSIFIER Syntax create classifier=idnumber [description=”string”] [macdaddr=macaddress|any] [macsaddr=macaddress|any] [ethformat=ethii-untagged|ethii-tagged|802.2untagged|802.2-tagged|any] [priority=integer|any] [vlan=name|1..
AT-S62 Management Software Command Line Interface User’s Guide vlan Specifies a tagged or port-based VLAN by its name or VID number. protocol Specifies a Layer 2 protocol. Options are: IP ARP RARP You can specify other Layer 2 protocols by entering the protocol number in either decimal or hexadecimal format. If you use the latter, precede the number with “0x”. iptos Specifies a Type of Service value. The range is 0 to 7. ipdscp Specifies a DSCP value. The range is 0 to 63.
Chapter 15: Classifier Commands udpdport Specifies a destination UDP port. tcpflags Specifies a TCP flag. Options are URG - Urgent ACK - Acknowledgement RST - Reset PSH - Push SYN - Synchronization FIN - Finish Description This command creates a classifier. A classifier defines a traffic flow. A traffic flow consists of packets that share one or more characteristics. A traffic flow can range from being very broad to very specific.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY CLASSIFIER Syntax destroy classifier=idnumber Parameters classifier Specifies the ID number of the classifier to be deleted. The number can be from 1 to 9999. You can delete more than one classifier at a time. You can specify the classifiers individually (e.g., 2,5,7) as a range (e.g., 11-14), or both (e.g., 2,4-8,12). Description This command deletes a classifier from the switch.
Chapter 15: Classifier Commands PURGE CLASSIFIER Syntax purge classifier Parameters None. Description This command deletes all classifiers from the switch. You cannot delete the classifier if they are assigned to an ACL or QoS policy. You must first remove the classifiers from the ACL and policies before you can delete them.
AT-S62 Management Software Command Line Interface User’s Guide SET CLASSIFIER Syntax set classifier=idnumber [description=”string”] [macdaddr=macaddress|any] [macsaddr=macaddress|any] [priority=value] [vlan=name|1..
Chapter 15: Classifier Commands format. For the latter, precede the number with “0x”. iptos Specifies a Type of Service value. The range is 0 to 7. ipdscp Specifies a DSCP value. The range is 0 to 63. ipprotocol Specifies a Layer 3 protocol. Options are: TCP UDP ICMP IGMP You can specify other Layer 3 protocols by entering the protocol number in either decimal or hexadecimal format. If you use the latter, precede the number with “0x”. ipdaddr Specifies a destination IP address.
AT-S62 Management Software Command Line Interface User’s Guide Description This command modifies an existing classifier. The only setting of a classifier you cannot change is its ID number. Specifying a new value for a variable that already has a value overwrites the current value with the new one. The ANY option removes a variable’s value without assigning it a new value. You cannot modify a classifier if it belongs to an ACL or QoS policy that is assigned to a port.
Chapter 15: Classifier Commands SHOW CLASSIFIER Syntax show classifier[=idnumber] Parameters classifier Specifies the ID of the classifier you want to view. You can specify more than one classifier at a time. Description This command displays the classifiers on a switch. Figure 27 is an example of the information displayed by this command. --------------------------------------------Classifier ID: .................. 1 Description: .................... IP traffic Protocol: .......................
AT-S62 Management Software Command Line Interface User’s Guide Number of Active Associations - The number of active ACLs and QoS policy assignments where the classifier is currently assigned. An active ACL or policy is assigned to at least one switch port. You can use this number together with the Number of References to determine the number of inactive ACLs and policies for a classifier.
Chapter 15: Classifier Commands 270 Section II: Advanced Operations
Chapter 16 Access Control List Commands This chapter contains the following commands: “CREATE ACL” on page 272 “DESTROY ACL” on page 274 “PURGE ACL” on page 275 “SET ACL” on page 276 “SHOW ACL” on page 278 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 14, “Access Control Lists” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 16: Access Control List Commands CREATE ACL Syntax create acl=value [description=”string”] [action=deny|permit] classifierlist=value [portlist=ports] Parameters acl Specifies an ID number for the ACL. The number can be from 0 to 255. Each ACL must have a unique ID number. description Specifies a description for the ACL. A description can be up to 15 alphanumeric characters. Spaces are allowed. If the description contains spaces, it must be enclosed in double quotes.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command creates an ACL that discards the ingress traffic flow specified in classifier ID 18 and applies the ACL to port 4: create acl=12 description=”IP flow deny” action=deny classifierlist=18 portlist=4 The following command creates an ACL that discards the ingress traffic flows specified in classifier ID 2 and 17 and applies the ACL to ports 2 and 6: create acl=6 description=”subnet flow deny” action=deny classifierlis
Chapter 16: Access Control List Commands DESTROY ACL Syntax destroy acl=value Parameters acl Specifies ID number of the ACL you want to delete. You can delete more than ACL at a time. Description This command deletes an ACL from the switch.
AT-S62 Management Software Command Line Interface User’s Guide PURGE ACL Syntax purge acl Parameters None. Description This command deletes all ACLs on the switch.
Chapter 16: Access Control List Commands SET ACL Syntax set acl=value [description=string] [action=deny|permit] [classifierlist=value] [portlist=ports|none] Parameters 276 acl Specifies the ID number of the ACL you want to modify. The number can be from 0 to 255. You can modify only one ACL at a time. description Specifies a new description for the ACL. A description can be up to 15 alphanumeric characters. Spaces are allowed. If the description contains a space, it must be enclosed in double quotes.
AT-S62 Management Software Command Line Interface User’s Guide Description This command modifies an ACL. You can use the command to change the description, action, classifiers, and ports of an ACL.
Chapter 16: Access Control List Commands SHOW ACL Syntax show acl[=id_number] Parameters acl Specifies the ID number of the ACL you want to view. You can specify more than one ACL at a time. Description This command displays the ACLs on the switch. An example of the information displayed by this command is shown in Figure 28. --------------------------------------------ACL ID .............. 1 Description ......... IP Action .............. Deny Classifier List ..... 1 Port List ...........
AT-S62 Management Software Command Line Interface User’s Guide discards the packets provided that the packets do not also meet the criteria of a classifier of a Permit ACL assigned to the same port. Classifier List - The classifiers assigned to the ACL. Port List - The ports where the ACL is assigned. Is Active - The status of the ACL. An ACL is active if it is assigned to at least one port, and inactive if it is not assigned to any ports.
Chapter 16: Access Control List Commands 280 Section II: Advanced Operations
Chapter 17 Quality of Service (QoS) Commands This chapter contains the following commands: “ADD QOS FLOWGROUP” on page 282 “ADD QOS POLICY” on page 283 “ADD QOS TRAFFICCLASS” on page 284 “CREATE QOS FLOWGROUP” on page 285 “CREATE QOS POLICY” on page 288 “CREATE QOS TRAFFICCLASS” on page 295 “DELETE QOS FLOWGROUP” on page 300 “DELETE QOS POLICY” on page 301 “DELETE QOS TRAFFICCLASS” on page 302 “DESTROY QOS FLOWGROUP” on page 303 “DESTROY QOS POLICY” on page 304
Chapter 17: Quality of Service (QoS) Commands ADD QOS FLOWGROUP Syntax add qos flowgroup=value classifierlist=values Parameter flowgroup Specifies the ID number of the flow group you want to modify. You can modify only one flow group at a time. classifierlist Specifies the new classifiers for the flow group. The new classifiers are added to any classifiers already assigned to the flow group. Separate multiple classifiers with commas (e.g., 4,11,12).
AT-S62 Management Software Command Line Interface User’s Guide ADD QOS POLICY Syntax add qos policy=value trafficclasslist=values Parameter policy Specifies the ID number of the policy you want to modify. You can modify only one policy at a time. trafficclasslist Specifies the new traffic classes of the policy. Traffic classes already assigned to the policy are retained. Separate multiple traffic classes with commas (e.g., 4,11,12). Description This command adds traffic classes to an existing policy.
Chapter 17: Quality of Service (QoS) Commands ADD QOS TRAFFICCLASS Syntax add qos trafficclass=value flowgrouplist=values Parameter trafficclass Specifies the ID number of the traffic class you want to modify. You can modify only one traffic class at a time. flowgrouplist Specifies the new flow groups of the traffic class. The new flow groups are added to any flow groups already assigned to the flow group. Separate multiple flow groups with commas (e.g., 4,11,12).
AT-S62 Management Software Command Line Interface User’s Guide CREATE QOS FLOWGROUP Syntax create qos flowgroup=value [description=”string”] [markvalue=value|none] [priority=value|none] [remarkpriority=yes|no|on|off|true|false] [tos=value|none] [movetostopriority=yes|no|on|off|true|false] [moveprioritytotos=yes|no|on|off|true|false] [classifierlist=values|none] Parameters flowgroup Specifies an ID number for the flow group. Each flow group on the switch must have a unique number. The range is 0 to 1023.
Chapter 17: Quality of Service (QoS) Commands remarkpriority Replaces the user priority value in the packets with the new value specified with the PRIORITY parameter. This parameter is ignored if the PRIORITY parameter is omitted or set to NONE. Options are: yes, on, true Replaces the user priority value in the packets with the new value specified with the PRIORITY parameter.
AT-S62 Management Software Command Line Interface User’s Guide Description This command creates a new flow group. Note For examples of command sequences used to create entire QoS policies, refer to “CREATE QOS POLICY” on page 288. Examples This command creates a flow group with an ID of 10 and the description “VoIP flow”. The flow group is assigned a priority level of 7 and defined by classifiers 15 and 17.
Chapter 17: Quality of Service (QoS) Commands CREATE QOS POLICY Syntax create qos policy=value [description=“string”] [indscpoverwrite=value|none] [remarkindscp=all|none] [tos=value|none] [movetostopriority=yes|no|on|off|true|false] [moveprioritytotos=yes|no|on|off|true|false] [sendtomirror=yes|no|on|off|true|false] [trafficclasslist=values|none] [ingressport=port|all|none] [egressport=port|none] Parameters policy Specifies an ID number for the policy.
AT-S62 Management Software Command Line Interface User’s Guide group, traffic class, and policy. A ToS value specified in a flow group overrides a ToS value specified at the traffic class or policy level. movetostopriority Replaces the value in the 802.1p priority field with the value in the ToS priority field on IPv4 packets. Options are: yes, on, true Replaces the value in the 802.1p priority field with the value in the ToS priority field on IPv4 packets.
Chapter 17: Quality of Service (QoS) Commands egressport Specifies the egress port to which the policy is to be assigned. You can enter only one egress port. The egress port must be within the same port block as the ingress ports. On switches with 24 ports (plus uplinks), ports 1-26 form a port block. On switches with 48 ports (plus uplinks), ports 1-24 and 49 form one port block and ports 25-48 and 50 form a second port block. A port can be an egress port of only one policy at a time.
AT-S62 Management Software Command Line Interface User’s Guide This example creates two policies that ensure low latency for all traffic sent by and destined to a voice application located on a node with the IP address 149.44.44.44. The policies raise the priority level of the packets to 7, the highest level. Policy 6 is for traffic from the application that enter the switch on port 1. Policy 11 is for traffic arriving on port 8 going to the application.
Chapter 17: Quality of Service (QoS) Commands Traffic Classes - No action is taken by the traffic classes, other than to specify the flow groups. Traffic class has a priority setting that can be used to override the priority level of packets, just as in a flow group. If you enter a priority value both in the flow group and the traffic class, the value in the flow group overrides the value in the traffic class. Policies - Specify the traffic class and the port to which the policy is to be assigned.
AT-S62 Management Software Command Line Interface User’s Guide create qos policy=32 description=”video flow” trafficclasslist=21 ingressport=8 The parts of the policies are: Classifiers - Specify the IP address of the node with a video application. The classifier for Policy 17 specifies the address as a source address since this classifier is part of a policy concerning packets sent by the application.
Chapter 17: Quality of Service (QoS) Commands create qos flowgroup=12 description=database classifierlist=10 create qos trafficclass=17 description=database maxbandwidth=50 flowgrouplist=12 create qos policy=17 description=database trafficclasslist=17 ingressport=8 294 Section II: Advanced Operations
AT-S62 Management Software Command Line Interface User’s Guide CREATE QOS TRAFFICCLASS Syntax create qos trafficclass=value [description=”string”] [exceedaction=drop|remark] [exceedremarkvalue=value|none] [markvalue=value|none] [maxbandwidth=value|none] [burstsize=value|none] [priority=value|none] [remarkpriority=yes|no|on|off|true|false] [tos=value|none] [movetostopriority=yes|no|on|off|true|false] [moveprioritytotos=yes|no|on|off|true|false] [flowgrouplist=values|none] Parameters Section II: Advanced O
Chapter 17: Quality of Service (QoS) Commands A new DSCP value can be set at all three levels: flow group, traffic class, and policy. A DSCP value specified in a flow group overrides a DSCP value specified at the traffic class or policy level. A DSCP value specified at the traffic class level is used only if no value has been specified at the flow group level. It will override any value set at the policy level. maxbandwidth Specifies the maximum bandwidth available to the traffic class.
AT-S62 Management Software Command Line Interface User’s Guide If the traffic is below the maximum bandwidth, unused tokens will accumulate in the bucket since the actual bandwidth falls below the specified maximum. The unused tokens will be available for handling excess traffic should the traffic exceed the maximum bandwidth. Should an increase in traffic continue to the point where all the unused tokens are used up, packets will be discarded.
Chapter 17: Quality of Service (QoS) Commands parameter. This is the default. tos Specifies a replacement value to write into the Type of Service (ToS) field of IPv4 packets. The range is 0 to 7. A new ToS value can be set at all three levels: flow group, traffic class, and policy. A ToS value specified in a flow group overrides a ToS value specified at the traffic class or policy level. movetostopriority moveprioritytotos flowgrouplist Replaces the value in the 802.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command creates a traffic class with an ID number of 25 and the description “Database flow”. The only parameter in the traffic class is the identification of the flow group, which is 11: create qos trafficclass=25 description=”Database flow” flowgrouplist=11 This command creates a traffic class with the ID number of 41 and description “Video flow”.
Chapter 17: Quality of Service (QoS) Commands DELETE QOS FLOWGROUP Syntax delete qos flowgroup=value classifierlist=values Parameter flowgroup Specifies the ID number of the flow group you want to modify. You can modify only one flow group at a time. classifierlist Specifies the classifiers you want to remove from the flow group. Separate multiple classifiers with commas (e.g., 4,11,12). (The online help for this command includes a NONE option for this parameter.
AT-S62 Management Software Command Line Interface User’s Guide DELETE QOS POLICY Syntax delete qos policy=value trafficclasslist=values Parameter policy Specifies the ID number of the policy you want to modify. You can modify only one policy at a time. trafficclasslist Specifies the IDs of the traffic classes you want to remove from the policy. Separate multiple traffic class with commas (e.g., 4,11,12). (The online help for this command includes a NONE option for this parameter.
Chapter 17: Quality of Service (QoS) Commands DELETE QOS TRAFFICCLASS Syntax delete qos trafficclass=value flowgrouplist=values Parameter flowgroup Specifies the ID number of the traffic class you want to modify. You can modify only one traffic class at a time. flowgrouplist Specifies the IDs of the flow groups you want to remove from the traffic class. Separate multiple flow groups with commas (e.g., 4,11,12). (The online help for this command includes a NONE option for this parameter.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY QOS FLOWGROUP Syntax destroy qos flowgroup=value Parameter flowgroup Specifies the ID number of the flow group you want to delete. You can delete more than one flow group at a time. You can specify the flow groups individually, as a range, or both. Description This command deletes flow groups.
Chapter 17: Quality of Service (QoS) Commands DESTROY QOS POLICY Syntax destroy qos policy=value Parameter flowgroup Specifies the ID number of the policy you want to delete. You can delete more than one policy at a time. You can specify the flow groups individually, as a range, or both. Description This command deletes QoS policies.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY QOS TRAFFICCLASS Syntax destroy qos trafficclass=value Parameter trafficclass Specifies the ID number of the traffic class you want to delete. You can delete more than one traffic class at a time. You can specify the flow groups individually, as a range, or both. Description This command deletes traffic classes.
Chapter 17: Quality of Service (QoS) Commands PURGE QOS Syntax purge qos Parameters None Description This command destroys all QoS policies, traffic classes, and flow groups; resets the CoS priorities to port egress queues to the default values; and sets the scheduling mode and egress weight queues to their default values.
AT-S62 Management Software Command Line Interface User’s Guide SET QOS FLOWGROUP Syntax set qos flowgroup=value [description=string] [markvalue=value|none] [priority=value|NONE] [remarkpriority=yes|no|on|off|true|false] [tos=value|none] [movetostopriority=yes|no|on|off|true|false] [moveprioritytotos=yes|no|on|off|true|false] [classifierlist=values|none] Parameters flowgroup Specifies the ID number of the flow group you want to modify. The range is 0 to 1023.
Chapter 17: Quality of Service (QoS) Commands omitted or set to NONE. Options are: tos yes, on, true Replaces the user priority value in the packets with the new value specified with the PRIORITY parameter. no, off, false Does not replace the user priority value in the packets with the new value specified in with the PRIORITY parameter. This is the default. Specifies a replacement value to write into the Type of Service (ToS) field of IPv4 packets. The range is 0 to 7.
AT-S62 Management Software Command Line Interface User’s Guide Description This command modifies the specifications of an existing flow group. The only parameter you cannot change is a flow group’s ID number. To initially create a flow group, refer to “CREATE QOS FLOWGROUP” on page 285. Note For examples of command sequences used to create entire QoS policies, refer to “CREATE QOS POLICY” on page 288. When modifying a flow group, note the following: You cannot change a flow group’s ID number.
Chapter 17: Quality of Service (QoS) Commands SET QOS POLICY Syntax set qos policy=value [description=string] [indscpoverwrite=value|none] [remarkindscp=[all|none]] [tos=value|none] [movetostopriority=yes|no|on|off|true|false] [moveprioritytotos=yes|no|on|off|true|false] [sendtomirror=yes|no|on|off|true|false] [trafficclasslist=values|none] [ingressport=port|all|none] [egressport=port|none] Parameters policy Specifies an ID number for the policy.
AT-S62 Management Software Command Line Interface User’s Guide traffic class or policy level. movetostopriority Replaces the value in the 802.1p priority field with the value in the ToS priority field on IPv4 packets. Options are: yes, on, true Replaces the value in the 802.1p priority field with the value in the ToS priority field on IPv4 packets. no, off, false Does not replace the preexisting 802.1p priority level This is the default.
Chapter 17: Quality of Service (QoS) Commands use “SET QOS PORT” on page 313, which removes a port from a policy and adds it to another policy with one command. egressport Specifies the egress port to which the policy is to be assigned. You can enter only one egress port. The NONE option removes the policy from all egress ports to which it has been assigned. The ALL option adds it to all ports. A port can be an egress port of only one policy at a time.
AT-S62 Management Software Command Line Interface User’s Guide SET QOS PORT Syntax set qos port=value type=ingress|egress policy=value|none Parameter port Specifies the port to which the policy is to be assigned or removed. You can specify more than one port at a time if the port is an ingress port of the traffic flow. Ports can be identified individually (e.g., 5,7,22), as a range (e.g., 18-23), or both (e.g., 1,5,14-22).
Chapter 17: Quality of Service (QoS) Commands SET QOS TRAFFICCLASS Syntax set qos trafficclass=value [description=”string”] [exceedaction=drop|remark] [exceedremarkvalue=value|none] [markvalue=value|none] [maxbandwidth=value|none] [burstsize=value|none] [priority=value|none] [remarkpriority=yes|no|on|off|true|false] [tos=value|none] [movetostopriority=yes|no|on|off|true|false] [moveprioritytotos=yes|no|on|off|true|false] [flowgrouplist=values|none] Parameters 314 trafficclass Specifies an ID number for
AT-S62 Management Software Command Line Interface User’s Guide markvalue Specifies a replacement value to write into the DSCP (TOS) field of the packets. The range is 0 to 63. A new DSCP value can be set at all three levels: flow group, traffic class, and policy. A DSCP value specified in a flow group overrides a DSCP value specified at the traffic class or policy level. A DSCP value specified at the traffic class level is used only if no value has been specified at the flow group level.
Chapter 17: Quality of Service (QoS) Commands unused tokens will accumulate in the bucket. If the traffic increases, the excess traffic will be discarded since no tokens are available for handling the increase. If the traffic is below the maximum bandwidth, unused tokens will accumulate in the bucket since the actual bandwidth falls below the specified maximum. The unused tokens will be available for handling excess traffic should the traffic exceed the maximum bandwidth.
AT-S62 Management Software Command Line Interface User’s Guide A new ToS value can be set at all three levels: flow group, traffic class, and policy. A ToS value specified in a flow group overrides a ToS value specified at the traffic class or policy level. movetostopriority moveprioritytotos flowgrouplist Replaces the value in the 802.1p priority field with the value in the ToS priority field on IPv4 packets. Options are: yes, on, true Replaces the value in the 802.
Chapter 17: Quality of Service (QoS) Commands Examples This command changes the exceed action in traffic class 18 to remark and specifies a remark value of 24.
AT-S62 Management Software Command Line Interface User’s Guide SHOW QOS FLOWGROUP Syntax show qos flowgroup[=idnumber] Parameters flowgroup Specifies the ID of the flow group you want to view. You can specify more than one classifier at a time. Description This command displays the flow groups on a switch. An example is shown in Figure 29. Flow Group ID .............. Description ................ DSCP value ................. Priority ................... Remark Priority ............ ToS .................
Chapter 17: Quality of Service (QoS) Commands set to No, which is the default, the packets retain their preexisting ToS priority level. Classifier List - The classifiers assigned to the policy. Parent Traffic Class ID - The ID number of the traffic class to which the flow group is assigned. A flow group can belong to only one traffic class at a time. Is Active - The status of the flow group.
AT-S62 Management Software Command Line Interface User’s Guide SHOW QOS POLICY Syntax show qos policy[=idnumber] Parameter policy Specifies the ID of the policy you want to view. You can specify more than one policy at a time. Separate multiple policies with commas (e.g., 4,5,10). Description This command displays the policies on a switch. An example is shown in Figure 30. Policy ID ................ Description .............. Remark DSCP .............. In DSCP overwrite ........ ToS ....................
Chapter 17: Quality of Service (QoS) Commands 802.1p priority level. Move Priority to ToS - If set to yes, replaces the value in the ToS priority field with the value in the 802.1p priority field on IPv4 packets. If set to No, which is the default, the packets retain their preexisting ToS priority level. Send to Mirror Port - Copies the traffic that meets the criteria of the classifiers to a destination mirror port.
AT-S62 Management Software Command Line Interface User’s Guide SHOW QOS TRAFFICCLASS Syntax show qos trafficclass[=idnumber] Parameter trafficclass Specifies the ID of the traffic class you want to view. You can specify more than one traffic class at a time. Separate multiple traffic classes with commas (e.g., 4,5,10). Description This command displays the traffic classes on a switch. An example is shown in Figure 31. Traffic Class ID .......... Description ............... Exceed Action .............
Chapter 17: Quality of Service (QoS) Commands Priority - The priority value in the IEEE 802.1p tag control field assigned to the traffic that belongs to this traffic class. Remark Priority - Replaces the user priority value in the packets with the Priority value. ToS - Specifies a replacement value to write into the Type of Service (ToS) field of IPv4 packets. The range is 0 to 7. Move ToS to Priority - If set to yes, replaces the value in the 802.
Chapter 18 Class of Service (CoS) Commands This chapter contains the following commands: “MAP QOS COSP” on page 326 “PURGE QOS” on page 328 “SET QOS COSP” on page 329 “SET QOS SCHEDULING” on page 330 “SET SWITCH PORT PRIORITY OVERRIDEPRIORITY” on page 331 “SHOW QOS CONFIG” on page 333 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 18: Class of Service (CoS) Commands MAP QOS COSP Syntax map qos cosp=priority-number qid=queue-number Parameters cosp Specifies a Class of Service (CoS) priority level. The CoS priority levels are 0 through 7, with 0 as the lowest priority and 7 as the highest. You can specify more than one priority to assign to the same egress queue. qid Specifies the egress queue number. The egress queues are numbered 0 through 3, with queue 0 as the lowest priority and 3 as the highest.
AT-S62 Management Software Command Line Interface User’s Guide Example The following command maps priorities 4 and 5, to queue 3: map qos cosp=4,5 qid=3 Equivalent Command set qos cosp=priority-number qid=queue-number For information, see “SET QOS COSP” on page 329.
Chapter 18: Class of Service (CoS) Commands PURGE QOS Syntax purge qos Parameters None Description This command destroys all QoS policies, traffic classes, and flow groups; resets the CoS priorities to port egress queues to the default values; and sets the scheduling mode and egress weight queues to their default values.
AT-S62 Management Software Command Line Interface User’s Guide SET QOS COSP Syntax set qos cosp=priority-number qid=queue-number Parameters cosp Specifies a Class of Service (CoS) priority level. The CoS priority levels are 0 through 7, with 0 as the lowest priority and 7 as the highest. You can specify more than one priority to assign to the same egress queue. qid Specifies the egress queue number. The egress queues are numbered 0 through 3, with queue 0 as the lowest priority and 3 as the highest.
Chapter 18: Class of Service (CoS) Commands SET QOS SCHEDULING Syntax set qos scheduling=strict|wrr weights=weights Parameters scheduling weights Specifies the type of scheduling. The options are: strict Strict priority. The port transmits all packets out of the higher priority queues before it transmits any from the low priority queues. This is the default. wrr Weighted round robin. The port transmits a set number of packets from each queue in a round robin manner.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH PORT PRIORITY OVERRIDEPRIORITY Syntax set switch port=port [priority=value] [overridepriority=yes|no|on|off|true|false] Parameters port Specifies the port you want to configure. You can specify more than one port at a time, but the ports must be of the same medium type. For example, you cannot configure twisted pair and fiber optic ports with the same command.
Chapter 18: Class of Service (CoS) Commands This command allows you to override the priority level mappings at the port level by assigning the packets a temporary priority. Note that this assignment is made when a packet is received on the ingress port and before the frame is forwarded to the egress port. Consequently, you need to configure this feature on the ingress port.
AT-S62 Management Software Command Line Interface User’s Guide SHOW QOS CONFIG Syntax show qos config Parameters None. Description Displays the CoS priority queues and scheduling. Figure 32 is an example of the information displayed by this command. QoS Configuration information: Number of CoS Queues .......... 8 CoS CoS CoS CoS CoS CoS CoS CoS 0 1 2 3 4 5 6 7 Priority Priority Priority Priority Priority Priority Priority Priority Queue Queue Queue Queue Queue Queue Queue Queue .......... ..........
Chapter 18: Class of Service (CoS) Commands Example The following command displays the CoS priority queues and scheduling: show qos config 334 Section II: Advanced Operations
Chapter 19 IGMP Snooping Commands This chapter contains the following commands: “DISABLE IGMPSNOOPING” on page 336 “ENABLE IGMPSNOOPING” on page 337 “SET IP IGMP” on page 338 “SHOW IGMPSNOOPING” on page 341 “SHOW IP IGMP” on page 342 Note Remember to use the SAVE CONFIGURATION command to save your changes on the switch. Note For background information, refer to Chapter 17, “IGMP Snooping” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 19: IGMP Snooping Commands DISABLE IGMPSNOOPING Syntax disable igmpsnooping Parameters None. Description This command deactivates IGMP snooping on the switch. Example The following command deactivates IGMP snooping: disable igmpsnooping Equivalent Command set ip igmp snoopingstatus=disabled For information, refer to “SET IP IGMP” on page 338.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE IGMPSNOOPING Syntax enable igmpsnooping Parameters None. Description This command activates IGMP snooping on the switch. Example The following command activates IGMP snooping: enable igmpsnooping Equivalent Command set ip igmp snoopingstatus=enabled For information, refer to “SET IP IGMP” on page 338.
Chapter 19: IGMP Snooping Commands SET IP IGMP Syntax set ip igmp [snoopingstatus=enabled|disabled] [hoststatus=singlehost|multihost] [timeout=value] [numbermulticastgroups=value] [routerport=port|all|none|auto] Parameters snoopingstatus hoststatus timeout Activates and deactivates IGMP snooping on the switch. The options are: enabled Activates IGMP snooping. disabled Deactivates IGMP snooping. This is the default setting. Specifies the IGMP host node topology.
AT-S62 Management Software Command Line Interface User’s Guide for queries from the router. If the switch does not detect any queries from a multicast router during the specified time interval, the router is assumed to be no longer active on the port. The actual timeout may be ten seconds less that the specified value. For example, a setting of 25 seconds can result in the switch classifying a host node or multicast router as inactive after just 15 seconds.
Chapter 19: IGMP Snooping Commands The following command changes the topology to Single-Host: set ip igmp hoststatus=singlehost The following command disables IGMP snooping: set ip igmp snoopingstatus=disabled Equivalent Commands disable igmpsnooping For information, refer to “DISABLE IGMPSNOOPING” on page 336. enable igmpsnooping For information, refer to “ENABLE IGMPSNOOPING” on page 337.
AT-S62 Management Software Command Line Interface User’s Guide SHOW IGMPSNOOPING Syntax show igmpsnooping Parameters None. Description This command displays the IGMP parameters. Figure 33 illustrates the information that is displayed by this command. IGMP Information: IGMP Snooping Status ............... Multicast Host Topology ............ Host/Router Timeout Interval ....... Maximum Multicast Groups ........... Multicast Router Port(s) ...........
Chapter 19: IGMP Snooping Commands SHOW IP IGMP Syntax show ip igmp [hostlist] [routerlist] Parameters hostlist Displays a list of the multicast groups learned by the switch, as well as the ports on the switch that are connected to host nodes. This parameter displays information only when there are active host nodes. routerlist Displays the ports on the switch where multicast routers are detected. This parameter displays information only when there are active multicast routers.
AT-S62 Management Software Command Line Interface User’s Guide The HOSTLIST parameter displays the following information: Number of IGMP Multicast Groups - The number of IGMP multicast groups with active host nodes on the switch. Multicast Group - The multicast address of the group. VLAN - The VID of the VLAN where the port or trunk is an untagged member. Port/Trunk - The port on the switch where the host node is connected.
Chapter 19: IGMP Snooping Commands Equivalent Command show igmpsnooping This command does not display the router and host lists. For information, see “SHOW IGMPSNOOPING” on page 341.
Chapter 20 Denial of Service Defense Commands This chapter contains the following command: “SET DOS” on page 346 “SET DOS IPOPTION” on page 347 “SET DOS LAND” on page 349 “SET DOS PINGOFDEATH” on page 350 “SET DOS SMURF” on page 352 “SET DOS SYNFLOOD” on page 353 “SET DOS TEARDROP” on page 354 “SHOW DOS” on page 356 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 20: Denial of Service Defense Commands SET DOS Syntax set dos ipaddress=ipaddress subnet=mask uplinkport=port Parameters ipaddress Specifies the IP address of one of the devices connected to the switch, preferably the lowest IP address. subnet Specifies the subnet mask of the LAN. A binary “1” indicates the switch should filter on the corresponding bit of the address, while a “0” indicates that it should not.
AT-S62 Management Software Command Line Interface User’s Guide SET DOS IPOPTION Syntax set dos ipoption port=port state=enable|disable [mirroring=yes|no|on|off|true|false|enabled|disabled] Parameters port Specifies the switch port where you want to enable or disable the IP Option defense. You can specify more than one port at a time. state Specifies the state of the IP Option defense. The options are: mirroring enable Activates the defense. disable Deactivates the defense. This is the default.
Chapter 20: Denial of Service Defense Commands You can use the MIRRORING parameter to copy the examined traffic to a destination port mirror for analysis with a data analyzer. To define the destination port, refer to “SET SWITCH MIRROR” on page 194.
AT-S62 Management Software Command Line Interface User’s Guide SET DOS LAND Syntax set dos land port=port state=enable|disable [mirroring=yes|no|on|off|true|false|enabled|disabled] Parameters port Specifies the switch port on which you want to enable or disable the Land defense. You can specify more than one port at a time. state Specifies the state of the Land defense. The options are: mirroring enable Activates the defense. disable Deactivates the defense. This is the default.
Chapter 20: Denial of Service Defense Commands SET DOS PINGOFDEATH Syntax set dos pingofdeath port=port state=enable|disable [mirroring=yes|no|on|off|true|false|enabled|disabled] Parameters port Specifies the switch ports on which to enable or disable the Ping of Death defense. You can specify more than one port at a time. state Specifies the state of the IP Option defense. The options are: mirroring enable Activates the defense. disable Deactivates the defense. This is the default.
AT-S62 Management Software Command Line Interface User’s Guide Note This defense mechanism requires some involvement by the switch’s CPU, though not as much as the Teardrop defense. This will not impact the forwarding of traffic between the switch ports, but it can affect the handling of CPU events, such as the processing of IGMP packets and spanning tree BPDUs.
Chapter 20: Denial of Service Defense Commands SET DOS SMURF Syntax set dos smurf port=port state=enable|disable Parameters port Specifies the switch ports on which you want to enable or disable SMURF defense. You can select more than one port at a time. state Specifies the state of the SMURF defense. The options are: enable Activates the defense. disable Deactivates the defense. This is the default. Description This command activates and deactivates the SMURF DoS defense.
AT-S62 Management Software Command Line Interface User’s Guide SET DOS SYNFLOOD Syntax set dos synflood port=port state=enable|disable Parameters port Specifies the switch ports on which you want to enable or disable this DoS defense. You can select more than one port at a time. state Specifies the state of the DoS defense. The options are: enable Activates the defense. disable Deactivates the defense. This is the default.
Chapter 20: Denial of Service Defense Commands SET DOS TEARDROP Syntax set dos teardrop port=port state=enable|disable [mirroring=yes|no|on|off|true|false|enabled|disabled] Parameters port Specifies the switch ports on which you want to enable or disable this DoS defense. You can select more than one port at a time. state Specifies the state of the DoS defense. The options are: mirroring enable Activates the defense. disable Deactivates the defense. This is the default.
AT-S62 Management Software Command Line Interface User’s Guide You can use the MIRRORING parameter to copy the offending traffic to a destination port mirror for analysis with a data analyzer. To define the destination port, refer to “SET SWITCH MIRROR” on page 194. Caution This defense is extremely CPU intensive and should be used with caution. Unrestricted use can cause a switch to halt operations if the CPU becomes overwhelmed with IP traffic.
Chapter 20: Denial of Service Defense Commands SHOW DOS Syntax 1 show dos [ipaddress] [subnet] [uplinkport] Syntax 2 show dos defense port=port Parameters ipaddress Displays the IP address of the LAN. subnet Displays the subnet mask. uplinkport Displays the uplink port for the Land defense. defense Displays the status of a specified defense for a particular port.
AT-S62 Management Software Command Line Interface User’s Guide The following command displays the status of the SMURF defense on port 4: show dos smurf port=4 Section II: Advanced Operations 357
Chapter 20: Denial of Service Defense Commands 358 Section II: Advanced Operations
Chapter 21 Power Over Ethernet Commands This chapter contains the following commands: “DISABLE POE PORT” on page 360 “ENABLE POE PORT” on page 361 “SET POE PORT” on page 362 “SET POE THRESHOLD” on page 364 “SHOW POE CONFIG” on page 365 “SHOW POE STATUS” on page 366 Note This chapter only applies to the AT-8524POE switch. Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 21: Power Over Ethernet Commands DISABLE POE PORT Syntax disable poe port=port Parameters port Specifies a port. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command disables PoE on a port. The default setting for PoE on a port is enabled. The port continues to provide standard Ethernet connectivity even when PoE is disabled.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE POE PORT Syntax enable poe port=port Parameters port Specifies a port. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description This command activates PoE on a port. The default setting for PoE is enabled.
Chapter 21: Power Over Ethernet Commands SET POE PORT Syntax set poe port=port [poefunction=enable|disable] [priority=low|high|critical] [powerlimit=value] Parameters port Specifies a port. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). poefunction Enables and disables PoE on a port. The default setting is enabled.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command disables PoE on ports 4 and 5: set poe port=4-5 poefunction=disable This command sets the priority on port 6 and 11 to high: set poe port=6,11 priority=high This commands sets the maximum power on port 14 to 12,500 mW: set poe port=14 powerlimit=12500 Section II: Advanced Operations 363
Chapter 21: Power Over Ethernet Commands SET POE THRESHOLD Syntax set poe threshold=value Parameters threshold Specifies the threshold as a percentage of the total amount of PoE available. The range is 1 to 100. Description The PoE threshold sends an SNMP trap to your management workstation and enters an event in the event log when the total power requirements of the powered devices exceeds the specified percentage of the total maximum power available on the switch.
AT-S62 Management Software Command Line Interface User’s Guide SHOW POE CONFIG Syntax show poe config [port=port] Parameter port Specifies a port. You can specify more than one port at a time. You can specify the ports individually (e.g., 5,7,22), as a range (e.g., 18-23), or both (e.g., 1,5,1422). Description Entering this command without specifying a port displays the following PoE information: Maximum available power - The total available power for PoE supplied by the switch.
Chapter 21: Power Over Ethernet Commands SHOW POE STATUS Syntax show poe status [port=port] Parameter port Specifies a port. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). Description Entering this command without specifying a port displays the following PoE information: Max Available Power - The total available power for PoE supplied by the switch.
AT-S62 Management Software Command Line Interface User’s Guide means the device is not a powered device or PoE has been disabled on the port. Power Consumed - The amount of power in milliwatts currently consumed by the powered device connected to the port. If the port is not connected to a powered device, this value will be 0 (zero). Power Limit - The maximum amount of power allowed by the port for the device. The default is 15,400 milliwatts (15.4 W).
Chapter 21: Power Over Ethernet Commands 368 Section II: Advanced Operations
Chapter 22 Networking Stack This chapter contains the following commands: “DELETE IP ARP” on page 370 “DELETE TCP” on page 371 “RESET IP ARP” on page 372 “SET IP ARP TIMEOUT” on page 373 “SHOW IP ARP” on page 374 “SHOW IP ROUTE” on page 375 “SHOW TCP” on page 376 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 20, “Networking Stack” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 22: Networking Stack DELETE IP ARP Syntax delete ip arp ipaddress|all Parameter ipaddress Specifies the IP address of an ARP entry to delete from the ARP table. all Specifies the deletion of all temporary ARP entries in the table. Description This command deletes ARP entries from the ARP table. Example The following command deletes the ARP entry with the IP address of 192.168.1.1: delete ip arp 192.168.1.
AT-S62 Management Software Command Line Interface User’s Guide DELETE TCP Syntax delete tcp indexnumber Parameter indexnumber Specifies the internal socket ID number assigned to the connection. Enter the index number of the TCP connection you want to delete. The range is 0 to 65535 with a default of 0. To display the index numbers, refer to “SHOW TCP” on page 376. Description This command deletes a TCP connection. You can use the command to end a Telnet, SSH or web browser management session of a switch.
Chapter 22: Networking Stack RESET IP ARP Syntax reset ip arp Parameter None Description This command resets the ARP table by deleting all of the temporary entries in the table.
AT-S62 Management Software Command Line Interface User’s Guide SET IP ARP TIMEOUT Syntax set ip arp timeout=integer Parameter timeout The range is 1 to 260000 seconds. The default setting is 400 seconds. Description This command prevents the table from becoming full with inactive entries. It allows you to set the timer for removing temporary entries in the ARP table. Inactive temporary entries in the ARP table are timed out according to the ARP cache timeout value which is set with the timeout option.
Chapter 22: Networking Stack SHOW IP ARP Syntax show ip arp Parameter None Description This command displays the IP addresses stored in the ARP table. An example is show in Figure 37. Interface IP Address MAC Address Type --------------------------------------------------------loopback 127.0.0.1 00:00:00:00:00:00 PERMANENT eth0 149.22.22.22 00:30:84:32:8A:5B TEMPORARY eth0 149.22.22.1 00:30:84:32:12:42 TEMPORARY eth0 149.22.22.101 00:30:84:32:8A:1B TEMPORARY eth0 149.22.22.
AT-S62 Management Software Command Line Interface User’s Guide SHOW IP ROUTE Syntax show ip route Parameter None Description This command displays the switch’s IP route table. An example is shown in Figure 38. Destination Mask Next Hop Interface --------------------------------------------------------------127.0.0.0 255.0.0.0 127.0.0.1 loopback 169.254.0.0 255.255.0.0 169.254.37.1 eth0 169.254.37.1 255.255.255.255 127.0.0.1 loopback Figure 38.
Chapter 22: Networking Stack SHOW TCP Syntax show tcp Parameter None Description This command displays the TCP connections and the TCP global information which is MIB variables defined in the TCP group. An example is show in Figure 39.
AT-S62 Management Software Command Line Interface User’s Guide Passive Opens - The number of TCP passive opens. Passive opens are issued to wait for a connection from another host. Attempt Fails - The number of failed connection attempts. Established Resets - The number of connections established but have not been reset. Current Established - The number of current connections. In Segs - The number of segments received. In Segs Error - The number of segments received with an error.
Chapter 22: Networking Stack The entries for the listening sockets for the Telnet, SSH, and web browser servers are identified in the table with a TCP state of LISTEN. If you disable a server on the switch, its corresponding LISTEN entry is removed from the table. Disabling all the servers leaves the table empty. (The SSH server is disabled by default on the switch.
Section III SNMPv3 The chapter in this section contains the commands for SNMPv3.
Section III: SNMPv3
Chapter 23 SNMPv3 Commands This chapter contains the following commands: “ADD SNMPV3 USER” on page 383 “CLEAR SNMPV3 ACCESS” on page 385 “CLEAR SNMPV3 COMMUNITY” on page 387 “CLEAR SNMPV3 NOTIFY” on page 388 “CLEAR SNMPV3 TARGETADDR” on page 389 “CLEAR SNMPV3 VIEW” on page 390 “CREATE SNMPV3 ACCESS” on page 391 “CREATE SNMPV3 COMMUNITY” on page 394 “CREATE SNMPV3 GROUP” on page 396 “CREATE SNMPV3 NOTIFY” on page 398 “CREATE SNMPV3 TARGETADDR” on page 400 “CRE
Chapter 23: SNMPv3 Commands “SET SNMPV3 NOTIFY” on page 426 “SET SNMPV3 TARGETADDR” on page 428 “SET SNMPV3 TARGETPARAMS” on page 430 “SET SNMPV3 USER” on page 432 “SET SNMPV3 VIEW” on page 434 “SHOW SNMPV3 ACCESS” on page 436 “SHOW SNMPV3 COMMUNITY” on page 437 “SHOW SNMPv3 GROUP” on page 438 “SHOW SNMPV3 NOTIFY” on page 439 “SHOW SNMPV3 TARGETADDR” on page 440 “SHOW SNMPV3 TARGETPARAMS” on page 441 “SHOW SNMPV3 USER” on page 442 “SHOW SNMPV3 VIEW” on pag
AT-S62 Management Software Command Line Interface User’s Guide ADD SNMPV3 USER Syntax add snmpv3 user=user [authentication=md5|sha] authpassword=password privpassword=password [storagetype=volatile|nonvolatile] Parameters user Specifies the name of an SNMPv3 user, up to 32 alphanumeric characters. authentication Specifies the authentication protocol that is used to authenticate this user with an SNMP entity (manager or NMS).
Chapter 23: SNMPv3 Commands volatile Does not allow you to save the table entry to the configuration file on the switch. This is the default. nonvolatile Allows you to save the table entry to the configuration file on the switch. Description This command creates an SNMPv3 User Table entry.
AT-S62 Management Software Command Line Interface User’s Guide CLEAR SNMPV3 ACCESS Syntax clear snmpv3 access=access [securitymodel=v1|v2c|v3] [securitylevel=noauthentication|authentication| privacy] readview writeview notifyview Parameters access Specifies the name of the security group, up to 32 alphanumeric characters. securitymodel Specifies the security model. The options are: securitylevel v1 Associates the Security Name, or User Name, with the SNMPv1 protocol.
Chapter 23: SNMPv3 Commands notifyview Specifies a Notify View Name that allows the users assigned to this security group to send traps permitted in the specified View. This is an optional parameter. Description This command clears the specified fields in an SNMPv3 Access Table entry. Examples The following command clears the readview parameter in a security group called “Engineering” which has a security model of the SNMPv3 protocol and a security level of privacy.
AT-S62 Management Software Command Line Interface User’s Guide CLEAR SNMPV3 COMMUNITY Syntax clear snmpv3 community index=index transporttag Parameters index Specifies the name of an existing SNMPv3 Community Table entry, up to 32 alphanumeric characters. transporttag Specifies the transport tag, up to 32 alphanumeric characters. Description This command clears the transporttag parameter in an SNMPv3 Community Table entry.
Chapter 23: SNMPv3 Commands CLEAR SNMPV3 NOTIFY Syntax clear snmpv3 notify=notify tag Parameters notify Specifies the name of an SNMPv3 Notify Table entry, up to 32 alphanumeric characters. tag Specifies the notify tag name, up to 32 alphanumeric characters. Description This command clears the value of the tag parameter in an SNMPv3 Notify Table entry.
AT-S62 Management Software Command Line Interface User’s Guide CLEAR SNMPV3 TARGETADDR Syntax clear snmpv3 targetaddr=targetaddr taglist Parameters targetaddr Specifies the name of the SNMPv3 Target Address Table entry, up to 32 alphanumeric characters. taglist Specifies a tag or list of tags, up to 256 alphanumeric characters. Description This command clears the value of the taglist parameter in an SNMPv3 Target Address Table entry.
Chapter 23: SNMPv3 Commands CLEAR SNMPV3 VIEW Syntax clear snmpv3 view=view [subtree=OID|text] mask Parameters view Specifies the name of the SNMPv3 view, up to 32 alphanumeric characters. subtree Specifies the view of the MIB Tree. Options are: mask OID A numeric value in hexadecimal format. text Text name of the view. Specifies the subtree mask, in hexadecimal format. Description This command clears the value of the mask parameter in an SNMPv3 View Table entry.
AT-S62 Management Software Command Line Interface User’s Guide CREATE SNMPV3 ACCESS Syntax create snmpv3 access=access [securitymodel=v1|v2c|v3] [securitylevel=noauthentication|authentication| privacy] readview=readview writeview=writeview notifyview=notifyview [storagetype=volatile|nonvolatile] Parameters access Specifies the name of the security group, up to 32 alphanumeric characters. securitymodel Specifies the security model.
Chapter 23: SNMPv3 Commands notifyview Specifies a Notify View Name that allows the users assigned to this Group Name to send traps permitted in the specified View. This is an optional parameter. If you do not assign a value to this parameter, then the notifyview parameter defaults to none. storagetype Specifies the storage type of this table entry. This is an optional parameter. The options are: volatile Does not allow you to save the table entry to the configuration file on the switch.
AT-S62 Management Software Command Line Interface User’s Guide Note In the above example, the storage type has not been specified. As a result, the storage type for the hwengineering security group is volatile storage.
Chapter 23: SNMPv3 Commands CREATE SNMPV3 COMMUNITY Syntax create snmpv3 community index=index communityname=communityname securityname=securityname transporttag=transporttag [storagetype=volatile|nonvolatile] Parameters index Specifies the name of this SNMPv3 Community Table entry, up to 32 alphanumeric characters. communityname Specifies a password for this community entry, up to 32 alphanumeric characters.
AT-S62 Management Software Command Line Interface User’s Guide The following command creates an SNMP community with an index of 95 and a community name of “12sacramento49.” The user is “regina” and the transport tag “trainingtag.” The storage type for this community is nonvolatile storage.
Chapter 23: SNMPv3 Commands CREATE SNMPV3 GROUP Syntax create snmpv3 group username=username [securitymodel=v1|v2c|v3] groupname=groupname [storagetype=volatile|nonvolatile] Parameter username Specifies a user name configured in the SNMPv3 User Table. securitymodel Specifies the security model of the above user name. The options are: v1 Associates the Security Name, or User Name, with the SNMPv1 protocol. v2c Associates the Security Name, or User Name, with the SNMPv2c protocol.
AT-S62 Management Software Command Line Interface User’s Guide create snmpv3 group username=Nancy securitymodel=v3 groupname=admin storagetype=nonvolatile The following command creates the SNMPv3 SecurityToGroup Table entry for a user named princess. The security model is set to the SNMPv3 protocol. The group name, or security group, for this user is the “training” group. The storage type is set to nonvolatile storage.
Chapter 23: SNMPv3 Commands CREATE SNMPV3 NOTIFY Syntax create snmpv3 notify=notify tag=tag [type=trap|inform] [storagetype=volatile|nonvolatile] Parameters notify Specifies the name of an SNMPv3 Notify Table entry, up to 32 alphanumeric characters. tag Specifies the notify tag name, up to 32 alphanumeric characters. This is an optional parameter. type Specifies the message type. This is an optional parameter.
AT-S62 Management Software Command Line Interface User’s Guide The following command creates the SNMPv3 Notify Table entry called “testenginform5” and the notify tag is “testenginformtag5.” The message type is defined as an inform message and the storage type for this entry is nonvolatile storage.
Chapter 23: SNMPv3 Commands CREATE SNMPV3 TARGETADDR Syntax create snmpv3 targetaddr=targetaddr params=params ipaddress=ipaddress udpport=udpport timeout=timeout retries=retries taglist=taglist [storagetype=volatile|nonvolatile] Parameters targetaddr Specifies the name of the SNMP manager, or host, that manages the SNMP activity on the switch, up to 32 alphanumeric characters. params Specifies the target parameters name, up to 32 alphanumeric characters.
AT-S62 Management Software Command Line Interface User’s Guide Examples In the following command, the name of the Target Address Table entry is “snmphost1.” In addition, the params parameter is assigned to “snmpv3manager” and the IP address is 198.1.1.1. The tag list consists of “swengtag,” “hwengtag,” and “testengtag.” The storage type for this table entry is nonvolatile storage. create snmpv3 targetaddr=snmphost1 params=snmpv3manager ipaddress=198.1.1.
Chapter 23: SNMPv3 Commands CREATE SNMPV3 TARGETPARAMS Syntax create snmpv3 targetparams=targetparams username=username [securitymodel=v1|v2c|v3] [messageprocessing=v1|v2c|v3] [securitylevel=noauthentication|authentication| privacy] [storagetype=volatile|nonvolatile] Parameters targetparams Specifies the name of the SNMPv3 Target Parameters Table entry, up to 32 alphanumeric characters. username Specifies a user name configured in the SNMPv3 User Table.
AT-S62 Management Software Command Line Interface User’s Guide securitylevel Specifies the security level. The options are: noauthentication This option provides no authentication protocol and no privacy protocol. storagetype authentication This option provides an authentication protocol, but no privacy protocol. privacy This option provides an authentication protocol and the privacy protocol. Specifies the storage type of this table entry. This is an optional parameter.
Chapter 23: SNMPv3 Commands CREATE SNMPV3 VIEW Syntax create snmpv3 view=view [subtree=OID|text] mask=mask [type=included|excluded] [storagetype=volatile|nonvolatile] Parameters view Specifies the name of the view, up to 32 alphanumeric characters. subtree Specifies the view of the MIB Tree. The options are: OID A numeric value in hexadecimal format. text Text name of the view. mask Specifies the subtree mask, in hexadecimal format. type Specifies the view type. This is an optional parameter.
AT-S62 Management Software Command Line Interface User’s Guide create snmpv3 view=internet1 subtree=internet type=included storagetype=nonvolatile The following command creates an SNMPv3 View Table entry called “tcp1” with a subtree value of the TCP/IP MIBs and a view type of excluded. The storage type for this table entry is nonvolatile storage.
Chapter 23: SNMPv3 Commands DELETE SNMPV3 USER Syntax delete snmpv3 user=user Parameters user Specifies the name of an SNMPv3 user to delete from the switch. Description This command deletes an SNMPv3 User Table entry. After you delete an SNMPv3 user from the switch, you cannot recover it. Examples The following command deletes the user named “wilson890.” delete snmpv3 user=wilson890 The following command deletes the user named “75murthy75.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY SNMPv3 ACCESS Syntax destroy snmpv3 access=access [securitymodel=v1|v2c|v3] [securitylevel=noauthentication|authentication| privacy] Parameter access Specifies an SNMPv3 Access Table entry. securitymodel Specifies the security model of the user name specified above. The options are: securitylevel v1 Associates the Security Name, or User Name, with the SNMPv1 protocol.
Chapter 23: SNMPv3 Commands destroy snmpv3 access=swengineering securitymodel=v3 securitylevel=authentication The following command deletes the SNMPv3 Access Table entry called “testengineering” with a security model of the SNMPv3 protocol and a security level of privacy.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY SNMPv3 COMMUNITY Syntax destroy snmpv3 community index=index Parameter index Specifies the name of this SNMPv3 Community Table entry, up to 32 alphanumeric characters. Description This command deletes an SNMPv3 Community Table entry. After you delete an SNMPv3 Community Table entry, you cannot recover it. Examples The following command deletes an SNMPv3 Community Table entry with an index of 1001.
Chapter 23: SNMPv3 Commands DESTROY SNMPv3 GROUP Syntax destroy snmpv3 group username=username [securitymodel=v1|v2c|v3] Parameter username Specifies a user name configured in the SNMPv3 User Table. securitymodel Specifies the security model of the above user name. The options are: v1 Associates the Security Name, or User Name, with the SNMPv1 protocol. v2c Associates the Security Name, or User Name, with the SNMPv2c protocol.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY SNMPv3 NOTIFY Syntax destroy snmpv3 notify=notify Parameter notify Specifies an SNMPv3 Notify Table entry. Description This command deletes an SNMPv3 Notify Table entry. After you delete an SNMPv3 Notify Table entry, you cannot recover it. Examples The following command deletes an SNMPv3 Notify Table entry called “systemtestnotifytrap.
Chapter 23: SNMPv3 Commands DESTROY SNMPv3 TARGETADDR Syntax destroy snmpv3 targetaddr=target Parameter targetaddr Specifies an SNMPv3 Target Address table entry. Description This command deletes an SNMPv3 Target Address Table entry. After you delete an SNMPv3 Target Address Table entry, you cannot recover it. Example The following command deletes an SNMPv3 Address Table entry called “snmpmanager.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY SNMPv3 TARGETPARMS Syntax destroy snmpv3 targetparams=targetparams Parameter targetparams Specifies an SNMPv3 Target Parameters table entry. Description This command deletes an SNMPv3 Target Parameters Table entry. After you delete an SNMPv3 Target Parameters Table entry, you cannot recover it. Examples The following command deletes the SNMPv3 Target Parameters Table entry called “targetparameter1.
Chapter 23: SNMPv3 Commands DESTROY SNMPV3 VIEW Syntax destroy snmpv3 view=view [subtree=OID|text] Parameters view Specifies the name of the view, up to 32 alphanumeric characters. subtree Specifies the view subtree view. The options are: OID A numeric value in hexadecimal format. text Text name of the view. Description This command deletes an SNMPv3 View Table entry. After you delete an SNMPv3 View Table entry, you cannot recover it.
AT-S62 Management Software Command Line Interface User’s Guide PURGE SNMPV3 ACCESS Syntax purge snmpv3 access Parameters None Description This command resets the SNMPv3 Access Table to its default value by removing all the access table entries. To remove a single entry, use “DESTROY SNMPv3 ACCESS” on page 407.
Chapter 23: SNMPv3 Commands PURGE SNMPV3 COMMUNITY Syntax purge snmpv3 community Parameters None Description This command resets the SNMPv3 Community Table to its default value by removing all the community table entries. To remove a single entry, use “DESTROY SNMPv3 COMMUNITY” on page 409.
AT-S62 Management Software Command Line Interface User’s Guide PURGE SNMPV3 NOTIFY Syntax purge snmpv3 notify Parameters None Description This command resets the SNMPv3 Notify Table to its default value by removing all the notify table entries. To remove a single entry, use “DESTROY SNMPv3 NOTIFY” on page 411.
Chapter 23: SNMPv3 Commands PURGE SNMPV3 TARGETADDR Syntax purge snmpv3 targetaddr Parameters None Description This command resets the SNMPv3 Target Address Table to its default values by removing all the target address table entries. To remove a single entry, use “DESTROY SNMPv3 TARGETADDR” on page 412.
AT-S62 Management Software Command Line Interface User’s Guide PURGE SNMPV3 VIEW Syntax purge snmpv3 view Parameters None Description This command resets the SNMPv3 View Table to its default values by removing all the view table entries. To remove a single entry, use “DESTROY SNMPV3 VIEW” on page 414.
Chapter 23: SNMPv3 Commands SET SNMPV3 ACCESS Syntax set snmpv3 access=access [securitymodel=v1|v2c|v3] [securitylevel=noauthentication|authentication| privacy] readview=readview writeview=writeview notifyview=notifyview [storagetype=volatile|nonvolatile] Parameters access Specifies the name of the group, up to 32 alphanumeric characters. securitymodel Specifies the security model. Options are: securitylevel v1 Associates the Security Name, or User Name, with the SNMPv1 protocol.
AT-S62 Management Software Command Line Interface User’s Guide storagetype Specifies the storage type of this table entry. This is an optional parameter. The options are: volatile Does not allow you to save the table entry to the configuration file on the switch. This is the default. nonvolatile Allows you to save the table entry to the configuration file on the switch. Description This command modifies an SNMPv3 Access Table entry.
Chapter 23: SNMPv3 Commands SET SNMPV3 COMMUNITY Syntax set snmpv3 community index=index communityname=communityname securityname=securityname transporttag=transporttag [storagetype=volatile|nonvolatile] Parameters index Specifies the name of this SNMPv3 Community Table entry, up to 32 alphanumeric characters. communityname Specifies a password of this community, up to 32 alphanumeric characters. securityname Specifies the name of an SNMPv1 and SNMPv2 user, up to 32 alphanumeric characters.
AT-S62 Management Software Command Line Interface User’s Guide set snmpv3 community index=52 communityname=oldmiss71 securityname=jjhuser234 transporttag=testtag40 Section III: SNMPv3 423
Chapter 23: SNMPv3 Commands SET SNMPV3 GROUP Syntax set snmpv3 group username=username [securitymodel=v1|v2c|v3] groupname=groupname [storagetype=volatile|nonvolatile] Parameter username Specifies a user name configured in the SNMPv3 User Table. securitymodel Specifies the security model of the above user name. The options are: v1 Associates the Security Name, or User Name, with the SNMPv1 protocol. v2c Associates the Security Name, or User Name, with the SNMPv2c protocol.
AT-S62 Management Software Command Line Interface User’s Guide The following command modifies the SecurityToGroup Table entry with a user name of “nelvid.” The security model is the SNMPv3 protocol and the group name “systemtest.
Chapter 23: SNMPv3 Commands SET SNMPV3 NOTIFY Syntax set snmpv3 notify=notify tag=tag [type=trap|inform] [storagetype=volatile|nonvolatile] Parameters notify Specifies the name associated with the trap message, up to 32 alphanumeric characters. tag Specifies the notify tag name, up to 32 alphanumeric characters. type Specifies the message type. Options are: storagetype trap Trap messages are sent, with no response expected from the host.
AT-S62 Management Software Command Line Interface User’s Guide The following command modifies an SNMPv3 Notify Table entry called “systemtestinform5.” The notify tag is “systemtestinform5tag” and the message type is an inform message.
Chapter 23: SNMPv3 Commands SET SNMPV3 TARGETADDR Syntax set snmpv3 targetaddr=targetaddr params=params ipaddress=ipaddress udpport=udpport timeout=timeout retries=retries taglist=taglist [storagetype=volatile|nonvolatile] Parameters 428 targetaddr Specifies the name of the SNMP entity (NMS or manager) that manages the SNMP activity on the switch, up to 32 alphanumeric characters. params Specifies the target parameters name, up to 32 alphanumeric characters. This is an optional parameter.
AT-S62 Management Software Command Line Interface User’s Guide Description This command modifies an SNMPv3 Target Address Table entry. Examples The following command modifies the Target Address Table entry with a value of “snmphost.” The params parameter is set to “targetparameter7” and the IP address is 198.1.1.1. The taglist is set to “systemtesttraptag” and “systemtestinformtag.” set snmpv3 targetaddr=snmphost params=targetparameter7 ipaddress=198.1.1.
Chapter 23: SNMPv3 Commands SET SNMPV3 TARGETPARAMS Syntax set snmpv3 targetparams=targetparams username=username [securitymodel=v1|v2c|v3] [messageprocessing=v1|v2c|v3] [securitylevel=noauthentication|authentication| privacy] [storagetype=volatile|nonvolatile] Parameters targetparams Specifies the target parameters name, up to 32 alphanumeric characters. username Specifies the user name. securitymodel Specifies the security model of the above user name.
AT-S62 Management Software Command Line Interface User’s Guide authentication This option provides an authentication protocol, but no privacy protocol. privacy storagetype This option provides an authentication protocol and the privacy protocol. Specifies the storage type of this table entry. This is an optional parameter. The options are: volatile Does not allow you to save the table entry to the configuration file on the switch. This is the default.
Chapter 23: SNMPv3 Commands SET SNMPV3 USER Syntax set snmpv3 user=user [authentication=md5|sha] authpassword=password privpassword=password [storagetype=volatile|nonvolatile] Parameters user Specifies the name of an SNMPv3 user, up to 32 alphanumeric characters. authentication Specifies the authentication protocol that is used to authenticate this user with an SNMPv3 entity (or NMS). The default is no authentication. The options are: md5 The MD5 authentication protocol.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command modifies a User Table entry called “atiuser104”. The authentication protocol is set to the MD5 protocol and the authentication password is “atlanta45denver.” The DES privacy protocol is on and the privacy password is “denvertoatlanta3.” set snmpv3 user=atiuser104 authentication=md5 authpassword=atlanta45denver privpassword=denvertoatlanta3 The following command modifies a User Table entry called “atiuser104.
Chapter 23: SNMPv3 Commands SET SNMPV3 VIEW Syntax set snmpv3 view=view [subtree=OID|text] mask=mask [type=included|excluded] [storagetype=volatile|nonvolatile] Parameters view Specifies the name of the view, up to 32 alphanumeric characters. subtree Specifies the view subtree view. Options are: OID A numeric value in hexadecimal format. text Text name of the view. mask Specifies the subtree mask, in hexadecimal format. type Specifies the view type.
AT-S62 Management Software Command Line Interface User’s Guide The following command modifies the view called system. The subtree is set to 1.3.6.1.2.1 (System MIBs) and the view type is excluded. set snmpv3 view=system subtree=1.3.6.1.2.
Chapter 23: SNMPv3 Commands SHOW SNMPV3 ACCESS Syntax show snmpv3 access=access Parameter access Specifies an SNMPv3 Access Table entry. Description This command displays the SNMPv3 Access Table. You can display one or all of the table entries. Examples The following command displays the SNMPv3 Access Table entry called “production.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SNMPV3 COMMUNITY Syntax show snmpv3 community index=index Parameter index Specifies the name of this SNMPv3 Community Table entry, up to 32 alphanumeric characters. Description This command displays the SNMPv3 Community Table. You can display one or all of the SNMPv3 Community Table entries.
Chapter 23: SNMPv3 Commands SHOW SNMPv3 GROUP Syntax show snmpv3 group username=username [securitymodel=v1|v2c|v3] Parameter username Specifies a user name configured in the SNMPv3 User Table. securitymodel Specifies the security model of the above user name. The options are: v1 Associates the Security Name, or User Name, with the SNMPv1 protocol. v2c Associates the Security Name, or User Name, with the SNMPv2c protocol. v3 Associates the Security Name, or User Name, with the SNMPv3 protocol.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SNMPV3 NOTIFY Syntax show snmpv3 notify=notify Parameter notify Specifies an SNMPv3 Notify Table entry. Description This command displays SNMPv3 Notify Table entries. You can display one or all of the table entries.
Chapter 23: SNMPv3 Commands SHOW SNMPV3 TARGETADDR Syntax show snmpv3 targetaddr=targetaddr Parameter targetaddr Specifies an SNMPv3 Target Address Table entry. Description This command displays SNMPv3 Target Address Table entries. You can display one or all of the table entries.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SNMPV3 TARGETPARAMS Syntax show snmpv3 targetparams=targetparams Parameter targetparams Specifies an SNMPv3 Target Parameters Table entry. Description This command displays SNMPv3 Target Parameters Table entries. You can display one or all of the table entries.
Chapter 23: SNMPv3 Commands SHOW SNMPV3 USER Syntax show snmpv3 user=user Parameters userSpecifies the name of an SNMPv3 user, up to 32 alphanumeric characters. Description This command displays SNMPv3 User Table entries. You can display one or all of the table entries.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SNMPV3 VIEW Syntax show snmpv3 view=view [subtree=OID|text] Parameter view Specifies an SNMPv3 View Table entry. subtree Specifies the view subtree view. Options are: OID A numeric value in hexadecimal format. text Text name of the view. Description This command displays the SNMPv3 View Table entries. You can display one or all of the table entries.
Chapter 23: SNMPv3 Commands 444 Section III: SNMPv3
Section IV Spanning Tree Protocols The chapters in this section contain the commands for the spanning tree protocols.
Section IV: Spanning Tree Protocols
Chapter 24 Spanning Tree Protocol Commands This chapter contains the following commands: “ACTIVATE STP” on page 448 “DISABLE STP” on page 449 “ENABLE STP” on page 450 “PURGE STP” on page 451 “SET STP” on page 452 “SET STP PORT” on page 455 “SET SWITCH MULTICASTMODE” on page 457 “SHOW STP” on page 459 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 24: Spanning Tree Protocol Commands ACTIVATE STP Syntax activate stp Parameters None. Description Use this command to designate STP as the active spanning tree on the switch. You cannot enable STP or configure its parameters until you have designated it as the active spanning tree with this command. Only one spanning tree protocol, STP, RSTP, or MSTP, can be active on the switch at a time.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE STP Syntax disable stp Parameters None. Description This command disables the Spanning Tree Protocol on the switch. The default setting for STP is disabled. To view the current status of STP, refer to “SHOW STP” on page 459.
Chapter 24: Spanning Tree Protocol Commands ENABLE STP Syntax enable stp Parameters None. Description This command enables the Spanning Tree Protocol on the switch. The default setting for STP is disabled. To view the current status of STP, refer to “SHOW STP” on page 459. Note You cannot enable STP until after you have activated it with “ACTIVATE STP” on page 448.
AT-S62 Management Software Command Line Interface User’s Guide PURGE STP Syntax purge stp Parameters None. Description This command returns all STP bridge and port parameters to the default settings. STP must be disabled in order for you to use this command. To disable STP, see “DISABLE STP” on page 449. Example The following command resets the STP parameter settings to their default values: purge stp Equivalent Command set stp default For information, see “SET STP” on page 452.
Chapter 24: Spanning Tree Protocol Commands SET STP Syntax set stp [default] [priority=priority] [hellotime=hellotime] [forwarddelay=forwarddelay] [maxage=maxage] Parameters default Disables STP and returns all bridge and port STP settings to the default values. This parameter cannot be used with any other command parameter and can only be used when STP is disabled. (This parameter performs the same function as the PURGE STP command.) priority Specifies the priority number for the bridge.
AT-S62 Management Software Command Line Interface User’s Guide hellotime Specifies the time interval between generating and sending configuration messages by the bridge. This parameter can be from 1 to 10 seconds. The default is 2 seconds. forwarddelay Specifies the waiting period before a bridge changes to a new state, for example, becomes the new root bridge after the topology changes.
Chapter 24: Spanning Tree Protocol Commands Examples The following command sets the switch’s bridge priority value to 45,056 (increment 11): set stp priority=11 The following command sets the hello time to 7 seconds and the forwarding delay to 25 seconds: set stp hellotime=7 forwarddelay=25 The following command returns all STP parameters on the switch to the default values: set stp default Equivalent Command purge stp For information, see “PURGE STP” on page 451.
AT-S62 Management Software Command Line Interface User’s Guide SET STP PORT Syntax set stp port=port [pathcost|portcost=auto|portcost] [portpriority=portpriority] Parameters port Specifies the port you want to configure. You can configure more than one port at a time. You can specify the ports individually (for example, 5, 7, 22), as a range (for example, 18-23), or both (for example, 1, 5, 14-22). pathcost or portcost Specifies the port’s cost. The parameters are equivalent.
Chapter 24: Spanning Tree Protocol Commands shown in Table 14. You specify the increment of the desired value. The default is 128 (increment 8). Table 14.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH MULTICASTMODE Syntax set switch multicastmode=[a|b|c|d] Parameter multicast mode Specifies the multicast mode. The options are: a Discards all ingress spanning tree BPDU and 802.1x EAPOL packets on all ports. b Forwards ingress spanning tree BPDU and 802.1x EAPOL packets across all VLANs and ports. c Forwards ingress BPDU and EAPOL packets only among the untagged ports of the VLAN where the ingress port is a member.
Chapter 24: Spanning Tree Protocol Commands If 802.1x port-based access control is disabled, all ingress EAPOL packets are discarded. B - Forwards ingress spanning tree BPDU and 802.1x EAPOL packets across all VLANs and ports. This is the default setting. The switch behaves as follows: If STP, RSTP, and MSTP are disabled, ingress BPDUs are flooded on all ports. If STP, RSTP, MSTP, and 802.1x are disabled on the switch, BPDUs and EAPOL packets are flooded on all ports.
AT-S62 Management Software Command Line Interface User’s Guide SHOW STP Syntax show stp [port=port] Parameter port Specifies the port whose STP parameters you want to view. You can view more than one port at a time.You can specify the ports individually (for example, 5, 7, 22), as a range (for example, 18-23), or both (for example, 1, 5, 14-22). Description This command displays the current values for the STP parameters. An example of the display is shown in Figure 41. Status ......................
Chapter 24: Spanning Tree Protocol Commands The root bridge parameter specifies the bridge identifier of the root bridge of the spanning tree domain. The identifier consists of the bridge priority value and MAC address of the root switch, separated by a slash (/). This parameter only appears when STP is activated on the switch. The root path cost parameter displays the path cost from the switch to the root bridge of the spanning tree domain. If the switch is the root bridge, the path cost is 0.
Chapter 25 Rapid Spanning Tree Protocol Commands This chapter contains the following commands: “ACTIVATE RSTP” on page 462 “DISABLE RSTP” on page 463 “ENABLE RSTP” on page 464 “PURGE RSTP” on page 465 “SET RSTP” on page 466 “SET RSTP PORT” on page 469 “SHOW RSTP” on page 472 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 25: Rapid Spanning Tree Protocol Commands ACTIVATE RSTP Syntax activate rstp Parameters None. Description Use this command to designate RSTP as the active spanning tree on the switch. After you have selected RSTP, you can enable or disable it using the ENABLE RSTP and DISABLE RSTP commands. RSTP is active on a switch only after you have designated it as the active spanning tree with this command and enabled it with the ENABLE RSTP command.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE RSTP Syntax disable rstp Parameters None. Description This command disables the Rapid Spanning Tree Protocol on the switch. To view the current status of RSTP, use “SHOW RSTP” on page 472.
Chapter 25: Rapid Spanning Tree Protocol Commands ENABLE RSTP Syntax enable rstp Parameters None. Description This command enables the Rapid Spanning Tree Protocol on the switch. The default setting for RSTP is disabled. To view the current status of RSTP, use “SHOW RSTP” on page 472. You cannot enable RSTP until you have activated it with the ACTIVATE RSTP command.
AT-S62 Management Software Command Line Interface User’s Guide PURGE RSTP Syntax purge rstp Parameters None. Description This command returns all RSTP bridge and port parameters to the default settings. RSTP must be disabled before you can use this command. To disable RSTP, refer to “DISABLE RSTP” on page 463. Example The following command resets RSTP: purge rstp Equivalent Command set rstp default For information, refer to “SET RSTP” on page 466.
Chapter 25: Rapid Spanning Tree Protocol Commands SET RSTP Syntax set rstp [default] [priority=priority] [hellotime=hellotime] [forwarddelay=forwarddelay] [maxage=maxage] [rstptype|forceversion=stpcompatible| forcestpcompatible|normalrstp] Parameters default Returns all bridge and port RSTP settings to the default values. This parameter cannot be used with any other command parameter and only when RSTP is disabled. (This parameter performs the same function as the PURGE RSTP command.
AT-S62 Management Software Command Line Interface User’s Guide hellotime Specifies the time interval between generating and sending configuration messages by the bridge. This parameter can be from 1 to 10 seconds. The default is 2 seconds. forwarddelay Specifies the waiting period before a bridge changes to a new state, for example, becomes the new root bridge after the topology changes. If the bridge transitions too soon, not all links may have yet adapted to the change, resulting in network loops.
Chapter 25: Rapid Spanning Tree Protocol Commands Forwarding delay Maximum age time Port priority Force version of STP or normal RSTP This command can also return the RSTP parameters to their default settings. Note You can use this command only if RSTP is the active spanning tree protocol on the switch. See “ACTIVATE RSTP” on page 462.
AT-S62 Management Software Command Line Interface User’s Guide SET RSTP PORT Syntax set rstp port=port [pathcost|portcost=cost|auto] [portpriority=portpriority] [edgeport=yes|no|on|off|true|false] [ptp|pointtopoint=yes|no|on|off|true|false|autoupdate] [migrationcheck=yes|no|on|off|true|false] Parameters port Specifies the port you want to configure. You can specify more than one port at a time.
Chapter 25: Rapid Spanning Tree Protocol Commands Table 17. RSTP Auto-Detect Port Trunk Costs portpriority Port Speed Port Cost 100 Mbps 20,000 1000 Mbps 2,000 Specifies the port’s priority. This parameter is used as a tie breaker when two or more ports are determined to have equal costs to the root bridge. The range is 0 to 240 in increments of 16, for a total of 16 increments, as shown in Table 18. You specify the increment that corresponds to the desired value.
AT-S62 Management Software Command Line Interface User’s Guide migrationcheck yes, on, true The port is an point-to-point port. The options are equivalent. no, off, false The port is not an point-to-point port. The parameters are equivalent. are equivalent. autoupdate The port’s status is determined automatically. This is the default. Enables and disables migration check.
Chapter 25: Rapid Spanning Tree Protocol Commands SHOW RSTP Syntax show rstp [portconfig=port|portstate=port] Parameters portconfig Displays the RSTP port settings. You can specify more than one port at a time. portstate Displays the RSTP port status. You can specify more than one port at a time. Description You can use this command to display the RSTP parameter settings. An example of the display is shown in Figure 43. Status ....................... Force Version ................ Bridge Priority ....
AT-S62 Management Software Command Line Interface User’s Guide The root bridge identifier parameter displays the bridge priority value and MAC address of the root switch of the spanning tree domain. The values are separated by a slash (/). This parameter only appears when RSTP is activated on the switch. The root path cost parameter displays the path cost from the switch to the root bridge of the spanning tree domain. If the switch is the root bridge, the path cost is 0.
Chapter 25: Rapid Spanning Tree Protocol Commands The information displayed by the command is as follows: Port — The port number. State — The RSTP state of the port. The possible states for a port connected to another device running RSTP are Discarding and Forwarding. The possible states for a port connected to a device running STP are Listening, Learning, Forwarding, and Blocking. The possible states for a port not being used or where spanning tree is not activated is Disabled.
Chapter 26 Multiple Spanning Tree Protocol Commands This chapter contains the following commands: “ACTIVATE MSTP” on page 476 “ADD MSTP” on page 477 “CREATE MSTP” on page 478 “DELETE MSTP” on page 479 “DESTROY MSTP MSTIID” on page 480 “DISABLE MSTP” on page 481 “ENABLE MSTP” on page 482 “PURGE MSTP” on page 483 “SET MSTP” on page 484 “SET MSTP CIST” on page 487 “SET MSTP MSTI” on page 488 “SET MSTP MSTIVLANASSOC” on page 490 “SET MSTP PORT” on page 491
Chapter 26: Multiple Spanning Tree Protocol Commands ACTIVATE MSTP Syntax activate mstp Parameters None. Description This command designates MSTP as the active spanning tree on the switch. You cannot enable MSTP or configure its parameters until after you have designated it as the active spanning tree with this command. Only one spanning tree protocol can be active on the switch at a time.
AT-S62 Management Software Command Line Interface User’s Guide ADD MSTP Syntax add mstp mstiid=mstiid mstivlanassoc=vids Parameters mstiid Specifies the ID of the multiple spanning tree instance (MSTI) to which you want to associate VLANs. You can specify only one MSTI ID at a time. The range is 1 to 15. mstivlanassoc Specifies the VID of the VLAN you want to associate with the MSTI ID. You can specify more than one VID at a time (for example, 2,5,44).
Chapter 26: Multiple Spanning Tree Protocol Commands CREATE MSTP Syntax create mstp mstiid=mstiid [mstivlanassoc=vids] Parameters mstiid Specifies the MSTI ID of the spanning tree instance you want to create. You can specify only one MSTI ID at a time. The range is 1 to 15. mstivlanassoc Specifies the VID of the VLAN you want to associate with the MSTI ID. You can specify more than one VID at a time (for example, 2,5,44).
AT-S62 Management Software Command Line Interface User’s Guide DELETE MSTP Syntax delete mstp mstiid=mstiid mstivlanassoc=vids Parameters mstiid Specifies the MSTI ID of the spanning tree instance where you want to remove VLANs. You can specify only one MSTI ID at a time. The range is 1 to 15. mstivlanassoc Specifies the VID of the VLAN you want to remove from the spanning tree instance. You can specify more than one VID at a time (for example, 2,5,44).
Chapter 26: Multiple Spanning Tree Protocol Commands DESTROY MSTP MSTIID Syntax destroy mstp mstiid=mstiid Parameter mstiid Specifies the MSTI ID of the spanning tree instance you want to delete. You can specify only one MSTI ID at a time. The range is 1 to 15. Description This command deletes a spanning tree instance. VLANs associated with a deleted MSTI are returned to CIST.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE MSTP Syntax disable mstp Parameters None. Description This command disables the Multiple Spanning Tree Protocol on the switch. To view the current status of MSTP, refer to “SHOW MSTP” on page 495.
Chapter 26: Multiple Spanning Tree Protocol Commands ENABLE MSTP Syntax enable mstp Parameters None. Description This command enables Multiple Spanning Tree Protocol on the switch. To view the current status of MSTP, refer to “SHOW MSTP” on page 495. You must select MSTP as the active spanning tree on the switch before you can enable it with this command. To activate MSTP, see “ACTIVATE MSTP” on page 476.
AT-S62 Management Software Command Line Interface User’s Guide PURGE MSTP Syntax purge mstp Parameters None. This command returns all MSTP bridge and port parameters settings to their default values. This command also deletes all multiple spanning tree instances and VLAN associations. In order for you to use this command, MSTP must be the active spanning tree protocol on the switch and the protocol must be disabled.
Chapter 26: Multiple Spanning Tree Protocol Commands SET MSTP Syntax set mstp [default] [forceversion=stpcompatible|forcestpcompatible| normalmstp] [hellotime=hellotime] [forwarddelay=forwarddelay] [maxage=maxage] [maxhops=maxhops] [configname="name"] [revisionlevel=number] Parameters default Disables MSTP and returns all bridge and port MSTP settings to the default values. This parameter cannot be used with any other parameter. (This parameter performs the same function as the PURGE MSTP command.
AT-S62 Management Software Command Line Interface User’s Guide forwarddelay Specifies the waiting period before a bridge changes to a new state, for example, becomes the new root bridge after the topology changes. If the bridge transitions too soon, not all links may have yet adapted to the change, resulting in network loops. The range is 4 to 30 seconds. The default is 15 seconds. This parameter effects only those ports operating in the STP compatible mode.
Chapter 26: Multiple Spanning Tree Protocol Commands Forwarding delay Maximum age time Maximum hop count Force version of STP or normal MSTP Configuration name Revision level Examples The following command disables MSTP and returns all MSTP parameter settings to their default values: set mstp default The following command sets the hop count to 10, the configuration name to Engineering Region, and the reversion level to 2: set mstp maxhops=10 configname="Engineering Region" revision
AT-S62 Management Software Command Line Interface User’s Guide SET MSTP CIST Syntax set mstp cist priority=priority Parameter priority Specifies the CIST priority number for the switch. The range is 0 to 61,440 in increments of 4,096. The range is divided into sixteen increments, as shown in Table 19. You specify the increment that represents the desired bridge priority value. The default value is 32,768, which is increment 8. Table 19.
Chapter 26: Multiple Spanning Tree Protocol Commands SET MSTP MSTI Syntax set mstp msti mstiid=mstiid priority=priority Parameters mstiid Specifies a MSTI ID. You can specify only one MSTI ID at a time. The range is 1 to 15. priority Specifies the MSTI priority value for the switch. The range is 0 to 61,440 in increments of 4,096. The range is divided into sixteen increments, as shown in Table 20. You specify the increment that represents the desired bridge priority value.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command changes the MSTI priority value to 45,056 (increment 11) for the MSTI ID 4: set mstp msti mstiid=4 priority=11 The following command changes the MSTI priority value to 8,192 (increment 2) for the MSTI ID 6: set mstp msti mstiid=6 priority=2 Section IV: Spanning Tree Protocols 489
Chapter 26: Multiple Spanning Tree Protocol Commands SET MSTP MSTIVLANASSOC Syntax set mstp mstivlanassoc mstiid=mstiid vlanlist=vids Parameters mstiid Specifies the ID of the spanning tree instance where you want to associate VLANs. You can specify only one MSTI ID at a time. The range is 1 to 15. vlanlist Specifies the VID of the VLAN you want to associate with the MSTI ID. You can specify more than one VID at a time (for example, 2,5,44).
AT-S62 Management Software Command Line Interface User’s Guide SET MSTP PORT Syntax 1 set mstp port=port|all [extportcost=auto|portcost] [edgeport=yes|no|no|on|off|true|false] [ptp|pointtopoint=yes|no|on|off|true|false|autoupdate] [migrationcheck=yes|no|on|off|true|false] Syntax 2 set mstp port=port|all [intportcost=auto|portcost] [portpriority=priority] [stpid=msti_id] Parameters port Specifies the port you want to configure. You can specify more than one port at a time.
Chapter 26: Multiple Spanning Tree Protocol Commands edgeport ptp or pointtopoint migrationcheck Defines whether the port is functioning as an edge port. An edge port is connected to a device operating at halfduplex mode and is not connected to any device running STP or MSTP. Selections are: yes, on, true The port is an edge port. These values are equivalent. This is the default. no, off, false The port is not an edge port. These values are equivalent.
AT-S62 Management Software Command Line Interface User’s Guide portpriority Specifies the port’s priority. This parameter is used as a tie breaker when two or more ports are determined to have equal costs to the root bridge. The range is 0 to 240 in increments of 16. There are sixteen increments, as shown in Table 23 on page 493. You specify the increment of the desired value. The default is 128, which is increment 8. Table 23.
Chapter 26: Multiple Spanning Tree Protocol Commands Synax 1 Examples The following command sets the external port cost to 500 for Ports 14 and 23: set mstp port=14,23 extportcost=500 The following command sets the external port cost to 1,000,000 for Port 4 and designates it as an edge port: set mstp port=6-8 edgeport=yes The following command sets the external port cost for Ports 2 and 5 to Auto, which sets the port cost based on speed: set mstp port=2-5 extportcost=auto The following command designate
AT-S62 Management Software Command Line Interface User’s Guide SHOW MSTP Syntax show mstp [portconfig=ports] [portstate=ports] [stpid=msti_id] [mstistate] [cist] [mstivlanassoc] Parameters portconfig Displays the MSTP settings of a port. You can specify more than one port at a time. For a list of the MSTP information displayed by this parameter, refer to Description below. portstate Displays the MSTP state of a port. You can specify more than one port at a time.
Chapter 26: Multiple Spanning Tree Protocol Commands Entering SHOW MSTP without any parameters displays the following MSTP settings: MSTP status Force version Hello time Forwarding delay Maximum age Maximum hops Configuration name Reversion level Bridge identifier Root identifier The hello time, forwarding delay, and bridge max age parameters will have two values if MSTP is enabled on the switch (for example, Forwarding Delay .. 15/15).
AT-S62 Management Software Command Line Interface User’s Guide Point-to-point status Spanning tree version Internal and external port costs The MSTI parameter displays the following information for each spanning tree instance (excluding the CIST) on the switch: MSTI ID MSTI priority Regional root ID Path cost Associated VLANs The CIST parameter displays the following CIST information: CIST priority value Root ID Root path cots Regional root ID Regional roo
Chapter 26: Multiple Spanning Tree Protocol Commands 498 Section IV: Spanning Tree Protocols
Section V Virtual LANs The chapters in this section contain the commands for managing virtual LANs using the AT-S62 management software.
Section V: Virtual LANs
Chapter 27 Port-based, Tagged, and Multiple Mode VLAN Commands This chapter contains the following commands: “ADD VLAN” on page 502 “CREATE VLAN” on page 504 “DELETE VLAN” on page 507 “DESTROY VLAN” on page 509 “SET SWITCH INFILTERING” on page 510 “SET SWITCH MANAGEMENTVLAN” on page 511 “SET SWITCH VLANMODE” on page 512 “SET VLAN” on page 514 “SHOW VLAN” on page 515 Note Remember to use the SAVE CONFIGURATION command to save your changes on the switch.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands ADD VLAN Syntax 1 add vlan=name [vid=vid] ports=ports|all frame=untagged|tagged Syntax 2 add vlan=name [vid=vid] taggedports=ports|all untaggedports=ports|all Parameters vlan Specifies the name of the VLAN to modify. vid Specifies the VID of the VLAN you want to modify. This parameter is optional. ports Specifies the ports to be added to the VLAN.
AT-S62 Management Software Command Line Interface User’s Guide This command has two syntaxes. You can use either command to add ports to a VLAN. The difference between the two is that Syntax 1 can add only one type of port, tagged or untagged, at a time to a VLAN, while Syntax 2 can add both in the same command. This is illustrated in Examples below. When you add untagged ports to a VLAN, the ports are automatically removed from their current untagged VLAN assignment.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands CREATE VLAN Syntax 1 create vlan=name vid=vid [type=port] ports=ports|all frame=untagged|tagged Syntax 2 create vlan=name vid=vid [type=port] taggedports=ports|all untaggedports=ports|all Parameters vlan Specifies the name of the VLAN. You must assign a name to a VLAN. The name can be from 1 to 20 characters in length and should reflect the function of the nodes that will be a part of the VLAN (for example, Sales or Accounting).
AT-S62 Management Software Command Line Interface User’s Guide type Specifies the type of VLAN to be created. The option PORT signifies a port-based or tagged VLAN. This parameter is optional. ports Specifies the ports on the switch that are either tagged or untagged members of the new VLAN. You can specify the ports individually (for example, 5, 7, 22), as a range (for example, 18-23), or both (for example, 1, 5, 14-22). To specify all ports on the switch, use ALL.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands Tagged ports of the new VLAN remain as tagged and untagged members of their current VLAN assignments. No change is made to a tagged port’s current VLAN assignments, other than its addition to the new VLAN. This is because a tagged port can belong to more than one VLAN at a time. For example, if you add port 6 as a tagged port to a new VLAN, port 6 remains a member of its other current untagged and tagged VLAN assignments.
AT-S62 Management Software Command Line Interface User’s Guide DELETE VLAN Syntax 1 delete vlan=name [vid=vid] ports=ports frame=untagged|tagged Syntax 2 delete vlan=name [vid=vid] taggedports=ports untaggedports=ports Parameters vlan Specifies the name of the VLAN to be modified. vid Specifies the VID of the VLAN to be modified. This parameter is optional. ports Specifies the ports to be removed from the VLAN. This parameter must be used with the FRAME parameter.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands Note You cannot change a VLAN’s name or VID. When you remove an untagged port from a VLAN, the following happens: The port is returned to the Default_VLAN as an untagged port. If the port is also a tagged member of other VLANS, those VLAN assignments are not changed. The port remains a tagged member of the other VLANs.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY VLAN Syntax destroy vlan=name|vid|all Parameters vlan Specifies the name or VID of the VLAN to be deleted. To delete all VLANs, use the ALL option. Description This command deletes port-based, tagged, and MAC address-based VLANs from a switch. You can use the command to deleted selected VLANs or all VLANs, with the exception of the Default_VLAN.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands SET SWITCH INFILTERING Syntax set switch infiltering=yes|no|on|off|true|false Parameters infiltering Specifies the operating status of ingress filtering. The options are: yes, on, true Activates ingress filtering. The options are equivalent. This is the default. no, off, false Deactivates ingress filtering. The options are equivalent. Description This command controls the status of ingress filtering.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH MANAGEMENTVLAN Syntax set switch managementvlan=name|VID Parameter managementvlan Specifies the management VLAN. You can specify the VLAN by name or by its VID. You can specify only one management VLAN. The default management VLAN is Default_VLAN (VID 1). Description This command sets the management VLAN. The switch uses this VLAN to watch for management packets from remote Telnet, SSH, and web browser management sessions.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands SET SWITCH VLANMODE Syntax set switch vlanmode=userconfig|dotqmultiple|multiple [uplinkport=port] Parameters vlanmode uplinkport Controls the switch’s VLAN mode. Options are: userconfig This mode allows you to create your own port-based and tagged VLANs. This is the default setting. dotqmultiple This option configures the switch for the 802.1Q-compliant multiple VLAN mode. multiple This option configures the switch for the non-802.
AT-S62 Management Software Command Line Interface User’s Guide The following command sets the switch so that you can create your own port-based and tagged VLANs: set switch vlanmode=userconfig Section V: Virtual LANs 513
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands SET VLAN Syntax set vlan=name [vid=vid] type=portbased Parameter vlan Specifies the name of the dynamic GVRP VLAN you want to convert into a static VLAN. To view VLAN names, refer to “SHOW VLAN” on page 515. vid Specifies the VID of the dynamic VLAN. To view VIDs, refer to “SHOW VLAN” on page 515. This parameter is optional. type Specifies the type of static VLAN to which the dynamic VLAN is to be converted.
AT-S62 Management Software Command Line Interface User’s Guide SHOW VLAN Syntax show vlan[=name|vid] Parameter vlan Specifies the name or VID of the VLAN. Description This command displays the VLANs on the switch. An example of the information displayed by this command for port-based and tagged VLANs is shown in Figure 46. VLAN Name ............................ VLAN ID .............................. Protected Ports ...................... Untagged Port(s) Configured ......................... Actual .....
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands If you are using 802.1x and you assigned a guest VLAN to an authenticator port or you associated an 802.1x supplicant to a VLAN on the authentication server, it is possible for ports to be in different VLANs than the virtual LANs where they were originally assigned as untagged ports.
AT-S62 Management Software Command Line Interface User’s Guide Untagged port(s) - The untagged port of the VLAN. Tagged port(s) - The tagged port that is functioning as the uplink port for the VLANs. For an example of the information displayed by this command for a protected ports VLAN, see Figure 48 on page 541.
Chapter 27: Port-based, Tagged, and Multiple Mode VLAN Commands 518 Section V: Virtual LANs
Chapter 28 GARP VLAN Registration Protocol Commands This chapter contains the following commands: “DISABLE GARP” on page 520 “ENABLE GARP” on page 521 “PURGE GARP” on page 522 “SET GARP PORT” on page 523 “SET GARP TIMER” on page 524 “SHOW GARP” on page 526 “SHOW GARP COUNTER” on page 527 “SHOW GARP DATABASE” on page 529 “SHOW GARP GIP” on page 530 “SHOW GARP MACHINE” on page 531 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 28: GARP VLAN Registration Protocol Commands DISABLE GARP Syntax disable garp=gvrp [gip] Parameters garp Specifies the GARP application you want to disable. The only GARP application supported by AT-S62 management software is GVRP. gip Disables GARP Information Propagation (GIP). Note The online help for this command contains an STP option. The option is not supported. Description This command disables GVRP on the switch.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE GARP Syntax enable garp=gvrp [gip] Parameters garp Specifies the GARP application you want to enable. The only GARP application supported by AT-S62 management software is GVRP. gip Enables GARP Information Propagation (GIP). Note The online help for this command contains an STP option. This option is not supported. Description This command enables GVRP on the switch.
Chapter 28: GARP VLAN Registration Protocol Commands PURGE GARP Syntax purge garp=gvrp Parameter garp Specifies the GARP application you want to reset. The only GARP application supported by AT-S62 management software is GVRP. Note The online help for this command contains an STP option. This option is not supported. Description This command disables GVRP and returns all GVRP parameters to their default settings. All GVRP-related statistics counters are returned to zero.
AT-S62 Management Software Command Line Interface User’s Guide SET GARP PORT Syntax set garp=gvrp port=port mode=normal|none Parameters garp Specifies the GARP application you want to configure. The only GARP application supported by AT-S62 management software is GVRP. port Specifies the port you want to configure on the switch. You can specify more than one port at a time. mode Specifies the GVRP mode of the port. Modes are: normal The port will participate in GVRP.
Chapter 28: GARP VLAN Registration Protocol Commands SET GARP TIMER Syntax set garp=gvrp timer [default] [jointime=value] [leavetime=value] [leavealltime=value] Parameters garp Specifies the GARP application you want to configure. The only GARP application supported by AT-S62 management software is GVRP. default Returns the GARP timers to their default settings. jointime Specifies the Join Timer in centiseconds, which are one hundredths of a second. The default is 20 centi seconds.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command sets the Join Period timer to 0.1 second, Leave Period timer to 0.
Chapter 28: GARP VLAN Registration Protocol Commands SHOW GARP Syntax show garp=gvrp Parameter garp Specifies the GARP application you want to display. The only GARP application supported by AT-S62 management software is GVRP. Note The online help for this command contains an STP option. This option is not supported.
AT-S62 Management Software Command Line Interface User’s Guide SHOW GARP COUNTER Syntax show garp=gvrp counter Parameter garp Specifies the GARP application you want to display. The only GARP application supported by AT-S62 management software is GVRP. Note The online help for this command contains an STP option. This option is not supported.
Chapter 28: GARP VLAN Registration Protocol Commands Receive GARP Messages: LeaveIn Transmit GARP Messages: LeaveIn Receive GARP Messages: Empty Transmit GARP Messages: Empty Receive GARP Messages: Bad Message Receive GARP Messages: Bad Attribute Example The following command displays information for all GARP application counters: show garp=gvrp counter 528 Section V: Virtual LANs
AT-S62 Management Software Command Line Interface User’s Guide SHOW GARP DATABASE Syntax show garp=gvrp db|database Parameters garp Specifies the GARP application you want to display. The only GARP application supported by AT-S62 management software is GVRP. Note The online help for this command contains an STP option. This option is not supported. Description This command displays the following parameters for the internal database for the GARP application.
Chapter 28: GARP VLAN Registration Protocol Commands SHOW GARP GIP Syntax show garp=gvrp gip Parameter garp Specifies the GARP application you want to display. The only GARP application supported by AT-S62 management software is GVRP. Note The online help for this command contains an STP option. This option is not supported.
AT-S62 Management Software Command Line Interface User’s Guide SHOW GARP MACHINE Syntax show garp=gvrp machine Parameter garp Specifies the GARP application you want to display. The only GARP application supported by AT-S62 management software is GVRP. Note The online help for this command contains an STP option. This option is not supported. Description This command displays the following parameters for the GID state machines for the GARP application.
Chapter 28: GARP VLAN Registration Protocol Commands 532 Section V: Virtual LANs
Chapter 29 Protected Ports VLAN Commands This chapter contains the following commands: “ADD VLAN GROUP” on page 534 “CREATE VLAN PORTPROTECTED” on page 536 “DELETE VLAN” on page 537 “DESTROY VLAN” on page 539 “SET VLAN” on page 540 “SHOW VLAN” on page 541 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 27, “Protected Ports VLANs” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 29: Protected Ports VLAN Commands ADD VLAN GROUP Syntax 1 add vlan=name|vid ports=ports frame=tagged|untagged group=uplink|1..256 Syntax 2 add vlan=name|vid [taggedports=ports] [untaggedports=ports] group=uplink|1..256 Parameters vlan Specifies the name or VID of the protected ports VLAN where ports are to be added. You can identify the VLAN by either its name or VID. ports Specifies the uplink port(s) or the ports of a group.
AT-S62 Management Software Command Line Interface User’s Guide Note the following before using this command: You must first create the protected ports VLAN by giving it a name and a VID before you can add ports. Creating a VLAN is accomplished with “CREATE VLAN PORTPROTECTED” on page 536. Both command syntaxes perform the same function. The difference is that with syntax 1 you can add ports of only one type, tagged or untagged, at a time. With syntax 2, you can add both at the same time.
Chapter 29: Protected Ports VLAN Commands CREATE VLAN PORTPROTECTED Syntax create vlan=name vid=vid portprotected Parameters vlan Specifies the name of the new protected ports VLAN. The name can be from one to fifteen alphanumeric characters in length. The name should reflect the function of the nodes that will be a part of the protected ports VLAN (for example, InternetGroups). The name cannot contain spaces or special characters, such as an asterisk (*) or exclamation point (!).
AT-S62 Management Software Command Line Interface User’s Guide DELETE VLAN Syntax 1 delete vlan=name|vid ports=ports frame=tagged|untagged Syntax 2 delete vlan=name|vid [taggedports=ports] [untaggedports=ports] Parameters vlan Specifies the name or VID of the VLAN to be modified. You can specify the VLAN by its name or VID. port Specifies the port to be removed from the VLAN. You can specify more than one port at a time. This parameter must be used with the FRAME parameter.
Chapter 29: Protected Ports VLAN Commands Examples The following command uses Syntax 1 to delete untagged port 12 from the InternetGroups VLAN: delete vlan=InternetGroups port=12 frame=untagged The following command accomplishes the same thing using Syntax 2: delete vlan=InternetGroups untaggedports=12 538 Section V: Virtual LANs
AT-S62 Management Software Command Line Interface User’s Guide DESTROY VLAN Syntax destroy vlan=name|vid|all Parameters vlan Specifies the name or VID of the VLAN to be destroyed. To delete all tagged, port-based, and protected ports VLANs on the switch, use the ALL option. Description This command deletes VLANs from the switch. You can use this command to delete tagged, port-based, and protected port VLANs. All untagged ports in a deleted VLAN are automatically returned to the Default_VLAN.
Chapter 29: Protected Ports VLAN Commands SET VLAN Syntax set vlan=name|vid port=ports frame=tagged|untagged Parameters vlan Specifies the name or VID of the VLAN to be modified. ports Specifies the port whose VLAN type is to be changed. You can specify more than one port at a time. You can specify the ports individually (for example, 5, 7, 22), as a range (for example, 18-22), or both (for example, 1, 5, 14-22). frame Identifies the new VLAN type for the port. The type can be tagged or untagged.
AT-S62 Management Software Command Line Interface User’s Guide SHOW VLAN Syntax show vlan[=name|vid] Parameter vlan Specifies the name or VID of the VLAN you want to view. Omitting this displays all VLANs. Description This command displays information about the VLANs on the switch. An example of the information displayed by this command for a protected ports VLAN is shown in Figure 48. VLAN Name ............................ VLAN ID .............................. VLAN Type ............................
Chapter 29: Protected Ports VLAN Commands For an example of the information displayed by this command for a portbased or tagged VLAN, see Figure 46 on page 515.
Section VI Port Security The chapters in this section provide the commands for configuring port security using the AT-S62 management software. The chapters include: Section VI: Port Security Chapter 30, “MAC Address-based Port Security Commands” on page 545 Chapter 31, “802.
Section VI: Port Security
Chapter 30 MAC Address-based Port Security Commands This chapter contains the following command: “SET SWITCH PORT INTRUSIONACTION” on page 546 “SET SWITCH PORT SECURITYMODE” on page 547 “SHOW SWITCH PORT INTRUSION” on page 550 “SHOW SWITCH PORT SECURITYMODE” on page 551 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 28, “MAC Addressbased Port Security” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 30: MAC Address-based Port Security Commands SET SWITCH PORT INTRUSIONACTION Syntax set switch port=port intrusionaction=discard|trap|disable Parameters port Specifies the port where you want to change the intrusion action. You can specify more than one port at a time. You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22). intrusionaction Specifies the action the port takes when it receives an invalid frame.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH PORT SECURITYMODE Syntax set switch port=port [securitymode=automatic|limited|secured|locked] [intrusionaction=discard|trap|disable] [learn=value] [participate=yes|no|on|off|true|false] Parameters port Specifies the port where you want to set security. You can specify more than one port at a time.You can specify the ports individually (for example, 5,7,22), as a range (for example, 18-23), or both (for example, 1,5,14-22).
Chapter 30: MAC Address-based Port Security Commands intrusionaction Specifies the action taken by the port in the event port security is violated. This parameter applies only to the Limited security mode. Intrusion actions are: discard Discards invalid frames. This is the default setting. trap Discards invalid frames and sends a management trap. disable Discards invalid frames, sends a management trap, and disables the port.
AT-S62 Management Software Command Line Interface User’s Guide The management software displays a confirmation prompt whenever you perform this command. Responding with Y for yes completes your command, while N for no cancels the command. Examples The following command sets the security level for port 8 to the Limited mode and specifies a limit of 5 dynamic MAC addresses.
Chapter 30: MAC Address-based Port Security Commands SHOW SWITCH PORT INTRUSION Syntax show switch port=port intrusion Parameter port Specifies the port where you want to view the number of intrusions that have occurred. You can specify more than one port at a time. Description This command displays the number of times a port has detected an intrusion violation.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SWITCH PORT SECURITYMODE Syntax show switch port=port securitymode Parameters port Specifies the port whose security mode settings you want to view. You can specify the ports individually (for example, 5,7,22), as a range (for example, 1823), or both (for example, 1,5,14-22). Description This command displays the security mode settings for the ports on the switch.
Chapter 30: MAC Address-based Port Security Commands Example The following command displays the security mode settings for ports 1 to 5: show switch port=1-5 securitymode 552 Section VI: Port Security
Chapter 31 802.
Chapter 31: 802.1x Port-based Network Access Control Commands DISABLE PORTACCESS|PORTAUTH Syntax disable portaccess|portauth Note The PORTACCESS and PORTAUTH keywords are equivalent. Parameters None. Description This command disables 802.1x Port-based Network Access Control on the switch. This is the default setting. Example The following command disables 802.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE RADIUSACCOUNTING Syntax disable radiusaccounting Parameters None Description This command disables RADIUS accounting on the switch. Example The following command disables RADIUS accounting: disable radiusaccounting Equivalent Command set radiusaccounting status=disabled For information, see “SET RADIUSACCOUNTING” on page 568.
Chapter 31: 802.1x Port-based Network Access Control Commands ENABLE PORTACCESS|PORTAUTH Syntax enable portaccess|portauth Note The PORTACCESS and PORTAUTH keywords are equivalent. Parameters None. Description This command activates 802.1x Port-based Network Access Control on the switch. The default setting for this feature is disabled. Note You should activate and configure the RADIUS client software on the switch before activating port-based access control. Refer to “SET AUTHENTICATION” on page 634.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE RADIUSACCOUNTING Syntax enable radiusaccounting Parameters None Description This command activates RADIUS accounting on the switch. Example The following command activates RADIUS accounting: enable radiusaccounting Equivalent Command set radiusaccounting status=enabled For information, see “SET RADIUSACCOUNTING” on page 568.
Chapter 31: 802.
AT-S62 Management Software Command Line Interface User’s Guide type or role mode control Specifies the role of the port. The parameters are equivalent. The options are: authenticator Specifies the authenticator role. none Disables port-based access control on the port. Controls the operating mode of an authenticator port. The options are: single Configures the port to accept only one authentication. This authenticator mode should be used together with the piggyback mode.
Chapter 31: 802.1x Port-based Network Access Control Commands and the authentication server. Each client that attempts to access the network is uniquely identified by the switch by using the client's MAC address. This is the default setting. 560 authorised or forceauthenticate Disables 802.1X port-based authentication and causes the port to transition to the authorized state without any authentication exchange required. The port transmits and receives normal traffic without 802.
AT-S62 Management Software Command Line Interface User’s Guide of the link between the supplicant and the switch or the switch is reset or power cycled. reauthperiod Enables periodic reauthentication of the client, which is disabled by default. The default value is 3600 seconds. The range is 1 to 65,535 seconds. supptimeout Sets the switch-to-client retransmission time for the EAP-request frame. The default value for this parameter is 30 seconds. The range is 1 to 600 seconds.
Chapter 31: 802.1x Port-based Network Access Control Commands both An authenticator port, when in the unauthorized state, does not forward ingress or egress broadcast and multicast packets from or to the client until the client has logged on. This parameter is only available when the authenticator’s operating mode is set to single. When set to multiple, an authenticator port does not forward ingress or egress broadcast or multicast packets until at least one client has logged on.
AT-S62 Management Software Command Line Interface User’s Guide A Guest VLAN is only supported when the operating mode of the port is set to Single. The specified VLAN must already exit on the switch. vlanassignment securevlan Specifies whether to use the VLAN assignments entered in the user accounts on the RADIUS server. Options are: enabled Specifies that the authenticator port is to use the VLAN assignments returned by the RADIUS server when a supplicant logs on. This is the default setting.
Chapter 31: 802.1x Port-based Network Access Control Commands Examples The following command sets ports 4 to 6 to the authenticator role. The authentication method is set to 802.1x, meaning that the supplicants must have 802.1x client software and provide a username and password, either automatically or manually, when logging on and during reauthentications. The operating mode is set to Single and the piggy back mode to disabled. At these settings, only one supplicant can use each port.
AT-S62 Management Software Command Line Interface User’s Guide set portaccess=8021x port=22 role=authenticator mode=multi The following command assigns the Guest VLAN “Product_show” to authenticator ports 5 and 12. The ports function as untagged members of the VLAN and allow any network user access to the VLAN without logging on. However, should a port start to receive EAPOL packets, it assumes that a supplicant is initiating a log on and changes to the unauthorized state.
Chapter 31: 802.1x Port-based Network Access Control Commands SET PORTACCESS|PORTAUTH PORT ROLE=SUPPLICANT Syntax set portaccess|portauth port=port type|role=supplicant|none [authperiod=value] [heldperiod=value] [maxstart=value] [startperiod=value] [username|name=name] [password=password] Note The PORTACCESS and PORTAUTH keywords are equivalent. Parameters 566 port Specifies the port that you want to set to the supplicant role or whose supplicant settings you want to adjust.
AT-S62 Management Software Command Line Interface User’s Guide username or name Specifies the username for the switch port. The parameters are equivalent. The port sends the name to the authentication server for verification when the port logs on to the network. The username can be from 1 to 16 alphanumeric characters (A to Z, a to z, 1 to 9). Do not use spaces or special characters, such as asterisks or exclamation points. The username is case-sensitive.
Chapter 31: 802.1x Port-based Network Access Control Commands SET RADIUSACCOUNTING Syntax set radiusaccounting [status=enabled|disabled] [serverport=value] [type=network] [trigger=start_stop|stop_only] [updateenable=enabled|disabled] [interval=value] Parameters status 568 Activates and deactivates RADIUS accounting on the switch. The options are: enabled Activates RADIUS accounting. This option is equivalent to “ENABLE RADIUSACCOUNTING” on page 557. disabled Deactivates the feature.
AT-S62 Management Software Command Line Interface User’s Guide Description RADIUS accounting is supported on those switch ports operating in the Authenticator role. The accounting information sent by the switch to a RADIUS server includes the date and time when clients log on and log off, as well as the number of packets sent and received by a switch port during a client session. This feature is disabled by default on the switch.
Chapter 31: 802.1x Port-based Network Access Control Commands SHOW PORTACCESS|PORTAUTH Syntax show portaccess|portauth=8021x|macbased [config] [status] Parameters portaccess or portauth Specifies the authenticator method of the port. Options are: 8021x Displays information for an 802.1x authenticator port. macbased Displays information for a MAC addressbased authenticator port. config Displays the 802.1x settings for all authenticator and supplicant ports.
AT-S62 Management Software Command Line Interface User’s Guide Examples The following command displays the port roles of all the ports. show portaccess The following command displays just the 802.
Chapter 31: 802.1x Port-based Network Access Control Commands SHOW PORTACCESS|PORTAUTH PORT Syntax show portaccess|portauth=8021x|macbased port=port authenticator|supplicant [config] [status] Parameters portaccess or portauth Specifies the authenticator method of the port. Options are: 8021x Displays information for an 802.1x authenticator port. macbased Displays information for a MAC addressbased authenticator port. port Specifies the port whose port-based access control settings you want to view.
AT-S62 Management Software Command Line Interface User’s Guide Port 1 PAE Type.................. Supplicant Mode........... AuthControlPortControl.... quietPeriod............... txPeriod.................. suppTimeout............... serverTimeout............. maxReq.................... reAuthPeriod.............. reAuthEnabled............. vlanAssignment............ secureVlan................ guestVlan................. adminControlDirection..... piggyBack.................
Chapter 31: 802.
AT-S62 Management Software Command Line Interface User’s Guide SHOW RADIUSACCOUNTING Syntax show radiusaccounting Parameters None. Description This command displays the current parameter settings for RADIUS accounting, which sends updates of supplicant activity on the switch’s authenticator ports to the RADIUS server. Figure 53 is an example of the information displayed by this command. Radius Accounting Configuration ------------------------------------Radius Accounting Status ...........
Chapter 31: 802.1x Port-based Network Access Control Commands Radius Accounting Update Interval - Specifies the interval at which the switch sends interim accounting updates to the RADIUS server. The default is 60 seconds.
Section VII Management Security The chapters in this section contain the commands for configuring management security using the AT-S62 management software.
Section VII: Management Security
Chapter 32 Web Server Commands This chapter contains the following commands: “DISABLE HTTP SERVER” on page 580 “ENABLE HTTP SERVER” on page 581 “PURGE HTTP SERVER” on page 582 “SET HTTP SERVER” on page 583 “SHOW HTTP SERVER” on page 588 Note Remember to use the SAVE CONFIGURATION command to save your changes. Note For background information, refer to Chapter 30, “Web Server” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 32: Web Server Commands DISABLE HTTP SERVER Syntax disable http server Parameters None. Description This command disables the web server on the switch. When the server is disabled, you cannot manage the switch from a web browser. To view the current status of the web server, see “SHOW HTTP SERVER” on page 588. The default setting for the web server is enabled.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE HTTP SERVER Syntax enable http server Parameters None. Description This command activates the web server on the switch. Activating the server allows you to manage the unit from a web browser. To view the current status of the web server, see “SHOW HTTP SERVER” on page 588. The default setting for the web server is enabled.
Chapter 32: Web Server Commands PURGE HTTP SERVER Syntax purge http server Parameters None. Description This command resets the HTTP server to its default values, as specified in Appendix A, “AT-S62 Default Settings” in the AT-S62 Management Software Menus Interface User’s Guide. To view the current web server settings, refer to “SHOW HTTP SERVER” on page 588.
AT-S62 Management Software Command Line Interface User’s Guide SET HTTP SERVER Syntax set http server [security=enabled|disabled] [sslkeyid=keyid] [port=port] Parameters security Specifies the security mode of the web server. The options are: enabled Specifies that the web server is to function in the secure HTTPS mode. disabled Specifies that the web server is to function in the non-secure HTTP mode. This is the default. sslkeyid Specifies a key pair ID.
Chapter 32: Web Server Commands Examples The following command configures the web server for the non-secure HTTP mode. Since no port is specified, the default HTTP port 80 is used: set http server security=disabled The following command configures the web server for the secure HTTPS mode. It specifies the key pair ID as 5.
AT-S62 Management Software Command Line Interface User’s Guide 2. This command creates a self-signed certificate using the key created in step 1. The certificate is assigned the filename “Sw12cert.cer. (The “.cer” extension is not included in the command because it is added automatically by the management software.) The certificate is assigned the serial number 0 and a distinguished name of 149.11.11.
Chapter 32: Web Server Commands 5. Upload the enrollment request from the switch to a management station or FTP server using “UPLOAD METHOD=XMODEM” on page 228 or “UPLOAD METHOD=TFTP” on page 225. 6. Submit the enrollment request to a CA. 7. After you have received the CA certificates, download them into the switch’s file system using “LOAD METHOD=XMODEM” on page 216 or “LOAD METHOD=TFTP” on page 212. 8. Add the CA certificates to the certificate database using “ADD PKI CERTIFICATE” on page 598. 9.
AT-S62 Management Software Command Line Interface User’s Guide 5. These commands download the CA certificates into the switch’s file system from the TFTP server. The commands assume that the IP address of the server is 149.88.88.88 and that the certificate names are “sw24cer.cer” and “ca.cer”. (This step could be performed using Xmodem.) load method=tftp destfile=sw24cer.cer server=149.88.88.88 file=c:sw24cer.cer load method=tftp destfile=ca.cer server=149.88.88.88 file=c:ca.cer 6.
Chapter 32: Web Server Commands SHOW HTTP SERVER Syntax show http server Parameters None.
Chapter 33 Encryption Key Commands This chapter contains the following commands: “CREATE ENCO KEY” on page 590 “DESTROY ENCO KEY” on page 594 “SET ENCO KEY” on page 595 “SHOW ENCO” on page 596 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 31, “Encryption Keys” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 33: Encryption Key Commands CREATE ENCO KEY Syntax 1 create enco key=key-id type=rsa length=value [description="description"] Syntax 2 create enco key=key-id type=rsa [description="description"] [file=filename.key] [format=hex|ssh|ssh2] Parameters key Specifies a key ID. The range is 0 to 65,535. The default is 0. When creating a new key this value must be unique from all other key IDs on the switch. type Specifies the type of key, which can only be a random RSA key.
AT-S62 Management Software Command Line Interface User’s Guide ssh Specifies a format for Secure Shell version 1 users. ssh2 Specifies a format for Secure Shell version 2 users. Description This command serves two functions. One is to create encryption keys. The other is to import and export public encryption keys from the AT-S62 file system to the key database. Caution Key generation is a CPU-intensive process.
Chapter 33: Encryption Key Commands Syntax 1 Examples This example creates a key with the ID of 12 and a length of 512 bits: create enco key=12 type=rsa length=512 This example creates a key with the ID of 4, a length of 1024 bits, and a description of “Switch12a encryption key”: create enco key=4 type=rsa length=1024 description="Switch12a encryption key" Syntax 2 Description Syntax 2 is used to import and export public encryption keys.
AT-S62 Management Software Command Line Interface User’s Guide key. This parameter should be used only when importing a key and not when exporting a key. The description will appear next to the key when you view the key database. Descriptions can help you identify the different keys stored in the switch. The FORMAT parameter specifies the format of the key, which can be either Secure Shell format (SSH version 1 or 2) or hexadecimal format (HEX).
Chapter 33: Encryption Key Commands DESTROY ENCO KEY Syntax destroy enco key=key-id Parameter key Specifies the ID number of the key pair to be deleted from the key database. Description This command deletes an encryption key pair from the key database. This command also deletes a key’s corresponding ”.UKF” file from the file system. After a key pair is deleted, any SSL certificate created using the public key of the key pair will be invalid and cannot be used to manage the switch.
AT-S62 Management Software Command Line Interface User’s Guide SET ENCO KEY Syntax set enco key=key-id description="description" Parameters key Specifies the ID number of the key pair whose description you want to change. description Specifies the new description of the key. The description can contain up to 25 alphanumeric characters. Spaces are allowed. The description must be enclosed in double quotes. Description This command changes the description of a key pair.
Chapter 33: Encryption Key Commands SHOW ENCO Syntax show enco key=[key-id] Parameters key Specifies the ID of a specific key whose information you want to display. Otherwise, all keys are displayed. Description This command displays information about encryption key pairs stored in the key database.
Chapter 34 Public Key Infrastructure (PKI) Certificate Commands This chapter contains the following commands: “ADD PKI CERTIFICATE” on page 598 “CREATE PKI CERTIFICATE” on page 600 “CREATE PKI ENROLLMENTREQUEST” on page 603 “DELETE PKI CERTIFICATE” on page 605 “PURGE PKI” on page 606 “SET PKI CERTIFICATE” on page 607 “SET PKI CERTSTORELIMIT” on page 609 “SET SYSTEM DISTINGUISHEDNAME” on page 610 “SHOW PKI” on page 611 “SHOW PKI CERTIFICATE” on page 612 Note Remember t
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands ADD PKI CERTIFICATE Syntax add pki certificate="name" location="filename.cer" [trusted=yes|no|on|off|true|false] [type=ca|ee|self] Parameters certificate Specifies a name for the certificate. This is the name for the certificate as it will appear in the certificate database list. The name can up to 40 alphanumeric characters. Spaces are allowed. If the name contains spaces, it must be enclosed in double quotes.
AT-S62 Management Software Command Line Interface User’s Guide The CERTIFICATE parameter assigns the certificate a name. The name can be from 1 to 40 alphanumeric characters. Each certificate in the database should be given a unique name. The LOCATION parameter specifies the filename of the certificate as stored in the switch’s file system. When specifying the filename, be sure to include the file extension “.cer”. The TRUSTED parameter specifies whether the certificate is from a trusted CA.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands CREATE PKI CERTIFICATE Syntax create pki certificate=name keypair=key-id serialnumber=value [format=der|pem] subject="distinguished-name" Parameters certificate Specifies a name for the self-signed certificate. The name can be from one to eight alphanumeric characters. Spaces are allowed; if included, the name must be enclosed in double quotes. The management software automatically adds the “.cer” extension.
AT-S62 Management Software Command Line Interface User’s Guide After creating a new self-signed certificate, you need to load it into the certificate database. The switch cannot use the certificate for encrypted web browser management systems until it is loaded into the database. For instructions, refer to “ADD PKI CERTIFICATE” on page 598. Note For a review of the steps to configuring the web server for a selfsigned certificate, refer to “SET HTTP SERVER” on page 583.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands Examples The following command creates a self-signed certificate. It assigns the certificate the filename “sw12.cer”. (The management software automatically adds the “.cer” extension.) The command uses the key pair with the ID 12 to create the certificate. The format is ASCII and the distinguished name is the IP address of a master switch: create pki certificate=sw12 keypair=12 serialnumber=0 format=pem subject="cn=149.11.11.
AT-S62 Management Software Command Line Interface User’s Guide CREATE PKI ENROLLMENTREQUEST Syntax create pki enrollmentrequest="name" keypair=key-id [format=der|pem] [type=pkcs10] Parameters enrollmentrequest Specifies a filename for the enrollment request. The filename can be from 1 to 8 alphanumeric characters. If the name contains spaces, it must be enclosed in double quotes. The management software automatically adds the “.csr” extension.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands Note For a review of the steps to configuring the web server for a CA certificate, refer to “SET HTTP SERVER” on page 583. The ENROLLMENTREQUEST parameter specifies a filename for the request. The filename can contain from 1 to 8 alphanumeric characters. If spaces are used, the name must be enclosed in quotes. The management software automatically adds the “.csr” extension.
AT-S62 Management Software Command Line Interface User’s Guide DELETE PKI CERTIFICATE Syntax delete pki certificate="name" Parameter certificate Specifies the name of the certificate you want to delete from the certificate database. The name is case sensitive. If the name contains spaces, it must be enclosed in double quotes. Wildcards are not allowed. Description This command deletes a certificate from the switch’s certificate database.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands PURGE PKI Syntax purge pki Parameters None. Description This command deletes all certificates from the certificate database and resets the certificate database storage limit to the default. This command does not delete the certificates from the file system. To delete files from the file system, refer to “DELETE FILE” on page 203.
AT-S62 Management Software Command Line Interface User’s Guide SET PKI CERTIFICATE Syntax set pki certificate="name" [trusted=yes|no|on|off|true|false] [type=ca|ee|self] Parameters certificate Specifies the certificate name whose trust or type you want to change. The name is case sensitive. If the name contains spaces, it must be enclosed in quotes. trusted Specifies whether or not the certificate is from a trusted CA.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands Note The TRUSTED and TYPE parameters have no affect on the operation of a certificate. You can select any permitted value for either parameter. The parameters are included only as placeholders for information in the certificate database. Example The following command sets the certificate named “Switch 12 certificate” to be trusted.
AT-S62 Management Software Command Line Interface User’s Guide SET PKI CERTSTORELIMIT Syntax set pki certstorelimit=value Parameter certstorelimit Specifies the maximum number of certificates that can be stored in the certificate database. The range is 12 and 256; the default is 256. Description This command sets the maximum number of certificates that can be stored in the switch’s certificate database.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands SET SYSTEM DISTINGUISHEDNAME Syntax set system distinguishedname="name" Parameter distinguishedname Specifies the distinguished name for the switch. The name must be enclosed in quotes. Description This command sets the distinguished name for the switch. The distinguished name is used to create a self signed certificate or enrollment request.
AT-S62 Management Software Command Line Interface User’s Guide SHOW PKI Syntax show pki Parameters None. Description This command displays the current setting for the maximum number of certificates the switch will allow you to store in the certificate database. To change this value, refer to “SET PKI CERTSTORELIMIT” on page 609.
Chapter 34: Public Key Infrastructure (PKI) Certificate Commands SHOW PKI CERTIFICATE Syntax show pki certificate[="name"] Parameter certificate Specifies the name of the certificate whose information you want to view. If the name contains spaces, it must be enclosed in double quotes. This parameter is case sensitive. Wildcards are not allowed. Description This command lists all of the certificates in the certificates database.
Chapter 35 Secure Sockets Layer (SSL) Commands This chapter contains the following command: “SET SSL” on page 614 “SHOW SSL” on page 615 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 32, “PKI Certificates and SSL” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 35: Secure Sockets Layer (SSL) Commands SET SSL Syntax set ssl [cachetimeout=value] [maxsessions=value] Parameters cachetimeout Specifies the maximum time in seconds that a session will be retained in the cache The range is 1 to 600 seconds. The default is 300 seconds. maxsessions Specifies the maximum number of sessions that will be allowed in the session resumption cache. The range is 0 to 100 sessions. The default is 50 sessions. Description This command configures the SSL parameters.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SSL Syntax show ssl Parameters None.
Chapter 35: Secure Sockets Layer (SSL) Commands 616 Section VII: Management Security
Chapter 36 Secure Shell (SSH) Commands This chapter contains the following commands: “DISABLE SSH SERVER” on page 618 “ENABLE SSH SERVER” on page 619 “SET SSH SERVER” on page 622 “SHOW SSH” on page 623 Note Remember to save your changes with the SAVE CONFIGURATION command. Note For background information, refer to Chapter 33, “Secure Shell (SSH) Protocol” in the AT-S62 Management Software Menus Interface User’s Guide.
Chapter 36: Secure Shell (SSH) Commands DISABLE SSH SERVER Syntax disable ssh server Parameters None. Description This command disables the Secure Shell server. When the Secure Shell server is disabled, connections from Secure Shell clients are not accepted. By default, the Secure Shell server is disabled.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE SSH SERVER Syntax enable ssh server hostkey=key-id serverkey=key-id [expirytime=hours] [logintimeout=seconds] Parameters hostkey Specifies the ID number of the encryption key pair to function as the host key. serverkey Specifies the ID number of the encryption key pair to function as the server key. expirytime Specifies the length of time, in hours, after which the server key pair is regenerated. The range is 0 to 5 hours.
Chapter 36: Secure Shell (SSH) Commands Note Before you enable SSH, disable the Telnet management session. Otherwise, the security provided by SSH is not active. See “DISABLE TELNET” on page 45. Example The following command activates the Secure Shell server and specifies encryption key pair 0 as the host key and key pair 1 as the server key: enable ssh server hostkey=0 serverkey=1 General Configuration Steps for SSH Operation Configuring the SSH server involves several commands.
AT-S62 Management Software Command Line Interface User’s Guide Example The following is an example of the command sequence to configuring the SSH software on the server: 1. The first step is to create the two encryption key pairs. Each key must be created separately and the key lengths must be at least one increment (256 bits) apart.
Chapter 36: Secure Shell (SSH) Commands SET SSH SERVER Syntax set ssh server hostkey=key-id serverkey=key-id [expirytime=hours] [logintimeout=seconds] Parameters hostkey Specifies the ID number of the encryption key pair to function as the host key. serverkey Specifies the ID number of the encryption key pair to function as the server key. expirytime Specifies the length of time, in hours, after which the server key pair is regenerated. The range is 0 to 5 hours. Entering 0 never regenerates the key.
AT-S62 Management Software Command Line Interface User’s Guide SHOW SSH Syntax show ssh Parameters None.
Chapter 36: Secure Shell (SSH) Commands 624 Section VII: Management Security
Chapter 37 TACACS+ and RADIUS Commands This chapter contains the following commands: “ADD RADIUSSERVER” on page 626 “ADD TACACSSERVER” on page 628 “DELETE RADIUSSERVER” on page 629 “DELETE TACACSSERVER” on page 630 “DISABLE AUTHENTICATION” on page 631 “ENABLE AUTHENTICATION” on page 632 “PURGE AUTHENTICATION” on page 633 “SET AUTHENTICATION” on page 634 “SHOW AUTHENTICATION” on page 636 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 37: TACACS+ and RADIUS Commands ADD RADIUSSERVER Syntax add radiusserver server|ipaddress=ipaddress order=value [secret=string] [port=value] [accport=value] Parameters server or ipaddress Specifies an IP address of a RADIUS server. The parameters are equivalent. order Specifies the order that the RADIUS servers are queried by the switch. This value can be from 1 to 3. The servers are queried starting with 1. secret Specifies the encryption key used for this server.
AT-S62 Management Software Command Line Interface User’s Guide The following command adds a RADIUS server with an IP address of 149.245.22.22. It specifies the order is 2, the encryption key is tiger74, and the UDP port is 1811: add radiusserver ipaddress=149.245.22.
Chapter 37: TACACS+ and RADIUS Commands ADD TACACSSERVER Syntax add tacacsserver server|ipaddress=ipaddress order=value [secret=string] Parameters server or ipaddress Specifies an IP address of a TACACS+ server. The parameters are equivalent. order Specifies the order that your TACACS+ servers are queried by the switch. You can assign order to up to 3 servers with 1 being the first server queried. secret Specifies the optional encryption key used on this server. The maximum length is 39 characters.
AT-S62 Management Software Command Line Interface User’s Guide DELETE RADIUSSERVER Syntax delete radiusserver server|ipaddress=ipaddress Parameter server or ipaddress Specifies the IP address of a RADIUS server to be deleted from the management software. The parameters are equivalent. Description This command deletes the IP address of a RADIUS from your switch. Example The following command deletes the RADIUS server with the IP address 149.245.22.22: delete radiusserver ipaddress=149.245.22.
Chapter 37: TACACS+ and RADIUS Commands DELETE TACACSSERVER Syntax delete tacacsserver server|ipaddress=ipaddress Parameter server or ipaddress Specifies the IP address of a TACACS+ server to be deleted from the management software. The parameters are equivalent. Description This command deletes the IP address of a TACACS+ server from your switch. Example The following command deletes the TACACS+ server with the IP address 149.245.22.20: delete tacacsserver ipaddress=149.245.22.
AT-S62 Management Software Command Line Interface User’s Guide DISABLE AUTHENTICATION Syntax disable authentication Parameters None. Description This command disables TACACS+ and RADIUS manager account authentication on your switch. When you disable authentication you retain your current authentication parameter settings. Note This command applies only to TACACS+ and RADIUS manager accounts.
Chapter 37: TACACS+ and RADIUS Commands ENABLE AUTHENTICATION Syntax enable authentication Parameters None. Description This command enables TACACS+ or RADIUS manager account authentication on your switch. You must use the manager accounts you defined on the TACACS+ or RADIUS server to manage the switch when you enable manager authentication. To select an authenticator protocol, refer to “SET AUTHENTICATION” on page 634. Note If you are using the RADIUS authentication protocol for 802.
AT-S62 Management Software Command Line Interface User’s Guide PURGE AUTHENTICATION Syntax purge authentication Parameters None. Description This command disables authentication, returns the authentication method to TACACS+, deletes any global secret, and returns the timeout value to its default setting of 10 seconds. This command does not delete the IP address or secret of any RADIUS or TACACS+ authentication servers you may have specified.
Chapter 37: TACACS+ and RADIUS Commands SET AUTHENTICATION Syntax set authentication method=tacacs|radius [secret=string] [timeout=value] Parameters method Specifies which authenticator protocol, TACACS+ or RADIUS, is to be the active protocol on the switch. secret Specifies the global encryption key of the TACACS+ or RADIUS servers.
AT-S62 Management Software Command Line Interface User’s Guide The following command selects RADIUS as the authentication protocol with a global encryption key of leopard09 and a timeout of 15 seconds: set authentication method=radius secret=leopard09 timeout=15 The following command removes the current global secret from the RADIUS client without assigning a new value: set authentication method=radius secret=none Section VII: Management Security 635
Chapter 37: TACACS+ and RADIUS Commands SHOW AUTHENTICATION Syntax show authentication[=tacacs|radius] Parameters None. Description This command displays the following information about the authenticated protocols on the switch: Status - The status of your authenticated protocol: enabled or disabled. Authentication Method - The authentication protocol activated on your switch. Either TACACS+ or RADIUS protocol may be active. The TACACS+ protocol is the default.
Chapter 38 Management ACL Commands This chapter contains the following commands: “ADD MGMTACL” on page 638 “CREATE MGMTACL” on page 639 “DESTROY MGMTACL” on page 641 “DISABLE MGMTACL” on page 642 “ENABLE MGMTACL” on page 643 “PURGE MGMTACL” on page 644 “SET MGMTACL” on page 645 “SHOW MGMTACL” on page 646 Note Remember to save your changes with the SAVE CONFIGURATION command.
Chapter 38: Management ACL Commands ADD MGMTACL Syntax add mgmtacl id=value application=telnet|web|ping|all Parameters id Specifies the identification number of the access control entry to modify. The range is 1 to 256. To view the ID numbers of the existing ACEs, refer to “SHOW MGMTACL” on page 646. application Specifies the permitted applications of the ACE. The options are: telnet Permits Telnet management. web Permits web browser management.
AT-S62 Management Software Command Line Interface User’s Guide CREATE MGMTACL Syntax create mgmtacl id=value ipddress=ipaddress mask=string application=telnet|web|ping|all Parameters id Specifies an identification number for the new access control entry. The range is 1 to 256. Every ACE must have a unique identification number. ipaddress Specifies the IP address of a subnet or a specific management station. mask Specifies the mask used by the switch to filter the IP address.
Chapter 38: Management ACL Commands An ACE is an implicit “permit” statement. A workstation that meets the criteria of the ACE is allowed to remotely manage the switch. The IPADDRESS parameter specifies the IP address of a specific management station or a subnet. The MASK parameter indicates the parts of the IP address the switch should filter on. A binary “1” indicates the switch should filter on the corresponding bit of the address, while a “0” indicates that it should not.
AT-S62 Management Software Command Line Interface User’s Guide DESTROY MGMTACL Syntax destroy mgmtacl id=value Parameters id Specifies the identification number of the ACE to be deleted. Description This command deletes an ACE from the Management ACL. You specify the ACE by its identification number, which is displayed with “SHOW MGMTACL” on page 646.
Chapter 38: Management ACL Commands DISABLE MGMTACL Syntax disable mgmtacl Parameters None Description This command disables the Management ACL.
AT-S62 Management Software Command Line Interface User’s Guide ENABLE MGMTACL Syntax enable mgmtacl Parameters None. Description This command activates the Management ACL. Note Activating the Management ACL without entering any access control entries (ACEs) prohibits you from remotely managing the switch from a Telnet or web browser management session, or pinging the device.
Chapter 38: Management ACL Commands PURGE MGMTACL Syntax purge mgmtacl Parameters None. Description This command deletes all access control entries from the Management ACL. Note If you are remotely managing the switch from a Telnet management session and the Management ACL is active, your management session will end and you will be unable to reestablish it if you delete all ACEs.
AT-S62 Management Software Command Line Interface User’s Guide SET MGMTACL Syntax set mgmtacl id=value [ipaddress=ipaddress] [mask=string] [application=telnet|web|ping|all] Parameters id The identification number of the ACE to be modified. To view the ID numbers of the existing ACEs, refer to “SHOW MGMTACL” on page 646. ipaddress Specifies a new IP address for the ACE. mask Specifies a new mask for the ACE. application Specifies the permitted type of remote management.
Chapter 38: Management ACL Commands SHOW MGMTACL Syntax show mgmtacl [id=value] Parameters id Specifies the ID number of an ACE to view. Description This command displays the state of the Management ACL and ACL entries. Figure 54 is an example of the information displayed by this command. Management ACL Status ......................... Disable ID IP Address Mask Application ---------------------------------------------------------1 149.44.44.44 255.255.255.255 TELNET 2 149.55.55.0 255.255.255.
Index Numerics 802.1Q multiple VLAN mode 512 802.
Index displaying 268 modifying 265 removing from flow group 300 CLEAR SCREEN command 32 CLEAR SNMPV3 ACCESS command 385 CLEAR SNMPV3 COMMUNITY command 387 CLEAR SNMPV3 NOTIFY command 388 CLEAR SNMPV3 TARGET ADDR command 389 CLEAR SNMPV3 VIEW command 390 command line prompt 38 commands, formatting 28 compact flash card configuration file on 205 copying files 200 displaying files 208 renaming files 204 configuration file creating 202 downloading 212, 216 name 207 setting 205 uploading 221, 225, 228 console m
AT-S62 Management Software Command Line Interface User’s Guide DISABLE POE PORT command 360 DISABLE PORTACCESS|PORTAUTH command 554 DISABLE RADIUSACCOUNTING command 555 DISABLE RSTP command 463 DISABLE SNMP AUTHENTICATETRAP command 115 DISABLE SNMP command 114 DISABLE SNMP COMMUNITY command 116 DISABLE SNTP command 98 DISABLE SSH SERVER command 618 DISABLE STP command 449 DISABLE SWITCH PORT command 128 DISABLE SWITCH PORT FLOW command 129 DISABLE TELNET command 45 distinguished name displaying 83 setting
Index GID state machines 531 GIP-connected ring 530 H head of line blocking 138 hello time 452, 466, 484 help, context-sensitive 27 HOL blocking 136 HTTP server configuring 583 disabling 580 displaying 588 enabling 581 resetting to defaults 582 I IGMP snooping configuring 338 disabling 336 displaying 341, 342 enabling 337 ingress filtering 510 internal port cost 491 Internet Protocol (IP) address 83 intrusion action 141 IP address displaying 78 resetting to default 54 setting 61 IPOPTION denial of servic
AT-S62 Management Software Command Line Interface User’s Guide PKI certificate enrollment request creating 603 PKI certificates adding 598 creating 600 deleting 605 displaying 612 downloading 212, 216 number of certificates 611 uploading 225, 228 PKI module information 611 PKI, resetting to defaults 606 point-to-point port 469, 491 policy adding traffic classes to 283 creating 288 port autonegotiation, setting 126 back pressure disabling 138 enabling 138 back pressure, limit 138 broadcast filter 138 config
Index QoS policy adding 283 creating 288 deleting 304 displaying 321 modifying 301, 310, 313 QoS traffic class adding 284 creating 295 deleting 305 displaying 323 modifying 302, 314 Quality of Service.
AT-S62 Management Software Command Line Interface User’s Guide SET SWITCH CONSOLEMODE command 39 SET SWITCH CONSOLETIMER command 66 SET SWITCH INFILTERING command 510 SET SWITCH MANAGEMENTVLAN command 511 SET SWITCH MIRROR command 194 SET SWITCH MULTICASTMODE command 457 SET SWITCH PORT command 136 SET SWITCH PORT INTRUSION command 546 SET SWITCH PORT MIRROR command 195 SET SWITCH PORT PRIORITY OVERRIDEPRIORITY command 331 SET SWITCH PORT RATELIMIT command 141 SET SWITCH PORT SECURITYMODE command 547 SET S
Index creating 398 deleting 411 modifying 426 SNMPv3 SecurityToGroup Table entry creating 396 deleting 410 modifying 424 SNMPv3 Target Address Table entry clearing 389 creating 400 deleting 412 modifying 428 SNMPv3 Target Parameters Table entry creating 402 deleting 413 displaying 441 modifying 430 SNMPv3 User Table entry adding 383 deleting 406 displaying 442 SNMPv3 View Table entry clearing 390 creating 404 deleting 414 displaying 443 SNTP disabling 98 enabling 99 information, displaying 104 IP address d
AT-S62 Management Software Command Line Interface User’s Guide V VLAN. See 802.
Index 656