Allied Telesis AT-9028 User Manual

Allied Telesis AT-9028 User Manual

At-9000 series layer 2-4 gigabit ethernet ecoswitches
Table of Contents

Advertisement

Quick Links

Management Software

Command Line Interface User's
Guide
AlliedWare Plus Version 2.1.3
613-001635 Rev. A
AT-9000 Series
Layer 2-4 Gigabit Ethernet EcoSwitches
AT-9000/28
AT-9000/28SP
AT-9000/52
25
27
25R
27R
AT-9000/28
Gigabit Ethernet Switch with 4 Combo SFP Ports
MODE
PWR
COL
SPD
SYS
DUP
ACT
SELECT
26
28
26R
28R
25
27
25R
27R
AT-9000/28SP
Gigabit Ethernet Switch with 4 Combo SFP Ports
MODE
PWR
COL
SYS
SPD
DUP
ACT
SELECT
26
28
26R
28R
37
39
41
43
45
47
49
38
40
42
44
46
48
50
CONSOLE
RS-232
CONSOLE
RS-232
51
AT-9000/52
Gigabit Ethernet Switch
with 4 SFP Ports
COL
PWR
SYS
SPD
DUP
ACT
SELECT
52
MODE
2323

Advertisement

Table of Contents
loading

Summary of Contents for Allied Telesis AT-9028

  • Page 1: Management Software

    AT-9000 Series Layer 2-4 Gigabit Ethernet EcoSwitches AT-9000/28  AT-9000/28SP  AT-9000/52  AT-9000/28 Gigabit Ethernet Switch with 4 Combo SFP Ports MODE CONSOLE SELECT RS-232 AT-9000/28SP Gigabit Ethernet Switch with 4 Combo SFP Ports MODE CONSOLE SELECT RS-232 AT-9000/52 Gigabit Ethernet Switch with 4 SFP Ports SELECT...
  • Page 2 * Neither the name of Allied Telesis, Inc. nor the names of the respective companies above may be used to endorse or promote products derived from this software without specific prior written permission.
  • Page 3 Telesis, Inc. be liable for any incidental, special, indirect, or consequential damages whatsoever, including but not limited to lost profits, arising out of or related to this manual or the information contained herein, even if Allied Telesis, Inc. has been advised of, known, or should have known, the possibility of such damages.
  • Page 5: Table Of Contents

    Contents Preface ........................31 Document Conventions ............................ 32 Where to Find Web-based Guides ........................33 Contacting Allied Telesis ..........................34 Online Support ............................34 Email and Telephone Support........................34 Warranty..............................34 Returning Products ............................ 34 Sales or Corporate Information ........................34 Management Software Updates.........................
  • Page 6 Contents Command Examples ..........................56 Startup Messages ............................. 57 Chapter 2: Starting a Management Session ....................59 Starting a Local Management Session ......................60 Starting a Remote Telnet or SSH Management Session.................. 62 VTY Lines ..............................62 What to Configure First ............................. 64 Creating a Boot Configuration File ......................
  • Page 7 AT-9000 Switch Command Line User’s Guide BANNER MOTD ............................. 115 BAUD-RATE SET............................116 CLOCK SET ..............................117 ERASE STARTUP-CONFIG .......................... 118 EXEC-TIMEOUT ............................119 HOSTNAME ..............................121 LINE CONSOLE ............................. 122 LINE VTY................................ 123 NO HOSTNAME............................. 124 PING................................125 REBOOT ................................ 126 RELOAD.................................
  • Page 8 Contents POLARITY ..............................183 PURGE ................................185 RENEGOTIATE ..............................186 RESET ................................187 SHOW FLOWCONTROL INTERFACE......................188 SHOW INTERFACE ............................190 SHOW INTERFACE STATUS ........................193 SHOW PLATFORM TABLE PORT .........................195 SHOW SYSTEM PLUGGABLE ........................198 SHOW SYSTEM PLUGGABLE DETAIL......................199 SHOW STORM-CONTROL ..........................200 SHOW RUNNING-CONFIG INTERFACE.......................202 SHUTDOWN ..............................203 SPEED ................................204 STORM-CONTROL ............................205 Chapter 9: IPv4 and IPv6 Management Addresses ...................207...
  • Page 9 AT-9000 Switch Command Line User’s Guide CLOCK TIMEZONE............................255 NO CLOCK SUMMER-TIME .......................... 256 NO NTP PEER ............................... 257 NTP PEER..............................258 PURGE NTP..............................259 SHOW CLOCK ............................... 260 SHOW NTP ASSOCIATIONS ........................261 SHOW NTP STATUS ............................. 263 Chapter 13: MAC Address Table ........................ 265 Overview.................................
  • Page 10 Contents NO MIRROR INTERFACE..........................322 SHOW MIRROR .............................323 Chapter 19: Internet Group Management Protocol (IGMP) Snooping .............325 Overview .................................326 Host Node Topology ............................328 Single-host Per Port ..........................328 Multiple-hosts Per Port ..........................328 Configuring the IGMP Snooping Parameters....................329 Enabling IGMP Snooping..........................330 Disabling IGMP Snooping ..........................331 Displaying IGMP Snooping ..........................332 Chapter 20: IGMP Snooping Commands ....................333 CLEAR IP IGMP .............................334...
  • Page 11 AT-9000 Switch Command Line User’s Guide COPY RUNNING-CONFIG ..........................378 COPY RUNNING-CONFIG STARTUP-CONFIG ................... 379 ERASE STARTUP-CONFIG .......................... 380 NO BOOT CONFIG-FILE ..........................381 SHOW BOOT ..............................382 SHOW STARTUP-CONFIG ........................... 384 WRITE ................................385 Chapter 26: File Transfers .......................... 387 Overview.................................
  • Page 12 Contents Section V: Port Trunks ...................437 Chapter 32: Static Port Trunks ........................439 Overview .................................440 Load Distribution Methods........................440 Guidelines..............................442 Creating New Static Port Trunks or Adding Ports To Existing Trunks ............444 Specifying the Load Distribution Method ......................445 Removing Ports from Static Port Trunks or Deleting Trunks ................446 Displaying Static Port Trunks ..........................447 Chapter 33: Static Port Trunk Commands ....................449 NO STATIC-CHANNEL-GROUP ........................450...
  • Page 13 AT-9000 Switch Command Line User’s Guide RSTP BPDU Guard ............................493 RSTP Loop Guard ............................495 Chapter 37: Spanning Tree Protocol (STP) ....................501 Designating STP as the Active Spanning Tree Protocol ................502 Enabling the Spanning Tree Protocol......................503 Setting the Switch Parameters ........................
  • Page 14 Contents SPANNING-TREE PORTFAST ........................552 SPANNING-TREE PORTFAST BPDU-GUARD .....................553 SPANNING-TREE PRIORITY (Bridge Priority)....................554 SPANNING-TREE PRIORITY (Port Priority) ....................555 SPANNING-TREE RSTP ENABLE.........................556 Section VII: Virtual LANs ..................557 Chapter 41: Port-based and Tagged VLANs ....................559 Overview .................................560 Port-based VLAN Overview ..........................562 VLAN Name..............................562 VLAN Identifier ............................562 Untagged Ports............................563 Port VLAN Identifier..........................563...
  • Page 15 AT-9000 Switch Command Line User’s Guide Disabling GIP on the Switch ........................... 613 Disabling GVRP on the Switch ........................614 Restoring the GVRP Default Settings......................615 Displaying GVRP............................616 Chapter 44: GARP VLAN Registration Protocol Commands ..............617 GVRP APPLICANT STATE ACTIVE......................619 GVRP APPLICANT STATE NORMAL ......................
  • Page 16 Contents PRIVATE-VLAN ..............................673 SHOW VLAN PRIVATE-VLAN ........................674 SWITCHPORT MODE PRIVATE-VLAN HOST ....................675 SWITCHPORT MODE PRIVATE-VLAN PROMISCUOUS ................676 Chapter 49: Voice VLAN Commands ......................677 NO SWITCHPORT VOICE VLAN ........................678 SWITCHPORT VOICE DSCP.........................679 SWITCHPORT VOICE VLAN .........................680 SWITCHPORT VOICE VLAN PRIORITY .......................682 Chapter 50: VLAN Stacking ........................683 Overview .................................684 Components..............................686...
  • Page 17 AT-9000 Switch Command Line User’s Guide Authentication Methods for Authenticator Ports ..................... 725 Operational Settings for Authenticator Ports ....................726 Operating Modes for Authenticator Ports ....................... 727 Single Host Mode............................. 727 Multiple Host Mode ..........................727 Multiple Supplicant Mode ......................... 729 Supplicant and VLAN Associations ........................
  • Page 18 Contents SHOW AUTH-MAC SUPPLICANT INTERFACE ....................784 SHOW DOT1X ..............................785 SHOW DOT1X INTERFACE ..........................786 SHOW DOT1X SESSIONSTATISTICS INTERFACE..................787 SHOW DOT1X STATISTICS INTERFACE.....................788 SHOW DOT1X SUPPLICANT INTERFACE ....................789 Section IX: Simple Network Management Protocols ...........791 Chapter 56: SNMPv1 and SNMPv2c ......................793 Overview .................................794 Enabling SNMPv1 and SNMPv2c ........................796 Creating Community Strings ...........................797 Adding or Removing IP Addresses of Trap or Inform Receivers ..............798...
  • Page 19 AT-9000 Switch Command Line User’s Guide SNMP-SERVER USER ..........................847 SNMP-SERVER VIEW ........................... 849 Section X: Network Management ................851 Chapter 59: sFlow Agent ..........................853 Overview................................. 854 Ingress Packet Samples .......................... 854 Packet Counters............................854 Guidelines ..............................855 Configuring the sFlow Agent .......................... 856 Configuring the Ports............................
  • Page 20 Contents LLDP LOCATION............................917 LLDP MANAGEMENT-ADDRESS........................919 LLDP MED-NOTIFICATIONS .........................921 LLDP MED-TLV-SELECT ..........................922 LLDP NON-STRICT-MED-TLV-ORDER-CHECK ...................924 LLDP NOTIFICATIONS ..........................925 LLDP NOTIFICATION-INTERVAL ........................926 LLDP REINIT ..............................927 LLDP RUN ..............................928 LLDP TIMER ..............................929 LLDP TLV-SELECT ............................930 LLDP TRANSMIT RECEIVE ...........................933 LLDP TX-DELAY ............................934 LOCATION CIVIC-LOCATION ........................935 LOCATION COORD-LOCATION........................938 LOCATION ELIN-LOCATION .........................941 NO LLDP MED-NOTIFICATIONS........................942...
  • Page 21 AT-9000 Switch Command Line User’s Guide Deleting Statistics Groups........................988 RMON Histories.............................. 989 Adding History Groups ..........................989 Displaying History Groups........................990 Deleting History Groups ........................... 991 RMON Alarms ..............................992 Creating RMON Statistics Groups ......................993 Creating RMON Events..........................993 Creating RMON Alarms ...........................
  • Page 22 Contents ACCESS-GROUP ............................1057 ACCESS-LIST (MAC Address) ........................1059 ACCESS-LIST ICMP ............................ 1062 ACCESS-LIST IP ............................1066 ACCESS-LIST PROTO..........................1070 ACCESS-LIST TCP ............................1075 ACCESS-LIST UDP ............................1079 MAC ACCESS-GROUP ..........................1083 NO ACCESS-LIST ............................1084 NO ACCESS-GROUP ..........................1085 NO MAC ACCESS-GROUP .........................
  • Page 23 AT-9000 Switch Command Line User’s Guide Chapter 75: Secure Shell (SSH) Server ....................1127 Overview............................... 1128 Algorithms .............................. 1128 Active Encryption Key ..........................1128 Support for SSH ............................1129 Guidelines .............................. 1129 SSH and Enhanced Stacking ........................1131 Creating the Encryption Key Pair ......................... 1133 Enabling the SSH Server..........................
  • Page 24 Contents Chapter 81: RADIUS and TACACS+ Clients .................... 1187 Overview ............................... 1188 Remote Manager Accounts .......................... 1189 Guidelines............................... 1191 Managing the RADIUS Client ........................1192 Adding IP Addresses of RADIUS Servers ....................1192 Specifying a RADIUS Global Encryption Key..................1193 Specifying the Server Timeout .......................
  • Page 25 AT-9000 Switch Command Line User’s Guide Enhanced Stacking............................1250 GVRP ................................1251 IGMP Snooping ............................1252 Link Layer Discovery Protocol (LLDP and LLDP-MED) ................1253 MAC Address-based Port Security....................... 1254 MAC Address Table ............................. 1255 Management IP Address ..........................1256 Manager Account ............................
  • Page 26 Contents...
  • Page 27 Tables Table 1. AlliedWare Plus Modes ............................44 Table 2. Adding a Management Address: Example 1 ......................67 Table 3. Adding a Management IP Address: Example 2 ....................67 Table 4. Basic Command Line Commands ........................77 Table 5. Basic Switch Management Commands ......................111 Table 6.
  • Page 28 Tables Table 50. STP Switch Parameter Commands ........................504 Table 51. STP Port Parameter Commands ........................506 Table 52. Spanning Tree Protocol Commands .........................509 Table 53. RSTP Switch Parameters ..........................524 Table 54. RSTP Port Parameters .............................527 Table 55. Rapid Spanning Tree Protocol Commands ......................533 Table 56.
  • Page 29 AT-9000 Switch Command Line User’s Guide Table 110. Creating a Permit ACL Followed by a Deny ACL Example ................1030 Table 111. Permit ACLs IP Packets Example ........................ 1031 Table 112. ACL Filters Tagged IP Packets Example ...................... 1032 Table 113. Numbered IPv4 ACL with ICMP Packets Example ..................1033 Table 114.
  • Page 30 Tables...
  • Page 31: Preface

    C.F.R. Part 740.17). In no case may it be exported to Cuba, Iran, Iraq, Libya, North Korea, Sudan, or Syria. If you wish to transfer this software outside the United States or Canada, please contact your local Allied Telesis sales representative for current information on this product’s export status.
  • Page 32: Document Conventions

    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.
  • Page 33: Where To Find Web-Based Guides

    AT-9000 Switch Command Line User’s Guide Where to Find Web-based Guides The installation and user guides for all of the Allied Telesis products are available for viewing in portable document format (PDF) from our web site at www.alliedtelesis.com/support/documentation.
  • Page 34: Contacting Allied Telesis

    Select your country from the list displayed on the website and Support then select the appropriate menu tab. Warranty For hardware warranty information, refer to the Allied Telesis web site at www.alliedtelesis.com/support. Returning Products for return or repair must first be assigned a return materials authorization (RMA) number.
  • Page 35: Section I: Getting Started

    Section I Getting Started This section contains the following chapters: Chapter 1, “AlliedWare Plus™ Command Line Interface” on page 37  Chapter 2, “Starting a Management Session” on page 59  Chapter 3, “Basic Command Line Management” on page 71 ...
  • Page 36 Section I: Getting Started...
  • Page 37: Chapter 1: Alliedware Plus™ Command Line Interface

    Chapter 1 AlliedWare Plus™ Command Line Interface This chapter has the following sections: “Management Sessions” on page 38  “Management Interfaces” on page 41  “Local Manager Account” on page 42  “AlliedWare Plus™ Command Modes” on page 43  “Moving Down the Hierarchy”...
  • Page 38: Management Sessions

    Chapter 1: AlliedWare Plus™ Command Line Interface Management Sessions You can manage the switch locally or remotely. Local management is conducted through the Console port on the switch. Remote management is possible with a variety of management tools from workstations on your network.
  • Page 39 If an intruder captures the packet with your login name and password, the security of the switch will be compromised. For secure remote management, Allied Telesis recommends Secure Shell (SSH) or secure web browser (HTTPS).
  • Page 40 Chapter 1: AlliedWare Plus™ Command Line Interface Remote Network MIB (RFC 1757)  Allied Telesis managed switch MIBs  The Allied Telesis managed switch MIBs (atistackinfo.mib and atistackswitch.mib) are available from the Allied Telesis web site. Section I: Getting Started...
  • Page 41: Management Interfaces

    AT-9000 Switch Command Line User’s Guide Management Interfaces The switch has two management interfaces: AlliedWare Plus™ command line  Web browser windows  The AlliedWare Plus command line is available from local management sessions and remote Telnet and Secure Shell management sessions. The web browser windows are available from remote web browser management sessions.
  • Page 42: Local Manager Account

    Chapter 1: AlliedWare Plus™ Command Line Interface Local Manager Account You must log on to manage the switch. This requires a valid user name and password. The switch comes with one local manager account. The user name of the account is “manager” and the default password is “friend.”...
  • Page 43: Alliedware Plus™ Command Modes

    AT-9000 Switch Command Line User’s Guide AlliedWare Plus™ Command Modes The AlliedWare Plus™ command line interface consists of a series of modes that are arranged in the hierarchy shown in Figure 1. User Executive Mode Privileged Executive Mode Global Configuration Mode Port Static Port...
  • Page 44: Table 1. Alliedware Plus Modes

    Chapter 1: AlliedWare Plus™ Command Line Interface first go to the VLAN Configuration mode to initially create it and then to the Port Interface mode to designate the ports. The modes, their command line prompts, and their functions are listed in Table 1.
  • Page 45 AT-9000 Switch Command Line User’s Guide Table 1. AlliedWare Plus Modes (Continued) Mode Prompt Function Class-map mode (config-cmap)# Creates classifiers and flow  groups for Quality of Service policies. Console Line mode (config-line)# Sets the session timer for local  management sessions.
  • Page 46: Moving Down The Hierarchy

    Chapter 1: AlliedWare Plus™ Command Line Interface Moving Down the Hierarchy To move down the mode hierarchy, you have to step through each mode in sequence. Skipping modes isn’t allowed. Each mode has a different command. For instance, to move from the User Exec mode to the Privileged Exec mode, you use the ENABLE command.
  • Page 47: Line Console 0 Command

    AT-9000 Switch Command Line User’s Guide LINE CONSOLE You use this command to move from the Global Configuration mode to the Console Line mode to set the management session timer and to activate 0 Command or deactivate remote authentication for local management sessions. The mode is also used to set the baud rate of the terminal port.
  • Page 48: Interface Port Command

    Chapter 1: AlliedWare Plus™ Command Line Interface This example adds to a traffic class a flow group with the ID number 1: awplus(config-pmap)# class 1 awplus(config-pmap-c)# Figure 8. CLASS Command INTERFACE You use this command to move from the Global Configuration mode to the Port Interface mode where you configure the parameter settings of the PORT Command ports and add ports to VLANs and Quality of Service policies.
  • Page 49: Vlan Database Command

    AT-9000 Switch Command Line User’s Guide VLAN You use this command to move from the Global Configuration mode to the VLAN Configuration mode, which has the commands for creating VLANs. DATABASE The format of the command is: Command vlan database awplus(config)# vlan database awplus(config-vlan)# Figure 12.
  • Page 50: Location Civic-Location Command

    Chapter 1: AlliedWare Plus™ Command Line Interface LOCATION You use this command to move from the Global Configuration mode to the Civic Location mode, to create LLDP civic location entries. The format of CIVIC- the command is: LOCATION Command id_number location civic-location This example assigns the ID number 16 to a new LLDP civic location entry:...
  • Page 51: Moving Up The Hierarchy

    AT-9000 Switch Command Line User’s Guide Moving Up the Hierarchy There are four commands for moving up the mode hierarchy. They are the EXIT, QUIT, END and DISABLE commands. EXIT and QUIT These commands, which are functionally identical, are found in nearly all the modes.
  • Page 52: Disable Command

    Chapter 1: AlliedWare Plus™ Command Line Interface User Executive Mode Privileged Executive Mode Global Configuration Mode Port VLAN Static Port Other Class-Map Line Policy Map Interface Configuration Trunk Mode Mode Modes Mode Mode Mode Mode Class Mode Figure 18. Returning to the Privileged Exec Mode with the END Command DISABLE To return to the User Exec mode from the Privileged Exec mode, use the DISABLE command.
  • Page 53: Port Numbers In Commands

    AT-9000 Switch Command Line User’s Guide Port Numbers in Commands The ports on the switch are identified in the commands with the PORT parameter. The parameter has the format shown in Figure 20. port1.0.n Switch ID Module Slot Number Port Number Figure 20.
  • Page 54 Chapter 1: AlliedWare Plus™ Command Line Interface You can also combine individual ports and port ranges in the same command, as illustrated in these commands, which enter the Port Interface mode for ports 5 to 11 and ports 16 and 18: awplus>...
  • Page 55: Combo Ports 25 To 28

    AT-9000 Switch Command Line User’s Guide Combo Ports 25 to 28 Ports 25 to 28 on the AT-9000/28 and AT-9000/28SP Managed Layer 2 ecoSwitches are combo ports. Each combo consists of one 10/100/ 1000Base-T port and one SFP slot. The twisted pair ports have the letter R for Redundant as part of their port numbers on the front faceplates of the units.
  • Page 56: Command Format

    Chapter 1: AlliedWare Plus™ Command Line Interface Command Format The following sections describe the command line interface features and the command syntax conventions. Command Line The command line interface has these features: Interface Command history - Use the up and down arrow keys. ...
  • Page 57: Startup Messages

    AT-9000 Switch Command Line User’s Guide Startup Messages The switch generates the following series of status messages whenever it is powered on or reset. The messages can be view on the Console port with a terminal or a computer with a terminal emulator program. awplus# umount: none busy - remounted read-only umount: cannot remount rootfs read-only umount: cannot umount /: Device or resource busy...
  • Page 58 Chapter 1: AlliedWare Plus™ Command Line Interface Initializing SYS_MGMT ......done! Initializing SWITCH_MGMT ....... done! Initializing L2APP_MGMT ......done! Initializing SNMP_MGMT ......done! Initializing Authentication ....done! Initializing TCPIP ......done! Initializing Default VLAN ..... done! Initializing ENCO ......done! Initializing PKI .......
  • Page 59: Chapter 2: Starting A Management Session

    Chapter 2 Starting a Management Session This chapter has the following sections: “Starting a Local Management Session” on page 60  “Starting a Remote Telnet or SSH Management Session” on page 62  “What to Configure First” on page 64 ...
  • Page 60: Starting A Local Management Session

    Chapter 2: Starting a Management Session Starting a Local Management Session To start a local management session on the switch, perform the following procedure: 1. Connect the RJ-45 connector on the management cable that comes with the switch to the Console port, as shown in Figure 23. The Console port is located on the front panels on the AT-9000/28 and AT-9000/28SP Switches and on the back panel on the AT+9000/52 Switch.
  • Page 61 AT-9000 Switch Command Line User’s Guide 5. Enter a user name and password. If this is the initial management session of the switch, enter “manager” as the user name “friend” as the password. The user name and password are case sensitive. The local management session has started when the AlliedWare Plus™...
  • Page 62: Starting A Remote Telnet Or Ssh Management Session

    Chapter 2: Starting a Management Session Starting a Remote Telnet or SSH Management Session Here are the requirements for remote management of the switch from a Telnet or SSH client on your network: You must assign the switch a management IP address. To initially ...
  • Page 63 AT-9000 Switch Command Line User’s Guide sessions. Or, if there is already one active management session, a new session is assigned line 1, and so on. You can adjust these three parameters on the individual lines: Management session timer - This timer is used by the switch to end ...
  • Page 64: What To Configure First

    Chapter 2: Starting a Management Session What to Configure First Here are a few suggestions on what to configure during your initial management session of the switch. The initial management session must be a local management session from the Console port on the switch. For instructions on how to start a local management session, refer to “Starting a Local Management Session”...
  • Page 65: Changing The Login Password

    If you forget the manager password, you will not be able to manage the switch if there are no other management accounts on the unit, and will have to contact Allied Telesis Technical Support for assistance. For instructions on how to create additional management accounts, refer to Chapter 69, “Local Manager Accounts”...
  • Page 66: Adding A Management Ip Address

    Chapter 2: Starting a Management Session A name can be up to 39 alphanumeric characters. Spaces and quote marks are not permitted. This example assigns the name “Engineering_sw2” to the switch: awplus> enable awplus# configure terminal awplus(config)# hostname Engineering_sw2 Engineering_sw2(config)# Adding a You must assign the switch a management IP address to use the features in Table 14 on page 208.
  • Page 67: Table 2. Adding A Management Address: Example 1

    AT-9000 Switch Command Line User’s Guide The IP ADDRESS command in the VLAN Interface mode command adds a management IPv4 address to the switch. This example of the command assigns the management IPv4 address 149.82.112.72 and a subnet mask of 255.255.255.0 to the Default_VLAN, which has the VID 1. The switch is also assigned the default gateway 149.82.112.18: Table 2.
  • Page 68: Saving Your Changes

    Chapter 2: Starting a Management Session Enter the Port Interface mode for ports 5, awplus(config)# interface port1.0.5, 6, and 23. port1.0.6,port1.0.23 Add the ports as untagged ports to the awplus(config-if)# switchport access vlan 5 VLAN with the SWITCHPORT ACCESS VLAN command. Return to the Global Configuration mode.
  • Page 69: Ending A Management Session

    AT-9000 Switch Command Line User’s Guide Ending a Management Session To end a management session from below the Privileged Exec mode, return to the Privileged Exec mode and enter EXIT: awplus(config)# exit awplus# exit To end a management session from the User Exec mode, enter the LOGOUT or EXIT command: awplus>...
  • Page 70 Chapter 2: Starting a Management Session Section I: Getting Started...
  • Page 71: Chapter 3: Basic Command Line Management

    Chapter 3 Basic Command Line Management This chapter contains the following sections: “Clearing the Screen” on page 72  “Displaying the On-line Help” on page 73  “Saving Your Configuration Changes” on page 75  “Ending a Management Session” on page 76 ...
  • Page 72: Clearing The Screen

    Chapter 3: Basic Command Line Management Clearing the Screen If your screen becomes cluttered with commands, you can start fresh by entering the CLEAR SCREEN command in the User Exec or Privileged Exec mode. If you’re in a lower mode, you’ll have to move up the mode hierarchy to one of these modes to use the command.
  • Page 73: Displaying The On-Line Help

    AT-9000 Switch Command Line User’s Guide Displaying the On-line Help The command line interface has an on-line help system to assist you with the commands. The help system is displayed by typing a question mark. Typing a question mark at a command line prompt displays all the keywords in the current mode.
  • Page 74 Chapter 3: Basic Command Line Management awplus> enable awplus> enable awplus# configure terminal awplus# configure terminal awplus(config)# hostname ? awplus(config)# hostname ? <STRING:sysName> <STRING:sysName> Figure 28. Displaying the Class of a Parameter Section I: Getting Started...
  • Page 75: Saving Your Configuration Changes

    AT-9000 Switch Command Line User’s Guide Saving Your Configuration Changes To permanently save your changes to the parameter settings on the switch, you must update the active boot configuration file. This is accomplished with either the WRITE command or the COPY RUNNING- CONFIG STARTUP-CONFIG command, both of which are found in the Privileged Exec mode.
  • Page 76: Ending A Management Session

    Chapter 3: Basic Command Line Management Ending a Management Session To end a management session from the Privileged Exec mode, enter the EXIT command: awplus(config)# exit awplus# exit To end a management session from the User Exec mode, enter LOGOUT or EXIT: awplus>...
  • Page 77: Chapter 4: Basic Command Line Management Commands

    Chapter 4 Basic Command Line Management Commands The basic command line commands are summarized in Table 4. Table 4. Basic Command Line Commands Command Mode Description “? (Question Mark Key)” on page 79 All modes Displays the on-line help. “CLEAR SCREEN” on page 81 User Exec and Clears the screen.
  • Page 78 Chapter 4: Basic Command Line Management Commands Table 4. Basic Command Line Commands (Continued) Command Mode Description “QUIT” on page 92 All modes Moves you up one mode. except the User Exec and Privileged Exec “TERMINAL LENGTH” on page 93 Privileged Exec Specifies the maximum number of lines that the SHOW commands...
  • Page 79: (Question Mark Key)

    AT-9000 Switch Command Line User’s Guide ? (Question Mark Key) Syntax Parameters None. Modes All modes Description Use the question mark key to display on-line help messages. Typing the key at different points in a command displays different messages: Typing “?” at a command line prompt displays all the keywords in the ...
  • Page 80 Chapter 4: Basic Command Line Management Commands This example displays the class of the value for the SPANNING-TREE HELLO-TIME command in the Global Configuration mode: awplus> enable awplus# configure terminal awplus(config)# spanning-tree hello-time ? Section I: Getting Started...
  • Page 81: Clear Screen

    AT-9000 Switch Command Line User’s Guide CLEAR SCREEN Syntax clear screen Parameters None. Modes User Exec and Privileged Exec modes Description Use this command to clear the screen. Example awplus# clear screen Section I: Getting Started...
  • Page 82: Configure Terminal

    Chapter 4: Basic Command Line Management Commands CONFIGURE TERMINAL Syntax configure terminal Parameters None. Mode Privileged Exec mode Description Use this command to move from the Privileged Exec mode to the Global Configuration mode. Example awplus# configure terminal awplus(config)# Section I: Getting Started...
  • Page 83: Copy Running-Config Startup-Config

    AT-9000 Switch Command Line User’s Guide COPY RUNNING-CONFIG STARTUP-CONFIG Syntax copy running-config startup-config Parameters None. Mode Privileged Exec mode Description Use this command to update the active boot configuration file with the switch’s current configuration, for permanent storage. When you enter the command, the switch copies its parameter settings into the active boot configuration file.
  • Page 84: Disable

    Chapter 4: Basic Command Line Management Commands DISABLE Syntax disable Parameters None. Mode Privileged Exec mode Description Use this command to return to the User Exec mode from the Privileged Exec mode. Example awplus# disable awplus> Section I: Getting Started...
  • Page 85 AT-9000 Switch Command Line User’s Guide Syntax Parameters None. Mode Global Configuration mode Description Use this command to perform commands in the Privileged Exec mode from the Global Configuration mode. Example This example performs the SHOW INTERFACE command for port 4 from the Global Configuration mode: awplus(config)# do show interface port1.0.4 Section I: Getting Started...
  • Page 86: Enable

    Chapter 4: Basic Command Line Management Commands ENABLE Syntax enable Parameters None. Mode User Exec mode Description Use this command to move from the User Exec mode to the Privileged Exec mode. Example awplus> enable awplus# Section I: Getting Started...
  • Page 87: End

    AT-9000 Switch Command Line User’s Guide Syntax Parameters None. Mode All modes below the Global Configuration mode. Description Use this command to return to the Privileged Exec mode. Example awplus(config-if)# end awplus# Section I: Getting Started...
  • Page 88: Exit

    Chapter 4: Basic Command Line Management Commands EXIT Syntax exit Parameters None. Mode All modes except the User Exec and Privileged Exec modes. Description Use this command to move up one mode in the mode hierarchy. This command is identical to the QUIT command. Example awplus(config)# exit awplus#...
  • Page 89: Length

    AT-9000 Switch Command Line User’s Guide LENGTH Syntax value length Parameters value Specifies the maximum number of lines that the SHOW commands display at one time on the screen. The range is 0 to 512 lines. Use the value 0 if you do not want the SHOW commands to pause.
  • Page 90 Chapter 4: Basic Command Line Management Commands awplus(config)# line console 0 awplus(config-line)# no length Section I: Getting Started...
  • Page 91: Logout

    AT-9000 Switch Command Line User’s Guide LOGOUT Syntax logout Parameters None. Mode User Exec mode Description Use this command to end a management session. Example This example shows the sequence of commands to logout starting from the Global Configuration mode: awplus(config)# exit awplus# disable awplus>...
  • Page 92: Quit

    Chapter 4: Basic Command Line Management Commands QUIT Syntax quit Parameters None. Mode All modes except the User Exec and Privileged Exec modes. Description Use this command to move up one mode in the mode hierarchy. This command is identical to the EXIT command. Example awplus(config)# quit awplus#...
  • Page 93: Terminal Length

    AT-9000 Switch Command Line User’s Guide TERMINAL LENGTH Syntax value terminal length Parameters value Specifies the maximum number of lines that the SHOW commands display at one time on the screen. The range is 0 to 512 lines. Use the value 0 if you do not want the SHOW commands to pause.
  • Page 94: Write

    Chapter 4: Basic Command Line Management Commands WRITE Syntax write Parameters None. Mode Privileged Exec mode Description Use this command to update the active boot configuration file with the switch’s current configuration, for permanent storage. When you enter the command, the switch copies its parameter settings into the active boot configuration file.
  • Page 95: Section Ii: Basic Operations

    Section II Basic Operations This section contains the following chapters: Chapter 5, “Basic Switch Management” on page 97  Chapter 6, “Basic Switch Management Commands” on page 111  Chapter 7, “Port Parameters” on page 143  Chapter 8, “Port Parameter Commands” on page 161 ...
  • Page 96 Section II: Basic Operations...
  • Page 97: Chapter 5: Basic Switch Management

    Chapter 5 Basic Switch Management This chapter contains the following: “Adding a Name to the Switch” on page 98  “Adding Contact and Location Information” on page 99  “Displaying Parameter Settings” on page 100  “Manually Setting the Date and Time” on page 101 ...
  • Page 98: Adding A Name To The Switch

    Chapter 5: Basic Switch Management Adding a Name to the Switch The switch will be easier to identify if you assign it a name. The switch displays its name in the command line prompt, in place of the default prefix “awplus.” To assign the switch a name, use the HOSTNAME command in the Global Configuration mode.
  • Page 99: Adding Contact And Location Information

    AT-9000 Switch Command Line User’s Guide Adding Contact and Location Information The commands for assigning the switch contact and location information are the SNMP-SERVER CONTACT and SNMP-SERVER LOCATION commands, both of which are found in the Global Configuration mode. Here are the formats of the commands: contact snmp-server contact location...
  • Page 100: Displaying Parameter Settings

    Chapter 5: Basic Switch Management Displaying Parameter Settings To display the current parameter settings on the switch, use the SHOW RUNNING-CONFIG command in the Privileged Exec mode. The settings, which are displayed in their equivalent command line commands, are limited to just those parameters that have been changed from their default values.
  • Page 101: Manually Setting The Date And Time

    AT-9000 Switch Command Line User’s Guide Manually Setting the Date and Time To manually set the date and time on the switch, use the CLOCK SET command in the Privileged Exec mode. Here is the format of the command: hh:mm:ss dd mm yyyy clock set Here are the variables: hh:mm:ss: Use this variable to specify the hour, minute, and second for...
  • Page 102: Pinging Network Devices

    Chapter 5: Basic Switch Management Pinging Network Devices If the switch is unable to communicate with a network device, such as a syslog server or a TFTP server, you can test for an active link between the two devices by instructing the switch to send ICMP Echo Requests and to listen for replies sent back from the other device.
  • Page 103: Resetting The Switch

    AT-9000 Switch Command Line User’s Guide Resetting the Switch To reset the switch, use either the REBOOT or RELOAD command in the Privileged Exec mode. You might reset the switch if it is experiencing a problem or if you want to reconfigure its settings after designating a new active boot configuration file.
  • Page 104: Restoring The Default Settings To The Switch

    Chapter 5: Basic Switch Management Restoring the Default Settings to the Switch To restore the default settings to the switch, delete or rename the active boot configuration file and then reset the unit. Without an active boot configuration file, the switch will use the default parameter settings after it initializes the management software.
  • Page 105 AT-9000 Switch Command Line User’s Guide Here is the sequence of commands and messages: awplus> enable awplus# erase startup-config erase start-up config? (y/n):y Deleting.. Successful Operation awplus# reboot If you prefer to keep the active boot configuration file, you can rename it with the MOVE command in the Privileged Exec mode, and then reset the switch.
  • Page 106: Setting The Baud Rate Of The Console Port

    Chapter 5: Basic Switch Management Setting the Baud Rate of the Console Port The Console port is used for local management of the switch. To set its baud rate, use the BAUD-RATE SET command in the Global Configuration mode. Note If you change the baud rate of the Console port during a local management session, your session is interrupted.
  • Page 107: Configuring The Management Session Timers

    AT-9000 Switch Command Line User’s Guide Configuring the Management Session Timers You should always conclude a management session by logging off so that if you leave your workstation unattended, someone cannot use it to change the switch’s configuration. If you forget to log off, the switch has management session timers to detect and log off inactive local and remote management sessions for you, automatically.
  • Page 108: Setting The Maximum Number Of Manager Sessions

    Chapter 5: Basic Switch Management Setting the Maximum Number of Manager Sessions The switch supports up to three manager sessions simultaneously so that more than one person can manage the unit at a time. You set the maximum number of sessions with the SERVICE MAXMANAGER command in the Global Configuration mode.
  • Page 109: Configuring The Banners

    AT-9000 Switch Command Line User’s Guide Configuring the Banners The switch has three banner messages you may use to identify the switch or to display other information about the unit. The banners are listed here: Message-of-the-day banner  Login banner ...
  • Page 110 Chapter 5: Basic Switch Management After you finish entering your message, hold down the CTRL key and type D to return to the command prompt in the Global Configuration mode. This example of the BANNER MOTD command assigns the switch the message-of-the-day banner in Figure 31: awplus>...
  • Page 111: Chapter 6: Basic Switch Management Commands

    Chapter 6 Basic Switch Management Commands The basic switch management commands are summarized in Table 5. Table 5. Basic Switch Management Commands Command Mode Description “BANNER EXEC” on page 113 Global Creates a User Exec and Privileged Configuration Exec modes banner. “BANNER LOGIN”...
  • Page 112 Chapter 6: Basic Switch Management Commands Table 5. Basic Switch Management Commands Command Mode Description “SHOW BAUD-RATE” on page 130 Global Displays the settings of the Console Configuration port. “SHOW CLOCK” on page 131 User Exec and Displays the date and time. Privileged Exec “SHOW RUNNING-CONFIG”...
  • Page 113: Banner Exec

    AT-9000 Switch Command Line User’s Guide BANNER EXEC Syntax banner exec Parameters None. Mode Global Configuration mode Description Use this command to create a banner for the User Exec and Privilege Exec modes. The message is displayed above the command line prompt when you log on or clear the screen with the CLEAR SCREEN command, in local, Telnet and SSH management sessions.
  • Page 114: Banner Login

    Chapter 6: Basic Switch Management Commands BANNER LOGIN Syntax banner login Parameters None. Mode Global Configuration mode Description Use this command to configure the login banner. The message is displayed prior to the login user name and password prompts for local, Telnet and SSH management sessions.
  • Page 115: Banner Motd

    AT-9000 Switch Command Line User’s Guide BANNER MOTD Syntax banner motd Parameters None. Mode Global Configuration mode Description Use this command to create a message-of-the-day banner. The message is displayed prior to the login user name and password prompts for local, Telnet and SSH management sessions.
  • Page 116: Baud-Rate Set

    Chapter 6: Basic Switch Management Commands BAUD-RATE SET Syntax baud-rate set 1200|2400|00|9600|19200|38400|57600|115200 Parameters None. Mode Global Configuration mode Description Use this command to set the baud rate of the Console port, which is used for local management sessions of the switch. Note If you change the baud rate of the serial terminal port during a local management session, your session will be interrupted.
  • Page 117: Clock Set

    AT-9000 Switch Command Line User’s Guide CLOCK SET Syntax hh:mm:ss dd mm yyyy clock set Parameters hh:mm:ss Specifies the hour, minute, and second for the switch’s time in 24-hour format. Specifies the day of the month. The day must be entered in two digits.
  • Page 118: Erase Startup-Config

    Chapter 6: Basic Switch Management Commands ERASE STARTUP-CONFIG Syntax erase startup-config Parameters None. Mode Privileged Exec mode Description Use this command to delete the active boot configuration file to restore the default settings to all the parameters on the switch. After entering this command, enter the REBOOT command to reset the switch and restore the default settings.
  • Page 119: Exec-Timeout

    AT-9000 Switch Command Line User’s Guide EXEC-TIMEOUT Syntax value exec-timeout Parameters exec-timeout Specifies the session timer in minutes. The range is 0 to 35,791 minutes. The default value is 10 minutes. Mode Line Console and Virtual Terminal Line modes Description Use this command to set the management session timers.
  • Page 120 Chapter 6: Basic Switch Management Commands This example sets the session timer for the first (vty 0) Telnet or SSH session to 5 minutes: awplus> enable awplus# configure terminal awplus(config)# line vty 0 awplus(config-line)# exec-timeout 5 Section II: Basic Operations...
  • Page 121: Hostname

    AT-9000 Switch Command Line User’s Guide HOSTNAME Syntax name hostname Parameters name Specifies a name of up to 39 alphanumeric characters for the switch. A name may contain special characters, except for spaces and quotation marks. Mode Global Configuration mode Description Use this command to assign the switch a name.
  • Page 122: Line Console

    Chapter 6: Basic Switch Management Commands LINE CONSOLE Syntax line console 0 Parameters None. Mode Global Configuration mode Description Use this command to enter the Line Console mode to set the session timer and to activate or deactivate remote authentication for local management sessions.
  • Page 123: Line Vty

    AT-9000 Switch Command Line User’s Guide LINE VTY Syntax line_id line vty Parameters line_id Specifies the number of a VTY line. The range is 0 to 9. You can specify just one line at a time. Mode Global Configuration mode Description Use this command to enter the Virtual Terminal Line mode for a VTY line, to set the session timer or to activate or deactivate remote authentication...
  • Page 124: No Hostname

    Chapter 6: Basic Switch Management Commands NO HOSTNAME Syntax hostname Parameters None. Mode Global Configuration mode Description Use this command to delete the switch’s name without assigning a new name. Example This example deletes the current name of the switch without assigning a new value: Bld2_Shipping>...
  • Page 125: Ping

    AT-9000 Switch Command Line User’s Guide PING Syntax ipaddress ping Parameters ipaddress Specifies the IP address of the network device to receive the ICMP Echo Requests from the switch. You can specify only one IP address. Modes Privileged Exec mode Description Use this command to instruct the switch to send ICMP Echo Requests to network devices.
  • Page 126: Reboot

    Chapter 6: Basic Switch Management Commands REBOOT Syntax reboot Parameters None. Mode Privileged Exec mode Description Use this command to reset the switch. You might reset the unit if it is experiencing a problem or if you want to reconfigure its settings after you designate a new active boot configuration file.This command is identical to “RELOAD”...
  • Page 127: Reload

    AT-9000 Switch Command Line User’s Guide RELOAD Syntax reload Parameters None. Mode Privileged Exec mode Description Use this command to reset the switch. You might reset the unit if it is experiencing a problem or if you want to reconfigure its settings after you designate a new active boot configuration file.
  • Page 128 Chapter 6: Basic Switch Management Commands Example The following example resets the switch: awplus> enable awplus# reload Section II: Basic Operations...
  • Page 129: Service Maxmanager

    AT-9000 Switch Command Line User’s Guide SERVICE MAXMANAGER Syntax value service maxmanager Parameters value Specifies the maximum number of manager sessions the switch will allow at one time. The range is 1 to 3. The default is 3. Mode Global Configuration mode Description Use this command to set the maximum number of manager sessions that can be open on the switch simultaneously.
  • Page 130: Show Baud-Rate

    Chapter 6: Basic Switch Management Commands SHOW BAUD-RATE Syntax show baud-rate Parameters None. Mode User Exec mode and Privileged Exec mode Description Use this command to display the settings of the Console port, used for local management sessions of the switch. Here is an example of the information.
  • Page 131: Show Clock

    AT-9000 Switch Command Line User’s Guide SHOW CLOCK Syntax show clock Parameters None. Modes User Exec mode Description Use this command to display the system’s current date and time. Example This example displays the system’s current date and time: awplus# show clock Section II: Basic Operations...
  • Page 132: Show Running-Config

    Chapter 6: Basic Switch Management Commands SHOW RUNNING-CONFIG Syntax show running-config Parameters None. Modes Privileged Exec mode Description Use this command to display the settings of the switch, in their equivalent command line commands. The command displays only the settings that have been changed from their default values and includes those values that have not yet been saved in the active boot configuration file.
  • Page 133: Show Switch

    Description Application Software The version number of the management Version software. Application Software Build The date and time when Allied Telesis Date released this version of the management software. MAC Address The MAC address of the switch. Section II: Basic Operations...
  • Page 134 Chapter 6: Basic Switch Management Commands Table 6. SHOW SWITCH Command (Continued) Parameter Description Console Disconnect Timer The current setting of the console timer. Interval The switch uses the console timer to end inactive management session. The switch ends management sessions if they are inactive for the length of the timer.
  • Page 135: Show System

    AT-9000 Switch Command Line User’s Guide SHOW SYSTEM Syntax show system Parameters None. Modes User Exec and Privileged Exec modes Description Use this command to view general information about the switch. Figure 34 is an example of the information. Switch System Status Fri, 16 Sep 2011 00:37:26 Board Board Name...
  • Page 136: Show Users

    Chapter 6: Basic Switch Management Commands SHOW USERS Syntax show users Parameters None. Modes Privileged Exec mode Description Use this command to display the managers who are currently logged on the switch. The command lists managers who are logged on locally through the Console port and remotely from Telnet and SSH sessions.
  • Page 137 AT-9000 Switch Command Line User’s Guide Table 7. SHOW USERS Command (Continued) Parameter Description Idle The number of hours, minutes, and seconds since the manager to whom the account belongs to entered a command on the switch. The value will always be zero for the account you are currently using to manage the switch.
  • Page 138: Snmp-Server Contact

    Chapter 6: Basic Switch Management Commands SNMP-SERVER CONTACT Syntax contact snmp-server contact Parameters contact Specifies the name of the person responsible for managing the switch. The name can be up to 255 alphanumeric characters in length. Spaces and special characters are allowed. Mode Global Configuration mode Description...
  • Page 139: Snmp-Server Location

    AT-9000 Switch Command Line User’s Guide SNMP-SERVER LOCATION Syntax location snmp-server location Parameters location Specifies the location of the switch. The location can be up to 255 alphanumeric characters. Spaces and special characters are allowed. Mode Global Configuration mode Description Use this command to add location information to the switch.
  • Page 140: System Territory

    Chapter 6: Basic Switch Management Commands SYSTEM TERRITORY Syntax territory system territory Parameters territory Specifies the territory of the switch. The switch can have only one territory. You may choose from the following territories: australia Australia china China europe Europe japan Japan korea...
  • Page 141 AT-9000 Switch Command Line User’s Guide awplus# configure terminal awplus(config)# no system territory Section II: Basic Operations...
  • Page 142 Chapter 6: Basic Switch Management Commands Section II: Basic Operations...
  • Page 143: Chapter 7: Port Parameters

    Chapter 7 Port Parameters This chapter contains the following: “Adding Descriptions” on page 144  “Setting the Speed and Duplex Mode” on page 145  “Setting the MDI/MDI-X Wiring Configuration” on page 147  “Enabling or Disabling Ports” on page 148 ...
  • Page 144: Adding Descriptions

    Chapter 7: Port Parameters Adding Descriptions The ports will be easier to identify if you give them descriptions. The descriptions are viewed with the SHOW INTERFACE command in the Privileged Exec mode. The command for adding descriptions is the DESCRIPTION command in the Port Interface mode.
  • Page 145: Setting The Speed And Duplex Mode

    AT-9000 Switch Command Line User’s Guide Setting the Speed and Duplex Mode The twisted pair ports on the switch can operate at 10, 100, or 1000 Mbps, in either half-duplex or full-duplex mode. You may set the speeds and duplex modes yourself or, since the ports support Auto-Negotiation, you may let the switch configure the ports automatically.
  • Page 146 Chapter 7: Port Parameters awplus# configure terminal awplus(config)# interface port1.0.11,port1.0.17 awplus(config-if)# speed 100 This example configures port 1 to half-duplex: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.1 awplus(config-if)# duplex half This example configures ports 2 to 4 to 10 Mbps, full-duplex: awplus>...
  • Page 147: Setting The Mdi/Mdi-X Wiring Configuration

    AT-9000 Switch Command Line User’s Guide Setting the MDI/MDI-X Wiring Configuration The wiring configurations of twisted pair ports that operate at 10 or 100 Mbps are MDI (medium dependent interface) and MDI-X (medium dependent interface crossover). A port on the switch and a port on a link partner must have different settings.
  • Page 148: Enabling Or Disabling Ports

    Chapter 7: Port Parameters Enabling or Disabling Ports Disabling ports turns off their receivers and transmitters so that they cannot forward traffic. You might disable unused ports on the switch to protect them from unauthorized use, or if there is a problem with a cable or a network device.
  • Page 149: Enabling Or Disabling Backpressure

    AT-9000 Switch Command Line User’s Guide Enabling or Disabling Backpressure Ports use backpressure during periods of packet congestion, to prevent packet overruns. They use it to stop their link partners from sending any further packets to enable them to process the packets already in their buffers.
  • Page 150: Enabling Or Disabling Flow Control

    Chapter 7: Port Parameters Enabling or Disabling Flow Control When a port that is operating in full-duplex mode needs to temporarily stop its local or remote counterpart from sending any further packets, it initiates flow control by sending what are known as pause packets. Pause packets instruct the link partner to stop sending packets to allow the sender of the packets time to process the packets already stored in its buffers.
  • Page 151 AT-9000 Switch Command Line User’s Guide This example configures port 21 not to send pause packets during periods of packet congestion: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.21 awplus(config-if)# speed 100 awplus(config-if)# duplex full awplus(config-if)# flowcontrol send off This example enables both the receive and send portions of flow control on port 7: awplus>...
  • Page 152 Chapter 7: Port Parameters If flow control isn’t configured on a port, this message is displayed: Flow control is not set on interface port1.0.2 Section II: Basic Operations...
  • Page 153: Resetting Ports

    AT-9000 Switch Command Line User’s Guide Resetting Ports If a port is experiencing a problem, you may be able to correct it with the RESET command in the Port Interface mode. This command performs a hardware reset. The port parameter settings are retained. The reset takes just a second or two to complete.
  • Page 154: Configuring Threshold Limits For Ingress Packets

    Chapter 7: Port Parameters Configuring Threshold Limits for Ingress Packets You can set threshold limits for the ingress packets on the ports. The threshold limits control the number of packets the ports accept each second. Packets that exceed the limits are discarded by the ports. You can set different limits for broadcast, multicast, and unknown unicast traffic.
  • Page 155 AT-9000 Switch Command Line User’s Guide To remove threshold limits from the ports, use the NO STORM-CONTROL command, also in the Port Interface mode. This example removes the threshold limit for broadcast packets on port 12: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.12 awplus(config-if)# no storm-control broadcast This example disables unknown unicast rate limiting on port 5, 6, and 15:...
  • Page 156: Reinitializing Auto-Negotiation

    Chapter 7: Port Parameters Reinitializing Auto-Negotiation If you believe that a port set to Auto-Negotiation is not using the highest possible common speed and duplex-mode between itself and a network device, you can instruction it to repeat Auto-Negotiation. This is accomplished with the RENEGOTIATE command in the Port Interface mode.
  • Page 157: Restoring The Default Settings

    AT-9000 Switch Command Line User’s Guide Restoring the Default Settings To restore the default settings on a port, use the PURGE command in the Port Interface mode. This example returns ports 12, 13 and 15 to their default settings: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.12,port1.0.13,port1.0.15 awplus(config-if)# purge...
  • Page 158: Displaying Port Settings

    Chapter 7: Port Parameters Displaying Port Settings There are several ways to display port settings. See the following: “Displaying Speed and Duplex Settings” on page 158  “Displaying Port Status” on page 158  “Displaying Port Configuration” on page 159 ...
  • Page 159: Displaying Port Configuration

    AT-9000 Switch Command Line User’s Guide See Figure 38 for an example of the display. Interface port1.0.1 Link is UP, administrative state is UP Address is 0015.77cc.e243 index 1 mtu 9198 SNMP link-status traps: Enabled (Suppressed in 0 sec.) Bandwidth 1g input packets 0, bytes 0, dropped 0, multicast packets 0 output packets 0, bytes 0, multicast packets 0 broadcast packets 0 Interface port1.0.2...
  • Page 160: Displaying Or Clearing Port Statistics

    Chapter 7: Port Parameters Displaying or Clearing Port Statistics To view packet statistics for the individual ports, use the SHOW PLATFORM TABLE PORT command in the Privileged Exec mode. Here is the format of the command: port show platform table port [ ] counters This example displays the statistics for ports 23 and 24: awplus# show platform table port port1.0.23,port1.0.24...
  • Page 161: Chapter 8: Port Parameter Commands

    Chapter 8 Port Parameter Commands The port parameter commands are summarized in Table 8. Table 8. Port Parameter Commands Command Mode Description “BACKPRESSURE” on page 163 Port Interface Enables or disables backpressure on ports that are operating in half-duplex mode. “BPLIMIT”...
  • Page 162 Chapter 8: Port Parameter Commands Table 8. Port Parameter Commands (Continued) Command Mode Description “NO STORM-CONTROL” on Port Interface Removes threshold limits for page 182 broadcast, multicast, or unknown unicast packets. “POLARITY” on page 183 Port Interface Sets the MDI/MDI-X settings on twisted pair ports.
  • Page 163: Backpressure

    AT-9000 Switch Command Line User’s Guide BACKPRESSURE Syntax backpressure on|off Parameters Activates backpressure on the ports. Deactivates backpressure on the ports. Mode Port Interface mode Description Use this command to enable or disable backpressure on ports that are operating at 10 or 100 Mbps in half-duplex mode. Backpressure is used by ports during periods of packet congestion to temporarily stop their network counterparts from transmitting more packets.
  • Page 164 Chapter 8: Port Parameter Commands This example configures ports 8 and 21 to 100 Mbps, half-duplex mode, with backpressure disabled: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.8,port1.0.21 awplus(config-if)# speed 100 awplus(config-if)# duplex half awplus(config-if)# backpressure off Section II: Basic Operations...
  • Page 165: Bplimit

    AT-9000 Switch Command Line User’s Guide BPLIMIT Syntax bplimit bplimit Parameters bplimit Specifies the number of cells for backpressure. A cell represents 128 bytes. The range is 1 to 7935 cells. The default value is 7935 cells. Mode Port Interface mode Description Use this command to specify a threshold level for backpressure on a port.
  • Page 166: Clear Port Counter

    Chapter 8: Port Parameter Commands CLEAR PORT COUNTER Syntax clear port counter port Parameters port Specifies the port whose packet counters you want to clear. You can specify more than one port at a time in the command. Mode User Exec mode and Privileged Exec mode Description Use this command to clear the packet counters of the ports.
  • Page 167: Description

    AT-9000 Switch Command Line User’s Guide DESCRIPTION Syntax description description Parameters description Specifies a description of 1 to 80 alphanumeric characters for a port. Spaces and special characters are allowed. Mode Port Interface mode Description Use this command to add descriptions to the ports on the switch. The ports will be easier to identify if they have descriptions.
  • Page 168: Duplex

    Chapter 8: Port Parameter Commands DUPLEX Syntax duplex auto|half|full Parameters auto Activates Auto-Negotiation for the duplex mode, so that the duplex mode is set automatically. half Specifies half-duplex mode. full Specifies full-duplex mode. Mode Port Interface mode Description Use this command to set the duplex modes of the twisted pair ports. Ports operating in half-duplex mode can either receive packets or transmit packets, but not both at the same time, while ports operating in full-duplex can both send and receive packets, simultaneously.
  • Page 169 AT-9000 Switch Command Line User’s Guide Examples This example sets the duplex mode on port 11 half-duplex: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.11 awplus(config-if)# duplex half This example configures the duplex mode with Auto-Negotiation on port awplus> enable awplus# configure terminal awplus(config)# interface port1.0.15 awplus(config-if)# duplex auto...
  • Page 170: Egress-Rate-Limit

    Chapter 8: Port Parameter Commands EGRESS-RATE-LIMIT Syntax egress-rate-limit value Parameters value Specifies the maximum amount of traffic that can be transmitted from the port. The value is kilobits per second. The range is 64 to 1,000,000 kilobits per second. Mode Port Interface mode Description Use this command to set a limit on the amount of traffic that can be...
  • Page 171: Fctrllimit

    AT-9000 Switch Command Line User’s Guide FCTRLLIMIT Syntax fctrllimit fctrllimit Parameters fctrllimit Specifies the number of cells for flow control. A cell represents 128 bytes. The range is 1 to 7935 cells. The default value is 7935 cells. Mode Port Interface mode Description Use this command to specify threshold levels for flow control on the ports.
  • Page 172: Flowcontrol

    Chapter 8: Port Parameter Commands FLOWCONTROL Syntax flowcontrol send|receive|both on|off Parameter send Controls whether a port sends pause packets during periods of packet congestion, to initiate flow control. receive Controls whether a port, when it receives pause packets from its network counterpart, stops sending packets.
  • Page 173 AT-9000 Switch Command Line User’s Guide The SEND parameter determines whether a port sends pause packets when it experiences traffic congestion. If send is on, a port sends pause packets to signal its link partner of the condition and to stop the transmission of more packets.
  • Page 174 Chapter 8: Port Parameter Commands awplus(config-if)# duplex full awplus(config-if)# flowcontrol send off awplus(config-if)# flowcontrol receive on Section II: Basic Operations...
  • Page 175: Holbplimit

    AT-9000 Switch Command Line User’s Guide HOLBPLIMIT Syntax holbplimit holbplimit Parameter Specifies the threshold at which a port signals a head of holbplimit line blocking event. The threshold is specified in cells. A cell is 128 bytes. The range is 1 to 8,191 cells; the default is 682 cells.
  • Page 176 Chapter 8: Port Parameter Commands Port A Port C C C C C D D D D Egress Queue Ingress Queue Port B Port D 100% D D D D D D D D D D D D D D D D Egress Queue Ingress Queue Figure 40.
  • Page 177: Linktrap

    AT-9000 Switch Command Line User’s Guide LINKTRAP Syntax linktrap Parameter None. Mode Port Interface mode Description Use this command to activate SNMP link traps on the ports. The switch sends an SNMP trap to an SNMP trap receiver on your network whenever a port experiences a change in its link state.
  • Page 178: No Egress-Rate-Limit

    Chapter 8: Port Parameter Commands NO EGRESS-RATE-LIMIT Syntax no egress-rate-limit Parameters None. Mode Port Interface mode Description Use this command to disable egress rate limiting on the ports. Confirmation Command “SHOW RUNNING-CONFIG” on page 132 Example This example disable egress rate limiting on the ports 4 and 5: awplus>...
  • Page 179: No Flowcontrol

    AT-9000 Switch Command Line User’s Guide NO FLOWCONTROL Syntax no flowcontrol Parameter None. Mode Port Interface mode Description Use this command to disable flow control on ports. Confirmation Command “SHOW FLOWCONTROL INTERFACE” on page 188 Example This example disables flow control on port 16: awplus>...
  • Page 180: No Linktrap

    Chapter 8: Port Parameter Commands NO LINKTRAP Syntax no linktrap Parameter None. Mode Port Interface mode Description Use this command to deactivate SNMP link traps on the ports of the switch. The switch does not send traps when a port on which link trap is disabled experiences a change in its link state (i.e., goes up or down).
  • Page 181: No Shutdown

    AT-9000 Switch Command Line User’s Guide NO SHUTDOWN Syntax no shutdown Parameters None. Mode Port Interface mode Description Use this command to enable ports so that they forward packets again. This is the default setting for a port. Confirmation Command “SHOW RUNNING-CONFIG”...
  • Page 182: No Storm-Control

    Chapter 8: Port Parameter Commands NO STORM-CONTROL Syntax no storm-control broadcast|multicast|dlf Parameters broadcast Specifies broadcast packets. multicast Specifies multicast packets. Specifies unknown unicast packets. Description Use this command to remove packet threshold levels that were set on the ports with “STORM-CONTROL” on page 205. Confirmation Command “SHOW RUNNING-CONFIG”...
  • Page 183: Polarity

    AT-9000 Switch Command Line User’s Guide POLARITY Syntax polarity auto|mdi|mdix Parameters auto Activates auto-MDI/MDIX. Sets a port’s wiring configuration to MDI. mdix Sets a port’s wiring configuration to MDI-X. Mode Port Interface mode Description Use this command to set the wiring configuration of twisted pair ports that are operating at 10 or 100 Mbps, in half- or full-duplex mode.
  • Page 184 Chapter 8: Port Parameter Commands This example activates auto-MDI/MDIX on ports 1 to 3: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.1-port1.0.3 awplus(config-if)# polarity auto Section II: Basic Operations...
  • Page 185: Purge

    AT-9000 Switch Command Line User’s Guide PURGE Syntax purge Parameters None. Mode Port Interface mode Description Use this command to restore the default settings to these port parameters: Enabled status (NO SHUTDOWN)  Description  Speed  Duplex mode  MDI/MDI-X ...
  • Page 186: Renegotiate

    Chapter 8: Port Parameter Commands RENEGOTIATE Syntax renegotiate Parameters None. Mode Port Interface mode Description Use this command to prompt a port that is set to Auto-Negotiation to renegotiate its speed and duplex mode with its network device. You might use this command if you believe that a port and a network device did not establish the highest possible common settings during the Auto- Negotiation process.
  • Page 187: Reset

    AT-9000 Switch Command Line User’s Guide RESET Syntax reset Parameters None. Mode Port Interface mode Description Use this command to perform a hardware reset on the ports. The ports retain their parameter settings. The reset takes only a second or two to complete.
  • Page 188: Show Flowcontrol Interface

    Chapter 8: Port Parameter Commands SHOW FLOWCONTROL INTERFACE Syntax show flowcontrol interface port Parameter port Specifies the port whose flow control setting you want to view. You can specify just one port at a time. Modes Privileged Exec mode Description Use this command to display the current settings for flow control on the ports.
  • Page 189 AT-9000 Switch Command Line User’s Guide Table 9. SHOW FLOWCONTROL INTERFACE Command (Continued) Parameter Description TxPause The number of transmitted pause packets. Example This command displays the flow control settings for port 2: awplus# show flowcontrol interface port1.0.2 Section II: Basic Operations...
  • Page 190: Show Interface

    Chapter 8: Port Parameter Commands SHOW INTERFACE Syntax show interface [ port Parameter port Specifies the port whose current status you want to view. You can display more than one port at a time. To display all the ports, do not include this parameter. Modes Privileged Exec mode Description...
  • Page 191: Table 10. Show Interface Command

    AT-9000 Switch Command Line User’s Guide The fields are described in Table 10. Table 10. SHOW INTERFACE Command Parameter Description Interface Port number. Link is The status of the link on the port. This field is UP when the port has a link with a network device, and DOWN when the port does not have a link.
  • Page 192 Chapter 8: Port Parameter Commands Examples This command displays the current operational state of all the ports: awplus# show interface This command displays the current operational state of ports 1 to 4: awplus# show interface port1.0.1-port1.0.4 Section II: Basic Operations...
  • Page 193: Show Interface Status

    AT-9000 Switch Command Line User’s Guide SHOW INTERFACE STATUS Syntax show interface [ port ] status Parameter port Specifies the port whose parameter settings you want to view. You can display more than one port at a time. To display all the ports, do not include a port number. Modes Privileged Exec mode Description...
  • Page 194 Chapter 8: Port Parameter Commands Table 11. SHOW INTERFACE STATUS Command Parameter Description Duplex The duplex mode setting of the port. The setting can be half, full or auto for Auto- Negotiation. To set the duplex mode, refer to “DUPLEX” on page 168. Speed The speed of the port.
  • Page 195: Show Platform Table Port

    AT-9000 Switch Command Line User’s Guide SHOW PLATFORM TABLE PORT Syntax port show platform table port [ ] counters Parameter port Specifies the port whose statistics you want to view. You can specify more than one port at a time in the command.
  • Page 196 Chapter 8: Port Parameter Commands Table 12. SHOW PLATFORM TABLE PORT COUNTERS Command Parameter Description MulticastPkts Number of received and transmitted multicast packets. BroadcastPkts Number of received and transmitted broadcast packets PauseMACCtrlFrms Number of received and transmitted flow control pause packets. OversizePkts Number of received packets that exceeded the maximum size as specified...
  • Page 197 AT-9000 Switch Command Line User’s Guide Table 12. SHOW PLATFORM TABLE PORT COUNTERS Command Parameter Description ifOutErrors Number of packets that were discarded prior to transmission because of an error. ipInHdrErrors Number of ingress packets that were discarded because of a hardware error. Miscellaneous Counters MAC TxErr Number of frames not transmitted...
  • Page 198: Show System Pluggable

    Chapter 8: Port Parameter Commands SHOW SYSTEM PLUGGABLE Syntax show system pluggable Parameters None. Mode Privileged Exec mode Description Use this command to display information about the SFP modules in the switch. System Pluggable Information Port Vendor Device Serial Number Datecode Type --------------------------------------------------------------------------...
  • Page 199: Show System Pluggable Detail

    AT-9000 Switch Command Line User’s Guide SHOW SYSTEM PLUGGABLE DETAIL Syntax show system pluggable Parameters None. Mode Privileged Exec mode Description Use this command to display information about the SFP modules in the switch. See Figure 45. The SHOW SYSTEM PLUGGABLE DETAIL command provides more detailed information than the SHOW SYSTEM PLUGGABLE command.
  • Page 200: Show Storm-Control

    Chapter 8: Port Parameter Commands SHOW STORM-CONTROL Syntax port show storm-control [ Parameters port Specifies the port whose storm-control, threshold limit settings you want to view. You can specify more than one port at a time. To display all the ports, do not include this parameter.
  • Page 201 AT-9000 Switch Command Line User’s Guide Table 13. SHOW STORM-CONTROL Command (Continued) Column Description DlfLevel Indicates the maximum number of unknown unicast packets, destination lookup failure (DLF) packets per second for the port. DLF packets beyond this number are discarded. Examples This command displays the settings of all the ports: awplus# show storm-control...
  • Page 202: Show Running-Config Interface

    Chapter 8: Port Parameter Commands SHOW RUNNING-CONFIG INTERFACE Syntax interface-list show running-config interface Parameters Specifies a port, multiple ports, or a range of ports. interface-list For a detailed explanation of how to specify ports, see “Port Numbers in Commands” on page 53. Modes Privileged Exec mode Description...
  • Page 203: Shutdown

    AT-9000 Switch Command Line User’s Guide SHUTDOWN Syntax shutdown Parameter None. Mode Port Interface mode Description Use this command to disable ports. Ports that are disabled do not forward traffic. You might disable ports that are unused to secure them from unauthorized use or that are having problems with network cables or their link partners.
  • Page 204: Speed

    Chapter 8: Port Parameter Commands SPEED Syntax speed auto|10|100|1000 Parameters auto Activates Auto-Negotiation so that the speed is configured automatically. Specifies 10 Mbps. Specifies 100 Mbps. 1000 Specifies 1000 Mbps. This setting should not be used on twisted pair ports. For 1000Mbps, full duplex operation, a twisted pair port must be set to Auto- Negotiation.
  • Page 205: Storm-Control

    AT-9000 Switch Command Line User’s Guide STORM-CONTROL Syntax value storm-control broadcast|multicast|dlf level Parameters broadcast Specifies broadcast packets. multicast Specifies multicast packets. Specifies unknown unicast packets. level Specifies the maximum number of ingress packets per second of the designated type the port will forward.
  • Page 206 Chapter 8: Port Parameter Commands This example sets the maximum threshold level of 100,000 packets per second for ingress multicast packets on port 4: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.4 awplus(config-if)# storm-control multicast level 100000 This example sets the threshold level of 200,000 packets per second for ingress unknown unicast packets on ports 15 and 17: awplus>...
  • Page 207: Chapter 9: Ipv4 And Ipv6 Management Addresses

    Chapter 9 IPv4 and IPv6 Management Addresses This chapter contains the following information: “Overview” on page 208  “Assigning an IPv4 Management Address and Default Gateway” on  page 211 “Assigning an IPv6 Management Address and Default Gateway” on  page 216...
  • Page 208: Overview

    Chapter 9: IPv4 and IPv6 Management Addresses Overview The features that are listed in Table 14 require that the switch be assigned a management IP address. The switch uses the address to identify itself to other network devices, such as TFTP servers and Telnet clients. You can assign the switch an IPv4 address and an IPv6 address, but only one of each type.
  • Page 209 AT-9000 Switch Command Line User’s Guide Table 14. Features that Require an IP Management Address (Continued) Supported Supported Feature Description by IPv4 by IPv6 Address Address sFlow agent Used to transmit packet statistics and port counters to an sFlow collector on your network.
  • Page 210 Chapter 9: IPv4 and IPv6 Management Addresses Here are the guidelines to assigning the switch a management IPv4 or IPv6 address: You can assign the switch one IPv4 address and one IPv6 address.  A management address must be assigned to a VLAN on the switch. It ...
  • Page 211: Assigning An Ipv4 Management Address And Default Gateway

    AT-9000 Switch Command Line User’s Guide Assigning an IPv4 Management Address and Default Gateway This section covers the following topics: “Adding an IPv4 Management Address” next  “Adding an IPv4 Default Gateway Address” on page 213  “Deleting an IPv4 Management Address and Default Gateway” on ...
  • Page 212 Chapter 9: IPv4 and IPv6 Management Addresses awplus> enable awplus# configure terminal awplus(config)# interface vlan1 awplus(config-vlan)# ip address 149.121.43.56/24 awplus(config-vlan)# exit This example assigns the IPv4 management address 143.24.55.67 and subnet mask 255.255.255.0 to a new VLAN titled Tech_support. The VLAN is assigned the VID 17 and consists of untagged ports 5 and 6.
  • Page 213: Adding An Ipv4 Default Gateway Address

    AT-9000 Switch Command Line User’s Guide Use the IP ADDRESS command awplus(config-vlan)# ip address 143.24.55.67/24 to assign the management address 143.24.55.67 and subnet mask 255.255.255.0 to the VLAN. Return to the Privileged Exec awplus(config-vlan)# end mode. Use the SHOW IP INTERFACE awplus# show ip interface command to display the new management IPv4 address.
  • Page 214: Deleting An Ipv4 Management Address And Default Gateway

    Chapter 9: IPv4 and IPv6 Management Addresses To verify the default route, issue these commands: awplus(config)# exit awplus# show ip route Deleting an IPv4 The switch does not allow you to make any changes to the current management address on the switch. If you want to change the address or Management assign it to a different VLAN, you have to delete it and recreate it, with the Address and...
  • Page 215 AT-9000 Switch Command Line User’s Guide Management IPv4 Address ---------------------------------------------------------------------------- Destination Mask NextHop Interface Protocol RIPMetric ---------------------------------------------------------------------------- 149.102.34.0 255.255.255.0 149.102.34.198 VLAN14-0 INTERFACE 1 0.0.0.0 0.0.0.0 149.102.34.212 VLAN14-0 STATIC Default Gateway Address Figure 48. SHOW IP ROUTE Command The columns in the window are defined in Table 17 on page 240. To view just the management address, use the SHOW IP INTERFACE command, also in the Privileged Exec mode: awplus# show ip interface...
  • Page 216: Assigning An Ipv6 Management Address And Default Gateway

    Chapter 9: IPv4 and IPv6 Management Addresses Assigning an IPv6 Management Address and Default Gateway This section covers the following topics: “Adding an IPv6 Management Address” next  “Adding an IPv6 Default Gateway Address” on page 217  “Deleting an IPv6 Management Address and Default Gateway” on ...
  • Page 217: Adding An Ipv6 Default Gateway Address

    AT-9000 Switch Command Line User’s Guide Note If there is a management IPv6 address already assigned to the switch, you must delete it prior to entering the new address. For instructions, refer to “Deleting an IPv6 Management Address and Default Gateway” on page 218. Here are several examples of the command.
  • Page 218: Deleting An Ipv6 Management Address And Default Gateway

    Chapter 9: IPv4 and IPv6 Management Addresses switch. The address must be an IPv6 address and it must be a member of the same subnet as the management IPv6 address: Note If there is an IPv6 default gateway already assigned to the switch, you must delete it prior to entering the new default gateway.
  • Page 219 AT-9000 Switch Command Line User’s Guide Here’s an example of the information. The default route is displayed first followed by the management address. IPv6 Routing Table Codes: C - connected, S - static 0:0:0:0:0:0:0:0/0 via 832a:5821:b34a:0:0:0:187:14, vlan4-0 832a:5821:b34a:0:0:0:187:95a/64 via ::, vlan4-0 Figure 50.
  • Page 220 Chapter 9: IPv4 and IPv6 Management Addresses Section II: Basic Operations...
  • Page 221: Chapter 10: Ipv4 And Ipv6 Management Address Commands

    Chapter 10 IPv4 and IPv6 Management Address Commands The IPv4 and IPv6 management address commands are summarized in Table 15. Table 15. Management IP Address Commands Command Mode Description “CLEAR IPV6 NEIGHBORS” on Privileged Exec Clears all dynamic IPv6 neighbor page 223 entries.
  • Page 222 Chapter 10: IPv4 and IPv6 Management Address Commands Table 15. Management IP Address Commands (Continued) Command Mode Description “SHOW IPV6 INTERFACE” on Privileged Exec Displays the IPv4 management page 242 address. “SHOW IPV6 ROUTE” on page 243 Privileged Exec Displays the IPv6 management address and default gateway.
  • Page 223: Clear Ipv6 Neighbors

    AT-9000 Switch Command Line User’s Guide CLEAR IPV6 NEIGHBORS Syntax clear ipv6 neighbors Parameters none Mode Privileged Exec mode Description Use this command to clear all of the dynamic IPv6 neighbor entries. Example This example clears all of the dynamic IPv6 neighbor entries: awplus>...
  • Page 224: Ip Address

    Chapter 10: IPv4 and IPv6 Management Address Commands IP ADDRESS Syntax ip address ipaddress/mask Parameters ipaddress Specifies a management IPv4 address for the switch. The address is specified in this format: nnn.nnn.nnn.nnn Where each NNN is a decimal number from 0 to 255. The numbers must be separated by periods.
  • Page 225 AT-9000 Switch Command Line User’s Guide Examples This example assigns the switch the IPv4 management address 142.35.78.21 and subnet mask 255.255.255.0. The address is assigned to the Default_VLAN, which has the VID 1: awplus> enable awplus# configure terminal awplus(config)# interface vlan1 awplus(config-vlan)# ip address 142.35.78.21/24 This example assigns the switch the IPv4 management address 116.152.173.45 and subnet mask 255.255.255.0.
  • Page 226: Ip Address Dhcp

    Chapter 10: IPv4 and IPv6 Management Address Commands IP ADDRESS DHCP Syntax ip address dhcp Parameters None. Mode VLAN Interface mode Description Use this command to assign the switch an IPv4 management address from a DHCP server. This command activates the DHCP client, which automatically queries the network for a DHCP server.
  • Page 227 AT-9000 Switch Command Line User’s Guide Example This example activates the DHCP client so that the switch obtains its IPv4 management address from a DHCP server on your network. The address is applied to a VLAN with the VID 4: awplus>...
  • Page 228: Ip Route

    Chapter 10: IPv4 and IPv6 Management Address Commands IP ROUTE Syntax ip route 0.0.0.0/0 ipaddress Parameters ipaddress Specifies an IPv4 default gateway address. Mode Global Configuration mode Description Use this command to assign the switch an IPv4 default gateway address. A default gateway is an address of an interface on a router or other Layer 3 device.
  • Page 229 AT-9000 Switch Command Line User’s Guide Example This example assigns the switch the IPv4 default gateway address 143.87.132.45: awplus> enable awplus# configure terminal awplus(config)# ip route 0.0.0.0/0 143.87.132.45 Section II: Basic Operations...
  • Page 230: Ipv6 Address

    Chapter 10: IPv4 and IPv6 Management Address Commands IPV6 ADDRESS Syntax ipv6 address ipaddress/mask Parameters ipaddress Specifies an IPv6 management address for the switch. The address is entered in this format: nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn Where N is a hexadecimal digit from 0 to F. The eight groups of digits have to be separated by colons.
  • Page 231 AT-9000 Switch Command Line User’s Guide communicate with the management devices (such as Telnet workstations and syslog servers). The VLAN must already exist on the switch before you use this command. Confirmation Commands “SHOW IPV6 INTERFACE” on page 242 and “SHOW IPV6 ROUTE” on page 243 Examples This example assigns the IPv6 management address...
  • Page 232: Ipv6 Route

    Chapter 10: IPv4 and IPv6 Management Address Commands IPV6 ROUTE Syntax ipv6 route ::/0 ipaddress Parameters ipaddress Specifies an IPv6 address of a default gateway. The address is entered in this format: nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn:nnnn Where N is a hexadecimal digit from 0 to F. The eight groups of digits have to be separated by colons.
  • Page 233 AT-9000 Switch Command Line User’s Guide Example This example assigns the switch the IPv6 default gateway address 45ab:672:934c::78:17cb: awplus> enable awplus# configure terminal awplus(config)# ipv6 route ::/0 45ab:672:934c::78:17cb Section II: Basic Operations...
  • Page 234: No Ip Address

    Chapter 10: IPv4 and IPv6 Management Address Commands NO IP ADDRESS Syntax no ip address Parameters None. Mode VLAN Interface mode Description Use this command to delete the current IPv4 management address from the switch if the address was assigned manually. If a DHCP server supplied the address, refer to “NO IP ADDRESS DHCP”...
  • Page 235: No Ip Address Dhcp

    AT-9000 Switch Command Line User’s Guide NO IP ADDRESS DHCP Syntax no ip address dhcp Parameters None. Mode VLAN Interface mode Description Use this command to delete the current IPv4 management address from the switch if the address was assigned by a DHCP server. You must perform this command from the VLAN Interface mode of the VLAN to which the address is attached.
  • Page 236: No Ip Route

    Chapter 10: IPv4 and IPv6 Management Address Commands NO IP ROUTE Syntax no ip route 0.0.0.0/0 ipaddress Parameters ipaddress Specifies the current default gateway. Mode Global Configuration mode Description Use this command to delete the current IPv4 default gateway. The command must include the current default gateway.
  • Page 237: No Ipv6 Address

    AT-9000 Switch Command Line User’s Guide NO IPV6 ADDRESS Syntax no ipv6 address Parameters None. Mode VLAN Interface mode Description Use this command to delete the current IPv6 management address from the switch. You must perform this command from the VLAN Interface mode of the VLAN to which the address is attached.
  • Page 238: No Ipv6 Route

    Chapter 10: IPv4 and IPv6 Management Address Commands NO IPV6 ROUTE Syntax no ipv6 route ::/0 ipaddress Parameters ipaddress Specifies the current IPv6 default gateway. Mode Global Configuration mode Description Use this command to delete the current IPv6 default gateway from the switch.
  • Page 239: Show Ip Interface

    AT-9000 Switch Command Line User’s Guide SHOW IP INTERFACE Syntax show ip interface Parameters None. Mode Privileged Exec mode Description Use this command to display the management IP address on the switch. Figure 52 is an example of the information. Interface IP Address Status...
  • Page 240: Show Ip Route

    Chapter 10: IPv4 and IPv6 Management Address Commands SHOW IP ROUTE Syntax show ip route Parameters None. Mode Privileged Exec mode Description Use this command to display the management IP address and the default gateway on the switch. Figure 53 is an example of the information. ---------------------------------------------------------------------------- Destination Mask...
  • Page 241 AT-9000 Switch Command Line User’s Guide Table 17. SHOW IP ROUTE Command (Continued) Parameter Description Protocol Not applicable to the AT-9000 Switch. RIPMetric Not applicable to the AT-9000 Switch. Example The following example displays the management IP address and the default gateway on the switch: awplus# show ip route Section II: Basic Operations...
  • Page 242: Show Ipv6 Interface

    Chapter 10: IPv4 and IPv6 Management Address Commands SHOW IPV6 INTERFACE Syntax show ipv6 interface Parameters None. Mode Privileged Exec mode Description Use this command to display the IPv6 management address on the switch. Figure 54 is an example of the information. Interface IPv6-Address Status...
  • Page 243: Show Ipv6 Route

    AT-9000 Switch Command Line User’s Guide SHOW IPV6 ROUTE Syntax show ipv6 route Parameters None. Mode Privileged Exec mode Description Use this command to display the IPv6 management address and default gateway on the switch. Figure 55 is an example of the information. The default route is display first, followed by the management address.
  • Page 244 Chapter 10: IPv4 and IPv6 Management Address Commands Section II: Basic Operations...
  • Page 245: Chapter 11: Simple Network Time Protocol (Sntp) Client

    Chapter 11 Simple Network Time Protocol (SNTP) Client This chapter contains the following information: “Overview” on page 246  “Activating the SNTP Client and Specifying the IP Address of an NTP  or SNTP Server” on page 247 “Configuring Daylight Savings Time and UTC Offset” on page 248 ...
  • Page 246: Overview

    Chapter 11: Simple Network Time Protocol (SNTP) Client Overview The switch has an Simple Network Time Protocol (SNTP) client for setting its date and time from an SNTP or NTP server on your network or the Internet. The date and time are added to the event messages that are stored in the event log and sent to syslog servers.
  • Page 247: Activating The Sntp Client And Specifying The Ip Address Of An Ntp Or Sntp Server

    AT-9000 Switch Command Line User’s Guide Activating the SNTP Client and Specifying the IP Address of an NTP or SNTP Server To activate the SNTP client on the switch and to specify the IP address of an NTP or SNTP server, use the NTP PEER command in the Global Configuration mode.
  • Page 248: Configuring Daylight Savings Time And Utc Offset

    Chapter 11: Simple Network Time Protocol (SNTP) Client Configuring Daylight Savings Time and UTC Offset If the time that the NTP or SNTP server provides to the switch is in Coordinated Universal Time (UTC), it has to be converted into local time. To do that, the switch needs to know whether to use Standard Time (ST) or Daylight Savings Time (DST), and the number of hours and minutes it is ahead of or behind UTC, referred to as the UTC offset.
  • Page 249 AT-9000 Switch Command Line User’s Guide awplus(config)# no clock summer-time awplus(config)# clock timezone +02:45 Section II: Basic Operations...
  • Page 250: Disabling The Sntp Client

    Chapter 11: Simple Network Time Protocol (SNTP) Client Disabling the SNTP Client To disable the SNTP client so that the switch doesn’t obtain its date and time from an NTP or SNTP server, use the NO PEER command in the Global Configuration mode: awplus>...
  • Page 251: Displaying The Sntp Client

    AT-9000 Switch Command Line User’s Guide Displaying the SNTP Client To display the settings of the SNTP client on the switch, use the SHOW NTP ASSOCIATIONS command in the Privileged Exec mode. awplus# show ntp associations The following is displayed: SNTP Configuration: Status ......
  • Page 252: Displaying The Date And Time

    Chapter 11: Simple Network Time Protocol (SNTP) Client Displaying the Date and Time To display the date and time, use the SHOW CLOCK command in the User Exec mode or Privileged Exec mode: awplus# show clock Section II: Basic Operations...
  • Page 253: Chapter 12: Sntp Client Commands

    Chapter 12 SNTP Client Commands The SNTP commands are summarized in Table 20. Table 20. Simple Network Time Protocol Commands Command Mode Description “CLOCK SUMMER-TIME” on Global Activates Daylight Savings Time on page 254 Configuration the SNTP client. “CLOCK TIMEZONE” on page 255 Global Sets the UTC offset value, the time Configuration...
  • Page 254: Clock Summer-Time

    Chapter 12: SNTP Client Commands CLOCK SUMMER-TIME Syntax clock summer-time Parameters None. Mode Global Configuration mode Description Use this command to enable Daylight Savings Time (DST) on the SNTP client. Note The switch does not set the DST automatically. If the switch is in a locale that uses DST, you must remember to enable this in April when DST begins and disable it in October when DST ends.
  • Page 255: Clock Timezone

    AT-9000 Switch Command Line User’s Guide CLOCK TIMEZONE Syntax clock timezone +hh:mm -hh:mm Parameters hh:mm Specifies the number of hours and minutes difference between Coordinated Universal Time (UTC) and local time. HH are hours in the range of -12 to +12 and MM are minutes in the range of 00 to 60.
  • Page 256: No Clock Summer-Time

    Chapter 12: SNTP Client Commands NO CLOCK SUMMER-TIME Syntax no clock summer-time Parameters None. Mode Global Configuration mode Description Use this command to disable Daylight Savings Time (DST) and activate Standard Time (ST) on the SNTP client. Confirmation Command “SHOW NTP ASSOCIATIONS” on page 261 Example awplus>...
  • Page 257: No Ntp Peer

    AT-9000 Switch Command Line User’s Guide NO NTP PEER Syntax no ntp server Parameter None. Mode Global Configuration mode Description Use this command to deactivate the SNTP client on the switch. When the client is disabled, the switch does not obtain its date and time from an SNTP or NTP server the next time it is reset or power cycled.
  • Page 258: Ntp Peer

    Chapter 12: SNTP Client Commands NTP PEER Syntax ntp peer ipaddress Parameter ipaddress Specifies an IP address of an SNTP or NTP server. Mode Global Configuration mode Description Use this command to activate the NTP client on the switch and to specify the IP address of the SNTP or NTP server from which it is to obtain its date and time.
  • Page 259: Purge Ntp

    AT-9000 Switch Command Line User’s Guide PURGE NTP Syntax purge ntp Parameter None. Mode Global Configuration mode Description Use this command to disable the SNTP client, delete the IP address of the SNTP or NTP server, and restore the client settings to the default values. Confirmation Command “SHOW NTP ASSOCIATIONS”...
  • Page 260: Show Clock

    Chapter 12: SNTP Client Commands SHOW CLOCK Syntax show clock Parameters None. Modes User Exec mode and Privileged Exec mode Description Use this command to display the switch’s date and time. Example awplus# show clock Section II: Basic Operations...
  • Page 261: Show Ntp Associations

    AT-9000 Switch Command Line User’s Guide SHOW NTP ASSOCIATIONS Syntax show ntp associations Parameters None. Modes Privileged Exec mode Description Use this command to display the settings of the SNTP client. The information the command displays is shown in Figure 58. SNTP Configuration: Status ......
  • Page 262 Chapter 12: SNTP Client Commands Table 21. SHOW NTP ASSOCIATIONS Command (Continued) Parameter Description UTC Offset The time difference in hours between UTC and local time. The range is -12 to +12 hours. The default is 0 hours. This value is set with “CLOCK TIMEZONE” on page 255.
  • Page 263: Show Ntp Status

    AT-9000 Switch Command Line User’s Guide SHOW NTP STATUS Syntax show ntp status Parameters None. Modes Privileged Exec mode Description Use this command to determine whether or not the switch has synchronized its time with the specified NTP or SNTP server. An example of the information is shown in Figure 59.
  • Page 264 Chapter 12: SNTP Client Commands Section II: Basic Operations...
  • Page 265: Chapter 13: Mac Address Table

    Chapter 13 MAC Address Table This chapter discusses the following topics: “Overview” on page 266  “Adding Static MAC Addresses” on page 268  “Deleting MAC Addresses” on page 269  “Setting the Aging Timer” on page 271  “Displaying the MAC Address Table” on page 272 ...
  • Page 266: Overview

    Chapter 13: MAC Address Table Overview The MAC address table stores the MAC addresses of all the network devices that are connected to the switch’s ports. Each entry in the table consists of a MAC address, a port number where an address was learned by the switch, and an ID number of a VLAN where a port is a member.
  • Page 267 AT-9000 Switch Command Line User’s Guide The period of time the switch waits before purging inactive dynamic MAC addresses is called the aging time. This value is adjustable on the switch. The default value is 300 seconds (5 minutes). You can also enter addresses manually into the table. These addresses are referred to as static addresses.
  • Page 268: Adding Static Mac Addresses

    Chapter 13: MAC Address Table Adding Static MAC Addresses The command for adding static unicast MAC addresses to the switch is MAC ADDRESS-TABLE STATIC in the Global Configuration mode. Here is the format of the command: macaddress mac address-table static forward|discard interface port...
  • Page 269: Deleting Mac Addresses

    AT-9000 Switch Command Line User’s Guide Deleting MAC Addresses To delete MAC addresses from the switch, use the CLEAR MAC ADDRESS-TABLE command in the Privileged Exec mode. The format of the command is: clear mac address-table dynamic|static [address macaddress ]|[interface port ]|[vlan Here are the variables:...
  • Page 270 Chapter 13: MAC Address Table This example deletes all of the dynamic addresses learned on port 20: awplus> enable awplus# clear mac address-table dynamic interface port1.0.20 This example deletes all of the static addresses added to ports 2 to 5: awplus>...
  • Page 271: Setting The Aging Timer

    AT-9000 Switch Command Line User’s Guide Setting the Aging Timer The aging timer defines the length of time that inactive dynamic MAC addresses remain in the table before they are deleted by the switch. The switch deletes inactive addresses to insure that the table contains only active and current addresses.
  • Page 272: Displaying The Mac Address Table

    Chapter 13: MAC Address Table Displaying the MAC Address Table To view the aging time or the MAC address table, use the SHOW MAC ADDRESS-TABLE command in the Privileged Exec mode. Here is its format: port show mac address-table [interface ]|[vlan An example of the table is show in Figure 60.
  • Page 273: Chapter 14: Mac Address Table Commands

    Chapter 14 MAC Address Table Commands The MAC address table commands are summarized in Table 22. Table 22. MAC Address Table Commands Command Mode Description “CLEAR MAC ADDRESS-TABLE” on Privileged Exec Deletes MAC addresses from the page 274 MAC address table. “MAC ADDRESS-TABLE AGEING- Global Sets the aging timer, which is used by...
  • Page 274: Clear Mac Address-Table

    Chapter 14: MAC Address Table Commands CLEAR MAC ADDRESS-TABLE Syntax clear mac address-table dynamic|static [address macaddress port ]|[interface ]|[vlan Parameters dynamic Deletes dynamic MAC addresses. static Deletes static addresses. address Deletes a specific address. macaddress Specifies the address to be deleted. interface Deletes MAC addresses learned on a specific port.
  • Page 275 AT-9000 Switch Command Line User’s Guide awplus> enable awplus# clear mac address-table static This example deletes a single dynamic address: awplus> enable awplus# clear mac address-table dynamic address 00:12:a3:34:8b:32 This example deletes a single static address: awplus> enable awplus# clear mac address-table static address 00:12:a3:d4:67:da This example deletes all of the dynamic addresses learned on ports 17 to awplus>...
  • Page 276: Mac Address-Table Ageing-Time

    Chapter 14: MAC Address Table Commands MAC ADDRESS-TABLE AGEING-TIME Syntax mac address-table ageing-time value Parameter ageing-time Specifies the aging timer in seconds for the MAC address table. The range is 0 to 10575 seconds. The default is 300 seconds (5 minutes). Mode Global Configuration mode Description...
  • Page 277 AT-9000 Switch Command Line User’s Guide This example returns the aging timer to its default setting of 300 seconds: awplus> enable awplus# configure terminal awplus(config)# no mac address-table ageing-time Section II: Basic Operations...
  • Page 278: Mac Address-Table Static

    Chapter 14: MAC Address Table Commands MAC ADDRESS-TABLE STATIC Syntax mac address-table static macaddress forward|discard port vlan name interface [vlan Parameters macaddress Specifies the static unicast address you want to add to the switch’s MAC address table. The address must be entered in this format: xx:xx:xx:xx:xx:xx forward...
  • Page 279 AT-9000 Switch Command Line User’s Guide Confirmation Command “SHOW MAC ADDRESS-TABLE” on page 282 Examples This example adds the static MAC address 44:C3:22:17:62:A4 to port 4 in the Production VLAN. The port forwards the packets from the specified node: awplus> enable awplus# configure terminal awplus(config)# mac address-table static 44:c3:22:17:62:a4 forward interface port1.0.4 vlan Production...
  • Page 280: No Mac Address-Table Static

    Chapter 14: MAC Address Table Commands NO MAC ADDRESS-TABLE STATIC Syntax macaddress no mac address-table static forward|discard interface port [vlan vlan name Parameters macaddress Specifies the static unicast address you want to delete from the switch’s MAC address table. The address must be entered in this format: xx:xx:xx:xx:xx:xx forward...
  • Page 281 AT-9000 Switch Command Line User’s Guide Confirmation Command “SHOW MAC ADDRESS-TABLE” on page 282 Examples This example deletes the MAC address 00:A0:D2:18:1A:11 from port 12 in the Default_VLAN, which has the VID 1. The port is forwarding packets of the owner of the address: awplus>...
  • Page 282: Show Mac Address-Table

    Chapter 14: MAC Address Table Commands SHOW MAC ADDRESS-TABLE Syntax port show mac address-table [interface ]|[vlan port Specifies a port. You may specify more than one port. Specifies a VID. You may specify just one VID. Parameters None. Modes Privileged Exec mode Description Use this command to display the ageing timer and the unicast and multicast MAC addresses the switch has stored in the table.
  • Page 283: Table 23. Show Mac Address-Table Command - Unicast Addresses

    AT-9000 Switch Command Line User’s Guide The Aging Interval field at the top of the table displays the aging timer of the MAC address table. The Switch Forwarding Database displays the static and dynamic unicast MAC addresses the switch has stored in the table. The first address is the MAC address of the switch.
  • Page 284 Chapter 14: MAC Address Table Commands Examples This example displays the entire MAC address table: awplus# show mac address-table This example displays the MAC addresses learned on ports 1 to 4: awplus# show mac address-table interface port1.0.1-port1.0.4 This example displays the addresses learned on the ports in a VLAN with the VID 22: awplus# show mac address-table vlan 22 Section II: Basic Operations...
  • Page 285: Chapter 15: Enhanced Stacking

    Chapter 15 Enhanced Stacking This chapter discusses the following topics: “Overview” on page 286  “Configuring the Command Switch” on page 289  “Configuring a Member Switch” on page 291  “Managing the Member Switches of an Enhanced Stack” on page 293 ...
  • Page 286: Overview

    Chapter 15: Enhanced Stacking Overview Enhanced stacking is a management tool that allows you to manage different AT-9000 Switches from one management session. With enhanced stacking you can start a management session on one switch and then redirect the session to any of the other switches in the stack, without having to start a new session.
  • Page 287: Guidelines

    AT-9000 Switches to different common VLANs. The enhanced stacking feature on the AT-9000 Switch is not  compatible with the same feature on other Allied Telesis switches, such as the AT-8400, AT-8500, and AT-9400 Switches. Remote Telnet, SSH, or web browser management of an enhanced ...
  • Page 288 Chapter 15: Enhanced Stacking 4. Create a common port-based or tagged VLAN on the command and member switches. This step is not necessary if you are using the Default_VLAN (VID 1) as the common VLAN. 5. Assign the command switch a management IP address in the common VLAN.
  • Page 289: Configuring The Command Switch

    AT-9000 Switch Command Line User’s Guide Configuring the Command Switch Here is an example on how to configure the switch as the command switch of the enhanced stack. The example creates a common VLAN and assigns it a management IP address. Here are the specifications for this command switch: Common VLAN name: Tech_Support ...
  • Page 290 Chapter 15: Enhanced Stacking 2. After creating the common VLAN on the switch, assign it the management IP address and default gateway: Enter the Global Configuration awplus# configure terminal mode. From the Global Configuration awplus(config)# interface vlan12 mode, enter the VLAN Interface mode for the Tech_Support VLAN.
  • Page 291: Configuring A Member Switch

    AT-9000 Switch Command Line User’s Guide Configuring a Member Switch This example shows you how to configure the switch as a member switch of an enhanced stack. It configures the switch to be part of the same enhanced stack with the same common VLAN as the command switch in the previous example.
  • Page 292 Chapter 15: Enhanced Stacking Activate enhanced stacking on the awplus(config)# estack run switch. Return to the Privileged Exec awplus(config)# exit mode. Confirm the stack mode of the awplus# show estack switch. 3. To save the configuration, enter the WRITE command in the Privileged Executive mode.
  • Page 293: Managing The Member Switches Of An Enhanced Stack

    AT-9000 Switch Command Line User’s Guide Managing the Member Switches of an Enhanced Stack Here are the steps on how to manage the member switches of an enhanced stack. 1. Start a local or remote management session on the command switch of the enhanced stack.
  • Page 294 Chapter 15: Enhanced Stacking 6. When you are finished managing the member switch, enter the EXIT command from the User Exec mode or Privileged Exec mode to return the management session to the command switch. 7. To manage another member switch in the enhanced stack, repeat this procedure starting with step 2.
  • Page 295: Changing The Enhanced Stacking Mode

    AT-9000 Switch Command Line User’s Guide Changing the Enhanced Stacking Mode If you want to change the enhanced stacking mode of a switch from command to member, all you have to do is enter the NO ESTACK COMMAND-SWITCH command in the Global Configuration mode, as shown here: awplus>...
  • Page 296 Chapter 15: Enhanced Stacking 2. On the member switch change its mode from member to command with the ESTACK COMMAND-SWITCH command. 3. On the original command switch, restart enhanced stacking with the ESTACK RUN command and, if desired, reestablish its command mode with the ESTACK COMMAND-SWITCH command.
  • Page 297: Disabling Enhanced Stacking

    AT-9000 Switch Command Line User’s Guide Disabling Enhanced Stacking The command that disables enhanced stacking on a switch is the NO ESTACK RUN command in the Global Configuration mode, and the confirmation command is the SHOW ESTACK command in the Privileged Exec mode.
  • Page 298 Chapter 15: Enhanced Stacking Section II: Basic Operations...
  • Page 299: Chapter 16: Enhanced Stacking Commands

    Chapter 16 Enhanced Stacking Commands The enhanced stacking commands are summarized in Table 25. Table 25. Enhanced Stacking Commands Command Mode Description “ESTACK COMMAND-SWITCH” on Global Designates the switch as the page 300 Configuration command switch. “ESTACK RUN” on page 301 Global Activates enhanced stacking on the Configuration...
  • Page 300: Estack Command-Switch

    Chapter 16: Enhanced Stacking Commands ESTACK COMMAND-SWITCH Syntax estack command-switch Parameter None. Mode Global Configuration mode Description Use this command to set the enhanced stacking mode on the switch to the command mode. This command has the following guidelines: Enhanced stacking must be activated on the switch. To activate ...
  • Page 301: Estack Run

    AT-9000 Switch Command Line User’s Guide ESTACK RUN Syntax estack run Parameter None. Mode Global Configuration mode Description Use this command to activate enhanced stacking on the switch. Confirmation Command “SHOW ESTACK” on page 307 Example awplus> enable awplus# configure terminal awplus(config)# estack run Section II: Basic Operations...
  • Page 302: No Estack Command-Switch

    Chapter 16: Enhanced Stacking Commands NO ESTACK COMMAND-SWITCH Syntax no estack command-switch Parameter None. Mode Global Configuration mode Description Use this command to return the enhanced stacking mode on the switch to member switch from command switch. This command has the following guidelines: The default setting for the enhanced stacking mode on the switch is ...
  • Page 303: No Estack Run

    AT-9000 Switch Command Line User’s Guide NO ESTACK RUN Syntax no estack run Parameter None. Mode Global Configuration mode Description Use this command to disable enhanced stacking on the switch. The switch cannot use enhanced stacking when the feature is disabled. If you disable enhanced stacking on the command switch, you cannot use that switch to manage the switches in the stack.
  • Page 304: Rcommand

    Chapter 16: Enhanced Stacking Commands RCOMMAND Syntax switch_id rcommand Parameters switch_id Specifies the ID number of a member switch you want to manage in the enhanced stack. This number is displayed with “SHOW ESTACK REMOTELIST” on page 310. You can enter only one ID number. Mode Global Configuration mode Description...
  • Page 305: Reboot Estack Member

    AT-9000 Switch Command Line User’s Guide REBOOT ESTACK MEMBER Syntax reboot estack member id_number | all Parameters id_number Specifies the enhanced stack ID number of a switch. The number is displayed with “SHOW ESTACK REMOTELIST” on page 310. You may specify the ID number of only one switch.
  • Page 306 Chapter 16: Enhanced Stacking Commands Examples This example reboots a member switch that has the ID number 3: awplus> enable awplus# show estack remotelist awplus# reboot estack member 3 This example reboots all of the member switches of the enhanced stack: awplus>...
  • Page 307: Show Estack

    AT-9000 Switch Command Line User’s Guide SHOW ESTACK Syntax show estack Parameters None. Mode Privileged Exec mode Description Use this command to display whether enhanced stacking is enabled or disabled on the switch and whether the switch’s mode is command or member.
  • Page 308 Chapter 16: Enhanced Stacking Commands Table 26. SHOW ESTACK Command Parameter Description Enhanced Stacking mode Member [1] - Enhanced stacking is  (Continued) enabled on the switch and the switch is set to the member mode. If there is a number in the brackets, the switch detected a command switch on the common VLAN of the enhanced stack.
  • Page 309: Show Estack Command-Switch

    AT-9000 Switch Command Line User’s Guide SHOW ESTACK COMMAND-SWITCH Syntax show estack command-switch Parameters None. Mode Privileged Exec mode Description Use this command on a member switch in an enhanced stack to display the enhanced stacking information about the command switch. This command is equivalent to issuing the SHOW ESTACK command on the command switch.
  • Page 310: Show Estack Remotelist

    Chapter 16: Enhanced Stacking Commands SHOW ESTACK REMOTELIST Syntax show estack remotelist [name] [series] Parameters name Sorts the list of switches by the host name. series Sorts the list of switches by the model name. Mode Privileged Exec mode Description Use this command on the command switch to display the member switches of an enhanced stack.
  • Page 311 AT-9000 Switch Command Line User’s Guide This example sorts the switches by host name: awplus> enable awplus# configure terminal awplus(config)# show estack remotelist name This example sorts the switches by model series: awplus> enable awplus# configure terminal awplus(config)# show estack remotelist series Section II: Basic Operations...
  • Page 312 Chapter 16: Enhanced Stacking Commands Section II: Basic Operations...
  • Page 313: Chapter 17: Port Mirror

    Chapter 17 Port Mirror This chapter discusses the following topics: “Overview” on page 314  “Creating the Port Mirror or Adding New Source Ports” on page 315  “Removing Source Ports or Deleting the Port Mirror” on page 316  “Displaying the Port Mirror”...
  • Page 314: Overview

    Chapter 17: Port Mirror Overview The port mirror is a management tool that allows you to monitor the traffic on one or more ports on the switch. It works by copying the traffic from designated ports to another port where the traffic can be monitored with a network analyzer.
  • Page 315: Creating The Port Mirror Or Adding New Source Ports

    AT-9000 Switch Command Line User’s Guide Creating the Port Mirror or Adding New Source Ports The command to create the port mirror is the MIRROR INTERFACE command. You must perform this command from the Port Interface mode of the destination port of the port mirror. The command has this format: source_ports mirror interface direction...
  • Page 316: Removing Source Ports Or Deleting The Port Mirror

    Chapter 17: Port Mirror Removing Source Ports or Deleting the Port Mirror To remove source ports from the port mirror, enter the Port Interface mode of the destination port and issue the NO MIRROR INTERFACE command. Here is the format of the command: source_ports no mirror interface This example removes source port 2 from the port mirror.
  • Page 317: Displaying The Port Mirror

    AT-9000 Switch Command Line User’s Guide Displaying the Port Mirror To display the port mirror, go to the User Exec mode or the Privileged Exec mode and enter the SHOW MIRROR command: awplus# show mirror In this example of the information, the port mirror is enabled and the ingress and egress packets on ports 1 and 3, as well as the egress traffic on ports 11 to 13, are being copied to destination port 22.
  • Page 318 Chapter 17: Port Mirror Section II: Basic Operations...
  • Page 319: Chapter 18: Port Mirror Commands

    Chapter 18 Port Mirror Commands The port mirror commands are summarized in Table 27. Table 27. Port Mirror Commands Command Mode Description “MIRROR INTERFACE” on page 320 Port Interface Creates the port mirror and adds ports to the port mirror. “NO MIRROR”...
  • Page 320: Mirror Interface

    Chapter 18: Port Mirror Commands MIRROR INTERFACE Syntax source_ports mirror interface direction receive|transmit|both Parameters source_ports Specifies a source port for the port mirror. You can specify more than one source port. direction Specifies the traffic to be mirrored from a source port to the destination port.
  • Page 321: No Mirror

    AT-9000 Switch Command Line User’s Guide NO MIRROR Syntax no mirror Parameters None. Mode Port Interface mode Description Use this command to stop port mirroring and to return the destination port to normal operations. This command deletes all the source ports from the port mirror.
  • Page 322: No Mirror Interface

    Chapter 18: Port Mirror Commands NO MIRROR INTERFACE Syntax source_ports no mirror interface Parameters source_ports Specifies a source port for the port mirror. You can specify more than one source port. Mode Port Interface mode Description Use this command to remove source ports from the port mirror or to delete the port mirror.
  • Page 323: Show Mirror

    AT-9000 Switch Command Line User’s Guide SHOW MIRROR Syntax show mirror Parameters None. Modes User Exec mode and Privileged Exec mode Description Use this command to display the source and destination ports of the port mirror on the switch. An example is shown in Figure 68. Port Mirroring: Mirroring State .....
  • Page 324 Chapter 18: Port Mirror Commands Example awplus# show mirror Section II: Basic Operations...
  • Page 325: Chapter 19: Internet Group Management Protocol (Igmp) Snooping

    Chapter 19 Internet Group Management Protocol (IGMP) Snooping This chapter discusses the following topics: “Overview” on page 326  “Host Node Topology” on page 328  “Configuring the IGMP Snooping Parameters” on page 329  “Enabling IGMP Snooping” on page 330 ...
  • Page 326: Overview

    Chapter 19: Internet Group Management Protocol (IGMP) Snooping Overview IGMP snooping allows the switch to control the flow of multicast packets from its ports. It enables the switch to forward packets of multicast groups to only ports that have host nodes that want to join the multicast groups. IGMP is used by IPv4 routers to create lists of nodes that are members of multicast groups.
  • Page 327 AT-9000 Switch Command Line User’s Guide groups. This improves switch performance and network security by restricting the flow of multicast packets to just those switch ports that are connected to host nodes. If the switch is not using IGMP snooping and receives multicast packets, it floods the packets out all its ports, except the port on which it received the packets.
  • Page 328: Host Node Topology

    Chapter 19: Internet Group Management Protocol (IGMP) Snooping Host Node Topology The switch has a host node topology setting. You use this setting to define whether there is more than one host node on each port on the switch. The switch refers to the topology to determine whether or not to continue transmitting multicast packets from ports that receive leave requests or where host nodes timeout due to inactivity.
  • Page 329: Configuring The Igmp Snooping Parameters

    AT-9000 Switch Command Line User’s Guide Configuring the IGMP Snooping Parameters This table lists the four IGMP snooping parameters. Table 29. IGMP Snooping Parameters Use This Command Range Specify the maximum number of IP IGMP LIMIT multicastgroups 0 to 255 multicast groups the switch will multicast support.
  • Page 330: Enabling Igmp Snooping

    Chapter 19: Internet Group Management Protocol (IGMP) Snooping Enabling IGMP Snooping The command to enable IGMP snooping on the switch is the IP IGMP SNOOPING command in the Global Configuration mode. After you enter the command, the switch begins to build its multicast table as queries from the multicast router and reports from the host nodes arrive on its ports.
  • Page 331: Disabling Igmp Snooping

    AT-9000 Switch Command Line User’s Guide Disabling IGMP Snooping The command to disable IGMP snooping on the switch is the NO IP IGMP SNOOPING command in the Global Configuration mode. To disable IGMP snooping: awplus> enable awplus# configure terminal awplus(config)# no ip igmp snooping When IGMP snooping is disabled, the switch floods the multicast packets on all the ports, except on ports that receive the packets.
  • Page 332: Displaying Igmp Snooping

    Chapter 19: Internet Group Management Protocol (IGMP) Snooping Displaying IGMP Snooping To display the settings of IGMP snooping and its status, use the SHOW IP IGMP SNOOPING command in the User Exec mode or Privileged Exec mode: awplus# show ip igmp snooping Here is an example of the information the command displays: IGMP Snooping Configuration: IGMP Snooping Status ....
  • Page 333: Chapter 20: Igmp Snooping Commands

    Chapter 20 IGMP Snooping Commands The IGMP snooping commands are summarized in Table 30. Table 30. Internet Group Management Protocol Snooping Commands Command Mode Description “CLEAR IP IGMP” on page 334 Privileged Exec Clears all IGMP group membership records. “IP IGMP LIMIT” on page 335 Global Specifies the maximum number of Configuration...
  • Page 334: Clear Ip Igmp

    Chapter 20: IGMP Snooping Commands CLEAR IP IGMP Syntax clear ip igmp Parameters None. Mode Privileged Exec mode Description Use this command to clear all IGMP group membership records on all VLANs. Example This example clears all IGMP group membership records on all VLANs: awplus>...
  • Page 335: Ip Igmp Limit

    AT-9000 Switch Command Line User’s Guide IP IGMP LIMIT Syntax multicastgroups ip igmp limit Parameters multicastgroups Specifies the maximum number of multicast addresses the switch is allowed to learn. The range is 0 to 255 multicast addresses; the default is 64 addresses.
  • Page 336: Ip Igmp Querier-Timeout

    Chapter 20: IGMP Snooping Commands IP IGMP QUERIER-TIMEOUT Syntax timeout ip igmp querier-timeout Parameters timeout Specifies the time period in seconds used by the switch to identify inactive host nodes and multicast routers. The range is from 0 to 86,400 seconds (24 hours). The default is 260 seconds.
  • Page 337: Ip Igmp Snooping

    AT-9000 Switch Command Line User’s Guide IP IGMP SNOOPING Syntax ip igmp snooping Parameters None. Mode Global Configuration mode Description Use this command to activate IGMP snooping on the switch. Confirmation Command “SHOW IP IGMP SNOOPING” on page 342 Example awplus>...
  • Page 338: Ip Igmp Snooping Mrouter

    Chapter 20: IGMP Snooping Commands IP IGMP SNOOPING MROUTER Syntax port ip igmp snooping mrouter interface Parameter port Specifies a port connected to a multicast router. You can specify more than one port. Mode Global Configuration mode Description Use this command to manually specify ports that are connected to multicast routers.
  • Page 339: Ip Igmp Status

    AT-9000 Switch Command Line User’s Guide IP IGMP STATUS Syntax ip igmp status single|multiple Parameters single Activates the single-host per port setting, which is used when the ports on the switch have just one host node each. multiple Activates the multiple-host per port setting, which is used when the ports have more than one host node.
  • Page 340: No Ip Igmp Snooping

    Chapter 20: IGMP Snooping Commands NO IP IGMP SNOOPING Syntax no ip igmp snooping Parameters None. Mode Global Configuration mode Description Use this command to deactivate IGMP snooping on the switch. When IGMP snooping is disabled, the switch floods multicast packets on all ports, except on ports that receive the packets.
  • Page 341: No Ip Igmp Snooping Mrouter

    AT-9000 Switch Command Line User’s Guide NO IP IGMP SNOOPING MROUTER Syntax port no ip igmp snooping mrouter interface Parameter port Specifies a multicast router port. Mode Global Configuration mode Description Use this command to remove static multicast router ports. Removing all multicast router ports activates auto-detect.
  • Page 342: Show Ip Igmp Snooping

    Chapter 20: IGMP Snooping Commands SHOW IP IGMP SNOOPING Syntax show ip igmp snooping Parameters None. Mode Privileged Exec mode Description Use this command to display the IGMP snooping parameters. Figure 70 illustrates the information. IGMP Snooping Configuration: IGMP Snooping Status ....Enabled Querier Admin ......
  • Page 343: Table 31. Show Ip Igmp Snooping Command

    AT-9000 Switch Command Line User’s Guide The information the command displays is explained in Table 31. Table 31. SHOW IP IGMP SNOOPING Command Parameter Description IGMP Snooping Configuration IGMP Snooping Status The status of IGMP snooping on the switch. To enable or disable the feature, refer to “IP IGMP SNOOPING”...
  • Page 344 Chapter 20: IGMP Snooping Commands Table 31. SHOW IP IGMP SNOOPING Command Parameter Description Port/Trunk ID The port of a multicast router. If the switch learned a router on a port trunk, the trunk ID number instead of a port number is displayed.
  • Page 345: Chapter 21: Multicast Commands

    Chapter 21 Multicast Commands The multicast commands are summarized in Table 32. Table 32. Multicast Commands Command Mode Description “NO SWITCHPORT BLOCK Port Interface Resumes forwarding unknown egress EGRESS-MULTICAST” on page 346 multicast packets on ports. “NO SWITCHPORT BLOCK Port Interface Resumes forwarding unknown ingress INGRESS-MULTICAST”...
  • Page 346: No Switchport Block Egress-Multicast

    Chapter 21: Multicast Commands NO SWITCHPORT BLOCK EGRESS-MULTICAST Syntax no switchport block egress-multicast Parameters None. Mode Port Interface mode Description Use this command to resume forwarding of unknown egress multicast packets on ports. Confirmation Command “SHOW INTERFACE” on page 190 Example This example resumes forwarding of unknown egress multicast packets on port 19:...
  • Page 347: No Switchport Block Ingress-Multicast

    AT-9000 Switch Command Line User’s Guide NO SWITCHPORT BLOCK INGRESS-MULTICAST Syntax no switchport block ingress-multicast Parameters None. Mode Port Interface mode Description Use this command to resume forwarding of unknown ingress multicast packets on ports. Confirmation Command “SHOW INTERFACE” on page 190 Example This example resumes forwarding of unknown ingress multicast packets on ports 2 and 8:...
  • Page 348: Switchport Block Egress-Multicast

    Chapter 21: Multicast Commands SWITCHPORT BLOCK EGRESS-MULTICAST Syntax switchport block egress-multicast Parameters None. Mode Port Interface mode Description Use this command to block unknown egress multicast packets on ports. Note This feature does not block multicast packets that have reserved multicast addresses in the range of 01:80:C2:00:00:00 to 01:80:C2:00:00:0F.
  • Page 349: Switchport Block Ingress-Multicast

    AT-9000 Switch Command Line User’s Guide SWITCHPORT BLOCK INGRESS-MULTICAST Syntax switchport block ingress-multicast Parameters None. Mode Port Interface mode Description Use this command to block unknown ingress multicast packets on ports. Note This feature does not block multicast packets that have reserved multicast addresses in the range of 01:80:C2:00:00:00 to 01:80:C2:00:00:0F.
  • Page 350 Chapter 21: Multicast Commands Section II: Basic Operations...
  • Page 351: Section Iii: File System

    Section III File System This section contains the following chapters: Chapter 22, “File System” on page 353  Chapter 23, “File System Commands” on page 361  Chapter 24, “Boot Configuration Files” on page 369  Chapter 25, “Boot Configuration File Commands” on page 375 ...
  • Page 352 Section III: File System...
  • Page 353: Chapter 22: File System

    Chapter 22 File System This chapter discusses the following topics: “Overview” on page 354  “Copying Boot Configuration Files” on page 355  “Renaming Boot Configuration Files” on page 356  “Deleting Boot Configuration Files” on page 357  “Displaying the Specifications of the File System” on page 358 ...
  • Page 354: Overview

    Chapter 22: File System Overview The file system in the switch stores the following types of files: Boot configuration files  Encryption key pairs  The file system has a flat directory structure. All the files are stored in the root directory.
  • Page 355: Copying Boot Configuration Files

    “unit24.cfg”: awplus# copy unit12.cfg unit24.cfg Note Allied Telesis recommends that you periodically upload the active boot configuration file of the switch to a network device, so that if the switch should fail and become inoperable, the uploaded files will be available to quickly configure its replacement.
  • Page 356: Renaming Boot Configuration Files

    Chapter 22: File System Renaming Boot Configuration Files To rename boot configuration files in the file system, use the MOVE command, found in the Privileged Exec mode. Here is the format: move filename1 .cfg filename2 .cfg The FILENAME1 variable is the name of the file to be renamed and the FILENAME2 variable is the file’s new name.
  • Page 357: Deleting Boot Configuration Files

    AT-9000 Switch Command Line User’s Guide Deleting Boot Configuration Files If the file system becomes cluttered with unnecessary configuration files, you use the DELETE command in the Privileged Exec mode to delete them. The format of the command is: filename.ext delete This example deletes the configuration file “unit2a.cfg”: awplus# delete unit2a.cfg...
  • Page 358: Displaying The Specifications Of The File System

    Chapter 22: File System Displaying the Specifications of the File System The User Exec mode and the Privileged Exec mode have a command that lets you display the size of the file system, the amount of free space, and the amount of space used by the files currently stored in the file system. It is the SHOW FILE SYSTEMS command.
  • Page 359: Listing The Files In The File System

    AT-9000 Switch Command Line User’s Guide Listing the Files in the File System To view the names of the files in the file system of the switch, use the DIR command in the Privileged Exec mode: awplus# dir The command does not accept wildcards. Section III: File System...
  • Page 360 Chapter 22: File System Section III: File System...
  • Page 361: Chapter 23: File System Commands

    Chapter 23 File System Commands The file system commands are summarized in Table 34. Table 34. File System Commands Command Mode Description “COPY” on page 362 Privileged Exec Copies boot configuration files. “DELETE” on page 363 Privileged Exec Deletes boot configuration files from the file system.
  • Page 362: Copy

    Chapter 23: File System Commands COPY Syntax sourcefile destinationfile copy .cfg .cfg Parameters sourcefile.cfg Specifies the name of the boot configuration file you want to copy. destinationfile.cfg Specifies the name of the new copy of the file. The filename can be from 1 to 16 alphanumeric characters.
  • Page 363: Delete

    AT-9000 Switch Command Line User’s Guide DELETE Syntax filename delete .cfg Parameter filename.cfg Specifies the name of the boot configuration file to be deleted. You can use the wildcard “*” to replace any part of a filename to delete multiple configuration files.
  • Page 364: Delete Force

    Chapter 23: File System Commands DELETE FORCE Syntax filename.ext delete force Parameter filename.ext Specifies the name of the boot configuration file to be deleted. You can use the wildcard “*” to replace any part of a filename to delete multiple configuration files.
  • Page 365: Dir

    AT-9000 Switch Command Line User’s Guide Syntax Parameter None. Mode Privileged Exec mode Description Use this command to list the names of the files stored in the file system on the switch. Example awplus# dir Section III: File System...
  • Page 366: Move

    Chapter 23: File System Commands MOVE Syntax filename1 filename2 move .cfg .cfg Parameters filename1.cfg Specifies the name of the boot configuration file to be renamed. filename2.cfg Specifies the new name for the file. The filename can be from 1 to 16 alphanumeric characters, not including the filename extension, which must be “.cfg”.
  • Page 367: Show File Systems

    AT-9000 Switch Command Line User’s Guide SHOW FILE SYSTEMS Syntax show file systems Parameter None Mode Privileged Exec mode Description Use this command to display the specifications of the file system in the switch. An example is shown in Figure 72. Flash: Size (B) Free (B)
  • Page 368 Chapter 23: File System Commands Table 35. SHOW FILE SYSTEMS Command Parameter Description S/D/W The memory type: static, virtual or dynamic. Lcl/Ntwk Whether the memory is located locally or via a network connection. For the AT-9000 Switches this is always Local. Whether the memory is accessible: Y (yes), N (no), - (not appropriate) Example...
  • Page 369: Chapter 24: Boot Configuration Files

    Chapter 24 Boot Configuration Files This chapter discusses the following topics: “Overview” on page 370  “Specifying the Active Boot Configuration File” on page 371  “Creating a New Boot Configuration File” on page 373  “Displaying the Active Boot Configuration File” on page 374 ...
  • Page 370: Overview

    Chapter 24: Boot Configuration Files Overview The changes that you make to the parameters settings of the switch are saved as a series of commands in a special file in the file system. The file is referred to as the active boot configuration file. This file is updated by the switch with your latest changes whenever you issue the WRITE command or the COPY RUNNING-CONFIG STARTUP-CONFIG command in the Privileged Exec mode.
  • Page 371: Specifying The Active Boot Configuration File

    AT-9000 Switch Command Line User’s Guide Specifying the Active Boot Configuration File To create or designate a new active boot configuration file for the switch, use the BOOT CONFIG-FILE command in the Global Configuration mode. Here is the format of the command; filename boot config-file .cfg...
  • Page 372 Chapter 24: Boot Configuration Files Here are a couple examples of the command. The first example creates a new active boot configuration file called “sw_product4.cfg”: awplus> enable awplus# configure terminal awplus(config)# boot config-file sw_product4.cfg After you enter the command, the switch creates the file in its file system, updates it with the current parameter settings, and finally marks it as the active boot configuration file.
  • Page 373: Creating A New Boot Configuration File

    AT-9000 Switch Command Line User’s Guide Creating a New Boot Configuration File It is a good idea to periodically make copies of the current configuration of the switch so that you can return the switch to an earlier configuration, if necessary.
  • Page 374: Displaying The Active Boot Configuration File

    Chapter 24: Boot Configuration Files Displaying the Active Boot Configuration File To display the name of the active boot configuration file on the switch, go to the Privileged Exec mode and enter the SHOW BOOT command. Here is the command: awplus# show boot Here is an example of the information.
  • Page 375: Chapter 25: Boot Configuration File Commands

    Chapter 25 Boot Configuration File Commands The boot configuration file commands are summarized in Table 36. Table 36. Boot Configuration File Commands Command Mode Description “BOOT CONFIG-FILE” on page 376 Global Designates or creates a new active Configuration boot configuration file for the switch. “COPY RUNNING-CONFIG”...
  • Page 376: Boot Config-File

    Chapter 25: Boot Configuration File Commands BOOT CONFIG-FILE Syntax filename boot config-file .cfg Parameter filename Specifies the name of a boot configuration file that is to act as the active boot configuration file on the switch. The filename can be from 1 to 16 alphanumeric characters.
  • Page 377 AT-9000 Switch Command Line User’s Guide Confirmation Command “SHOW BOOT” on page 382. Examples This example designates a file called “region2asw.cfg” as the switch’s active configuration file. This example assumes that the file is completely new. The switch creates the file, with its current parameter settings, and then designates it as the active boot configuration file: awplus>...
  • Page 378: Copy Running-Config

    Chapter 25: Boot Configuration File Commands COPY RUNNING-CONFIG Syntax filename copy running-config .cfg Parameter filename Specifies a name for a new boot configuration file. The name can be from 1 to 16 alphanumeric characters. The extension must be “.cfg”. Mode Privileged Exec mode Description Use this command to create new boot configuration files.
  • Page 379: Copy Running-Config Startup-Config

    AT-9000 Switch Command Line User’s Guide COPY RUNNING-CONFIG STARTUP-CONFIG Syntax copy running-config startup-config Parameters None. Mode Privileged Exec mode Description Use this command to update the active boot configuration file with the switch’s current configuration, for permanent storage. When you enter the command, the switch copies its parameter settings into the active boot configuration file.
  • Page 380: Erase Startup-Config

    Chapter 25: Boot Configuration File Commands ERASE STARTUP-CONFIG Syntax erase startup-config Parameters None. Mode Privileged Exec mode Description Use this command to restore the default settings to all the parameters on the switch. Review the following information before using this command: This command does not delete the files in the switch’s file system or ...
  • Page 381: No Boot Config-File

    AT-9000 Switch Command Line User’s Guide NO BOOT CONFIG-FILE Syntax no boot config-file Parameter None. Mode Global Configuration mode Description Use this command to configure the switch with the settings in the default BOOT.CFG file. Caution This command causes the switch to reset. It does not forward network traffic while it initializes the management software.
  • Page 382: Show Boot

    Chapter 25: Boot Configuration File Commands SHOW BOOT Syntax show boot Parameter None. Mode Privileged Exec mode Description Use this command to display the name of the active boot configuration file and the version numbers of the management software and the bootloader. Figure 74 is an example of the information.
  • Page 383 AT-9000 Switch Command Line User’s Guide Example awplus# show boot Section III: File System...
  • Page 384: Show Startup-Config

    Chapter 25: Boot Configuration File Commands SHOW STARTUP-CONFIG Syntax show startup-config Parameter None. Mode Privileged Exec mode Description Use this command to display the contents of the active boot configuration file. Example awplus# show startup-config Section III: File System...
  • Page 385: Write

    AT-9000 Switch Command Line User’s Guide WRITE Syntax write Parameters None. Mode Privileged Exec mode Description Use this command to update the active boot configuration file with the switch’s current configuration, for permanent storage. When you enter the command, the switch copies its parameter settings into the active boot configuration file.
  • Page 386 Chapter 25: Boot Configuration File Commands Section III: File System...
  • Page 387: Chapter 26: File Transfers

    Chapter 26 File Transfers This chapter discusses the following topics: “Overview” on page 388  “Uploading or Downloading Files with TFTP” on page 389  “Uploading or Downloading Files with Zmodem” on page 393  “Downloading Files with Enhanced Stacking” on page 396 ...
  • Page 388: Overview

    Chapter 26: File Transfers Overview Here are the types of files you can download to the switch: New versions of the management software  Boot configuration files (Refer to Chapter 24, “Boot Configuration  Files” on page 369.) Public or private CA certificates (Refer to Chapter 79, “Secure HTTPS ...
  • Page 389: Uploading Or Downloading Files With Tftp

    Some network traffic may be lost. 1. Obtain the new management software from the Allied Telesis web site and store it on the TFTP server on your network. For information on how to obtain management software from Allied Telesis, refer to “Contacting Allied Telesis”...
  • Page 390: Downloading Files To The Switch With Tftp

    Chapter 26: File Transfers The IPADDRESS parameter is the IP address of the TFTP server and the FILENAME parameter is the name of the new management software file to be downloaded to the switch from the TFTP server. The filename must include the “.img” extension and cannot contain spaces. In this example of the command, the IP address of the TFTP server is 149.11.124.5 and the filename of the new management software to be downloaded from the server is “AT-9000_sw.img”:...
  • Page 391: Uploading Files From The Switch With Tftp

    AT-9000 Switch Command Line User’s Guide In this example of the command, the IP address of the TFTP server is 152.34.67.8 and the filename of the boot configuration to be downloaded from the server is “switch2a.cfg”: awplus# copy tftp flash 152.34.67.8 switch2a.cfg After receiving the entire file, the switch stores it in the file system.
  • Page 392 Chapter 26: File Transfers 2. Use the DIR command in the Privileged Exec mode to confirm the name of the file you want to upload from the file system in the switch. 3. The command for uploading files from the switch with TFTP is the COPY FLASH TFTP command in the Privileged Exec mode.
  • Page 393: Uploading Or Downloading Files With Zmodem

    AT-9000 Switch Command Line User’s Guide Uploading or Downloading Files with Zmodem “Downloading Files to the Switch with Zmodem” next  “Uploading Files from the Switch with Zmodem” on page 394  Note You may not use Zmodem to download new versions of the management software to the switch.
  • Page 394: Uploading Files From The Switch With Zmodem

    Chapter 26: File Transfers To configure the switch using the settings in the newly designated  active boot configuration file, reset the switch with the REBOOT command in the Privileged Exec mode. Caution The switch does not forward packets while it is initializing its management software.
  • Page 395 AT-9000 Switch Command Line User’s Guide After you enter the command, the switch displays this message: Waiting to send ... 4. Use your terminal or terminal emulator program to begin the upload. The upload must be Zmodem. The upload should take only a few moments.
  • Page 396: Downloading Files With Enhanced Stacking

    Chapter 26: File Transfers Downloading Files with Enhanced Stacking Downloading If you are using the enhanced stacking feature, you can automate the process of updating the management software in the switches by having the command switch download its management software to the other Management switches in the stack.
  • Page 397 AT-9000 Switch Command Line User’s Guide 5. Enter the ID numbers of the switches to receive the management software from the command switch. The ID numbers are the numbers in the Num column in the SHOW ESTACK REMOTELIST command. You can update more than one switch at a time. For example, to update switches 1 and 2 in Figure 75, you would enter: Remote switches will reboot after load is complete.
  • Page 398 Chapter 26: File Transfers Section III: File System...
  • Page 399: Chapter 27: File Transfer Commands

    Chapter 27 File Transfer Commands The file transfer commands are summarized in Table 38. Table 38. File Transfer Commands Command Mode Description “COPY FILENAME ZMODEM” on Privileged Exec Uses Zmodem to upload files from the page 400 file system in the switch. “COPY FLASH TFTP”...
  • Page 400: Copy Filename Zmodem

    Chapter 27: File Transfer Commands COPY FILENAME ZMODEM Syntax: filename copy .cfg zmodem Parameters filename Specifies the filename of a configuration file to upload from the file system in the switch. The filename cannot contain spaces and include the extension “.cfg”. You can specify just one filename.
  • Page 401: Copy Flash Tftp

    AT-9000 Switch Command Line User’s Guide COPY FLASH TFTP Syntax ipaddress filename copy flash tftp Parameters ipaddress Specifies the IP address of a TFTP server on your network. filename Specifies the filename of a configuration file to upload from the file system in the switch to a TFTP server. The filename cannot contain spaces and must include the extension “.cfg”.
  • Page 402: Copy Tftp Flash

    Chapter 27: File Transfer Commands COPY TFTP FLASH Syntax ipaddress filename copy tftp flash Parameters ipaddress Specifies the IP address of a TFTP server on your network. filename Specifies the filename of the file on the TFTP server to download to the switch. The file can be a new version of the management software, a boot configuration file or a CA certificate.
  • Page 403 AT-9000 Switch Command Line User’s Guide awplus> enable awplus# copy tftp flash 149.22.121.45 at9000_app.img This example downloads the boot configuration file “sw12a.cfg” to the switch from a TFTP server with the IP address 112.141.72.11: awplus> enable awplus# copy tftp flash 112.141.72.11 sw12a.cfg Section III: File System...
  • Page 404: Copy Zmodem

    Chapter 27: File Transfer Commands COPY ZMODEM Syntax copy zmodem Parameters None. Mode Privileged Exec mode Description Use this command together with a Zmodem utility to download boot configuration files or CA certificates to the file system in the switch. This command must be performed from a local management session.
  • Page 405: Upload Image Remotelist

    AT-9000 Switch Command Line User’s Guide UPLOAD IMAGE REMOTELIST Syntax upload image remotelist Parameters None. Mode Global Configuration mode Description Use this command to download the management software on the command switch to other switches in an enhanced stack. For background information on enhanced stacking, refer to Chapter 15, “Enhanced Stacking”...
  • Page 406 Chapter 27: File Transfer Commands Section III: File System...
  • Page 407: Section Iv: Event Messages

    Section IV Event Messages This section contains the following chapters: Chapter 28, “Event Log” on page 409  Chapter 29, “Event Log Commands” on page 413  Chapter 30, “Syslog Client” on page 423  Chapter 31, “Syslog Client Commands” on page 431 ...
  • Page 408 Section IV: Event Messages...
  • Page 409: Chapter 28: Event Log

    Chapter 28 Event Log This chapter covers the following topics: “Overview” on page 410  “Displaying the Event Log” on page 411  “Clearing the Event Log” on page 412 ...
  • Page 410: Overview

    Chapter 28: Event Log Overview A managed switch is a complex piece of computer equipment that includes both hardware and software components. Multiple software features operate simultaneously, interoperating with each other and processing large amounts of network traffic. It is often difficult to determine exactly what is happening when a switch appears not to be operating normally, or what happened when a problem occurred.
  • Page 411: Displaying The Event Log

    AT-9000 Switch Command Line User’s Guide Displaying the Event Log There are two commands to display the messages stored in the event log. Both display the same messages and both are found in the Privileged Exec mode. The only difference is that one displays the messages from oldest to newest and the other from newest to oldest.
  • Page 412: Clearing The Event Log

    Chapter 28: Event Log Clearing the Event Log To clear all the messages from the event log, use the CLEAR LOG BUFFERED command in the Privileged Exec mode. Here is the command: awplus# clear log buffered Section II: Basic Operations...
  • Page 413: Chapter 29: Event Log Commands

    Chapter 29 Event Log Commands The commands are summarized in Table 39. Table 39. Event Log Commands Command Mode Description “CLEAR LOG BUFFERED” on Privileged Exec Deletes all entries in the event log. page 414 “LOG BUFFERED” on page 415 Global Specifies the types of event messages Configuration...
  • Page 414: Clear Log Buffered

    Chapter 29: Event Log Commands CLEAR LOG BUFFERED Syntax clear log buffered Parameters None. Mode Privileged Exec mode Description Use this command to delete the event messages in the event log. Confirmation Command “SHOW LOG” on page 417 Example The following command deletes the event messages in the event log: awplus# clear log buffered Section II: Basic Operations...
  • Page 415: Log Buffered

    AT-9000 Switch Command Line User’s Guide LOG BUFFERED Syntax program log buffered level level program Parameters level Specifies the minimum severity level of the event messages to be stored in the event log. program Specifies the event messages of a particular management software module.
  • Page 416 Chapter 29: Event Log Commands Examples This example configures the to save only those event messages that have the minimum severity level 4: awplus> enable awplus# configure terminal awplus(config)# log buffered level 4 This example configures the event log to save only those event messages that are generated by IGMP snooping (IGMPSNOOP), LACP (LACP) and port configuration (PCFG): awplus>...
  • Page 417: Show Log

    AT-9000 Switch Command Line User’s Guide SHOW LOG Syntax show log Parameters None. Mode Privileged Exec mode Description Use this command to display the messages in the event log. The event messages are displayed from oldest to newest, one screen at a time. To cancel the display, type ‘q’...
  • Page 418: Table 42. Management Software Modules

    Chapter 29: Event Log Commands Table 41. SHOW LOG Command (Continued) Parameter Description Severity (continued) Warning: The issue reported by the  message may require manager attention. Debug: Messages intended for  technical support and software development. Program The module listed in Table 42 that generated the event message.
  • Page 419 AT-9000 Switch Command Line User’s Guide Table 42. Management Software Modules (Continued) Module Name Description PSEC MAC address-based port security PTRUNK Static port trunking Quality of Service RADIUS RADIUS authentication protocol Real-time clock SNMP SNMP Secure Shell protocol Secure Sockets Layer protocol Spanning Tree and Rapid Spanning protocols SYSTEM Hardware status;...
  • Page 420: Show Log Config

    Chapter 29: Event Log Commands SHOW LOG CONFIG Syntax show log config Parameters None. Modes Privileged Exec mode Description Use this command to display the configuration of the event log. An example of the information the command displays is shown in Figure 78. OutputID Type Status...
  • Page 421 AT-9000 Switch Command Line User’s Guide This command is also used to view the configuration of the syslog client. For information, refer to “SHOW LOG CONFIG” on page 435 in Chapter 31, “Syslog Client Commands” on page 431. Example The following command displays the configuration of the event log: awplus# show log config Section II: Basic Operations...
  • Page 422: Show Log Reverse

    Chapter 29: Event Log Commands SHOW LOG REVERSE Syntax show log reverse Parameters None. Mode Privileged Exec mode Description Use this command to display the log messages from newest to oldest. This command and the SHOW LOG command display the same messages, but in different order.
  • Page 423: Chapter 30: Syslog Client

    Chapter 30 Syslog Client “Overview” on page 424  “Creating Syslog Server Definitions” on page 425  “Deleting Syslog Server Definitions” on page 428  “Displaying the Syslog Server Definitions” on page 429 ...
  • Page 424: Overview

    Chapter 30: Syslog Client Overview The switch has a syslog client. The client enables the switch to send its event messages to syslog servers on your network, for permanent storage. To store the switch’s event messages on a syslog server, you have to create a syslog server definition.
  • Page 425: Creating Syslog Server Definitions

    AT-9000 Switch Command Line User’s Guide Creating Syslog Server Definitions To configure the switch to send event messages to a syslog server, create a syslog server definition with the LOG HOST command in the Global Configuration mode. Here is the format of the command: ipaddress level program...
  • Page 426 Chapter 30: Syslog Client Table 45. Program Abbreviations (Continued) Abbreviation Program ENCO Encryption keys ESTACK Enhanced stacking EVTLOG Event log FILE File system GARP GARP GVRP HTTP Web server IGMPSNOOP IGMP snooping System IP configuration LACP Link Aggregation Control Protocol LLDP LLDP and LLDP-MED MAC address table...
  • Page 427 AT-9000 Switch Command Line User’s Guide Table 45. Program Abbreviations (Continued) Abbreviation Program TACACS TACACS+ authentication protocol TELNET Telnet TFTP TFTP TIME System time and SNTP VLAN Port-based and tagged VLANs, and multiple VLAN modes WATCHDOG Watchdog timer This example of the command creates a new syslog definition for a syslog server that has the IP address 149.24.111.23.
  • Page 428: Deleting Syslog Server Definitions

    Chapter 30: Syslog Client Deleting Syslog Server Definitions To delete syslog server definitions from the switch, use the NO LOG HOST command in the Global Configuration mode. The format of the command is: ipaddress no log host To view the IP addresses of the syslog servers of the definitions, use the SHOW LOG CONFIG command.
  • Page 429: Displaying The Syslog Server Definitions

    AT-9000 Switch Command Line User’s Guide Displaying the Syslog Server Definitions To view the IP addresses of the syslog server, use the SHOW LOG CONFIG command in the Privileged Exec mode: awplus# show log config Here is an example of the information. OutputID Type Status...
  • Page 430 Chapter 30: Syslog Client Section IV: Event Messages...
  • Page 431: Chapter 31: Syslog Client Commands

    Chapter 31 Syslog Client Commands The syslog client commands are summarized in Table 46. Table 46. Syslog Client Commands Command Mode Description “LOG HOST” on page 432 Global Creates syslog server definitions. Configuration “NO LOG HOST” on page 434 Global Deletes syslog server definitions.
  • Page 432: Log Host

    Chapter 31: Syslog Client Commands LOG HOST Syntax ipaddress level program log host [level ] [program Parameters ipaddress Specifies the IP address of a syslog server. You can specify just one address. level Specifies the minimum severity level of the messages to be sent to the designated syslog server.
  • Page 433 AT-9000 Switch Command Line User’s Guide This example creates a new syslog definition for a syslog server that has the IP address 149.152.122.143. The definition sends only those messages that have a minimum severity level of 4 and that are generated by the RADIUS client (RADIUS) and static port trunks (PTRUNK): awplus>...
  • Page 434: No Log Host

    Chapter 31: Syslog Client Commands NO LOG HOST Syntax ipaddress no log host Parameters ipaddress Specifies an IP address of a syslog server. Mode Global Configuration mode Description Use this command to delete syslog server definitions from the switch. Confirmation Command “SHOW LOG CONFIG”...
  • Page 435: Show Log Config

    AT-9000 Switch Command Line User’s Guide SHOW LOG CONFIG Syntax show log config Parameters None. Modes Privileged Exec mode Description Use this command to display the syslog server definitions on the switch. An example of the information the command displays is shown in Figure 80.
  • Page 436 Chapter 31: Syslog Client Commands Table 47. SHOW LOG CONFIG Command (Continued) Parameter Description Details For the event log, this column displays the action of the log when it reaches maximum capacity. Wrap on Full means that the log adds new entries by deleting old entries when it reaches maximum capacity.
  • Page 437: Section V: Port Trunks

    Section V Port Trunks This section contains the following chapters: Chapter 32, “Static Port Trunks” on page 439  Chapter 33, “Static Port Trunk Commands” on page 449  Chapter 34, “Link Aggregation Control Protocol (LACP)” on page 455  Chapter 35, “LACP Commands”...
  • Page 438 Section V: Port Trunks...
  • Page 439: Chapter 32: Static Port Trunks

    Chapter 32 Static Port Trunks “Overview” on page 440  “Creating New Static Port Trunks or Adding Ports To Existing Trunks”  on page 444 “Specifying the Load Distribution Method” on page 445  “Removing Ports from Static Port Trunks or Deleting Trunks” on ...
  • Page 440: Overview

    Chapter 32: Static Port Trunks Overview Static port trunks are groups of two to eight ports that act as single virtual links between the switch and other network devices. Static port trunks are commonly used to improve network performance by increasing the available bandwidth between the switch and other network devices and to enhance the reliability of the connections between network devices.
  • Page 441 AT-9000 Switch Command Line User’s Guide Source IP Address (Layer 3)  Destination IP Address (Layer 3)  Source IP Address / Destination IP Address (Layer 3)  The load distribution methods examine the last three bits of a packet’s MAC or IP address and compare the bits against mappings assigned to the ports in the trunk.
  • Page 442: Guidelines

    Chapter 32: Static Port Trunks 9 = 1001 3 = 0011 Applying the XOR rules above on the last three bits would result in 010, or 2. A examination of the table above shows that the packet would be transmitted from port 9. Port trunk mappings on the switch can consist of up to eight ports.
  • Page 443 For this reason, Allied Telesis recommends using this feature only between Allied Telesis network devices.
  • Page 444: Creating New Static Port Trunks Or Adding Ports To Existing Trunks

    Chapter 32: Static Port Trunks Creating New Static Port Trunks or Adding Ports To Existing Trunks The command to create new static port trunks or to add ports to existing trunks is the STATIC-CHANNEL-GROUP command. Here is the format of the command: id_number static-channel-group...
  • Page 445: Specifying The Load Distribution Method

    AT-9000 Switch Command Line User’s Guide Specifying the Load Distribution Method The load distribution method defines how the switch distributes the traffic among the ports of a trunk. The command for this is the PORT-CHANNEL LOAD-BALANCE command, in the Static Port Trunk Interface mode. The command’s format is shown here: port-channel load-balance dst-ip|dst-mac|src-dst-ip| src-dst-mac|src-ip|src-mac...
  • Page 446: Removing Ports From Static Port Trunks Or Deleting Trunks

    Chapter 32: Static Port Trunks Removing Ports from Static Port Trunks or Deleting Trunks To remove ports from a static port trunk, enter the Port Interface mode of the ports to be removed and issue the NO STATIC-CHANNEL-GROUP command. This example removes ports 4 and 5 from their current static port trunk assignment: awplus>...
  • Page 447: Displaying Static Port Trunks

    AT-9000 Switch Command Line User’s Guide Displaying Static Port Trunks To display the member ports of static port trunks, use the SHOW STATIC- CHANNEL-GROUP command in the User Exec mode or Privileged Exec mode: awplus# show static-channel-group Here is an example of the information. % Static Aggregator: sa1 % Member: port1.0.5...
  • Page 448 Chapter 32: Static Port Trunks Section V: Port Trunks...
  • Page 449: Chapter 33: Static Port Trunk Commands

    Chapter 33 Static Port Trunk Commands The static port trunk commands are summarized in Table 48. Table 48. Static Port Trunk Commands Command Mode Description “NO STATIC-CHANNEL-GROUP” on Port Interface Removes ports from existing static page 450 port trunks and deletes trunks from the switch.
  • Page 450: No Static-Channel-Group

    Chapter 33: Static Port Trunk Commands NO STATIC-CHANNEL-GROUP Syntax no static-channel-group Parameters None. Mode Port Interface mode Description Use this command to remove ports from static port trunks and to delete trunks. To delete a trunk, remove all its ports. Caution To prevent the formation of loops in your network topology, do not remove ports from a static port trunk without first disconnecting their...
  • Page 451: Port-Channel Load-Balance

    AT-9000 Switch Command Line User’s Guide PORT-CHANNEL LOAD-BALANCE Syntax port-channel load-balance src-mac|dst-mac|src-dst-mac|src- ip|dst-ip|src-dst-ip Parameters src-mac Specifies source MAC address as the load distribution method. dst-mac Specifies destination MAC address. src-dst-mac Specifies source address/destination MAC address. src-ip Specifies source IP address. dst-ip Specifies destination IP address.
  • Page 452: Show Static-Channel-Group

    Chapter 33: Static Port Trunk Commands SHOW STATIC-CHANNEL-GROUP Syntax show static-channel-group Parameters None. Modes User Exec mode and Privileged Exec mode Description Use this command to display the member ports of static port trunks on the switch. An example of the command is shown in Figure 83. % Static Aggregator: sa1 % Member: port1.0.5...
  • Page 453: Static-Channel-Group

    AT-9000 Switch Command Line User’s Guide STATIC-CHANNEL-GROUP Syntax id_number static-channel-group Parameters id_number Specifies an ID number of a static port trunk. The range is 1 to 32. You can specify just one ID number. Mode Port Interface mode Description Use this command to create new static port trunks and to add ports to existing trunks.
  • Page 454 Chapter 33: Static Port Trunk Commands Allied Telesis does not recommend using twisted pair ports 25R to 28R  on the AT-9000/28 and AT-9000/28SP Managed Layer 2 ecoSwitches in static port trunks. The performance of a static port trunk that has these ports may not be predictable if the ports transition to the redundant state.
  • Page 455: Chapter 34: Link Aggregation Control Protocol (Lacp)

    Chapter 34 Link Aggregation Control Protocol (LACP) “Overview” on page 456  “Creating New Aggregators” on page 460  “Setting the Load Distribution Method” on page 461  “Adding Ports to Aggregators” on page 462  “Removing Ports from Aggregators” on page 463 ...
  • Page 456: Overview

    Chapter 34: Link Aggregation Control Protocol (LACP) Overview The Link Aggregation Control Protocol (LACP) is used to increase the bandwidth between the switch and other LACP-compatible devices by grouping ports together to form single virtual links. LACP trunks are similar in function to static port trunks, but they are more flexible.
  • Page 457: Lacp System Priority

    AT-9000 Switch Command Line User’s Guide LACP System When two devices form an aggregate trunk, a conflict may occur if there is a difference in their LACP implementations. For example, the two devices Priority might not support the same number of active ports in an aggregate trunk or might not agree on which ports are to be active and which are to be in the standby mode.
  • Page 458: Load Distribution Methods

    Chapter 34: Link Aggregation Control Protocol (LACP) ports, and the others are placed in the standby mode. If an active link goes down on a active port, the standby port with the next highest priority is automatically activated to take its place. The selection of the active links in an aggregate trunk is dynamic and will change as links are added, removed, lost or reestablished.
  • Page 459 The port with the highest priority in an aggregate trunk carries  broadcast packets and packets with an unknown destination. Prior to creating an aggregate trunk between an Allied Telesis device  and another vendor’s device, refer to the vendor’s documentation to determine the maximum number of active ports the device supports.
  • Page 460: Creating New Aggregators

    Chapter 34: Link Aggregation Control Protocol (LACP) Creating New Aggregators To create a new aggregator, move to the Port Interface mode of the aggregator’s member ports and issue the CHANNEL-GROUP command, which has this format: id_number channel-group The ID_NUMBER parameter has a range of 1 to 65535. Each aggregator must be assigned a unique ID number.
  • Page 461: Setting The Load Distribution Method

    AT-9000 Switch Command Line User’s Guide Setting the Load Distribution Method The load distribution method determines the manner in which the switch distributes the egress packets among the active ports of an aggregator. The packets can be distributed by source MAC or IP address, destination MAC or IP address, or by both source and destination addresses.
  • Page 462: Adding Ports To Aggregators

    Chapter 34: Link Aggregation Control Protocol (LACP) Adding Ports to Aggregators The command to add ports to existing aggregators is the same command to create new aggregators, the CHANNEL-GROUP command in the Port Interface mode. To use the command, move to the Port Interface mode of the ports you want to add to an aggregator and issue the command.
  • Page 463: Removing Ports From Aggregators

    AT-9000 Switch Command Line User’s Guide Removing Ports from Aggregators To remove ports from an aggregator, use the NO CHANNEL-GROUP command, in the Port Interface mode. Move to the Port Interface mode for those ports you want to remove from an aggregator and enter the command.
  • Page 464: Deleting Aggregators

    Chapter 34: Link Aggregation Control Protocol (LACP) Deleting Aggregators To delete an aggregator, remove all its ports with the NO CHANNEL- GROUP command, in the Port Interface mode. Caution Do not delete an aggregator without first disconnecting the network cables from its ports. Leaving the network cables connected may result in a network loop, which can cause a broadcast storm.
  • Page 465: Displaying Aggregators

    AT-9000 Switch Command Line User’s Guide Displaying Aggregators There are five SHOW commands for LACP. Two of them are mentioned here. For descriptions of all the commands, refer to Chapter 35, “LACP Commands” on page 467. The first command is the SHOW ETHERCHANNEL DETAIL command in the Privileged Exec mode.
  • Page 466 Chapter 34: Link Aggregation Control Protocol (LACP) Here is an example of the information. System Priority: 0x0080 Mac Address: 00-15-77-CC-E2-42 Figure 85. SHOW LACP SYS-ID Command it should be mentioned that while the system priority value is set as an integer with the LACP SYSTEM-PRIORITY command, this command displays it in hexadecimal format.
  • Page 467: Chapter 35: Lacp Commands

    Chapter 35 LACP Commands The LACP port trunk commands are summarized in Table 49. Table 49. LACP Port Trunk Commands Command Mode Description “CHANNEL-GROUP” on page 468 Port Interface Creates new aggregators and adds ports to existing aggregators. “LACP SYSTEM-PRIORITY” on Global Sets the LACP system priority value page 470...
  • Page 468: Channel-Group

    Chapter 35: LACP Commands CHANNEL-GROUP Syntax id_number channel-group Parameters id_number Specifies the ID number of a new or an existing aggregator. The range is 1 to 65335. Mode Port Interface mode Description Use this command to create new aggregators or to add ports to existing aggregators.
  • Page 469 AT-9000 Switch Command Line User’s Guide This example adds port 15 to an existing aggregator that has the ID number 4: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.15 awplus(config-if)# channel-group 4 Section V: Port Trunks...
  • Page 470: Lacp System-Priority

    Chapter 35: LACP Commands LACP SYSTEM-PRIORITY Syntax priority lacp system-priority Parameters priority Specifies the LACP system priority value for the switch. The range is 1 to 65535. Mode Global Configuration mode Description Use this command to set the LACP priority of the switch. The switch uses the LACP priority to resolve conflicts with other network devices when it creates aggregate trunks.
  • Page 471: No Channel-Group

    AT-9000 Switch Command Line User’s Guide NO CHANNEL-GROUP Syntax no channel-group Parameters None. Mode Port Interface mode Description Use this command to remove ports from aggregators and to delete aggregators. To delete an aggregator, remove all its port. You cannot remove the base port of the aggregator. Changing the base port requires deleting and recreating the aggregator.
  • Page 472: Port-Channel Load-Balance

    Chapter 35: LACP Commands PORT-CHANNEL LOAD-BALANCE Syntax port-channel load-balance src-mac|dst-mac|src-dst-mac| src-ip|dst-ip|src-dst-ip Parameters src-mac Specifies source MAC address as the load distribution method. dst-mac Specifies destination MAC address. src-dst-mac Specifies source address/destination MAC address. src-ip Specifies source IP address. dst-ip Specifies destination IP address. src-dst-ip Specifies source address/destination IP address.
  • Page 473 AT-9000 Switch Command Line User’s Guide Example This example sets the load distribution method to source MAC address for the LACP trunk that has the ID number 22: awplus> enable awplus# configure terminal awplus(config)# interface po22 awplus(config-if)# port-channel load-balance src-mac Section V: Port Trunks...
  • Page 474: Show Etherchannel

    Chapter 35: LACP Commands SHOW ETHERCHANNEL Syntax id_number show etherchannel Parameters id_number Specifies the ID number of the aggregator. Mode Privileged Exec mode Description Use this command to display the ports of specific aggregators on the switch. Figure 86 illustrates the information. Aggregator #2 ..
  • Page 475: Show Etherchannel Detail

    AT-9000 Switch Command Line User’s Guide SHOW ETHERCHANNEL DETAIL Syntax show etherchannel detail Parameters None. Mode Privileged Exec mode Description Use this command to display detailed information about the aggregators on the switch. Figure 87 illustrates the information. Aggregator # 1 ..po1 Mac address: (00-15-77-D8-43-60,0000) Admin Key: 0xff01 - Oper Key: 0x0101 Receive link count: 4 - Transmit link count: 4...
  • Page 476: Show Etherchannel Summary

    Chapter 35: LACP Commands SHOW ETHERCHANNEL SUMMARY Syntax show etherchannel summary Parameters None. Mode Privileged Exec mode Description Use this command to display the states of the member ports of the aggregators. Figure 88 illustrates the information. Aggregator #2 ..po2 Admin Key: 0xff01 - Oper Key: 0x0101 Link: Port1.0.2 sync...
  • Page 477: Show Lacp Sys-Id

    AT-9000 Switch Command Line User’s Guide SHOW LACP SYS-ID Syntax show lacp sys-id Parameters None. Mode Privileged Exec mode Description Use this command to display the LACP priority value and MAC address of the switch. Figure 88 illustrates the information. System Priority: 0x0080 Mac Address: 00-15-77-CC-E2-42 Figure 89.
  • Page 478: Show Port Etherchannel

    Chapter 35: LACP Commands SHOW PORT ETHERCHANNEL Syntax port show port etherchannel Parameters port Specifies the port of an aggregator. You can display more than one port at a time. Mode Privileged Exec mode Description Use this command to display the LACP port information. Figure 90 illustrates the information.
  • Page 479: Section Vi: Spanning Tree Protocols

    Section VI Spanning Tree Protocols This section contains the following chapters: Chapter 36, “Spanning Tree and Rapid Spanning Tree Protocols” on  page 481 Chapter 37, “Spanning Tree Protocol (STP)” on page 501  Chapter 38, “STP Commands” on page 509 ...
  • Page 480 Section VI: Spanning Tree Protocols...
  • Page 481: Chapter 36: Spanning Tree And Rapid Spanning Tree Protocols

    Chapter 36 Spanning Tree and Rapid Spanning Tree Protocols This chapter covers the following topics: “Overview” on page 482  “Bridge Priority and the Root Bridge” on page 483  “Path Costs and Port Costs” on page 484  “Port Priority” on page 485 ...
  • Page 482: Overview

    Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols Overview The Spanning Tree Protocol (STP) and the Rapid Spanning Tree Protocol (RSTP) guard against the formation of loops in an Ethernet network topology. A topology has a loop when two or more nodes can transmit packets to each other over more than one data path.
  • Page 483: Bridge Priority And The Root Bridge

    AT-9000 Switch Command Line User’s Guide Bridge Priority and the Root Bridge The first task that bridges perform when a spanning tree protocol is activated on a network is the selection of a root bridge. A root bridge distributes network topology information to the other network bridges and is used by the other bridges to determine if there are redundant paths in the network.
  • Page 484: Path Costs And Port Costs

    Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols Path Costs and Port Costs After the root bridge has been selected, the bridges determine if the network contains redundant paths and, if one is found, select a preferred path while placing the redundant paths in a backup or blocking state. A bridge that has only one path between itself and the root bridge is referred to as the designated bridge.
  • Page 485: Port Priority

    AT-9000 Switch Command Line User’s Guide Port Priority If two paths have the same port cost, the bridges must select a preferred path. In some instances this can involve the use of the port priority parameter. This parameter is used as a tie breaker when two paths have the same cost.
  • Page 486: Forwarding Delay And Topology Changes

    Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols Forwarding Delay and Topology Changes If there is a change in the network topology due to a failure, removal, or addition of any active components, the active topology also changes. This may trigger a change in the state of some blocked ports.
  • Page 487: Hello Time And Bridge Protocol Data Units (Bpdu)

    AT-9000 Switch Command Line User’s Guide Hello Time and Bridge Protocol Data Units (BPDU) The bridges that are part of a spanning tree domain communicate with each other using a bridge broadcast frame that contains a special section devoted to carrying STP or RSTP information. This portion of the frame is referred to as the bridge protocol data unit (BPDU).
  • Page 488: Point-To-Point And Edge Ports

    Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols Point-to-Point and Edge Ports Note This section applies only to RSTP. Part of the task of configuring RSTP is defining the port types on the switch. This relates to the devices connected to the ports. With the port types defined, RSTP can reconfigure a network much quicker than STP when a change in network topology is detected.
  • Page 489 AT-9000 Switch Command Line User’s Guide AT-9000/28 Gigabit Ethernet Switch with 4 Combo SFP Ports MODE CONSOLE SELECT RS-232 1451 Edge Port Figure 92. Edge Port A port can be both a point-to-point and an edge port at the same time. It operates in full-duplex and has no STP or RSTP devices connected to it.
  • Page 490: Mixed Stp And Rstp Networks

    Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols Mixed STP and RSTP Networks RSTP IEEE 802.1w is fully compliant with STP IEEE 802.1d. A network can have both protocols. If both RSTP and STP are present in a network, they operate together to create a single spanning tree domain.
  • Page 491: Spanning Tree And Vlans

    AT-9000 Switch Command Line User’s Guide Spanning Tree and VLANs STP and RSTP support a single-instance spanning tree that encompasses all the ports on the switch. If the ports are divided into different VLANs, the spanning tree protocol crosses the VLAN boundaries. This point can pose a problem in networks that contain multiple VLANs that span different switches and that are connected with untagged ports.
  • Page 492 Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols You can avoid this problem by not activating spanning tree or by connecting VLANs using tagged instead of untagged ports. (For information about tagged and untagged ports, refer to Chapter 41, “Port- based and Tagged VLANs”...
  • Page 493: Rstp Bpdu Guard

    AT-9000 Switch Command Line User’s Guide RSTP BPDU Guard This feature monitors the RSTP edge ports on the switch for BPDU packets. Edge ports that receive BPDU packets are disabled by the switch. The benefit of this feature is that it prevents the use of edge ports by RSTP devices and so reduces the possibility of unwanted changes to a network topology.
  • Page 494 Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols This feature is supported on the base ports of the switch and any fiber  optic transceivers installed in the unit. Note A port disabled by the BPDU guard feature remains in that state until you enable it with the management software.
  • Page 495: Rstp Loop Guard

    AT-9000 Switch Command Line User’s Guide RSTP Loop Guard Although RSTP is designed to detect and prevent the formation of loops in a network topology, it is possible in certain circumstances for the protocol to inadvertently create loops. This can happen in the unlikely situation where a link between two RSTP devices remains active when there is an cessation of BPDUs because of a hardware or software problem.
  • Page 496 Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols This feature is supported on the base ports of the switch as well as on any fiber optic transceivers installed in the unit. This feature is not supported in STP or MSTP. It is also not supported on RSTP edge ports.
  • Page 497 AT-9000 Switch Command Line User’s Guide Switch 2 Port 17 Switch 1 Stops transmitting BDPUs Root bridge Port 14 Transitions to the forwarding state from the blocking state Switch 3 Figure 96. Loop Guard Example 2 But if loop guard is enabled on port 14 on switch 3, the port, instead of changing to the forwarding state, stays in the blocking state, preventing the formation of the loop.
  • Page 498 Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols In the first example the root bridge stops transmitting BPDUs. If switch 3 is not using loop guard, it continues to forward traffic on port 4. But since no BPDUs are received on the port, it assumes that the device connected to the port is not an RSTP device.
  • Page 499 AT-9000 Switch Command Line User’s Guide Switch 2 New root bridge CONSOLE LINK / ACT 2250 Switch 1 Old root bridge RSTP stops operating CONSOLE LINK / ACT Port 14 Transitions from the blocking state Port 4 to the forwarding state Loop guard changes the port to the blocking state from the forwarding state...
  • Page 500 Chapter 36: Spanning Tree and Rapid Spanning Tree Protocols Section VI: Spanning Tree Protocols...
  • Page 501: Chapter 37: Spanning Tree Protocol (Stp)

    Chapter 37 Spanning Tree Protocol (STP) This chapter covers the following information: “Designating STP as the Active Spanning Tree Protocol” on page 502  “Enabling the Spanning Tree Protocol” on page 503  “Setting the Switch Parameters” on page 504 ...
  • Page 502: Designating Stp As The Active Spanning Tree Protocol

    Chapter 37: Spanning Tree Protocol (STP) Designating STP as the Active Spanning Tree Protocol Before you can configure the STP parameters or enable the protocol on the switch, you have to designate STP as the active spanning tree protocol. The switch supports other spanning tree protocols in addition to STP, but only one of them can be active at a time on the device.
  • Page 503: Enabling The Spanning Tree Protocol

    AT-9000 Switch Command Line User’s Guide Enabling the Spanning Tree Protocol To enable STP on the switch, use the SPANNING-TREE STP ENABLE command in the Global Configuration mode. Here is the command: awplus> enable awplus# configure terminal awplus(config)# spanning-tree stp enable The switch immediately begins to send BPDUs from its ports to participate in the spanning tree domain.
  • Page 504: Setting The Switch Parameters

    Chapter 37: Spanning Tree Protocol (STP) Setting the Switch Parameters This table lists the STP functions that are controlled at the switch level. These commands are located in the Global Configuration mode and apply to the entire switch. Table 50. STP Switch Parameter Commands Use This Command Range Specify how long the ports remain in...
  • Page 505 AT-9000 Switch Command Line User’s Guide This example of the command sets the switch’s priority value to 8,192: awplus> enable awplus# configure terminal awplus(config)# spanning-tree priority 8192 Section VI: Spanning Tree Protocols...
  • Page 506: Setting The Port Parameters

    Chapter 37: Spanning Tree Protocol (STP) Setting the Port Parameters This table lists the STP functions that are controlled at the port level. You set these parameters in the Port Interface mode of the individual ports. Table 51. STP Port Parameter Commands Use This Command Range Specify the cost of a port to the root...
  • Page 507: Disabling The Spanning Tree Protocol

    AT-9000 Switch Command Line User’s Guide Disabling the Spanning Tree Protocol To disable STP on the switch, use the NO SPANNING-TREE STP ENABLE command in the Global Configuration mode. Here is the command: awplus> enable awplus# configure terminal awplus(config)# no spanning-tree stp enable Note Before disabling the spanning tree protocol on the switch, display the STP states of the ports and disconnect the network cables from...
  • Page 508: Displaying Stp Settings

    Chapter 37: Spanning Tree Protocol (STP) Displaying STP Settings To view the STP settings on the switch, use the SHOW SPANNING-TREE in the Privileged Exec mode. The command has this format: show spanning-tree [interface port Use the INTERFACE parameter to view the settings of the specified ports. Otherwise, omit the parameter to view all the ports.
  • Page 509: Chapter 38: Stp Commands

    Chapter 38 STP Commands The STP commands are summarized in Table 52. Table 52. Spanning Tree Protocol Commands Command Mode Description “NO SPANNING-TREE STP Global Disables STP on the switch. ENABLE” on page 510 Configuration “SHOW SPANNING-TREE” on User Exec and Displays the STP settings.
  • Page 510: No Spanning-Tree Stp Enable

    Chapter 38: STP Commands NO SPANNING-TREE STP ENABLE Syntax no spanning-tree stp enable Parameters None. Mode Global Configuration mode Description Use this command to disable STP on the switch. To view the current status of STP, refer to “SHOW SPANNING-TREE” on page 511. The default setting is disabled.
  • Page 511: Show Spanning-Tree

    AT-9000 Switch Command Line User’s Guide SHOW SPANNING-TREE Syntax port show spanning-tree [interface Parameters port Specifies a port. You can specify more than one port at a time in the command. The switch displays the STP settings for all the ports if you omit this parameter.
  • Page 512: Spanning-Tree Forward-Time

    Chapter 38: STP Commands SPANNING-TREE FORWARD-TIME Syntax forwardtime spanning-tree forward-time Parameters forwardtime Specifies the forward time. The range is 4 to 30 seconds. The default is 15 seconds. Mode Global Configuration mode Description Use this command to set the forward time parameter on the switch. This parameter specifies how long the ports remain in the listening and learning states before they transition to the forwarding state.
  • Page 513: Spanning-Tree Hello-Time

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE HELLO-TIME Syntax hellotime spanning-tree hello-time Parameters hellotime Specifies the hello time. The range is 1 to 10 seconds. The default is 2 seconds. Mode Global Configuration mode Description Use this command to set the hello time parameter on the switch. This parameter controls how frequently the switch sends spanning tree configuration information when it is the root bridge or is trying to become the root bridge.
  • Page 514: Spanning-Tree Max-Age

    Chapter 38: STP Commands SPANNING-TREE MAX-AGE Syntax maxage spanning-tree max-age Parameters maxage Specifies the max-age parameter. The range is 6 to 40 seconds. The default is 20 seconds. Mode Global Configuration mode Description Use this command to set the maximum age parameter. This parameter determines how long bridge protocol data units (BPDUs) are stored by the switch before they are deleted.
  • Page 515: Spanning-Tree Mode Stp

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE MODE STP Syntax spanning-tree mode stp Parameters None. Mode Global Configuration mode Description Use this command to designate STP as the active spanning tree protocol on the switch. You must select STP as the active spanning tree protocol before you can enable it or configure its parameters.
  • Page 516: Spanning-Tree Path-Cost

    Chapter 38: STP Commands SPANNING-TREE PATH-COST Syntax path-cost spanning-tree path-cost Parameters path-cost Specifies the cost of a port to the root bridge. The range of 6 to 40. Mode Port Interface mode Description Use this command to specify the cost of a port to the root bridge. This cost is combined with the costs of the other ports in the path to the root bridge, to determine the total path cost.
  • Page 517: Spanning-Tree Priority (Bridge Priority)

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE PRIORITY (Bridge Priority) Syntax priority spanning-tree priority Parameters priority Specifies a priority number for the switch. Mode Global Configuration mode Description Use this command to assign the switch a priority number. The device that has the lowest priority number in the spanning tree domain becomes the root bridge.
  • Page 518: Spanning-Tree Priority (Port Priority)

    Chapter 38: STP Commands SPANNING-TREE PRIORITY (Port Priority) Syntax priority spanning-tree priority Parameters priority Specifies the priority value for a port. The range is 0 to 240, in increments of 16. Mode Port Interface mode Description Use this command to set the priority value of a port. This parameter is used as a tie breaker when two or more ports have equal costs to the root bridge.
  • Page 519: Spanning-Tree Stp Enable

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE STP ENABLE Syntax spanning-tree stp enable Parameters None. Mode Global Configuration mode Description Use this command to enable STP on the switch. You must designate STP as the active spanning tree protocol on the switch before you can enable it or configure its parameters.
  • Page 520 Chapter 38: STP Commands Section VI: Spanning Tree Protocols...
  • Page 521: Chapter 39: Rapid Spanning Tree Protocol (Rstp)

    Chapter 39 Rapid Spanning Tree Protocol (RSTP) This chapter covers the following topics: “Designating RSTP as the Active Spanning Tree Protocol” on page 522  “Enabling the Rapid Spanning Tree Protocol” on page 523  “Configuring the Switch Parameters” on page 524 ...
  • Page 522: Designating Rstp As The Active Spanning Tree Protocol

    Chapter 39: Rapid Spanning Tree Protocol (RSTP) Designating RSTP as the Active Spanning Tree Protocol The first step to using RSTP on the switch is to designate it as the active spanning tree protocol. This is accomplished with the SPANNING-TREE MODE RSTP command in the Global Configuration mode.
  • Page 523: Enabling The Rapid Spanning Tree Protocol

    AT-9000 Switch Command Line User’s Guide Enabling the Rapid Spanning Tree Protocol To enable RSTP on the switch, use the SPANNING-TREE RSTP ENABLE command in the Global Configuration mode. Here is the command: awplus> enable awplus# configure terminal awplus(config)# spanning-tree rstp enable After you enter the command, the switch immediately begins to participate in the spanning tree domain.
  • Page 524: Configuring The Switch Parameters

    Chapter 39: Rapid Spanning Tree Protocol (RSTP) Configuring the Switch Parameters This table lists the RSTP parameters that are set in the Global Configuration mode and apply to all the ports on the switch. Table 53. RSTP Switch Parameters Use This Command Range Specify how long the ports remain in SPANNING-TREE FORWARD-TIME...
  • Page 525: Setting The Bridge Priority

    AT-9000 Switch Command Line User’s Guide This example increases the forward time to 25 seconds and the hello time to 8 seconds. The forward time controls the amount of time the ports remain in the listening and learning states and the hello time controls how frequently the switch sends spanning tree configuration information: awplus>...
  • Page 526 Chapter 39: Rapid Spanning Tree Protocol (RSTP) To disable the BPDU guard feature on the switch, use the NO SPANNING-TREE BPDU-GUARD command in the Global Configuration mode. Here is the command: awplus> enable awplus# configure terminal awplus(config)# no spanning-tree portfast bpdu-guard Section VI: Spanning Tree Protocols...
  • Page 527: Configuring The Port Parameters

    AT-9000 Switch Command Line User’s Guide Configuring the Port Parameters This table lists the RSTP port parameters. These parameters are set on the individual ports in the Port Interface mode. Table 54. RSTP Port Parameters Use This Command Range Specify port costs. SPANNING-TREE PATH-COST path- 6 to 40 cost...
  • Page 528: Configuring Port Priorities

    Chapter 39: Rapid Spanning Tree Protocol (RSTP) Configuring Port If RSTP discovers a loop in the topology but the two paths that constitute the loop have the same path cost, the spanning tree protocol uses port Priorities priorities to determine which path to make active and which to place in the blocking state.
  • Page 529: Enabling Or Disabling Rstp Loop-Guard

    AT-9000 Switch Command Line User’s Guide This example uses the NO SPANNING-TREE command to remove port 21 as an edge port: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.21 awplus(config)# no spanning-tree Enabling or The RSTP loop guard feature disables ports if they stop receiving spanning tree BPDUs from their link partners when there is no change to Disabling RSTP the link state.
  • Page 530 Chapter 39: Rapid Spanning Tree Protocol (RSTP) Edge ports that are disabled by the feature remain disabled until you manually enable them again with the NO SHUTDOWN command. As an alternative, you can activate the BPDU guard timer so that the switch automatically reactivates disabled ports after the specified period of time.
  • Page 531: Disabling The Rapid Spanning Tree Protocol

    AT-9000 Switch Command Line User’s Guide Disabling the Rapid Spanning Tree Protocol To disable RSTP on the switch, use the NO SPANNING-TREE RSTP ENABLE command in the Global Configuration mode. Here is the command: awplus> enable awplus# configure terminal awplus(config)# no spanning-tree rstp enable To view the current status of RSTP, refer to “Displaying RSTP Settings”...
  • Page 532: Displaying Rstp Settings

    Chapter 39: Rapid Spanning Tree Protocol (RSTP) Displaying RSTP Settings To view the RSTP settings on the switch, use the SHOW SPANNING- TREE in the Privileged Exec mode. The command has this format: show spanning-tree [interface port Use the INTERFACE parameter to view the settings of the specified ports. Otherwise, omit the parameter to view all the ports.
  • Page 533: Chapter 40: Rstp Commands

    Chapter 40 RSTP Commands The RSTP commands are summarized in Table 55. Table 55. Rapid Spanning Tree Protocol Commands Command Mode Description “NO SPANNING-TREE” on page 535 Port Interface Removes ports as edge ports on the switch. “NO SPANNING-TREE Global Deactivates the RSTP BPDU guard ERRDISABLE-TIMEOUT ENABLE”...
  • Page 534 Chapter 40: RSTP Commands Table 55. Rapid Spanning Tree Protocol Commands (Continued) Command Mode Description “SPANNING-TREE LINK-TYPE” on Port Interface Designates point-to-point ports and page 547 shared ports. “SPANNING-TREE LOOP-GUARD” Port Interface Enables the BPDU loop-guard feature on page 548 on the ports.
  • Page 535: No Spanning-Tree

    AT-9000 Switch Command Line User’s Guide NO SPANNING-TREE Syntax no spanning-tree Parameters None. Mode Port Interface mode Description Use this command to remove ports as edge ports on the switch. Confirmation Command “SHOW RUNNING-CONFIG” on page 132 Example This example removes port 21 as an edge port: awplus>...
  • Page 536: No Spanning-Tree Errdisable-Timeout Enable

    Chapter 40: RSTP Commands NO SPANNING-TREE ERRDISABLE-TIMEOUT ENABLE Syntax spanning-tree errdisable-timeout enable Parameters None. Mode Global Configuration mode Description Use this command to deactivate the timer for the RSTP BPDU guard feature. When the timer is deactivated, ports that the feature disables because they receive BPDU packets remain disabled until you manually activate them again with the NO SHUTDOWN command.
  • Page 537: No Spanning-Tree Loop-Guard

    AT-9000 Switch Command Line User’s Guide NO SPANNING-TREE LOOP-GUARD Syntax no spanning-tree loop-guard Parameters None. Mode Port Interface mode Description Use this command to disable the BPDU loop-guard feature on the ports. The default setting is disabled. Note Ports that are disabled by the loop-guard feature do not forward traffic again when you disable the feature.
  • Page 538: No Spanning-Tree Portfast

    Chapter 40: RSTP Commands NO SPANNING-TREE PORTFAST Syntax no spanning-tree portfast Parameters None. Mode Port Interface mode Description Use this command to remove ports as edge ports on the switch. This command is equivalent to “NO SPANNING-TREE” on page 535. Example This example removes port 21 as an edge port: awplus>...
  • Page 539: No Spanning-Tree Portfast Bpdu-Guard

    AT-9000 Switch Command Line User’s Guide NO SPANNING-TREE PORTFAST BPDU-GUARD Syntax no spanning-tree portfast bpdu-guard Parameters None. Mode Global Configuration mode Description Use this command to disable the BPDU guard feature on the switch. Note Edge ports disabled by the BPDU guard feature remain disabled until you enable them with the management software.
  • Page 540: No Spanning-Tree Rstp Enable

    Chapter 40: RSTP Commands NO SPANNING-TREE RSTP ENABLE Syntax no spanning-tree rstp enable Parameters None. Mode Global Configuration mode Description Use this command to disable RSTP on the switch. Note Before disabling the spanning tree protocol on the switch, display the RSTP states of the ports and disconnect the network cables from any ports that are in the discarding state.
  • Page 541: Show Spanning-Tree

    AT-9000 Switch Command Line User’s Guide SHOW SPANNING-TREE Syntax show spanning-tree Parameters None. Modes Privileged Exec mode Description Use this command to display the RSTP settings on the switch. An example of the display is shown in Figure 103. % Default: Bridge up - Spanning Tree Enabled % Default: Bridge Priority 32768 % Default: Forward Delay 15 - Hello Time 2 - Max Age 20 % Default: Root Id 001577cce242...
  • Page 542 Chapter 40: RSTP Commands Example awplus# show spanning-tree Section VI: Spanning Tree Protocols...
  • Page 543: Spanning-Tree Errdisable-Timeout Enable

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE ERRDISABLE-TIMEOUT ENABLE Syntax spanning-tree errdisable-timeout enable Parameters None. Mode Global Configuration mode Description Use this command to activate the timer for the RSTP BPDU guard feature. The BPDU guard feature prevents unnecessary RSTP domain convergences by disabling edge ports if they receive BPDUs.
  • Page 544: Spanning-Tree Errdisable-Timeout Interval

    Chapter 40: RSTP Commands SPANNING-TREE ERRDISABLE-TIMEOUT INTERVAL Syntax interval spanning-tree errdisable-timeout interval Parameters interval Specifies the number of seconds that ports remain disabled by the RSTP BPDU guard feature. The range is 10 to 1000000 seconds. The default is 300 seconds. Mode Global Configuration mode Description...
  • Page 545: Spanning-Tree Forward-Time

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE FORWARD-TIME Syntax forwardtime spanning-tree forward-time Parameters forwardtime Specifies the forward time. The range is 4 to 30 seconds. The default is 15 seconds. Mode Global Configuration mode Description Use this command to set the forward time parameter to control how fast the ports change their spanning tree states when moving towards the forwarding state.
  • Page 546: Spanning-Tree Hello-Time

    Chapter 40: RSTP Commands SPANNING-TREE HELLO-TIME Syntax hellotime spanning-tree hello-time Parameters hellotime Specifies the hello time. The range is 1 to 10 seconds. The default is 2 seconds. Mode Global Configuration mode Description Use this command to set the hello time parameter on the switch. This parameter controls how frequently the switch sends spanning tree configuration information when it is the root bridge or is trying to become the root bridge.
  • Page 547: Spanning-Tree Link-Type

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE LINK-TYPE Syntax spanning-tree link-type point-to-point|shared Parameters point-to-point Allows for rapid transition of a port to the forwarding state during the convergence process of the spanning tree domain. shared Disables rapid transition of a port. You may want to set link type to shared if a port is connected to a hub with multiple switches connected to it.
  • Page 548: Spanning-Tree Loop-Guard

    Chapter 40: RSTP Commands SPANNING-TREE LOOP-GUARD Syntax spanning-tree loop-guard Parameters None. Mode Port Interface mode Description Use this command to enable the BPDU loop-guard feature on the ports. If a port that has this feature activated stops receiving BPDU packets, the switch automatically disables it.
  • Page 549: Spanning-Tree Max-Age

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE MAX-AGE Syntax maxage spanning-tree max-age Parameters maxage Specifies the maximum age parameter. The range is 6 to 40 seconds. The default is 20 seconds. Mode Global Configuration mode Description Use this command to set the maximum age parameter on the switch. This parameter determines how long the switch retains bridge protocol data units (BPDUs) before it deletes them.
  • Page 550: Spanning-Tree Mode Rstp

    Chapter 40: RSTP Commands SPANNING-TREE MODE RSTP Syntax spanning-tree mode rstp Parameters None. Mode Global Configuration mode Description Use this command to designate RSTP as the active spanning tree protocol on the switch. After activating the protocol, you can enable or disable the spanning tree protocol and set the switch or port parameters.
  • Page 551: Spanning-Tree Path-Cost

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE PATH-COST Syntax path-cost spanning-tree path-cost Parameters path-cost Specifies the cost of a port to the root bridge. The range is 6 to 40. Mode Port Interface mode Description Use this command to specify the cost of a port to the root bridge. This cost is combined with the costs of the other ports in the path to the root bridge, to determine the total path cost.
  • Page 552: Spanning-Tree Portfast

    Chapter 40: RSTP Commands SPANNING-TREE PORTFAST Syntax spanning-tree portfast Parameters None. Mode Port Interface mode Description Use this command to designate edge ports on the switch. Edge ports are not connected to spanning tree devices or to LANs that have spanning tree devices.
  • Page 553: Spanning-Tree Portfast Bpdu-Guard

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE PORTFAST BPDU-GUARD Syntax spanning-tree portfast bpdu-guard Parameters None. Mode Global Configuration mode Description Use this command to enable the BPDU guard feature so that the switch monitors edge ports and disables them if they receive BPDU packets. Note To enable an edge port that was disabled by the BPDU guard feature, use the NO SHUTDOWN command.
  • Page 554: Spanning-Tree Priority (Bridge Priority)

    Chapter 40: RSTP Commands SPANNING-TREE PRIORITY (Bridge Priority) Syntax priority spanning-tree priority Parameters priority Specifies a priority number for the switch. The range is 0 to 61440, in increments of 4096. Mode Global Configuration mode Description Use this command to assign the switch a priority number. The device that has the lowest priority number in the spanning tree domain becomes the root bridge.
  • Page 555: Spanning-Tree Priority (Port Priority)

    AT-9000 Switch Command Line User’s Guide SPANNING-TREE PRIORITY (Port Priority) Syntax priority spanning-tree priority Parameters priority Specifies the priority value for a port. The range is 0 to 240, in increments of 16. Mode Port Interface mode Description Use this command to set the priority value of a port. This parameter is used as a tie breaker when two or more ports have equal costs to the root bridge.
  • Page 556: Spanning-Tree Rstp Enable

    Chapter 40: RSTP Commands SPANNING-TREE RSTP ENABLE Syntax spanning-tree rstp enable Parameters None. Mode Global Configuration mode Description Use this command to enable the Rapid Spanning Tree Protocol on the switch. You cannot enable RSTP until you have activated it with “SPANNING-TREE MODE RSTP”...
  • Page 557: Section Vii: Virtual Lans

    Section VII Virtual LANs This section contains the following chapters: Chapter 41, “Port-based and Tagged VLANs” on page 559  Chapter 42, “Port-based and Tagged VLAN Commands” on page 581  Chapter 43, “GARP VLAN Registration Protocol” on page 601 ...
  • Page 558 Section VII: Virtual LANs...
  • Page 559: Chapter 41: Port-Based And Tagged Vlans

    Chapter 41 Port-based and Tagged VLANs This chapter covers the following topics: “Overview” on page 560  “Port-based VLAN Overview” on page 562  “Tagged VLAN Overview” on page 568  “Creating VLANs” on page 572  “Adding Untagged Ports to VLANs” on page 573 ...
  • Page 560: Overview

    Chapter 41: Port-based and Tagged VLANs Overview A VLAN is a group of ports that form a logical Ethernet segment on an Ethernet switch. The ports of a VLAN form an independent traffic domain in which the traffic generated by the nodes remains within the VLAN. VLANs let you segment your network through the switch’s management software so that you can group nodes with related functions into their own separate, logical LAN segments.
  • Page 561 AT-9000 Switch Command Line User’s Guide Virtual LANs can also span more than one switch. This makes it possible to create VLANs of end nodes that are connected to switches located in different physical locations. The switch supports the following types of VLANs you can create yourself: Port-based VLANs ...
  • Page 562: Port-Based Vlan Overview

    Chapter 41: Port-based and Tagged VLANs Port-based VLAN Overview As the “Overview” on page 560 explains, a VLAN consists of a group of ports that form an independent traffic domain on one or more Ethernet switches. Traffic generated by the end nodes remain within their respective VLANs and does not cross over to the end nodes of other VLANs unless there is an interconnection device, such as a router or Layer 3 switch.
  • Page 563: Untagged Ports

    AT-9000 Switch Command Line User’s Guide For example, if you had a port-based VLAN titled Marketing that spanned three switches, you would assign the Marketing VLAN on each switch the same VID. You can assign this number manually or allow the management software to do it automatically.
  • Page 564: Guidelines To Creating A Port-Based Vlan

    Chapter 41: Port-based and Tagged VLANs Guidelines to Below are the guidelines to creating a port-based VLAN. Creating a Port- Each port-based VLAN must be assigned a unique VID. If a particular  based VLAN VLAN spans multiples switches, each part of the VLAN on the different switches should be assigned the same VID.
  • Page 565: Port-Based Example 1

    AT-9000 Switch Command Line User’s Guide Port-based Figure 104 illustrates an example of one AT-9000/28 Fast Ethernet Switch three port-based VLANs. (The Default_VLAN is not shown in the following Example 1 examples.) Engineering VLAN (VID 3) Sales VLAN Production VLAN (VID 2) (VID 4) 11 13...
  • Page 566: Port-Based Example 2

    Chapter 41: Port-based and Tagged VLANs Port-based Figure 105 illustrates more port-based VLANs. In this example, two VLANs, Sales and Engineering, span two switches. Example 2 Engineering VLAN (VID 3) Sales VLAN (VID 2) Production VLAN (VID 4) AT-9000/28 Gigabit 11 13 21 23 25 26...
  • Page 567 AT-9000 Switch Command Line User’s Guide The table below lists the port assignments for the Sales, Engineering, and Production VLANs on the switches: Switch Sales VLAN Engineering VLAN Production VLAN (VID 2) (VID 3) (VID 4) AT-9000/28 Switch Ports 1 - 6 Ports 9 - 13 Ports 17, 19 - 21 (top)
  • Page 568: Tagged Vlan Overview

    Chapter 41: Port-based and Tagged VLANs Tagged VLAN Overview The second type of VLAN is the tagged VLAN. VLAN membership in a tagged VLAN is determined by information within the frames that are received on a port. This differs from a port-based VLAN, where the PVIDs assigned to the ports determine VLAN membership.
  • Page 569: Tagged And Untagged Ports

    AT-9000 Switch Command Line User’s Guide Note For explanations of VLAN name and VLAN identifier, refer back to “VLAN Name” on page 562 and “VLAN Identifier” on page 562. Tagged and You need to specify which ports will be members of the VLAN. In the case of a tagged VLAN, it is usually a combination of both untagged ports and Untagged Ports tagged ports.
  • Page 570: Tagged Vlan Example

    Chapter 41: Port-based and Tagged VLANs Tagged VLAN Figure 106 illustrates how tagged ports can be used to interconnect IEEE 802.1Q-based products. Example Engineering VLAN (VID 3) Sales VLAN (VID 2) Production VLAN (VID 4) Legacy Server 11 13 21 23 25 26 AT-9000/28 Gigabit Ethernet Switch...
  • Page 571: Table 56. Vlan Port Assignments

    AT-9000 Switch Command Line User’s Guide The port assignments for the VLANs are described in Table 56. Table 56. VLAN Port Assignments Switch Engineering VLAN Production VLAN Sales VLAN (VID 2) (VID 3) (VID 4) Untagged Tagged Untagged Tagged Untagged Tagged Ports Ports...
  • Page 572: Creating Vlans

    Chapter 41: Port-based and Tagged VLANs Creating VLANs To create VLANs, use the VLAN command in the VLAN Configuration mode. You must specify a name and a VID for a new VLAN in the command. A name can have up to 20 characters. Giving the VLANs unique names will make them easier to identify.
  • Page 573: Adding Untagged Ports To Vlans

    AT-9000 Switch Command Line User’s Guide Adding Untagged Ports to VLANs To add a port to a VLAN as an untagged port, it may be necessary to first set its mode with the SWITCHPORT MODE ACCESS command in the Port Interface mode. Once a port’s mode is set to access, it functions as an untagged port.
  • Page 574 Chapter 41: Port-based and Tagged VLANs awplus(config)# interface port1.0.11-port1.0.18 awplus(config-if)# switchport access vlan 4 Section VII: Virtual LANs...
  • Page 575: Adding Tagged Ports To Vlans

    AT-9000 Switch Command Line User’s Guide Adding Tagged Ports to VLANs There are three steps to adding ports as tagged ports to VLANs: 1. Set the mode of the ports to trunk so that they function as tagged ports. This is performed with the SWITCHPORT MODE TRUNK command.
  • Page 576 Chapter 41: Port-based and Tagged VLANs This example adds ports 18 to 21 as tagged members to VLANs with the VIDs 7 and 13: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.18-port1.0.21 awplus(config-if)# switchport mode trunk awplus(config-if)# switchport trunk allowed vlan add 7,13 Although tagged ports are primarily intended to handle tagged packets, they may also handle untagged packets.
  • Page 577: Removing Untagged Ports From Vlans

    AT-9000 Switch Command Line User’s Guide Removing Untagged Ports from VLANs To remove untagged ports from their current VLAN assignments and return them back to the Default VLAN, use the NO SWITCHPORT ACCESS VLAN command in the Port Interface mode. You do not specify a VLAN ID number in the command because a port can be an untagged member of just one VLAN at a time.
  • Page 578: Removing Tagged Ports From Vlans

    Chapter 41: Port-based and Tagged VLANs Removing Tagged Ports from VLANs Use the SWITCHPORT TRUNK ALLOWED VLAN command. To remove ports as tagged members from VLANs. This command is actually used for both adding and removing tagged ports. The format of the command when it is used to remove ports is shown here: switchport trunk allowed vlan none|remove To remove a port from all its tagged VLAN assignments, use the NONE...
  • Page 579: Deleting Vlans

    AT-9000 Switch Command Line User’s Guide Deleting VLANs To delete VLANs from the switch, use the NO VLAN command in the VLAN Configuration mode. You can delete only one VLAN at a time and you cannot delete the Default_VLAN. The untagged ports of deleted VLANs are automatically returned back to the Default_VLAN.
  • Page 580: Displaying The Vlans

    Chapter 41: Port-based and Tagged VLANs Displaying the VLANs To display the VLANs on the switch, use the SHOW VLAN ALL command in the User Exec mode and Privileged Exec mode: awplus# show vlan all An example of the information is shown in Figure 107. VLAN ID Name Type...
  • Page 581: Chapter 42: Port-Based And Tagged Vlan Commands

    Chapter 42 Port-based and Tagged VLAN Commands The VLAN commands are summarized in Table 57. Table 57. Port-based and Tagged VLAN Commands Command Mode Description “NO SWITCHPORT ACCESS VLAN” Port Interface Removes untagged ports from on page 582 VLANs. “NO SWITCHPORT TRUNK” on Port Interface Removes the tagged designation from page 583...
  • Page 582: No Switchport Access Vlan

    Chapter 42: Port-based and Tagged VLAN Commands NO SWITCHPORT ACCESS VLAN Syntax no switchport access vlan Parameters None. Mode Port Interface mode Description Use this command to return untagged ports to the Default_VLAN. Note You cannot return ports to the Default_VLAN if they are set to the authenticator role for 802.1x port-based network access control.
  • Page 583: No Switchport Trunk

    AT-9000 Switch Command Line User’s Guide NO SWITCHPORT TRUNK Syntax no switchport trunk Parameters None. Mode Port Interface mode Description Use this command to remove the trunk mode from ports. Ports cannot be assigned as tagged ports to VLANs once the trunk mode has been removed.
  • Page 584: No Switchport Trunk Native Vlan

    Chapter 42: Port-based and Tagged VLAN Commands NO SWITCHPORT TRUNK NATIVE VLAN Syntax no switchport trunk native vlan Parameters None. Mode Port Interface mode Description Use this command to reestablish the Default_VLAN as the native VLAN of tagged ports. The native VLAN of a tagged port specifies the appropriate VLAN for ingress and egress untagged packets.
  • Page 585: No Vlan

    AT-9000 Switch Command Line User’s Guide NO VLAN Syntax no vlan Parameters Specifies the VID of the VLAN you want to delete. Mode VLAN Configuration mode Description Use this command to delete port-based or tagged VLANs from the switch. Here are the guidelines to this command: You can delete only one VLAN at a time.
  • Page 586: Show Vlan

    Chapter 42: Port-based and Tagged VLAN Commands SHOW VLAN Syntax show vlan |all Parameters Specifies the VID of the VLAN you want to display. Specifies all the VLANs on the switch to display. Modes User Exec mode and Privileged Exec mode Description Use this command to display all the tagged and untagged VLANs on the switch.
  • Page 587 AT-9000 Switch Command Line User’s Guide Table 58. SHOW VLAN Command (Continued) Parameter Description State The states of the VLANs. A VLAN has an Active state if it has at least one tagged or untagged port and an Inactive state if it does not have any ports.
  • Page 588: Switchport Access Vlan

    Chapter 42: Port-based and Tagged VLAN Commands SWITCHPORT ACCESS VLAN Syntax switchport access vlan Parameters Specifies the ID number of the VLAN to which you want to add untagged ports. You can specify only one VID. Mode Port Interface mode Description Use this command to add untagged ports to VLANs.
  • Page 589 AT-9000 Switch Command Line User’s Guide Examples This example adds ports 5 and 7 as untagged ports to a VLAN with the VID 12: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.5,port1.0.7 awplus(config-if)# switchport access vlan 12 This example returns port 15 as an untagged port to the Default_VLAN, which has the VID 1: awplus>...
  • Page 590: Switchport Mode Access

    Chapter 42: Port-based and Tagged VLAN Commands SWITCHPORT MODE ACCESS Syntax switchport mode access [ingress-filter enable|disable] Parameters enable Activates ingress filtering. disable Disabled ingress filtering. Mode Port Interface mode Description Use this command to designate ports as untagged ports. This is the first command to adding ports as untagged ports to VLANs.
  • Page 591: Switchport Mode Trunk

    AT-9000 Switch Command Line User’s Guide SWITCHPORT MODE TRUNK Syntax switchport mode trunk [ingress-filter enable|disable] Parameters enable Activates ingress filtering so the tagged port accepts only tagged packets that have one of its tagged VIDs. disable Disabled ingress filtering so the tagged port accepts all tagged packets.
  • Page 592 Chapter 42: Port-based and Tagged VLAN Commands This example designates port 18 as a tagged port and disables ingress filtering so that it accepts all tagged packets: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.18 awplus(config-if)# switchport mode trunk ingress-filter disable Section VII: Virtual LANs...
  • Page 593: Switchport Trunk Allowed Vlan

    AT-9000 Switch Command Line User’s Guide SWITCHPORT TRUNK ALLOWED VLAN Syntaxes for Adding Tagged Ports to VLANs switchport trunk allowed vlan all switchport trunk allowed vlan add switchport trunk allowed vlan except Syntaxes for Removing Tagged Ports from VLANs switchport trunk allowed vlan remove switchport trunk allowed vlan none Parameters vlan all...
  • Page 594 Chapter 42: Port-based and Tagged VLAN Commands Adding a port as a tagged member of a VLAN does not change its  other tagged and untagged VLAN assignments, because ports can be tagged members of more than one VLAN at a time. For instance, if you add port 6 as an tagged port to a new VLAN, there is no change to the port’s other tagged and untagged VLAN memberships.
  • Page 595 AT-9000 Switch Command Line User’s Guide awplus> enable awplus# configure terminal awplus(config)# interface port1.0.22-port1.0.24 awplus(config-if)# switchport trunk allowed vlan except 11 Examples of Removing Tagged Ports from VLANs This example removes tagged port 17 from the VLAN with the VID 8: awplus>...
  • Page 596: Switchport Trunk Native Vlan

    Chapter 42: Port-based and Tagged VLAN Commands SWITCHPORT TRUNK NATIVE VLAN Syntax switchport trunk native vlan |none Parameters Specifies the VID of the VLAN that will act as the default VLAN for all ingress and egress untagged packets on the tagged port. You can enter just one VID. none Reestablishes the Default_VLAN as the native VLAN of the port.
  • Page 597 AT-9000 Switch Command Line User’s Guide This example reestablishes the Default_VLAN as the native VLAN for tagged ports 18 and 20: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.18,port1.0.20 awplus(config-if)# switchport trunk native vlan none Section VII: Virtual LANs...
  • Page 598: Vlan

    Chapter 42: Port-based and Tagged VLAN Commands VLAN Syntax name vlan [name Parameters Specifies a VLAN identifier. The range is 2 to 4094. The VID 1 is reserved for the Default_VLAN. The VID cannot be the same as the VID of an existing VLAN on the switch.
  • Page 599 AT-9000 Switch Command Line User’s Guide Confirmation Command “SHOW VLAN” on page 586 Examples This example creates a new VLAN with the VID 5 and the name Engineering: awplus> enable awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 5 name Engineering This example creates a new VLAN with the VID 17 and the name Manufacturing: awplus>...
  • Page 600 Chapter 42: Port-based and Tagged VLAN Commands Section VII: Virtual LANs...
  • Page 601: Chapter 43: Garp Vlan Registration Protocol

    Chapter 43 GARP VLAN Registration Protocol This chapter covers the following topics: “Overview” on page 602  “Guidelines” on page 605  “GVRP and Network Security” on page 606  “GVRP-inactive Intermediate Switches” on page 607  “Enabling GVRP on the Switch” on page 608 ...
  • Page 602: Overview

    Chapter 43: GARP VLAN Registration Protocol Overview The GARP VLAN Registration Protocol (GVRP) allows network devices to share VLAN information and to use the information to modify existing VLANs or create new VLANs, automatically. This makes it easier to manage VLANs that span more than one switch. Without GVRP, you have to manually configure your switches to ensure that the various parts of the VLANs can communicate with each other across the different switches.
  • Page 603 AT-9000 Switch Command Line User’s Guide Port 1 AT-9000/28 AT-9000/28 Gigabit Ethernet Switch with 4 Combo SFP Ports Gigabit Ethernet Switch with 4 Combo SFP Ports MODE MODE CONSOLE CONSOLE SELECT SELECT RS-232 RS-232 1451 1451 Switch #1 Switch #3 Port 4 Static VLAN Static VLAN...
  • Page 604 Chapter 43: GARP VLAN Registration Protocol 5. Switch #3 sends a PDU out port 4 to switch #2. 6. Switch #2 receives the PDU on port 3 and then adds the port as a tagged dynamic GVRP port to the dynamic GVRP_VLAN_11 VLAN. There is now a communications path for the end nodes of the Sales VLAN on switches #1 and #3.
  • Page 605: Guidelines

    The default port settings on the switch for GVRP is active, meaning  that the ports participate in GVRP. Allied Telesis recommends disabling GVRP on those ports that are connected to GVRP-inactive devices, meaning devices that do not feature GVRP.
  • Page 606: Gvrp And Network Security

    Chapter 43: GARP VLAN Registration Protocol GVRP and Network Security GVRP should be used with caution because it can expose your network to unauthorized access. If a network intruder were to connect to a switch port running GVRP and transmit a bogus GVRP PDU containing VIDs of restricted VLANs, GVRP would make the port a member of the VLANs, giving the intruder access to restricted areas of your network.
  • Page 607: Gvrp-Inactive Intermediate Switches

    AT-9000 Switch Command Line User’s Guide GVRP-inactive Intermediate Switches If two GVRP-active devices are separated by a GVRP-inactive switch, the GVRP-active devices may not be able to share VLAN information. There are two issues involved. The first is whether the intermediate switch forwards the GVRP PDUs that it receives from the GVRP-active switches.
  • Page 608: Enabling Gvrp On The Switch

    Chapter 43: GARP VLAN Registration Protocol Enabling GVRP on the Switch The command for enabling GVRP on the switch is found in the Global Configuration mode. It is the GVRP ENABLE command. After the command is entered, the switch immediately begins to transmit PDUs from those ports where GVRP is enabled and to learn dynamic GVRP VLANs.
  • Page 609: Enabling Gip On The Switch

    AT-9000 Switch Command Line User’s Guide Enabling GIP on the Switch The GARP Information Propagation (GIP) component can be enabled separately from GVRP on the switch. GIP must be enabled if the switch is using GVRP. The command for activating GIP is the GVRP APPLICANT STATE ACTIVE command in the Global Configuration mode.
  • Page 610: Enabling Gvrp On The Ports

    Chapter 43: GARP VLAN Registration Protocol Enabling GVRP on the Ports To activate GVRP on the ports so that they transmit GVRP PDUs, use the GVRP REGISTRATION NORMAL command in the Port Interface mode. Because the default setting for GVRP on the ports is enabled, you should only need to use this command if you want to enable GVRP after disabling it on a port.
  • Page 611: Setting The Gvrp Timers

    AT-9000 Switch Command Line User’s Guide Setting the GVRP Timers The switch has a Join Timer, a Leave Timer, and a Leaveall Timer. You shouldn’t change the timers unless you understand their functions. (Refer to the IEEE 802.1p standard for the definitions.) The timers have to set the same on all GARP-active network devices and the Join Timer and the Leave Timer have to be set according to the following equation: Join Timer <= (2 x (Leave Timer))
  • Page 612: Disabling Gvrp On The Ports

    Chapter 43: GARP VLAN Registration Protocol Disabling GVRP on the Ports To disable GVRP on the ports, use the GVRP REGISTRATION NONE command in the Port Interface mode. This example of the command deactivates GVRP on ports 4 and 5: awplus>...
  • Page 613: Disabling Gip On The Switch

    AT-9000 Switch Command Line User’s Guide Disabling GIP on the Switch You can disable the GARP Information Propagation (GIP) component separately from GVRP on the switch. GIP must be enabled if the switch is using GVRP. There is never any reason to disable GIP. Even if the switch is not performing GVRP, you can still leave GIP enabled.
  • Page 614: Disabling Gvrp On The Switch

    Chapter 43: GARP VLAN Registration Protocol Disabling GVRP on the Switch To disable GVRP to stop the switch from learning any further dynamic VLANs or GVRP ports, use the NO GVRP ENABLE command in the Global Configuration mode. Here is the command. awplus>...
  • Page 615: Restoring The Gvrp Default Settings

    AT-9000 Switch Command Line User’s Guide Restoring the GVRP Default Settings To disable GVRP and to return the timers to their default settings, use the PURGE GVRP command in the Global Configuration mode: awplus> enable awplus# configure terminal awplus(config)# purge gvrp For reference information, refer to “PURGE GVRP”...
  • Page 616: Displaying Gvrp

    Chapter 43: GARP VLAN Registration Protocol Displaying GVRP Although there are five commands that display GVRP information, you’ll probably only need the SHOW GVRP TIMER command in the Privileged Exec mode. This command displays the status of GVRP and GIP on the switch and the three timer settings.
  • Page 617: Chapter 44: Garp Vlan Registration Protocol Commands

    Chapter 44 GARP VLAN Registration Protocol Commands The GARP VLAN registration protocol commands are summarized in Table 59. Table 59. GARP VLAN Registration Protocol Commands Command Mode Description “GVRP APPLICANT STATE ACTIVE” Global Enables GIP on the switch. on page 619 Configuration “GVRP APPLICANT STATE Global...
  • Page 618 Chapter 44: GARP VLAN Registration Protocol Commands Table 59. GARP VLAN Registration Protocol Commands (Continued) Command Mode Description “SHOW GVRP STATISTICS” on User Exec and Displays GARP packet and message page 631 Privileged Exec counters: “SHOW GVRP TIMER” on page 633 User Exec and Displays the GARP time values.
  • Page 619: Gvrp Applicant State Active

    AT-9000 Switch Command Line User’s Guide GVRP APPLICANT STATE ACTIVE Syntax gvrp applicant state active Parameters None. Mode Global Configuration mode Description Use this command to enable GIP on the switch. GIP must be enabled for GVRP to operate properly. Example awplus>...
  • Page 620: Gvrp Applicant State Normal

    Chapter 44: GARP VLAN Registration Protocol Commands GVRP APPLICANT STATE NORMAL Syntax gvrp applicant state normal Parameters None. Mode Global Configuration mode Description Use this command to disable GIP. Note Do not disable GIP if the switch is running GVRP. GIP is required for proper GVRP operation.
  • Page 621: Gvrp Enable

    AT-9000 Switch Command Line User’s Guide GVRP ENABLE Syntax gvrp enable Parameters None. Mode Global Configuration mode Description Use this command to enable GVRP on the switch. Example awplus> enable awplus# configure terminal awplus(config)# gvrp enable Section VII: Virtual LANs...
  • Page 622: Gvrp Registration

    Chapter 44: GARP VLAN Registration Protocol Commands GVRP REGISTRATION Syntax gvrp registration normal|none Parameters normal Enables GVRP on a port. This is the default setting. none Disables GVRP on a port. Mode Port Interface mode Description Use this command to enable or disable GVRP on a port. A port where GVRP is enabled transmits GVRP PDUs.
  • Page 623: Gvrp Timer Join

    AT-9000 Switch Command Line User’s Guide GVRP TIMER JOIN Syntax value gvrp timer join Parameters value Specifies the Join Timer in centiseconds, which are one hundredths of a second. The range is 20 to 60 centiseconds. The default is 20 centiseconds. Mode Global Configuration mode Description...
  • Page 624: Gvrp Timer Leave

    Chapter 44: GARP VLAN Registration Protocol Commands GVRP TIMER LEAVE Syntax value gvrp timer leave Parameters value Specifies the Leave Timer in centiseconds, which are one hundredths of a second. The range is 30 to 180 centiseconds. The default is 60 centiseconds. Mode Global Configuration mode Description...
  • Page 625: Gvrp Timer Leaveall

    AT-9000 Switch Command Line User’s Guide GVRP TIMER LEAVEALL Syntax value gvrp timer leaveall Parameters value Specifies the Leave All Timer in centiseconds. The range is 500 to 3000 centiseconds. The default is 1000 centiseconds. Mode Global Configuration mode Description Use this command to set the GARP Leave All timer.
  • Page 626: No Gvrp Enable

    Chapter 44: GARP VLAN Registration Protocol Commands NO GVRP ENABLE Syntax no gvrp enable Parameters None. Mode Global Configuration mode Description Use this command to disable GVRP on the switch. Example awplus> enable awplus# configure terminal awplus(config)# no gvrp enable Section VII: Virtual LANs...
  • Page 627: Purge Gvrp

    AT-9000 Switch Command Line User’s Guide PURGE GVRP Syntax purge gvrp Parameters None. Mode Global Configuration mode Description Use this command to disable GVRP on the switch and to return the timers to their default values. Example awplus> enable awplus# configure terminal awplus(config)# purge gvrp Section VII: Virtual LANs...
  • Page 628: Show Gvrp Applicant

    Chapter 44: GARP VLAN Registration Protocol Commands SHOW GVRP APPLICANT Syntax show gvrp applicant Parameter None. Modes Privileged Exec mode Description Use this command to display the following parameters for the GIP- connected ring for the GARP application: GARP Application ...
  • Page 629: Show Gvrp Configuration

    AT-9000 Switch Command Line User’s Guide SHOW GVRP CONFIGURATION Syntax show gvrp configuration Parameters None. Modes Privileged Exec mode Description Use this command to display the following parameters for the internal database for the GARP application. Each attribute is represented by a GID index within the GARP application.
  • Page 630: Show Gvrp Machine

    Chapter 44: GARP VLAN Registration Protocol Commands SHOW GVRP MACHINE Syntax show gvrp machine Parameter None. Modes Privileged Exec mode Description Use this command to display the following parameters for the GID state machines for the GARP application. The output is shown on a per-GID index basis;...
  • Page 631: Show Gvrp Statistics

    AT-9000 Switch Command Line User’s Guide SHOW GVRP STATISTICS Syntax show gvrp statistics Parameter None. Modes Privileged Exec mode Description Use this command to display the current values of the following GARP packet and message counters: GARP application  Receive: Total GARP Packets ...
  • Page 632 Chapter 44: GARP VLAN Registration Protocol Commands Receive GARP Messages: Empty  Transmit GARP Messages: Empty  Receive GARP Messages: Bad Message  Receive GARP Messages: Bad Attribute  Example awplus# show gvrp statistics Section VII: Virtual LANs...
  • Page 633: Show Gvrp Timer

    AT-9000 Switch Command Line User’s Guide SHOW GVRP TIMER Syntax show gvrp timer Parameter None. Modes Privileged Exec mode Description Use this command to display the current values for the following GARP application parameters: GARP application protocol  GVRP status ...
  • Page 634 Chapter 44: GARP VLAN Registration Protocol Commands Section VII: Virtual LANs...
  • Page 635: Chapter 45: Mac Address-Based Vlans

    Chapter 45 MAC Address-based VLANs This chapter contains the following topics: “Overview” on page 636  “Guidelines” on page 641  “General Steps” on page 642  “Creating MAC Address-based VLANs” on page 643  “Adding MAC Addresses to VLANs and Designating Egress Ports” on ...
  • Page 636: Overview

    Chapter 45: MAC Address-based VLANs Overview As explained in “Overview” on page 560, VLANs are used to create independent LAN segments within a network and are typically employed to improve network performance or security. The AT-9000 Switch offers several different types of VLANs, including port-based, tagged, and private VLANs.
  • Page 637: Table 60. Mappings Of Mac Addresses To Egress Ports Example

    AT-9000 Switch Command Line User’s Guide Table 60. Mappings of MAC Addresses to Egress Ports Example Switch Egress MAC address End Node Port 00:30:84:54:1A:45 Workstation 1 (Port 1) 5, 6 00:30:84:C3:5A:11 Workstation 2 (Port 2) 5, 6 00:30:84:22:67:17 Workstation 3 (Port 3) 5, 6 00:30:84:78:75:1C Workstation 4 (Port 4)
  • Page 638: Table 61. Revised Example Of Mappings Of Mac Addresses To Egress Ports

    Chapter 45: MAC Address-based VLANs Table 61. Revised Example of Mappings of MAC Addresses to Egress Ports MAC Address End Node Egress Port 00:30:84:54:1A:45 Workstation 1 (Port 1) 00:30:84:C3:5A:11 Workstation 2 (Port 2) 00:30:84:22:67:17 Workstation 3 (Port 3) 00:30:84:78:75:1C Workstation 4 (Port 4) 00:30:79:7A:11:10 Server (Port 5) 00:30:42:53:10:3A...
  • Page 639: Vlans That Span Switches

    AT-9000 Switch Command Line User’s Guide If the packet’s destination MAC address is in the MAC address table  but the port where the address was learned is not one of the VLAN’s egress ports, the switch discards the packet. VLANs that Span To create a MAC address-based VLAN that spans switches, you must replicate the MAC addresses of the VLAN nodes on all the switches where...
  • Page 640: Vlan Hierarchy

    Chapter 45: MAC Address-based VLANs Table 62. Example of a MAC Address-based VLAN Spanning Switches Switch A Switch B VLAN Name: Sales VLAN Name: Sales MAC Address Egress Ports MAC Address Egress Ports Address_1 1,3,4,5 Address_1 11,12,14,16 Address_2 Address_2 Address_3 Address_3 Address_4 Address_4...
  • Page 641: Guidelines

    AT-9000 Switch Command Line User’s Guide Guidelines Here are the guidelines to MAC address-based VLANs: The switch can support up to a total of 4094 port-based, tagged,  private, and MAC address-based VLANs. MAC address-based VLANs do not support tagged packets. ...
  • Page 642: General Steps

    Chapter 45: MAC Address-based VLANs General Steps There are three main steps to creating a MAC address-based VLAN: 1. Use the VLAN MACADDRESS command in the VLAN Configuration mode to assign a name and a VID to the new VLAN, and to designate the VLAN as a MAC address-based VLAN.
  • Page 643: Creating Mac Address-Based Vlans

    AT-9000 Switch Command Line User’s Guide Creating MAC Address-based VLANs The VLAN MACADDRESS command in the VLAN Configuration mode is the first command to creating this type of VLAN. This command assigns a new VLAN a name and a VID. Here is the format of the command: name vlan name...
  • Page 644: Adding Mac Addresses To Vlans And Designating Egress Ports

    Chapter 45: MAC Address-based VLANs Adding MAC Addresses to VLANs and Designating Egress Ports The MAC addresses and egress ports are specified with the VLAN SET MACADDRESS command in the Global Configuration mode and Port Interface mode. Enter the command in the Global Configuration mode when you want to add MAC addresses to VLANs.
  • Page 645: Removing Mac Addresses

    AT-9000 Switch Command Line User’s Guide Removing MAC Addresses To remove MAC addresses from egress ports in a MAC address-based VLAN, use the NO VLAN MACADDRESS command in the Port Interface mode. This example of the command removes the MAC address 11:8A:92:CE:76:28 from ports 6 to 8, in a VLAN that has the VID 23: awplus>...
  • Page 646: Deleting Vlans

    Chapter 45: MAC Address-based VLANs Deleting VLANs To delete MAC address-based VLANs from the switch, use the NO VLAN command in the VLAN Configuration mode. You can delete only one VLAN at a time. Here is the format of the command: no vlan This example deletes the VLAN with the VID 23: awplus>...
  • Page 647: Displaying Vlans

    AT-9000 Switch Command Line User’s Guide Displaying VLANs To display the MAC address-based VLANS on the switch, use the SHOW VLAN MACADDRESS command in the Privileged Exec mode: awplus# show vlan macaddress An example is shown in Figure 112. VLAN 5 MAC Associations: Total number of associated MAC addresses: 5 ------------------------------------------------- MAC Address...
  • Page 648: Example Of Creating A Mac Address-Based Vlan

    Chapter 45: MAC Address-based VLANs Example of Creating a MAC Address-based VLAN Here is an example of how to create this type of VLAN. This example creates the VLAN detailed in Table 61 on page 638. The example is named Sales and given the VID 21: Enter the Privileged Executive awplus>...
  • Page 649 AT-9000 Switch Command Line User’s Guide Use the SHOW VLAN awplus# show vlan macaddress MACADDRESS command to confirm the MAC addresses. VLAN 21 MAC Associations Total number of associated MAC addresses: 6 MAC Address Ports ------------------------------------------- 00:30:84:54:1a:45 00:30:84:c3:5a:11 00:30:84:22:67:17 00:30:84:78:75:1c 00:30:79:7a:11:10 00:30:42:53:10:3a Enter the Global Configuration...
  • Page 650 Chapter 45: MAC Address-based VLANs Enter the Global Configuration awplus# configure terminal mode. Enter the Port Interface mode for awplus(config)# interface port1.0.2-port1.0.6 ports 2 to 6. Use the VLAN SET awplus(config-if)# vlan set 21 macaddress 00:30:84:54:1a:45 MACADDRESS command in the Port Interface mode to assign the ports one MAC address.
  • Page 651: Chapter 46: Mac Address-Based Vlan Commands

    Chapter 46 MAC Address-based VLAN Commands The MAC address-based VLAN commands are summarized in Table 63. Table 63. MAC Address-based VLAN Commands Command Mode Description “NO VLAN” on page 652 VLAN Deletes VLANs from the switch. Configuration “NO VLAN MACADDRESS (Global Global Removes MAC addresses from Configuration Mode)”...
  • Page 652: No Vlan

    Chapter 46: MAC Address-based VLAN Commands NO VLAN Syntax no vlan Parameters Specifies the VID of the VLAN you want to delete. You can specify just one VID. Mode VLAN Configuration mode Description Use this command to delete MAC address-based VLANs from the switch. You can delete only one VLAN at a time with this command.
  • Page 653: No Vlan Macaddress (Global Configuration Mode)

    AT-9000 Switch Command Line User’s Guide NO VLAN MACADDRESS (Global Configuration Mode) Syntax mac-address no vlan macaddress|destaddress Parameters Specifies the VID of the VLAN to be modified. mac-address Specifies the MAC address to be removed from the VLAN. The MAC address must be entered in this format: xx:xx:xx:xx:xx:xx Note...
  • Page 654: No Vlan Macaddress (Port Interface Mode)

    Chapter 46: MAC Address-based VLAN Commands NO VLAN MACADDRESS (Port Interface Mode) Syntax mac-address no vlan macaddress|destaddress Parameters Specifies the VID of the VLAN to be modified. mac-address Specifies the MAC address to be removed from the VLAN. The MAC address must be entered in this format: xx:xx:xx:xx:xx:xx Note...
  • Page 655: Show Vlan Macaddress

    AT-9000 Switch Command Line User’s Guide SHOW VLAN MACADDRESS Syntax show vlan macaddress Parameters None. Mode Privileged Exec mode Description Use this command to display the MAC addresses and the egress ports of the MAC address-based VLANs on the switch. An example is shown in Figure 113.
  • Page 656: Table 64. Show Vlan Macaddress Command

    Chapter 46: MAC Address-based VLAN Commands The information is described here. Table 64. SHOW VLAN MACADDRESS Command Parameter Description VLAN VID MAC The VID of the MAC address-based Associations VLAN. Total Number of Associate Total number of MAC addresses that are MAC Addresses assigned to the VLAN.
  • Page 657: Vlan Macaddress

    AT-9000 Switch Command Line User’s Guide VLAN MACADDRESS Syntax name vlan name type macaddress Parameters Specifies a VLAN identifier in the range of 2 to 4094. VID 1 is reserved for the Default_VLAN. You can specify only one VID. The VID of a VLAN should be unique from all other VLANs in a network, unless a VLAN spans multiple switches, in which case its VID should be the same on all switches on which the VLAN resides.
  • Page 658 Chapter 46: MAC Address-based VLAN Commands Example This example creates a MAC address-based VLAN that has the name Sales and the VID 3: awplus> enable awplus# configure terminal awplus(config)# vlan database awplus(config-vlan)# vlan 3 name Sales type macaddress Section VII: Virtual LANs...
  • Page 659: Vlan Set Macaddress (Global Configuration Mode)

    AT-9000 Switch Command Line User’s Guide VLAN SET MACADDRESS (Global Configuration Mode) Syntax mac-address vlan set macaddress|destaddress Parameters Specifies the VID of the VLAN to be modified. mac-address Specifies the MAC address to be added to the VLAN. The MAC address must be entered in this format: xx:xx:xx:xx:xx:xx Note The MACADDRESS and DESTADDRESS keywords are equivalent.
  • Page 660 Chapter 46: MAC Address-based VLAN Commands This example adds the MAC address 00:30:84:32:76:1A to a MAC address-based VLAN with the VID 12: awplus> enable awplus# configure terminal awplus(config)# vlan set 12 macaddress 00:30:84:32:76:1a Section VII: Virtual LANs...
  • Page 661: Vlan Set Macaddress (Port Interface Mode)

    AT-9000 Switch Command Line User’s Guide VLAN SET MACADDRESS (Port Interface Mode) Syntax mac-address vlan set macaddress|destaddress Parameters Specifies the VID of the VLAN to be modified. mac-address Specifies the MAC address to assign to an egress port. The MAC address must be entered in this format: xx:xx:xx:xx:xx:xx Note The MACADDRESS and DESTADDRESS keywords are equivalent.
  • Page 662 Chapter 46: MAC Address-based VLAN Commands awplus(config)# interface port1.0.1,port1.0.4 awplus(config-if)# vlan set 24 macaddress 00:30:84:75:11:b2 Section VII: Virtual LANs...
  • Page 663: Chapter 47: Private Port Vlans

    Chapter 47 Private Port VLANs This chapter provides the following topics: “Overview” on page 664  “Guidelines” on page 665  “Creating Private VLANs” on page 666  “Adding Host and Uplink Ports” on page 667  “Deleting VLANs” on page 668 ...
  • Page 664: Overview

    Chapter 47: Private Port VLANs Overview Private VLANs create special broadcast domains in which the traffic of the member ports is restricted to just uplink ports. Ports in a private port VLAN are only allowed to forward traffic to and receive traffic from a designated uplink port, and are prohibited from forwarding traffic to each other.
  • Page 665: Guidelines

    AT-9000 Switch Command Line User’s Guide Guidelines Here are the guidelines to private port VLANs: A private port VLAN can have any number of host ports, up to all the  ports on the switch, minus the uplink port. A private port VLAN can have only one uplink port. ...
  • Page 666: Creating Private Vlans

    Chapter 47: Private Port VLANs Creating Private VLANs The command to initially create private port VLANs is the PRIVATE-VLAN command in the VLAN Configuration mode. Here’s the command’s format: private-vlan The VID number has the range of 2 to 4094. The VID of a private port VLAN must be unique from all other VLANs on the switch.
  • Page 667: Adding Host And Uplink Ports

    AT-9000 Switch Command Line User’s Guide Adding Host and Uplink Ports Private VLANs have host ports and uplink ports. A private port VLAN can have any number of host ports, but only one uplink port. The devices connected to the hosts ports of a private port VLAN can only communicate with the uplink port, and not with each other.
  • Page 668: Deleting Vlans

    Chapter 47: Private Port VLANs Deleting VLANs To delete private port VLANs from the switch, use the NO VLAN command in the VLAN Configuration mode. The host and uplink ports of deleted private port VLANs are automatically returned by the switch to the Default_VLAN.
  • Page 669: Displaying Private Vlans

    AT-9000 Switch Command Line User’s Guide Displaying Private VLANs The SHOW VLAN PRIVATE-VLAN command in the Privileged Exec mode displays the private port VLANs currently existing on the switch, along with their host and uplink ports. Here is the command: awplus# show vlan private-vlan Here is an example of the display.
  • Page 670 Chapter 47: Private Port VLANs Section VII: Virtual LANs...
  • Page 671: Chapter 48: Private Port Vlan Commands

    Chapter 48 Private Port VLAN Commands The private port VLAN commands are summarized in Table 65. Table 65. Private Port VLAN Commands Command Mode Description “NO VLAN” on page 672 VLAN Deletes VLANs from the switch. Configuration “PRIVATE-VLAN” on page 673 VLAN Creates private port VLANs.
  • Page 672: No Vlan

    Chapter 48: Private Port VLAN Commands NO VLAN Syntax no vlan Parameters Specifies the VID of the VLAN you want to delete. You can specify just one VID. Mode VLAN Configuration mode Description Use this command to delete private port VLANs from the switch. You can delete one VLAN at a time with this command.
  • Page 673: Private-Vlan

    AT-9000 Switch Command Line User’s Guide PRIVATE-VLAN Syntax private-vlan Parameters Specifies a VLAN identifier. The range is 2 to 4094. The VID 1 is reserved for the Default_VLAN. The VID must be unique from all VIDs of VLANs that currently exist on the switch. You can specify only one VID.
  • Page 674: Show Vlan Private-Vlan

    Chapter 48: Private Port VLAN Commands SHOW VLAN PRIVATE-VLAN Syntax show vlan private-vlan Parameters None. Mode Privileged Exec mode Description Use this command to display the private port VLANs on the switch. Here is an example of the information. Private VLANs: Ports ------------------------------------------------- 17-24...
  • Page 675: Switchport Mode Private-Vlan Host

    AT-9000 Switch Command Line User’s Guide SWITCHPORT MODE PRIVATE-VLAN HOST Syntax switchport mode private-vlan host Parameters Specifies the VID of a private port VLAN to which ports are to be added as hosts. Specify a value between 1 and 4094. Mode Port Interface mode Description...
  • Page 676: Switchport Mode Private-Vlan Promiscuous

    Chapter 48: Private Port VLAN Commands SWITCHPORT MODE PRIVATE-VLAN PROMISCUOUS Syntax switchport mode private-vlan promiscuous Parameters Specifies the VID of a private port VLAN to which you are adding an uplink port. Mode Port Interface mode Description Use this command to add an uplink port to a private port VLAN. A private port VLAN can have only one uplink port.
  • Page 677: Chapter 49: Voice Vlan Commands

    Chapter 49 Voice VLAN Commands The voice VLAN commands are summarized in Table 66. Table 66. Voice VLAN Commands Command Mode Description “NO SWITCHPORT VOICE VLAN” on Port Interface Removes ports from voice VLANs. page 678 “SWITCHPORT VOICE DSCP” on Port Interface Assigns an DSCP value to a port in a page 679...
  • Page 678: No Switchport Voice Vlan

    Chapter 49: Voice VLAN Commands NO SWITCHPORT VOICE VLAN Syntax no switchport voice vlan Parameters None. Mode Port Interface mode Description Use this command to remove a port from a voice VLAN. A port retains the CoS priority and DSCP values that were assigned to it as a voice VLAN member.
  • Page 679: Switchport Voice Dscp

    AT-9000 Switch Command Line User’s Guide SWITCHPORT VOICE DSCP Syntax value switchport voice dscp Parameters priority Specifies a DSCP value of 0 to 63. You can specify only one DSCP value. Mode Port Interface mode Description Use this command to assign a DSCP value to a port in a voice VLAN. A port transmits this value in its LLDP-MED network policy TLV to an IP phone, which, in turn, sends its packets using this DSCP value.
  • Page 680: Switchport Voice Vlan

    Chapter 49: Voice VLAN Commands SWITCHPORT VOICE VLAN Syntax switchport voice vlan Parameters Specifies the ID number (VID) of the VLAN that is to function as the voice VLAN for ports. You can specify just one VID. Mode Port Interface mode Description Use this command to add a port to a voice VLAN.
  • Page 681 AT-9000 Switch Command Line User’s Guide Example This example adds ports 5 to 16 to a voice VLAN that has the VID 12: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.5-port1.0.16 awplus(config-if)# switchport voice vlan 12 Section VII: Virtual LANs...
  • Page 682: Switchport Voice Vlan Priority

    Chapter 49: Voice VLAN Commands SWITCHPORT VOICE VLAN PRIORITY Syntax value switchport voice vlan priority Parameters priority Specifies a Class of Service (CoS) value of 0 to 7. You can specify only one CoS value. Mode Port Interface mode Description Use this command to assign an CoS priority value to a port that is a member of a voice VLAN.
  • Page 683: Chapter 50: Vlan Stacking

    Chapter 50 VLAN Stacking This chapter provides the following topics: “Overview” on page 684  “Components” on page 686  “VLAN Stacking Process” on page 687  “Example of VLAN Stacking” on page 688 ...
  • Page 684: Overview

    Chapter 50: VLAN Stacking Overview VLAN stacking is a way to label tagged and untagged packets with new 802.1Q headers. In the case of tagged packets, which already contain 802.1Q headers, VLAN stacking adds the new headers so that they coexist with the native headers in the packets.
  • Page 685 AT-9000 Switch Command Line User’s Guide when they exit the network. The inner VID is native to the packets, but is ignored by the metro provider network. Dest. Src. EtherType/ EtherType/ EtherType/ Preamble Payload Lenght Lenght Lenght Address Address Metro Provider Customer 802.1q Header 802.1q Header...
  • Page 686: Components

    Chapter 50: VLAN Stacking Components There are four components to VLAN stacking: VLAN  Customer ports  Provider port  EtherType/Length value  VLAN The boundary between the customer’s network and the metro provider’s network is marked by a VLAN. In cases where the switch is connected to more than one customer, there has to be a different VLAN for each customer.
  • Page 687: Vlan Stacking Process

    AT-9000 Switch Command Line User’s Guide VLAN Stacking Process Figure 118 illustrates the VLAN stacking process. Switch A Switch B Customer Metro Ethernet Customer Network Provider Network Step 1 Step 2 Step 3 Step 5 Step 6 Step 7 Step 4 Figure 118.
  • Page 688: Example Of Vlan Stacking

    Chapter 50: VLAN Stacking Example of VLAN Stacking Here is an example of how to configure VLAN stacking. In the example, the customer’s network is connected to ports 5 and 6 on the switch, and the provider’s network is connected to port 7. Thus, ports 5 and 6 will be designated as customer ports and port 7 as the provider port.
  • Page 689 AT-9000 Switch Command Line User’s Guide The next steps add the customer ports to the VLAN. Enter the Global Configuration awplus# configure terminal mode. Enter the Port Interface mode for awplus(config)# interface port1.0.5-port1.0.6 ports 5 and 6. Use the SWITCHPORT MODE awplus(config-if)# switchport mode access ACCESS command to designate the ports as untagged ports.
  • Page 690 Chapter 50: VLAN Stacking Add the port to the VLAN with the awplus(config-if)# switchport trunk allowed vlan SWITCHPORT TRUNK add 79 ALLOWED VLAN command. Use the SWITCHPORT VLAN- awplus(config-if)# switchport vlan-stacking STACKING command to provider-port designate it as a provider port. Return to the Privileged Exec awplus(config-if)# end mode.
  • Page 691 AT-9000 Switch Command Line User’s Guide Change the EtherType/Length awplus(config)# platform vlan-stacking-tpid 8100 value to 0x8100 with the PLATFORM VLAN-STACKING- TPID command. Return to the Privileged Exec awplus# exit mode. Use the SHOW VLAN VLAN- awplus# show vlan vlan-stacking STACKING command to confirm the change to the EtherType/ Length (TPID) value.
  • Page 692 Chapter 50: VLAN Stacking Section VII: Virtual LANs...
  • Page 693: Chapter 51: Vlan Stacking Commands

    Chapter 51 VLAN Stacking Commands The VLAN stacking commands are summarized in Table 68. Table 68. VLAN Stacking Commands Command Mode Description “NO SWITCHPORT VLAN- Port Interface Removes ports from VLAN stacking. STACKING” on page 694 “PLATFORM VLAN-STACKING-TPID” Global Specifies the Tag Protocol Identifier on page 695 Configuration (TPID) value.
  • Page 694: No Switchport Vlan-Stacking

    Chapter 51: VLAN Stacking Commands NO SWITCHPORT VLAN-STACKING Syntax no switchport vlan-stacking Parameters None. Mode Port Interface mode Description Use this command to remove ports from VLAN stacking. Confirmation Command “SHOW VLAN VLAN-STACKING” on page 696 Example This example removes ports 3 to 16 and 21 from VLAN stacking: awplus>...
  • Page 695: Platform Vlan-Stacking-Tpid

    AT-9000 Switch Command Line User’s Guide PLATFORM VLAN-STACKING-TPID Syntax tpid platform vlan-stacking-tpid Parameters tpid Specifies the Tag Protocol Identifier (TPID) value that applies to all frames carrying double tagged VLANs. The range is 0x0 to 0xFFFF. The switch can have just one TPID value.
  • Page 696: Show Vlan Vlan-Stacking

    Chapter 51: VLAN Stacking Commands SHOW VLAN VLAN-STACKING Syntax show vlan vlan-stacking Parameters None. Mode Port Interface mode Description Use this command to display the port assignments of VLAN stacking. Here is an example of the information. TPID INTERFACES (c)-Customer-Edge Port, (p)-Provider Port ==== ========= 0x9000...
  • Page 697: Switchport Vlan-Stacking

    AT-9000 Switch Command Line User’s Guide SWITCHPORT VLAN-STACKING Syntax switchport vlan-stacking customer-edge-port|provider-port Parameters None. Mode Port Interface mode Description Use this command to enable VLAN stacking on a port and designate it as a customer-edge-port or provider-port. This is sometimes referred to as VLAN double-tagging, nested VLANs, or QinQ.
  • Page 698 Chapter 51: VLAN Stacking Commands Section VII: Virtual LANs...
  • Page 699: Section Viii: Port Security

    Section VIII Port Security This section contains the following chapters: Chapter 52, “MAC Address-based Port Security” on page 701  Chapter 53, “MAC Address-based Port Security Commands” on page  Chapter 54, “802.1x Port-based Network Access Control” on page 721. ...
  • Page 700 Section VIII: Port Security...
  • Page 701: Chapter 52: Mac Address-Based Port Security

    Chapter 52 MAC Address-based Port Security This chapter contains the following topics: “Overview” on page 702  “Configuring Ports” on page 704  “Enabling MAC Address-based Security on Ports” on page 706  “Disabling MAC Address-based Security on Ports” on page 707 ...
  • Page 702: Overview

    Chapter 52: MAC Address-based Port Security Overview This feature lets you control access to the ports on the switch based on the source MAC addresses of the network devices. You specify the maximum number of source MAC addresses that ports can learn. Ports that learn their maximum number of addresses discard packets that have new, unknown addresses, preventing access to the switch by any further devices.
  • Page 703: Guidelines

    AT-9000 Switch Command Line User’s Guide Guidelines Here are the guidelines to MAC address-based port security: The filtering of a packet occurs on the ingress port, not on the egress  port. You cannot use MAC address-based port security and 802.1x port- ...
  • Page 704: Configuring Ports

    Chapter 52: MAC Address-based Port Security Configuring Ports There are three things you need to know before you begin to configure MAC address-based port security on the ports. They are: What is the maximum number of source MAC addresses the ports can ...
  • Page 705 AT-9000 Switch Command Line User’s Guide This example configures port 16 to learn 45 MAC addresses. The addresses are stored as dynamic addresses in the table so that inactive addresses are deleted, permitting the port to learn new addresses. The intrusion action is set to restrict so that the switch sends SNMP traps if the port, after learning 45 source MAC addresses, discards packets with unknown source MAC addresses:...
  • Page 706: Enabling Mac Address-Based Security On Ports

    Chapter 52: MAC Address-based Port Security Enabling MAC Address-based Security on Ports After you’ve configured a port for MAC address-based security, as explained in “Configuring Ports” on page 704, and confirmed the settings, as explained in “Displaying Port Settings” on page 708, you are ready to activate the feature on the ports.
  • Page 707: Disabling Mac Address-Based Security On Ports

    AT-9000 Switch Command Line User’s Guide Disabling MAC Address-based Security on Ports To remove MAC address-based security from ports, use the NO SWITCHPORT PORT-SECURITY command in the Port Interface mode. This example of the command removes port security from port 23: awplus>...
  • Page 708: Displaying Port Settings

    Chapter 52: MAC Address-based Port Security Displaying Port Settings There are two commands that display information about the MAC address-based port security on the ports on the switch. The one that you are likely to use the most often is the SHOW PORT-SECURITY INTERFACE command in the Privileged Exec mode.
  • Page 709: Chapter 53: Mac Address-Based Port Security Commands

    Chapter 53 MAC Address-based Port Security Commands The MAC address-based port security commands are summarized in Table 70. Table 70. MAC Address-based Port Security Commands Command Mode Description “NO SWITCHPORT PORT- Port Interface Removes MAC address-based SECURITY” on page 710 security from ports.
  • Page 710: No Switchport Port-Security

    Chapter 53: MAC Address-based Port Security Commands NO SWITCHPORT PORT-SECURITY Syntax no switchport port-security Parameters None. Mode Port Interface mode Description Use this command to remove MAC address-based security from the ports. Note To activate ports that were disabled by the shutdown intrusion action, refer to “NO SHUTDOWN”...
  • Page 711: No Switchport Port-Security Aging

    AT-9000 Switch Command Line User’s Guide NO SWITCHPORT PORT-SECURITY AGING Syntax no switchport port-security maximum aging Parameters None. Mode Port Interface mode Description Use this command to configure ports to add source MAC addresses as static addresses in the MAC address table. Because static addresses are never deleted from the table, ports that learn their maximum numbers of source MAC addresses cannot learn new addresses, even when the source nodes of the learned addresses are inactive.
  • Page 712: Show Port-Security Interface

    Chapter 53: MAC Address-based Port Security Commands SHOW PORT-SECURITY INTERFACE Syntax port show port-security interface Parameters port Specifies the port whose security mode settings you want to view. You can display more than one port at a time. Mode Privileged Exec mode Description Use this command to display the security settings of the ports on the switch.
  • Page 713 AT-9000 Switch Command Line User’s Guide Table 71. SHOW PORT-SECURITY INTERFACE Command (Continued) Field Description Port Status The status of the port. The status can be Enabled or Disabled. A port that has a status of Enabled can forward network traffic.
  • Page 714 Chapter 53: MAC Address-based Port Security Commands Table 71. SHOW PORT-SECURITY INTERFACE Command (Continued) Field Description Maximum MAC Addresses The maximum number of dynamic MAC addresses the port is allowed to learn. To set this parameter, refer to “SWITCHPORT PORT-SECURITY MAXIMUM”...
  • Page 715: Show Port-Security Intrusion Interface

    AT-9000 Switch Command Line User’s Guide SHOW PORT-SECURITY INTRUSION INTERFACE Syntax port show port-security intrusion interface Parameter port Specifies a port. You can specify more than one port at a time. Modes Privileged Exec mode Description Use this command to display the number of packets the ports have had to discard because the packets had unknown source MAC addresses.
  • Page 716: Switchport Port-Security

    Chapter 53: MAC Address-based Port Security Commands SWITCHPORT PORT-SECURITY Syntax switchport port-security Parameters None. Mode Port Interface mode Description Use this command to activate MAC address-based security on ports. Confirmation Command “SHOW PORT-SECURITY INTERFACE” on page 712 Example This example activates MAC address-based security on port 3 and ports 16 to 18: awplus>...
  • Page 717: Switchport Port-Security Aging

    AT-9000 Switch Command Line User’s Guide SWITCHPORT PORT-SECURITY AGING Syntax switchport port-security maximum aging Parameters None. Mode Port Interface mode Description Use this command to configure the ports to add the source MAC addresses as dynamic MAC address in the MAC address table. Ports that learn their maximum numbers of addresses can learn new addresses as inactive addresses are deleted from the table.
  • Page 718: Switchport Port-Security Maximum

    Chapter 53: MAC Address-based Port Security Commands SWITCHPORT PORT-SECURITY MAXIMUM Syntax value switchport port-security maximum Parameters value Specifies the maximum number of dynamic MAC addresses ports can learn. The range is 0 to 255 addresses. The default is 100 addresses. Mode Port Interface mode Description...
  • Page 719: Switchport Port-Security Violation

    AT-9000 Switch Command Line User’s Guide SWITCHPORT PORT-SECURITY VIOLATION Syntax switchport port-security violation protect|restrict| shutdown Parameters protect Discards invalid frames. This is the default setting. restrict Discards invalid frames and sends SNMP traps. shutdown Sends SNMP traps and disables the ports. Mode Port Interface mode Description...
  • Page 720 Chapter 53: MAC Address-based Port Security Commands awplus> enable awplus# configure terminal awplus(config)# interface port1.0.22-port1.0.24 awplus(config-if)# switchport port-security violation restrict This example sets the intrusion action on port 2 to shutdown. The switch disables the port and sends an SNMP trap if the port learns its maximum number of MAC addresses and then receives an ingress packet with another unknown source MAC address: awplus>...
  • Page 721: Chapter 54: 802.1X Port-Based Network Access Control

    Chapter 54 802.1x Port-based Network Access Control This chapter contains the following topics: “Overview” on page 722  “Authentication Process” on page 723  “Port Roles” on page 724  “Authentication Methods for Authenticator Ports” on page 725  “Operational Settings for Authenticator Ports” on page 726 ...
  • Page 722: Overview

    Chapter 54: 802.1x Port-based Network Access Control Overview This chapter explains 802.1x port-based network access control. This port security feature lets you control who can send traffic through and receive traffic from the individual switch ports. The switch does not allow an end node to send or receive traffic through a port until the user of the node has been authenticated by a RADIUS server.
  • Page 723: Authentication Process

    AT-9000 Switch Command Line User’s Guide Authentication Process Below is a brief overview of the authentication process that occurs between a supplicant, authenticator, and authentication server. For further details, refer to the IEEE 802.1x standard. Either the authenticator (that is, a switch port) or the supplicant initiates ...
  • Page 724: Port Roles

    Chapter 54: 802.1x Port-based Network Access Control Port Roles Part of the task to implementing this feature is specifying the roles of the ports on the switch. The roles are listed here: None  Authenticator   None Role Switch ports in the none role do not participate in port-based access control.
  • Page 725: Authentication Methods For Authenticator Ports

    AT-9000 Switch Command Line User’s Guide Authentication Methods for Authenticator Ports Authenticator ports support two authentication methods: 802.1x username and password combination  This authentication mode requires that the supplicants be assigned unique username and password combinations on the RADIUS server. A supplicant must provide the information either manually or automatically when initially passing traffic through an authenticator port and during reauthentications.
  • Page 726: Operational Settings For Authenticator Ports

    Chapter 54: 802.1x Port-based Network Access Control Operational Settings for Authenticator Ports An authenticator port can have one of three possible operational settings: Auto - Activates port-based authentication. The port begins in the  unauthorized state, forwarding only EAPOL frames and discarding all other traffic.
  • Page 727: Operating Modes For Authenticator Ports

    AT-9000 Switch Command Line User’s Guide Operating Modes for Authenticator Ports Authenticator ports have three modes: Single host mode  Multiple host mode  Multiple supplicant mode  Single Host Mode An authenticator port set to the single host mode permits only one supplicant to log on and forwards only the traffic of that supplicant.
  • Page 728 Chapter 54: 802.1x Port-based Network Access Control Note, however, that should the client who performed the initial log on fail to periodically reauthenticate or log out, the authenticator port reverts to the unauthenticated state. It bars all further traffic to and from all the clients until the initial client or another client logs on.
  • Page 729: Multiple Supplicant Mode

    AT-9000 Switch Command Line User’s Guide unauthenticated state, blocking all traffic to and from all clients. Another client must be authenticated in order for all remaining clients to continue to forward traffic through the port. Multiple This mode authenticates all the clients on an authenticator port. This mode is appropriate in situations where an authenticator port is supporting more Supplicant Mode than one client and you want all clients to be authenticated.
  • Page 730 Chapter 54: 802.1x Port-based Network Access Control AT-9000/28 Gigabit Ethernet Switch with 4 Combo SFP Ports MODE CONSOLE SELECT RS-232 1451 RADIUS Port 6 Authentication Role: Authenticator Server Operating Mode: Multiple Supplicant Mode Ethernet Hub or Non-802.1x-compliant Switch Authenticated Clients Figure 126.
  • Page 731: Supplicant And Vlan Associations

    AT-9000 Switch Command Line User’s Guide Supplicant and VLAN Associations One of the challenges to managing a network is accommodating end users who roam. These are individuals whose work requires that they access the network resources from different points at different times. The difficulty arises in providing them with access to the same network resources and, conversely, restricting them from unauthorized areas, regardless of the workstation from where they access the network.
  • Page 732: Single Host Mode

    Chapter 54: 802.1x Port-based Network Access Control Single Host Mode Here are the operating characteristics for the switch when an authenticator port is set to the single host mode: If the switch receives a valid VLAN ID or VLAN name from the ...
  • Page 733 AT-9000 Switch Command Line User’s Guide Tunnel-Medium-Type  The transport medium to be used for the tunnel specified by Tunnel- Private-Group-Id. The only supported value is 802 (6). Tunnel-Private-Group-ID  The ID of the tunnel the authenticated user should use. This must be the name of VID of the VLAN of the switch.
  • Page 734: Guest Vlan

    Chapter 54: 802.1x Port-based Network Access Control Guest VLAN An authenticator port in the unauthorized state typically accepts and transmits only 802.1x packets while waiting to authenticate a supplicant. However, you can configure an authenticator port to be a member of a Guest VLAN when no supplicant is logged on.
  • Page 735: Radius Accounting

    AT-9000 Switch Command Line User’s Guide RADIUS Accounting The switch supports RADIUS accounting on authenticator ports. This feature sends information about the status of the supplicants to the RADIUS server so that you can monitor network activity and use. The switch sends accounting information to the RADIUS server when the following events occur: Supplicants log on ...
  • Page 736: General Steps

    1. You must install a RADIUS server on one or more of your network servers or management stations. Authentication protocol server software is not available from Allied Telesis. Funk Software Steel- Belted Radius and Free Radius have been verified as fully compatible with the switch’s management software.
  • Page 737: Guidelines

    AT-9000 Switch Command Line User’s Guide Guidelines Here are the general guidelines to this feature: Ports operating under port-based access control do not support  dynamic MAC address learning. A port that is connected to a RADIUS authentication server must not ...
  • Page 738 Chapter 54: 802.1x Port-based Network Access Control Authenticator ports cannot use MAC address-based port security. For  further information, refer to Chapter 52, “MAC Address-based Port Security” on page 701. Authenticator ports cannot be members of static port trunks, LACP ...
  • Page 739: Enabling 802.1X Port-Based Network Access Control On The Switch

    AT-9000 Switch Command Line User’s Guide Enabling 802.1x Port-Based Network Access Control on the Switch To activate 802.1x Port-based Network Access Control on the switch, go to the Global Configuration mode and enter the AAA AUTHENTICATION DOT1X DEFAUT GROUP RADIUS command. The command has no parameters.
  • Page 740: Configuring Authenticator Ports

    Chapter 54: 802.1x Port-based Network Access Control Configuring Authenticator Ports Designating You have to designate ports as authenticator ports before you can configure their settings. There are three DOT1X PORT-CONTROL Authenticator commands for designating authenticator ports. The command you use is Ports determined by whether or not the switch is part of an active network.
  • Page 741: Configuring The Operating Modes

    AT-9000 Switch Command Line User’s Guide awplus> enable awplus# configure terminal awplus(config)# interface port1.0.16 awplus(config-if)# dot1x port-control auto awplus(config-if)# auth-mac enable If, after configuring an authenticator port for MAC address authentication, you decide to change it back to 802.1x username and password authentication, use the NO AUTH-MAC ENABLE command.
  • Page 742 Chapter 54: 802.1x Port-based Network Access Control awplus(config-if)# dot1x port-control auto awplus(config-if)# auth host-mode multi-host This example configures ports 16 to 19 to use the MAC address authentication method and the multiple supplicant mode so that the nodes are authenticated individually: awplus>...
  • Page 743: Configuring Reauthentication

    AT-9000 Switch Command Line User’s Guide Configuring Reauthentication Table 72 lists the commands in the Port Interface mode for configuring reauthentication on authenticator ports. Reauthentication causes authenticator ports to periodically revert to an unauthorized status and to stop forwarding traffic until clients reauthenticate themselves. This is an additional security feature that protects your network by having clients periodically repeat the authentication process.
  • Page 744: Removing Ports From The Authenticator Role

    Chapter 54: 802.1x Port-based Network Access Control Removing Ports from the Authenticator Role To remove ports from the authenticator role so that they forward traffic without authenticating clients, go to the Port Interface mode of the ports and enter the NO DOT1X PORT-CONTROL command. This example removes the authenticator role from ports 1 to 4 and 18: awplus>...
  • Page 745: Disabling 802.1X Port-Based Network Access Control On The Switch

    AT-9000 Switch Command Line User’s Guide Disabling 802.1x Port-Based Network Access Control on the Switch To disable 802.1x port-based network access control on the switch so that the ports forward packets without authentication, go to the Global Configuration mode and enter the NO AAA AUTHENTICATION DOT1X DEFAULT GROUP RADIUS command.
  • Page 746: Displaying Authenticator Ports

    Chapter 54: 802.1x Port-based Network Access Control Displaying Authenticator Ports To view the settings of authenticator ports on the switch, use the SHOW DOT1X INTERFACE or SHOW AUTH-MAC INTERFACE command in the Privileged Exec mode. Both commands display the same information. This example displays the authenticator settings for port 2: awplus# show dot1x interface port1.0.2 Here is an example of what you will see.
  • Page 747: Displaying Eap Packet Statistics

    AT-9000 Switch Command Line User’s Guide Displaying EAP Packet Statistics To display EAP packet statistics of authenticator ports, use the SHOW DOT1X STATISTICS INTERFACE command or the SHOW AUTH-MAC STATISTICS INTERFACE command. Both command display the same information. Here is an example of the information. Authentication Statistics for interface port1.0.2 EAPOL Frames Rx: 0 - EAPOL Frames Tx: 0 EAPOL Start Frames Rx: 0 - EAPOL Logoff Frames Rx: 0...
  • Page 748 Chapter 54: 802.1x Port-based Network Access Control Section VIII: Port Security...
  • Page 749: Chapter 55: 802.1X Port-Based Network Access Control Commands

    Chapter 55 802.1x Port-based Network Access Control Commands The 802.1x port-based network access control commands are summarized in Table 73. Table 73. 802.1x Port-based Network Access Control Commands Command Mode Description “AAA AUTHENTICATION DOT1X Global Activates 802.1x port-based network DEFAULT GROUP RADIUS” on Configuration access control on the switch.
  • Page 750 Chapter 55: 802.1x Port-based Network Access Control Commands Table 73. 802.1x Port-based Network Access Control Commands (Continued) Command Mode Description “AUTH-MAC REAUTH- Port Interface Forces ports that are using MAC RELEARNING” on page 764 address authentication into the unauthorized state. “DOT1X CONTROL-DIRECTION”...
  • Page 751 AT-9000 Switch Command Line User’s Guide Table 73. 802.1x Port-based Network Access Control Commands (Continued) Command Mode Description “NO AUTH-MAC ENABLE” on Port Interface Deactivates MAC address-based page 779 authentication on authenticator ports. “NO DOT1X PORT-CONTROL” on Port Interface Removes ports from the authenticator page 780 role.
  • Page 752: Aaa Authentication Dot1X Default Group Radius

    Chapter 55: 802.1x Port-based Network Access Control Commands AAA AUTHENTICATION DOT1X DEFAULT GROUP RADIUS Syntax aaa authentication dot1x default group radius Parameters None. Mode Global Configuration mode Description Use this command to activate 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.
  • Page 753: Auth Dynamic-Vlan-Creation

    AT-9000 Switch Command Line User’s Guide AUTH DYNAMIC-VLAN-CREATION Syntax auth dynamic-vlan-creation single| multi Parameters single Specifies that an authenticator port forwards packets of only those supplicants that have the same VID as the supplicant who initially logged on. multi Specifies that an authenticator port forwards packets of all supplicants, regardless of the VIDs in their client accounts on the RADIUS server.
  • Page 754 Chapter 55: 802.1x Port-based Network Access Control Commands their VLAN assignments: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.4 awplus(config-if)# auth dynamic-vlan-creation multiple Section VIII: Port Security...
  • Page 755: Auth Guest-Vlan

    AT-9000 Switch Command Line User’s Guide AUTH GUEST-VLAN Syntax auth guest-vlan Parameters Specifies the ID number of a VLAN that is the guest VLAN of an authenticator port. You can enter just one VID. Mode Port Interface mode Description Use this command to specify the VID of the VLAN that acts as the guest VLAN of an authenticator port.
  • Page 756: Auth Host-Mode

    Chapter 55: 802.1x Port-based Network Access Control Commands AUTH HOST-MODE Syntax auth host-mode single-host| multi-host| multi-supplicant Parameters single-host Specifies the single operating mode. An authenticator port set to this mode forwards only those packets from the one client who initially logs on. This is the default setting.
  • Page 757 AT-9000 Switch Command Line User’s Guide This example configures authenticator port 8 to the multiple host operating mode, so that networks users can use the port after just one user logs on: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.8 awplus(config-if)# auth host-mode multi-host This example configures authenticator ports 12 and 13 to the multiple supplicant operating mode, which requires that all networks users on the...
  • Page 758: Auth Reauthentication

    Chapter 55: 802.1x Port-based Network Access Control Commands AUTH REAUTHENTICATION Syntax auth reauthentication Parameters None. Mode Port Interface mode Description Use this command to activate reauthentication on the authenticator ports. The clients must periodically reauthenticate according to the time interval set with “AUTH TIMEOUT REAUTH-PERIOD”...
  • Page 759: Auth Timeout Quiet-Period

    AT-9000 Switch Command Line User’s Guide AUTH TIMEOUT QUIET-PERIOD Syntax value auth timeout quiet-period Parameters quiet-period Sets the number of seconds that an authenticator port remains in the quiet state following a failed authentication exchange with a client. The range is 0 to 65,535 seconds.
  • Page 760: Auth Timeout Reauth-Period

    Chapter 55: 802.1x Port-based Network Access Control Commands AUTH TIMEOUT REAUTH-PERIOD Syntax value auth timeout reauth-period Parameters reauth-period Specifies the time interval that an authenticator port requires a client to reauthenticate. The range is 1 to 65,535 seconds. The default value is 3600 seconds. Mode Port Interface mode Description...
  • Page 761: Auth Timeout Server-Timeout

    AT-9000 Switch Command Line User’s Guide AUTH TIMEOUT SERVER-TIMEOUT Syntax value auth timeout server-timeout Parameters server-timeout Sets the timer used by the switch to determine authentication server timeout conditions. The range is 1 to 600 seconds. The default value is 30 seconds. Mode Port Interface mode Description...
  • Page 762: Auth Timeout Supp-Timeout

    Chapter 55: 802.1x Port-based Network Access Control Commands AUTH TIMEOUT SUPP-TIMEOUT Syntax value auth timeout supp-timeout Parameters supp-timeout Sets the switch-to-client retransmission time for EAP- request frames. The range is 1 to 65,535 seconds. The default value is 30 seconds. Mode Port Interface mode Description...
  • Page 763: Auth-Mac Enable

    AT-9000 Switch Command Line User’s Guide AUTH-MAC ENABLE Syntax auth-mac enable Parameters None. Mode Port Interface mode Description Use this command to activate MAC address-based authentication on authenticator ports. An authenticator port that uses this type of authentication extracts the source MAC address from the initial frames from a supplicant and automatically sends it as the supplicant’s username and password to the authentication server.
  • Page 764: Auth-Mac Reauth-Relearning

    Chapter 55: 802.1x Port-based Network Access Control Commands AUTH-MAC REAUTH-RELEARNING Syntax auth-mac reauth-relearning Parameters None Mode Privileged Exec mode Description Use this command to force ports that are using MAC address authentication into the unauthorized state. You might use this command to reauthenticate the nodes on authenticator ports.
  • Page 765: Dot1X Control-Direction

    AT-9000 Switch Command Line User’s Guide DOT1X CONTROL-DIRECTION Syntax dot1x control-direction in| both Parameters Specifies whether authenticator ports that are in the unauthorized state should forward egress broadcast and multicast traffic: The options are: Specifies that authenticator ports in the unauthorized state should forward egress broadcast and multicast traffic and discard the ingress broadcast and multicast traffic.
  • Page 766 Chapter 55: 802.1x Port-based Network Access Control Commands broadcast and multicast packets while discarding ingress broadcast and multicast traffic. This is the default setting. Authenticator ports set to the BOTH option discard both ingress and egress broadcast traffic until a client has logged on.
  • Page 767: Dot1X Eap

    AT-9000 Switch Command Line User’s Guide DOT1X EAP Syntax dot1x eap discard| forward| forward-untagged-vlan| forward-vlan Parameters discard Discards all ingress EAP packets on all ports. forward Forwards ingress EAP packets across all VLANs and ports. forward-untagged-vlan Forwards ingress EAP packets only to untagged ports in the same VLAN as the ingress port.
  • Page 768 Chapter 55: 802.1x Port-based Network Access Control Commands This example configures the switch to forward EAP packets only to untagged ports in the VLANs of the ingress ports: awplus> enable awplus# configure terminal awplus(config)# dot1x eap forward-untagged-vlan Section VIII: Port Security...
  • Page 769: Dot1X Initialize Interface

    AT-9000 Switch Command Line User’s Guide DOT1X INITIALIZE INTERFACE Syntax port dot1x initialize interface Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to force authenticator ports into the unauthorized state. You might use this command to force supplicants on authenticator ports to reauthenticate themselves again by logging in with their user names and passwords.
  • Page 770: Dot1X Max-Reauth-Req

    Chapter 55: 802.1x Port-based Network Access Control Commands DOT1X MAX-REAUTH-REQ Syntax value dot1x max-reauth-req Parameters max-reauth-req Specifies the maximum number of times the switch retransmits EAP Request packets to an client before it times out an authentication session. The range is 1 to 10 retransmissions.
  • Page 771: Dot1X Port-Control Auto

    AT-9000 Switch Command Line User’s Guide DOT1X PORT-CONTROL AUTO Syntax dot1x port-control auto Parameters None. Mode Port Interface mode Description Use this command to set the ports to the 802.1X port-based authenticator role. Ports begin in the unauthorized state, forwarding only EAPOL frames, until a client has successfully logged on.
  • Page 772: Dot1X Port-Control Force-Authorized

    Chapter 55: 802.1x Port-based Network Access Control Commands DOT1X PORT-CONTROL FORCE-AUTHORIZED Syntax dot1x port-control force-authorized Parameters None. Mode Port Interface mode Description Use this command to configure ports to the 802.1x authenticator role, in the force-authorized state. Ports that are set to the force-authorized state transition to the authorized state without any authentication exchanges required.
  • Page 773: Dot1X Port-Control Force-Unauthorized

    AT-9000 Switch Command Line User’s Guide DOT1X PORT-CONTROL FORCE-UNAUTHORIZED Syntax dot1x port-control force-unauthorized Parameters None. Mode Port Interface mode Description Use this command to configure the ports to the 802.1x authenticator role, in the unauthorized state. Although the ports are in the authenticator role, the switch blocks all authentication on the ports, which means that no clients can log on and forward packets through them.
  • Page 774: Dot1X Timeout Tx-Period

    Chapter 55: 802.1x Port-based Network Access Control Commands DOT1X TIMEOUT TX-PERIOD Syntax value dot1x timeout tx-period Parameters tx-period Sets the number of seconds an authenticator port waits for a response to an EAP-request/identity frame from a client before retransmitting the request. The default value is 30 seconds.
  • Page 775: No Aaa Authentication Dot1X Default Group Radius

    AT-9000 Switch Command Line User’s Guide NO AAA AUTHENTICATION DOT1X DEFAULT GROUP RADIUS Syntax no aaa authentication dot1x default group radius Parameters None. Mode Global Configuration mode Description Use this command to disable 802.1x port-based network access control on the switch. All authenticator ports forward packets without any authentication.
  • Page 776: No Auth Dynamic-Vlan-Creation

    Chapter 55: 802.1x Port-based Network Access Control Commands NO AUTH DYNAMIC-VLAN-CREATION Syntax no auth dynamic-vlan-creation Parameters None. Mode Port Interface mode Description Use this command to disable dynamic VLAN assignments of authentication ports. For background information, refer to “Supplicant and VLAN Associations”...
  • Page 777: No Auth Guest-Vlan

    AT-9000 Switch Command Line User’s Guide NO AUTH GUEST-VLAN Syntax no auth guest-vlan Parameters None. Mode Port Interface mode Description Use this command to remove the VID of a guest VLAN from an authenticator port. Confirmation Command “SHOW AUTH-MAC INTERFACE” on page 781 or “SHOW DOT1X INTERFACE”...
  • Page 778: No Auth Reauthentication

    Chapter 55: 802.1x Port-based Network Access Control Commands NO AUTH REAUTHENTICATION Syntax no auth reauthentication Parameters None. Mode Port Interface mode Description Use this command to remove reauthentication from authenticator ports so that clients do not have to periodically reauthenticate after the initial authentication.
  • Page 779: No Auth-Mac Enable

    AT-9000 Switch Command Line User’s Guide NO AUTH-MAC ENABLE Syntax no auth-mac enable Parameters None. Mode Port Interface mode Description Use this command to deactivate MAC address-based authentication on authenticator ports. The ports continue to function as authenticator ports, but authentication is based on the usernames and passwords provided by the supplicants and not on the MAC addresses of the nodes.
  • Page 780: No Dot1X Port-Control

    Chapter 55: 802.1x Port-based Network Access Control Commands NO DOT1X PORT-CONTROL Syntax no dot1x port-control Parameters None. Mode Port Interface mode Description Use this command to remove ports from the authenticator role so that they forward traffic without authentication. Confirmation Command “SHOW AUTH-MAC INTERFACE”...
  • Page 781: Show Auth-Mac Interface

    AT-9000 Switch Command Line User’s Guide SHOW AUTH-MAC INTERFACE Syntax port show auth-mac interface Parameters port Specifies a port. You can display more than one port at a time. Modes Privileged Exec mode Description Use this command to display the parameter settings of authenticator ports. This command is equivalent to “SHOW DOT1X INTERFACE Command”...
  • Page 782: Show Auth-Mac Sessionstatistics Interface

    Chapter 55: 802.1x Port-based Network Access Control Commands SHOW AUTH-MAC SESSIONSTATISTICS INTERFACE Syntax port show auth-mac sessionstatistics interface Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to display session status information of authenticator ports.
  • Page 783: Show Auth-Mac Statistics Interface

    AT-9000 Switch Command Line User’s Guide SHOW AUTH-MAC STATISTICS INTERFACE Syntax port show auth-mac statistics interface Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to display EAP packet statistics of authenticator ports. This command is equivalent to “SHOW DOT1X STATISTICS INTERFACE Command”...
  • Page 784: Show Auth-Mac Supplicant Interface

    Chapter 55: 802.1x Port-based Network Access Control Commands SHOW AUTH-MAC SUPPLICANT INTERFACE Syntax port show auth-mac supplicant interface Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to display the number and types of supplicants on authenticator ports.
  • Page 785: Show Dot1X

    AT-9000 Switch Command Line User’s Guide SHOW DOT1X Syntax show dot1x Parameters None. Mode Privileged Exec mode Description Use this command to display whether 802.1 port-based network access control is enabled or disabled on the switch and the IP address of the RADIUS server.
  • Page 786: Show Dot1X Interface

    Chapter 55: 802.1x Port-based Network Access Control Commands SHOW DOT1X INTERFACE Syntax port show dot1x interface Parameters port Specifies a port. You can display more than one port at a time. Modes Privileged Exec mode Description Use this command to display the parameter settings of authenticator ports. This command is equivalent to “SHOW AUTH-MAC INTERFACE”...
  • Page 787: Show Dot1X Sessionstatistics Interface

    AT-9000 Switch Command Line User’s Guide SHOW DOT1X SESSIONSTATISTICS INTERFACE Syntax port show dot1x sessionstatistics interface Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to display session status information of authenticator ports.
  • Page 788: Show Dot1X Statistics Interface

    Chapter 55: 802.1x Port-based Network Access Control Commands SHOW DOT1X STATISTICS INTERFACE Syntax port show dot1x statistics interface Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to display EAP packet statistics of authenticator ports. This command is equivalent to “SHOW AUTH-MAC STATISTICS INTERFACE”...
  • Page 789: Show Dot1X Supplicant Interface

    AT-9000 Switch Command Line User’s Guide SHOW DOT1X SUPPLICANT INTERFACE Syntax port show dot1x supplicant interface [brief] Parameters port Specifies a port. You can enter more than one port. Mode Privileged Exec mode Description Use this command to display the number and types of supplicants on authenticator ports.
  • Page 790 Chapter 55: 802.1x Port-based Network Access Control Commands Section VIII: Port Security...
  • Page 791: Section Ix: Simple Network Management Protocols

    Section IX Simple Network Management Protocols This section contains the following chapters: Chapter 56, “SNMPv1 and SNMPv2c” on page 793  Chapter 57, “SNMPv1 and SNMPv2c Commands” on page 805  Chapter 58, “SNMPv3 Commands” on page 829 ...
  • Page 792 Section IX: Simple Network Management Protocols...
  • Page 793: Chapter 56: Snmpv1 And Snmpv2C

    Chapter 56 SNMPv1 and SNMPv2c This chapter contains the following topics: “Overview” on page 794  “Enabling SNMPv1 and SNMPv2c” on page 796  “Creating Community Strings” on page 797  “Adding or Removing IP Addresses of Trap or Inform Receivers” on ...
  • Page 794: Overview

     and private strings.) For instructions, refer to “Creating Community Strings” on page 797. Load the Allied Telesis MIBs for the switch onto your SNMP  management workstation. The MIBs are available from the Allied Telesis web site at www.alliedtelesis.com.
  • Page 795 AT-9000 Switch Command Line User’s Guide inform receivers on your network. For trap messages you must also specify the format in which the switch should send the messages. The format can be either SNMPv1 or SNMPv2c. For inform messages the format is always SNMPv2c.
  • Page 796: Enabling Snmpv1 And Snmpv2C

    Chapter 56: SNMPv1 and SNMPv2c Enabling SNMPv1 and SNMPv2c To enable SNMP on the switch, use the SNMP-SERVER command, found in the Global Configuration mode. The command has no parameters. The switch begins to send trap and inform messages to the receivers and permits remote management from SNMP workstations as soon as you enter the command.
  • Page 797: Creating Community Strings

    AT-9000 Switch Command Line User’s Guide Creating Community Strings To create SNMPv1 and SNMPv2c community strings, use the SNMP- SERVER COMMUNITY command. This command is found in the Global Configuration mode. Here is the format of the command: community snmp-server community rw|ro You can create only one string at a time with the command.
  • Page 798: Adding Or Removing Ip Addresses Of Trap Or Inform Receivers

    Chapter 56: SNMPv1 and SNMPv2c Adding or Removing IP Addresses of Trap or Inform Receivers The command to add IP addresses of trap or inform receivers to community strings is the SNMP-SERVER HOST command. Here is the format: ipaddress snmp-server host traps|informs version 1|2c community The IPADDRESS parameter is the IP address of a receiver.
  • Page 799 AT-9000 Switch Command Line User’s Guide This example assigns the IP address 143.154.76.17 as an inform message receiver to the community string “st_bldg2.” Inform messages must be sent in SNMPv2c format: awplus> enable awplus# configure terminal awplus(config)# snmp-server host 143.154.76.17 informs version 2c st_bldg2 To remove IP addresses of trap or inform receivers from community strings, use the NO form of the command.
  • Page 800: Deleting Community Strings

    Chapter 56: SNMPv1 and SNMPv2c Deleting Community Strings To delete community strings, use the NO SNMP-SERVER COMMUNITY command. Here is the format: no snmp-server community community You can delete only one community string at a time with the command, which is found in the Global Configuration mode. The COMMUNITY parameter is case sensitive.
  • Page 801: Disabling Snmpv1 And Snmpv2C

    AT-9000 Switch Command Line User’s Guide Disabling SNMPv1 and SNMPv2c To disable SNMP on the switch, use the NO SNMP-SERVER command. You cannot remotely manage the switch with an SNMP application when SNMP is disabled. Furthermore, the switch stops transmitting trap and inform messages to your SNMP applications.
  • Page 802: Displaying Snmpv1 And Snmpv2C

    Chapter 56: SNMPv1 and SNMPv2c Displaying SNMPv1 and SNMPv2c To learn whether SNMP is enabled or disabled on the switch, go to the Privileged Exec mode and issue the SHOW SNMP-SERVER command: awplus# show snmp-server Here is an example of what you will see. SNMP Server ..
  • Page 803 AT-9000 Switch Command Line User’s Guide To view the trap and inform receivers assigned to the community strings, use the SHOW RUNNING-CONFIG SNMP command in the Privileged Exec mode: awplus# show running-config snmp Here is an example of the information the command shows you: snmp-server no snmp-server enable trap auth snmp-server community sw12eng1 rw...
  • Page 804 Chapter 56: SNMPv1 and SNMPv2c Section X: Simple Network Management Protocols...
  • Page 805: Chapter 57: Snmpv1 And Snmpv2C Commands

    Chapter 57 SNMPv1 and SNMPv2c Commands The SNMPv1 and SNMPv2c commands are summarized in Table 74. Table 74. SNMPv1 and SNMPv2c Commands Command Mode Description “NO SNMP-SERVER” on page 807 Global Disables SNMPv1 and SNMPv2c on Configuration the switch. “NO SNMP-SERVER COMMUNITY” Global Deletes SNMPv1 and SNMPv2c on page 808...
  • Page 806 Chapter 57: SNMPv1 and SNMPv2c Commands Table 74. SNMPv1 and SNMPv2c Commands (Continued) Command Mode Description “SNMP-SERVER” on page 820 Global Enables SNMPv1 and SNMPv2c on Configuration the switch. “SNMP-SERVER COMMUNITY” on Global Creates new SNMPv1 and SNMPv2c page 821 Configuration community strings.
  • Page 807: No Snmp-Server

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER Syntax no snmp-server Parameters None. Mode Global Configuration mode Description Use this command to disable SNMPv1, SNMPv2c and SNMPv3 on the switch. The switch does not permit remote management from SNMP applications when SNMP is disabled. It also does send SNMP trap or inform messages.
  • Page 808: No Snmp-Server Community

    Chapter 57: SNMPv1 and SNMPv2c Commands NO SNMP-SERVER COMMUNITY Syntax community no snmp-server community Parameter community Specifies an SNMP community string to be deleted from the switch. This parameter is case sensitive. Mode Global Configuration mode Description Use this command to delete SNMPv1 and SNMPv2c community strings from the switch.
  • Page 809: No Snmp-Server Enable Trap

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER ENABLE TRAP Syntax no snmp-server enable trap Parameters None. Mode Global Configuration mode Description Use this command to disable the transmission of all SNMP traps, except for link status and authentication traps, which are disabled separately. Confirmation Command “SHOW RUNNING-CONFIG SNMP”...
  • Page 810: No Snmp-Server Enable Trap Auth

    Chapter 57: SNMPv1 and SNMPv2c Commands NO SNMP-SERVER ENABLE TRAP AUTH Syntax no snmp-server enable trap auth Parameters None. Mode Global Configuration mode Description Use this command to disable the transmission of SNMP traps. Confirmation Command “SHOW RUNNING-CONFIG SNMP” on page 815 Example awplus>...
  • Page 811: No Snmp-Server Host

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER HOST Syntax ipaddress no snmp-server host traps|informs version 1|2c community_string Parameters ipaddress Specifies the IPv4 or IPv6 address of a trap or inform receiver to be removed from a community string. You can specify only one IP address.
  • Page 812 Chapter 57: SNMPv1 and SNMPv2c Commands awplus(config)# no snmp-server host 115.124.187.4 traps version 1 private This example removes the IPv4 address 171.42.182.102 of a trap receiver from the community string “station12a”: awplus> enable awplus# configure terminal awplus(config)# no snmp-server host 115.124.187.4 traps version 2c station12a This example removes the IPv6 address 124c:75:ae3::763:8b4 of an inform receiver from the community string “wadt27:”...
  • Page 813: No Snmp-Server View

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER VIEW Syntax viewname oid no snmp-server view Parameters viewname Specifies the name of the view to be deleted. The name is case sensitive. Specifies the OID of the view. Mode Global Configuration mode Description Use this command to delete SNMP views.
  • Page 814: No Snmp Trap Link-Status

    Chapter 57: SNMPv1 and SNMPv2c Commands NO SNMP TRAP LINK-STATUS Syntax no snmp trap link-status Parameters None. Mode Port Interface mode Description Use this command to disable the transmission of SNMP link status notifications (traps) when ports establish links (linkUp) or lose links (linkDown) to network devices.
  • Page 815: Show Running-Config Snmp

    AT-9000 Switch Command Line User’s Guide SHOW RUNNING-CONFIG SNMP Syntax show running-config snmp Parameters None. Mode Privileged Exec mode Description Use this command to display the SNMPv1 and v2c community strings and the IP addresses of trap and inform receivers. An example is shown in Figure 142.
  • Page 816: Show Snmp-Server

    Chapter 57: SNMPv1 and SNMPv2c Commands SHOW SNMP-SERVER Syntax show snmp-server Parameters None. Mode Privileged Exec mode Description Use this command to display the current status of SNMP on the switch. An example is shown in Figure 142. The first field displays whether SNMP is enabled or disabled on the switch.
  • Page 817: Show Snmp-Server Community

    AT-9000 Switch Command Line User’s Guide SHOW SNMP-SERVER COMMUNITY Syntax show snmp-server community Parameters None. Mode Privileged Exec mode Description Use this command to display the SNMPv1 and SNMPv2c community strings on the switch. Here is an example of the display. SNMP community information: Community Name .....
  • Page 818 Chapter 57: SNMPv1 and SNMPv2c Commands Example awplus# show snmp-server community Section IX: Simple Network Management Protocols...
  • Page 819: Show Snmp-Server View

    AT-9000 Switch Command Line User’s Guide SHOW SNMP-SERVER VIEW Syntax show snmp-server view Parameters None. Mode Privileged Exec mode Description Use this command to display the SNMPv1 and SNMPv2c views on the switch. Here is an example of the display. SNMP View information: View Name .....
  • Page 820: Snmp-Server

    Chapter 57: SNMPv1 and SNMPv2c Commands SNMP-SERVER Syntax snmp-server Parameters None. Mode Global Configuration mode Description Use this command to activate SNMPv1, SNMPv2c and SNMPv3 on the switch. The switch permits remote management from SNMP applications when SNMP is enabled. The switch also sends SNMP messages to trap and inform receivers.
  • Page 821: Snmp-Server Community

    AT-9000 Switch Command Line User’s Guide SNMP-SERVER COMMUNITY Syntax community snmp-server community rw|ro Parameters community Specifies a new community string. The maximum length is 40 alphanumeric characters. The name is case sensitive. Spaces are not allowed. rw|ro Specifies the access level of a new community string, of read-write (RW) or read-only (RO).
  • Page 822: Snmp-Server Enable Trap

    Chapter 57: SNMPv1 and SNMPv2c Commands SNMP-SERVER ENABLE TRAP Syntax snmp-server enable trap Parameters None. Mode Global Configuration mode Description Use this command to activate the transmission of all SNMP traps, except for link status and authentication traps, which are activated separately. Confirmation Command “SHOW RUNNING-CONFIG SNMP”...
  • Page 823: Snmp-Server Enable Trap Auth

    AT-9000 Switch Command Line User’s Guide SNMP-SERVER ENABLE TRAP AUTH Syntax snmp-server enable trap auth Parameters None. Mode Global Configuration mode Description Use this command to activate the transmission of SNMP authentication failure traps. Confirmation Command “SHOW RUNNING-CONFIG” on page 132 Example awplus>...
  • Page 824: Snmp-Server Host

    Chapter 57: SNMPv1 and SNMPv2c Commands SNMP-SERVER HOST Syntax ipaddress snmp-server host traps|informs version 1|2c community Parameters ipaddress Specifies the IPv4 or IPv6 address of a network device to receive trap or inform messages from the switch. traps|informs Specifies the type of messages. 1|2c Specifies the format of the traps sent by the switch.
  • Page 825 AT-9000 Switch Command Line User’s Guide awplus(config)# snmp-server host 149.44.12.44 traps version 2c private This example assigns the IPv4 address 152.34.32.18 as a trap receiver to the community string “tlpaac78”. The traps are sent in the SNMPv1 format awplus> enable awplus# configure terminal awplus(config)# snmp-server host 152.34.32.18 traps version 1 tlpaac78...
  • Page 826: Snmp-Server View

    Chapter 57: SNMPv1 and SNMPv2c Commands SNMP-SERVER VIEW Syntax viewname oid snmp-server view excluded|included Parameters viewname Specifies the name of a new view. The maximum length is 64 alphanumeric characters. The string is case sensitive. Spaces are not allowed. Specifies the OID of the view. The OID must be in decimal format.
  • Page 827 AT-9000 Switch Command Line User’s Guide This example creates the new view “AlliedTelesis” that limits the available MIB objects to those in the OID 1.3.6.1.4.1.207: awplus> enable awplus# configure terminal awplus(config)# snmp-server view AlliedTelesis 1.3.6.1 excluded awplus(config)# snmp-server view AlliedTelesis 1.3.6.1.4.1.207 included Section IX: Simple Network Management Protocols...
  • Page 828: Snmp Trap Link-Status

    Chapter 57: SNMPv1 and SNMPv2c Commands SNMP TRAP LINK-STATUS Syntax snmp trap link-status Parameters None. Mode Port Interface mode Description Use this command to enable SNMP to transmit link status notifications (traps) when ports establish links (linkUp) or lose links (linkDown) to network devices.
  • Page 829: Chapter 58: Snmpv3 Commands

    Chapter 58 SNMPv3 Commands The SNMPv3 commands are summarized in Table 77. Table 77. SNMPv3 Commands Command Mode Description “NO SNMP-SERVER” on page 831 Global Disables SNMPv1, v2c and v3 on the Configuration switch. “NO SNMP-SERVER ENGINEID Global Returns the SNMP engine ID value to LOCAL”...
  • Page 830 Chapter 58: SNMPv3 Commands Table 77. SNMPv3 Commands (Continued) Command Mode Description “SNMP-SERVER GROUP” on Global Creates SNMPv3 groups. page 844 Configuration “SNMP-SERVER HOST” on page 846 Global Creates SNMPv3 host entries. Configuration “SNMP-SERVER USER” on page 847 Global Creates SNMPv3 users. Configuration “SNMP-SERVER VIEW”...
  • Page 831: No Snmp-Server

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER Syntax no snmp-server Parameters None. Mode Global Configuration mode Description Use this command to disable SNMPv1, v2c and v3 on the switch. The switch does not permit remote management from SNMP applications when SNMP is disabled.
  • Page 832: No Snmp-Server Engineid Local

    Chapter 58: SNMPv3 Commands NO SNMP-SERVER ENGINEID LOCAL Syntax no snmp-server engineid local Parameters None. Mode Global Configuration mode Description Use this command to return the SNMP engine ID value to the default value. Confirmation Command “SHOW SNMP-SERVER” on page 837 Example This example returns the SNMP engine ID value to the default value: awplus>...
  • Page 833: No Snmp-Server Group

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER GROUP Syntax name no snmp-server group noauth|auth|priv Parameters name Specifies the name of an group you want to delete from the switch. The name is case sensitive. auth|noauth|priv Specifies the minimum security level of the group to be deleted.
  • Page 834: No Snmp-Server Host

    Chapter 58: SNMPv3 Commands NO SNMP-SERVER HOST Syntax ipaddress no snmp-server host informs|traps v3 auth|noauth|priv username Parameters ipaddress Specifies the IP address of a trap receiver. The address can be IPv4 or IPv6. You can specify just one address. informs|trap Specifies the type of message the switch sends.
  • Page 835: No Snmp-Server User

    AT-9000 Switch Command Line User’s Guide NO SNMP-SERVER USER Syntax user no snmp-server user Parameters user Specifies the name of a user you want to delete from the switch. The name is case sensitive. Mode Global Configuration mode Description Use this command to delete SNMPv3 users. You can delete just one user at a time with this command.
  • Page 836: No Snmp-Server View

    Chapter 58: SNMPv3 Commands NO SNMP-SERVER VIEW Syntax view OID no snmp-server view Parameters view Specifies the name of a view to be deleted from the switch. The name is case sensitive. Specifies the OID of the subtree of the view to be deleted.
  • Page 837: Show Snmp-Server

    AT-9000 Switch Command Line User’s Guide SHOW SNMP-SERVER Syntax show snmp-server Parameters None. Mode Privileged Exec mode Description Use this command to display the current status of SNMP on the switch. An example is shown in Figure 145. The first field displays whether SNMP is enabled or disabled on the switch.
  • Page 838: Show Snmp-Server Group

    Chapter 58: SNMPv3 Commands SHOW SNMP-SERVER GROUP Syntax show snmp-server group Parameters None. Mode Privileged Exec mode Description Use this command to display the SNMPv3 groups. Example awplus# show snmp-server group Section IX: Simple Network Management Protocols...
  • Page 839: Show Snmp-Server Host

    AT-9000 Switch Command Line User’s Guide SHOW SNMP-SERVER HOST Syntax show snmp-server host Parameters None. Mode Privileged Exec mode Description Use this command to display the SNMPv3 host entries. Example awplus# show snmp-server host Section IX: Simple Network Management Protocols...
  • Page 840: Show Snmp-Server User

    Chapter 58: SNMPv3 Commands SHOW SNMP-SERVER USER Syntax show snmp-server user Parameters None. Mode Privileged Exec mode Description Use this command to display the SNMPv3 users. Example awplus# show snmp-server user Section IX: Simple Network Management Protocols...
  • Page 841: Show Snmp-Server View

    AT-9000 Switch Command Line User’s Guide SHOW SNMP-SERVER VIEW Syntax show snmp-server view Parameter None. Mode Privileged Exec mode Description Use this command to display the SNMPv3 views on the switch. Example awplus# show snmp-server view Section IX: Simple Network Management Protocols...
  • Page 842: Snmp-Server

    Chapter 58: SNMPv3 Commands SNMP-SERVER Syntax snmp-server Parameters None. Mode Global Configuration mode Description Use this command to activate SNMPv1, v2c and v3 on the switch. The switch permits remote management from SNMP applications when SNMP is enabled. The switch also sends SNMP messages to trap and inform receivers.
  • Page 843: Snmp-Server Engineid Local

    AT-9000 Switch Command Line User’s Guide SNMP-SERVER ENGINEID LOCAL Syntax engine-id snmp-server engineid local |default Parameters engine-id Specifies the SNMPv3 engine ID. The value can be up to 32 characters. default Returns the SNMPv3 engine ID to the system generated value. Mode Global Configuration mode Description...
  • Page 844: Snmp-Server Group

    Chapter 58: SNMPv3 Commands SNMP-SERVER GROUP Syntax name readview snmp-server group auth|noauth|priv read write writeview Parameters name Specifies a name for a new group. A name can be up to 64 alphanumeric characters and is case sensitive. auth|noauth|priv Specifies the minimum security level that users must have to gain access to the switch through the group.
  • Page 845 AT-9000 Switch Command Line User’s Guide Examples This example creates a group called “sta5west” with a minimum security level of privacy. The group has a read view named “internet” and a write view named “private”: awplus> enable awplus# configure terminal awplus(config)# snmp-server group sta5west priv read internet write private This example creates a group called “swengineering”...
  • Page 846: Snmp-Server Host

    Chapter 58: SNMPv3 Commands SNMP-SERVER HOST Syntax ipaddress snmp-server host informs|traps version 3 auth|noauth|priv username Parameters ipaddress Specifies the IP address of a trap receiver. The address can be IPv4 or IPv6. You can specify just one address. informs|trap Specifies the type of message the switch sends. The options are: informs Sends inform messages.
  • Page 847: Snmp-Server User

    AT-9000 Switch Command Line User’s Guide SNMP-SERVER USER Syntax username groupname snmp-server user [auth sha|md5 auth_password ] [priv des priv_password Parameters username Specifies a name for a new SNMPv3 user. A name can have up to 64 alphanumeric characters and is case sensitive.
  • Page 848 Chapter 58: SNMPv3 Commands To create a user that has authentication but not privacy, include the  AUTH keyword but not the PRIV keyword. To create a user that has both authentication and privacy, include both  the AUTH and PRIV keywords. You cannot create a user that has privacy but not authentication.
  • Page 849: Snmp-Server View

    AT-9000 Switch Command Line User’s Guide SNMP-SERVER VIEW Syntax viewname oid snmp-server view excluded|included Parameters viewname Specifies the name of a new view. The maximum length is 64 alphanumeric characters. The string is case sensitive. Spaces are not allowed. Specifies the OID of the view. The OID must be in decimal format.
  • Page 850 Chapter 58: SNMPv3 Commands awplus> enable awplus# configure terminal awplus(config)# snmp-server view AlliedTelesis 1.3.6.1 excluded awplus(config)# snmp-server view AlliedTelesis 1.3.6.1.4.1.207 included Section IX: Simple Network Management Protocols...
  • Page 851: Section X: Network Management

    Section X Network Management This section contains the following chapters: Chapter 59, “sFlow Agent” on page 853  Chapter 60, “sFlow Agent Commands” on page 865  Chapter 61, “LLDP and LLDP-MED” on page 877  Chapter 62, “LLDP and LLDP-MED Commands” on page 911 ...
  • Page 852 Section X: Network Management...
  • Page 853: Chapter 59: Sflow Agent

    Chapter 59 sFlow Agent This chapter contains the following topics: “Overview” on page 854  “Configuring the sFlow Agent” on page 856  “Configuring the Ports” on page 857  “Enabling the sFlow Agent” on page 859  “Disabling the sFlow Agent” on page 860 ...
  • Page 854: Overview

    Chapter 59: sFlow Agent Overview The sFlow agent allows the switch to gather data about the traffic on the ports and to send the data to an sFlow collector on your network for analysis. You can use the information to monitor the performance of your network or identify traffic bottlenecks.
  • Page 855: Guidelines

    AT-9000 Switch Command Line User’s Guide Number of ingress and egress packets with errors  Number of ingress packets with unknown protocols  To configure the agent to forward these port statistics to a collector, you have to specify polling rates, which define the maximum amount of time permitted between successive queries of the counters of a port by the agent.
  • Page 856: Configuring The Sflow Agent

    Chapter 59: sFlow Agent Configuring the sFlow Agent The command for defining the IP address of the sFlow collector is the SFLOW COLLECTOR IP command. The command, which is located in the Global Configuration mode, has this format: ipaddress udp_port sflow collector ip port The IPADDRESS parameter specifies the IP address of the collector and...
  • Page 857: Configuring The Ports

    AT-9000 Switch Command Line User’s Guide Configuring the Ports To configure the ports so that their performance data is collected by the sFlow agent, you have to define two variables, one of which is optional. The variables are listed here: Sampling rate (optional) ...
  • Page 858: Configuring The Polling Interval

    Chapter 59: sFlow Agent Configuring the The polling interval determines how frequently the agent queries the packet counters of the ports and sends the data to the collector. This is the Polling Interval maximum amount of time allowed between successive queries of the counters by the agent on the switch.
  • Page 859: Enabling The Sflow Agent

    AT-9000 Switch Command Line User’s Guide Enabling the sFlow Agent Use the SFLOW ENABLE command in the Global Configuration mode to activate the sFlow agent so that the switch begins to gather packet samples and packet counters and to transmit the data to the sFlow collector on your network.
  • Page 860: Disabling The Sflow Agent

    Chapter 59: sFlow Agent Disabling the sFlow Agent To stop the sFlow agent from collecting performance data on the ports on the switch and from sending the data to the collector on your network, use the NO SFLOW ENABLE command in the Global Configuration mode. Here is the command: awplus>...
  • Page 861: Displaying The Sflow Agent

    AT-9000 Switch Command Line User’s Guide Displaying the sFlow Agent To view the IP addresses and UDP port settings of the collectors as defined in the sFlow agent on the switch, use the SHOW SFLOW command in the Global Configuration mode. Here is the command: awplus(config)# show sflow Here is an example of what you’ll see.
  • Page 862: Configuration Example

    Chapter 59: sFlow Agent Configuration Example Here is an example of how to configure the sFlow agent. The IP address of the sFlow collector is 152.232.56.11. The ports from which performance data will be collected will be ports 3, 11, 12, and 21 to 23. Ports 3, 11,and 12 will have a polling rate of 120 seconds and sampling rate of 1 packet in an average of 10.000 packets.
  • Page 863 AT-9000 Switch Command Line User’s Guide Use the SFLOW SAMPLING- awplus(config-if)# sflow sampling-rate 10000 RATE command to set the sampling rate of the ports to 1 packet for every 10000 packets. Use the SFLOW POLLING- awplus(config-if)# sflow polling-interval 120 INTERVAL command to set the polling rate of the statistics counters of the ports to 120 seconds.
  • Page 864 Chapter 59: sFlow Agent This last command activates the sFlow agent on the switch. Activate the agent with the awplus(config)# sflow enable SFLOW ENABLE command. Depending on the amount of traffic on the ports and the values of the sampling rates and polling intervals, there may be long periods of time in which the agent on the switch does not send any information to the collectors.
  • Page 865: Chapter 60: Sflow Agent Commands

    Chapter 60 sFlow Agent Commands The sFlow agent commands are summarized in Table 78. Table 78. sFlow Agent Commands Command Mode Description “NO SFLOW COLLECTOR IP” on Global Deletes the IP address of an sFlow page 866 Configuration collector from the switch. “NO SFLOW ENABLE”...
  • Page 866: No Sflow Collector Ip

    Chapter 60: sFlow Agent Commands NO SFLOW COLLECTOR IP Syntax ipaddress no sflow collector ip Parameters ipaddress Specifies the IP address of an sFlow collector. Mode Global Configuration mode Description Use this command to delete the IP address of an sFlow collector from the switch.
  • Page 867: No Sflow Enable

    AT-9000 Switch Command Line User’s Guide NO SFLOW ENABLE Syntax no sflow enable Parameters None. Mode Global Configuration mode Description Use this command to disable the sFlow agent to stop the switch from transmitting sample and counter data to the sFlow collector on your network.
  • Page 868: Sflow Collector Ip

    Chapter 60: sFlow Agent Commands SFLOW COLLECTOR IP Syntax ipaddress udp_port sflow collector ip [port Parameters ipaddress Specifies the IP address of the sFlow collector on your network. udp_port Specifies the UDP port number of the sFlow collector. The default is UDP port 6343. Mode Global Configuration mode Description...
  • Page 869: Sflow Enable

    AT-9000 Switch Command Line User’s Guide SFLOW ENABLE Syntax sflow enable Parameters None. Mode Global Configuration mode Description Use this command to activate the sFlow agent on the switch. The switch uses the agent to gather packet sampling data and packet counters from the designated ports and to transmit the data to the sFlow collector on your network.
  • Page 870: Sflow Polling-Interval

    Chapter 60: sFlow Agent Commands SFLOW POLLING-INTERVAL Syntax value sflow polling-interval Parameters polling-interval Specifies the maximum amount of time permitted between successive pollings of the packet counters of a port by the agent. The range is 0 to 16777215 seconds. Mode Port Interface mode Description...
  • Page 871 AT-9000 Switch Command Line User’s Guide awplus(config)# interface port1.0.21 awplus(config-if)# no sflow polling-interval Section X: Network Management...
  • Page 872: Sflow Sampling-Rate

    Chapter 60: sFlow Agent Commands SFLOW SAMPLING-RATE Syntax value sflow sampling-rate Parameters sampling-rate Specifies the sampling rate on a port. The possible values are 0 and 256 to 16441700 packets. The value 0 means no sampling. Mode Port Interface mode Description Use this command to enable or disable packet sampling on the ports and to set the sampling rates.
  • Page 873 AT-9000 Switch Command Line User’s Guide This example disables packet sampling on port 7: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.7 awplus(config-if)# no sflow sampling-rate Section X: Network Management...
  • Page 874: Show Sflow (Database)

    Chapter 60: sFlow Agent Commands SHOW SFLOW (DATABASE) Syntax show sflow (database) Parameters None. Modes Global Configuration mode Note Unlike most other SHOW commands, which are stored in the User Exec and Privileged Exec modes, this SHOW command is located in the Global Configuration mode.
  • Page 875: Table 79. Show Collector Command

    AT-9000 Switch Command Line User’s Guide The fields are described in Table 79. Table 79. SHOW COLLECTOR Command Parameter Description Number of Collectors Number of sFlow collectors that have been defined on the switch by having their IP addresses entered in the agent. The agent can contain up to four IP addresses of sFlow collectors.
  • Page 876 Chapter 60: sFlow Agent Commands Example awplus> enable awplus# configure terminal awplus(config)# show sflow database Section X: Network Management...
  • Page 877: Chapter 61: Lldp And Lldp-Med

    Chapter 61 LLDP and LLDP-MED This chapter contains the following topics “Overview” on page 878  “Enabling LLDP and LLDP-MED on the Switch” on page 884  “Configuring Ports to Only Receive LLDP and LLDP-MED TLVs” on  page 885 “Configuring Ports to Send Only Mandatory LLDP TLVs”...
  • Page 878: Overview

    Chapter 61: LLDP and LLDP-MED Overview Link Layer Discovery Protocol (LLDP) and Link Layer Discovery Protocol for Media Endpoint Devices (LLDP-MED) allow Ethernet network devices such as switches and routers to receive and/or transmit device-related information to directly connected devices on the network that are also using the protocols, and to store the information that is learned about other devices.
  • Page 879: Mandatory Lldp Tlvs

    LLDP TLVs Table 80. Mandatory LLDP TLVs Description Chassis ID The device's chassis ID number. For Allied Telesis devices this is the MAC address of the switch Port ID The number of the port that transmitted the advertisements. Time to Live (TTL)
  • Page 880 Chapter 61: LLDP and LLDP-MED Table 81. Optional LLDP TLVs (Continued) Description System capabilities The device’s router and bridge functions, and whether or not these functions are currently enabled. The value for this TLV on the AT-9000 Switch is Bridge, Router. Management address The address of the local LLDP agent.
  • Page 881: Optional Lldp-Med Tlvs

    AT-9000 Switch Command Line User’s Guide Table 81. Optional LLDP TLVs (Continued) Description Maximum frame size The maximum frame size the port can forward. The switch does not verify whether a device connected to a port is LLDP- compatible prior to sending mandatory and optional LLDPs. Optional LLDP- LLDP-MED is an extension of LLDP used between LAN network connectivity devices, such as this switch, and media endpoint devices...
  • Page 882 Chapter 61: LLDP and LLDP-MED Table 82. Optional LLDP-MED TLVs (Continued) Description Network policy The network policy information configured on the port for connected media endpoint devices. The switch supports Application Type 1: Voice, including the following network policy for connected voice devices to use for voice data: Voice VLAN ID ...
  • Page 883 AT-9000 Switch Command Line User’s Guide Table 82. Optional LLDP-MED TLVs (Continued) Description Inventory management The current hardware platform and the software version, identical on every port on the switch: Hardware Revision  Firmware Revision  Software Revision  Serial Number ...
  • Page 884: Enabling Lldp And Lldp-Med On The Switch

    Chapter 61: LLDP and LLDP-MED Enabling LLDP and LLDP-MED on the Switch To enable LLDP and LLDP-MED on the switch, use the LLDP RUN command in the Global Configuration mode. The switch begins to transmit advertisements from those ports that are configured to send TLVs, and begins to populate its neighbor information table as advertisements from the neighbors arrive on the ports.
  • Page 885: Configuring Ports To Only Receive Lldp And Lldp-Med Tlvs

    AT-9000 Switch Command Line User’s Guide Configuring Ports to Only Receive LLDP and LLDP-MED TLVs This is the first in a series of examples that show how to configure the ports for LLDP and LLDP-MED. In this first example, ports 4 and 18 are configured to accept advertisements from their neighbors, but not to send any advertisements.
  • Page 886: Configuring Ports To Send Only Mandatory Lldp Tlvs

    Chapter 61: LLDP and LLDP-MED Configuring Ports to Send Only Mandatory LLDP TLVs This example illustrates how to configure the ports to receive and send just the mandatory LLDP TLVs. Since the default is for ports to send all mandatory and optional TLVs, you must remove the optional TLVs. This example configures port 16 to 20: Enter the Privileged Executive awplus>...
  • Page 887: Configuring Ports To Send Optional Lldp Tlvs

    AT-9000 Switch Command Line User’s Guide Configuring Ports to Send Optional LLDP TLVs This example illustrates how to configure the ports to send optional LLDP TLVs along with the mandatory TLVs, to their neighbors. Refer to Table 81 for the list of optional LLDP TLVs. Table 83.
  • Page 888 Chapter 61: LLDP and LLDP-MED Enter the Global Configuration awplus# configure terminal mode. Enter the Port Interface mode for awplus(config)# interface port1.0.18,port1.0.24 ports 18 and 24. Configure the ports to accept and awplus(config-if)# lldp transmit receive send TLVs to and from their neighbors.
  • Page 889: Configuring Ports To Send Optional Lldp-Med Tlvs

    AT-9000 Switch Command Line User’s Guide Configuring Ports to Send Optional LLDP-MED TLVs This section explains how to configure the ports to send these optional LLDP-MED TLVs: Capabilities  Network-policy  For instructions on how to create LLDP-MED civic, coordinate, and ELIN location entries, refer to the following sections.
  • Page 890 Chapter 61: LLDP and LLDP-MED Use the SHOW LLDP awplus# show lldp interface port1.0.3,port1.0.4 INTERFACE command to confirm the configuration. Optional TLVs Enabled for Tx Port Rx/Tx Notif Management Addr Base 802.1 802.3 ---------------------------------------------------------------------------- Rx Tx -- -- 0.0.0.0 -------- -------- -------- McNp---- Rx Tx -- -- 0.0.0.0...
  • Page 891: Configuring Ports To Send Lldp-Med Civic Location Tlvs

    AT-9000 Switch Command Line User’s Guide Configuring Ports to Send LLDP-MED Civic Location TLVs Civic location TLVs specify the physical addresses of network devices. Country, state, street, and building number are just a few examples of the various types of information civic location TLVs can include. Unlike some of the other LLDP-MED TLVs, such as the capabilities and network policy TLVs, which have pre-set values that you cannot change, a civic location TLV has to be configured before a port will send it.
  • Page 892 Chapter 61: LLDP and LLDP-MED Table 84. Abbreviated List of LLDP-MED Civic Location Entry Parameters Parameter Example state street-suffix Blvd unit 3. Move to the Port Interface mode of the ports to which the entry is to be assigned. (A civic location entry can be applied to more than one port.) 4.
  • Page 893 AT-9000 Switch Command Line User’s Guide Return to the Privileged Exec awplus(config)# exit mode. Use the SHOW LOCATION awplus# show location civic-location identifier 8 command to verify the configuration of the new location Element Type Element entry. ------------------------------------------- Country State City San-Jose Street Suffix...
  • Page 894 Chapter 61: LLDP and LLDP-MED Use the SHOW LOCATION awplus# show location civic-location interface command to confirm the port1.0.14 assignment of the civic location entry to the port. Element Type Element ------------------------------------------- Country State City San-Jose Street Suffix Avenue Postal Code 95132 Building 1020...
  • Page 895: Configuring Ports To Send Lldp-Med Coordinate Location Tlvs

    AT-9000 Switch Command Line User’s Guide Configuring Ports to Send LLDP-MED Coordinate Location TLVs Coordinate location TLVs specify the locations of network devices by their latitudes and longitudes. Here are the main steps to creating coordinate location TLVs: 1. Starting from the Global Configuration mode, use the LOCATION COORD-LOCATION command to assign the new entry an ID number.
  • Page 896 Chapter 61: LLDP and LLDP-MED Table 85. LLDP-MED Coordinate Location Entry Parameters Parameter Value altitude meters Altitude in meters. The range is -2097151.0 to 2097151.0. The parameter accepts up to eight digits to the right of the decimal point. The value for this parameter must be specified between the two keywords, as shown here: altitude n meters...
  • Page 897 AT-9000 Switch Command Line User’s Guide The first series of commands creates the coordinate location entry. Enter the Privileged Executive awplus> enable mode from the User Executive mode. Enter the Global Configuration awplus# configure terminal mode. Use the LOCATION COORD- awplus(config)# location coord-location LOCATION command to assign an identifier 16...
  • Page 898 Chapter 61: LLDP and LLDP-MED Configure the port to send and awplus(config_if)# lldp transmit receive receive LLDP advertisements. Use the LLDP LOCATION awplus(config_if)# lldp location coord-location- command to add the coordinate id 16 location entry, ID number 16, to the port. Use the LLDP MED-TLV-SELECT awplus(config_if)# lldp med-tlv-select location command to configure the port to...
  • Page 899: Configuring Ports To Send Lldp-Med Elin Location Tlvs

    AT-9000 Switch Command Line User’s Guide Configuring Ports to Send LLDP-MED ELIN Location TLVs This type of TLV specifies the location of a network device by its ELIN (emergency location identifier number). Here are the main steps to creating ELIN location TLVs: 1.
  • Page 900 Chapter 61: LLDP and LLDP-MED This series of commands adds the entry to port 5 and configures the port to include the TLV in its advertisements: Enter the Global Configuration awplus# configure terminal mode. Enter the Port Interface mode for awplus(config)# interface port1.0.5 port 5.
  • Page 901: Removing Lldp Tlvs From Ports

    AT-9000 Switch Command Line User’s Guide Removing LLDP TLVs from Ports To stop ports from sending optional LLDP TLVs, use this command: no lldp tlv-select all| The command is located in the Port Interface mode. You can specify just one TLV at a time in the command. This example stops ports 4 and 5 from including the system capabilities and the management address TLVs in their advertisements: awplus>...
  • Page 902: Removing Lldp-Med Tlvs From Ports

    Chapter 61: LLDP and LLDP-MED Removing LLDP-MED TLVs from Ports To remove optional LLDP-MED TLVs from ports, use the NO LLDP MED- TLV-SELECT command: no lldp med-tlv-select capabilities|network- policy|location|power-management-ext|inventory- management|all You can specify just one TLV at a time in the command, which is located in the Port Interface mode.
  • Page 903: Deleting Lldp-Med Location Entries

    AT-9000 Switch Command Line User’s Guide Deleting LLDP-MED Location Entries The command for deleting LLDP-MED location entries from the switch is: no location civic-location|coord-location|elin-location id_number identifier The command, which is located in the Global Configuration mode, can delete just one entry at a time and must include both the type and the ID number of the location entry to be deleted.
  • Page 904: Disabling Lldp And Lldp-Med On The Switch

    Chapter 61: LLDP and LLDP-MED Disabling LLDP and LLDP-MED on the Switch To disable LLDP and LLDP-MED on the switch, use the NO LLDP RUN command in the Global Configuration mode. The command has no parameters. After the protocols are disabled, the switch neither sends advertisements to nor collects information from its neighbors.
  • Page 905: Displaying General Lldp Settings

    AT-9000 Switch Command Line User’s Guide Displaying General LLDP Settings To view the timers and other general LLDP and LLDP-MED settings, use the SHOW LLDP command in the User Exec mode or the Privileged Exec mode. Here is the command: awplus# show lldp Here is an example of the information.
  • Page 906: Displaying Port Settings

    Chapter 61: LLDP and LLDP-MED Displaying Port Settings To view the LLDP and LLDP-MED settings of the individual ports on the switch, use the SHOW LLDP INTERFACE command. The command has this format: port show lldp interface [ If you omit the PORT variable, as in this example, the command displays the settings for all the ports.
  • Page 907: Displaying Or Clearing Neighbor Information

    AT-9000 Switch Command Line User’s Guide Displaying or Clearing Neighbor Information There are two commands for displaying the information the switch has collected from the LLDP and LLDP-MED-compatible neighbors connected to its ports. To view a summary of the information, use the SHOW LLDP NEIGHBORS command in the User Exec mode or the Privileged Exec mode.
  • Page 908 Chapter 61: LLDP and LLDP-MED This example clears the information the switch has received from all the neighbors: awplus> enable awplus# clear lldp table This example clears the information the switch has received from the neighbor connected to port 11: awplus>...
  • Page 909: Displaying Port Tlvs

    AT-9000 Switch Command Line User’s Guide Displaying Port TLVs To view the TLVs of the individual ports on the switch, use the SHOW LLDP LOCAL-INFO INTERFACE command in the User Exec mode or the Privileged Exec mode. This command is useful whenever you want to confirm the TLVs on the ports, such as after you’ve configured the ports or if you believe that ports are not sending the correct information.
  • Page 910: Displaying And Clearing Statistics

    Chapter 61: LLDP and LLDP-MED Displaying and Clearing Statistics The switch maintains LLDP and LLDP-MED performance statistics for the the individual ports and the entire unit. The command to display the statistics for the entire switch is the SHOW LLDP STATISTICS command in the Privileged Exec mode.
  • Page 911: Chapter 62: Lldp And Lldp-Med Commands

    Chapter 62 LLDP and LLDP-MED Commands The Link Layer Discovery Protocol commands are summarized in Table 86. Table 86. LLDP and LLDP-MED Commands Command Mode Description “CLEAR LLDP STATISTICS” on Privileged Exec Clears the LLDP statistics (packet and page 914 event counters) on the ports.
  • Page 912 Chapter 62: LLDP and LLDP-MED Commands Table 86. LLDP and LLDP-MED Commands (Continued) Command Mode Description “LLDP REINIT” on page 927 Global Sets the reinitialization delay, which is Configuration the number of seconds that must elapse after LLDP is disabled on a port before it can be reinitialized.
  • Page 913 AT-9000 Switch Command Line User’s Guide Table 86. LLDP and LLDP-MED Commands (Continued) Command Mode Description “NO LLDP NOTIFICATIONS” on Port Interface Prevents ports from sending LLDP page 945 SNMP notifications (traps). “NO LLDP RUN” on page 946 Global Disables LLDP on the switch. Configuration “NO LLDP TLV-SELECT”...
  • Page 914: Clear Lldp Statistics

    Chapter 62: LLDP and LLDP-MED Commands CLEAR LLDP STATISTICS Syntax port clear lldp statistics [interface Parameters port Specifies a port. You can specify more than one port at a time in this command. Omitting this parameter. specifies all the ports. Mode Privileged Exec mode Description...
  • Page 915: Clear Lldp Table

    AT-9000 Switch Command Line User’s Guide CLEAR LLDP TABLE Syntax port clear lldp table [interface Parameters port Specifies a port. You can specify more than one port at a time in this command. Omitting this parameter. specifies all the ports. Mode Privileged Exec mode Description...
  • Page 916: Lldp Holdtime-Multiplier

    Chapter 62: LLDP and LLDP-MED Commands LLDP HOLDTIME-MULTIPLIER Syntax value lldp holdtime-multiplier Parameters value Specifies the holdtime multiplier value. The range is 2 to 10. Mode Global Configuration mode Description Use this command to set the holdtime multiplier value. The transmit interval is multiplied by the holdtime multiplier to give the Time To Live (TTL) the switch advertises to the neighbors.
  • Page 917: Lldp Location

    AT-9000 Switch Command Line User’s Guide LLDP LOCATION Syntax lldp location civic-location-id|coord-location-id|elin- location-id location_id Parameters civic-location-id Adds a civic location to the ports. coord-location-id Adds a coordinate location to the ports. elin-location-id Adds an ELIN location to the ports. location-id Specifies the ID number of the location information to be added to the ports.
  • Page 918 Chapter 62: LLDP and LLDP-MED Commands awplus(config)# interface port1.0.2 awplus(config_if)# lldp location coord-location-id 11 This example adds the ELIN location ID 27 to port 21: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.21 awplus(config_if)# lldp location elin-location-id 27 This example removes the civic location from port 25: awplus>...
  • Page 919: Lldp Management-Address

    AT-9000 Switch Command Line User’s Guide LLDP MANAGEMENT-ADDRESS Syntax ipaddress lldp management-address Parameters ipaddress Specifies an IP address. Mode Port Interface mode Description Use this command to replace the default management IP address TLV of a port. The management IP address TLV is optional. A port must be configured to transmit it.
  • Page 920 Chapter 62: LLDP and LLDP-MED Commands Examples This example configures port 2 to transmit the IP address 149.122.54.2 as its management IP address TLV: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# lldp management-address 149.122.54.2 This example returns the management IP address TLV on port 18 to its default value: awplus>...
  • Page 921: Lldp Med-Notifications

    AT-9000 Switch Command Line User’s Guide LLDP MED-NOTIFICATIONS Syntax lldp med-notifications Parameters None. Mode Port Interface mode Description Use this command to configure the switch to send LLDP-MED topology change notifications when devices are connected to or disconnected from the specified ports. To prevent the switch from transmitting topology change notifications, refer to “NO LLDP NOTIFICATIONS”...
  • Page 922: Lldp Med-Tlv-Select

    Chapter 62: LLDP and LLDP-MED Commands LLDP MED-TLV-SELECT Syntax lldp med-tlv-select capabilities|network- policy|location|power-management-ext|inventory- management|all Parameters Configures a port to send all LLDP-MED TLVs. capabilities Specifies the capabilities TLV. network-policy Specifies the network policy TLV. location Specifies the location identification TLV. power-management-ext Specifies the extended power-via-MDI TLV.
  • Page 923 AT-9000 Switch Command Line User’s Guide This example configures port 2 to send the capabilities and the location TLVs to its neighbor: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.2 awplus(config-if)# lldp med-tlv-select capabilities awplus(config-if)# lldp med-tlv-select location Section X: Network Management...
  • Page 924: Lldp Non-Strict-Med-Tlv-Order-Check

    Chapter 62: LLDP and LLDP-MED Commands LLDP NON-STRICT-MED-TLV-ORDER-CHECK Syntax lldp non-strict-med-tlv-order-check Parameters None. Mode Global Configuration mode Description Use this command to configure the switch to accept LLDP-MED advertisements even if the TLVs are not in the standard order, as specified in ANSI/TIA-1057.
  • Page 925: Lldp Notifications

    AT-9000 Switch Command Line User’s Guide LLDP NOTIFICATIONS Syntax lldp notifications Parameters None. Mode Port Interface mode Description Use this command to configure ports to send LLDP SNMP notifications (traps). To prevent ports from transmitting LLDP SNMP notifications, refer to “NO LLDP NOTIFICATIONS” on page 945. Confirmation Command “SHOW LLDP INTERFACE”...
  • Page 926: Lldp Notification-Interval

    Chapter 62: LLDP and LLDP-MED Commands LLDP NOTIFICATION-INTERVAL Syntax value lldp notification-interval Parameters value Specifies the notification interval. The range is 5 to 3600 seconds. Mode Global Configuration mode Description Use this command to set the notification interval. This is the minimum interval between LLDP SNMP notifications (traps).
  • Page 927: Lldp Reinit

    AT-9000 Switch Command Line User’s Guide LLDP REINIT Syntax value lldp reinit Parameters value Specifies the reinitialization delay value. The range is 1 to 10 seconds. Mode Global Configuration mode Description Use this command to set the reinitialization delay. This is the number of seconds that must elapse after LLDP is disabled on a port before it can be reinitialized.
  • Page 928: Lldp Run

    Chapter 62: LLDP and LLDP-MED Commands LLDP RUN Syntax lldp run Parameters None. Mode Global Configuration mode Description Use this command to activate LLDP on the switch. Once you have activated LLDP, the switch begins to transmit and accept advertisements on its ports.
  • Page 929: Lldp Timer

    AT-9000 Switch Command Line User’s Guide LLDP TIMER Syntax value lldp timer Parameters value Specifies the transmit interval. The range is 5 to 32768 seconds. Mode Global Configuration mode Description Use this command to set the transmit interval. This is the interval between regular transmissions of LLDP advertisements.
  • Page 930: Lldp Tlv-Select

    Chapter 62: LLDP and LLDP-MED Commands LLDP TLV-SELECT Syntax lldp tlv-select all| Parameters Configures a port to send all optional TLVs. Specifies an optional TLV that a port should transmit to its neighbor. You can specify only one TLV per command.
  • Page 931 AT-9000 Switch Command Line User’s Guide Table 87. Optional TLVs (Continued) Description port-description Sends a port’s description. To configure a port’s description, refer to “Adding Descriptions” on page 144 or “DESCRIPTION” on page 167. port-vlan Sends the ID number (VID) of the port- based or tagged VLAN where the port is an untagged member.
  • Page 932 Chapter 62: LLDP and LLDP-MED Commands This example configures ports 14 and 22 to transmit the optional LLDP port-description, port-vlan, and system-description TLVs: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.14,port1.0.22 awplus(config-if)# lldp tlv-select port-description awplus(config-if)# lldp tlv-select port-vlan awplus(config-if)# lldp tlv-select system-description Section X: Network Management...
  • Page 933: Lldp Transmit Receive

    AT-9000 Switch Command Line User’s Guide LLDP TRANSMIT RECEIVE Syntax lldp transmit receive Parameters transmit Configures ports to send LLDP advertisements. receive Configures ports to accept LLDP advertisements. Mode Port Interface mode Description Use this command to configure ports to transmit and/or accept LLDP advertisements.
  • Page 934: Lldp Tx-Delay

    Chapter 62: LLDP and LLDP-MED Commands LLDP TX-DELAY Syntax value lldp tx-delay Parameters value Specifies the transmission delay timer in seconds. The range is 1 to 8192 seconds. Mode Global Configuration mode Description Use this command to set the value of the transmission delay timer. This is the minimum time interval between transmissions of LLDP advertisements due to a change in LLDP local information.
  • Page 935: Location Civic-Location

    AT-9000 Switch Command Line User’s Guide LOCATION CIVIC-LOCATION Syntax id_number location civic-location identifier Parameters id_number Specifies an ID number for an LLDP-MED civic location entry on the switch. The range is 1 to 256. (This range is separate from the ID number ranges for coordinate and ELIN location entries.) You can specify just one ID number.
  • Page 936 Chapter 62: LLDP and LLDP-MED Commands Table 88. LLDP-MED Civic Location Entry Parameters (Continued) Parameter Example leading-street-direction West name J-Smith neighborhood Cliffside place-type Business-district post-office-box postal-code 95134 postal-community-name Lyton primary-road-name Eastwood road-section North room seat cube-411a state street-group Addison street-name-post-modifier Div.
  • Page 937 AT-9000 Switch Command Line User’s Guide After you create a location entry, use “LLDP LOCATION” on page 917 to assign it to the ports on the switch. Confirmation Command “SHOW LOCATION” on page 967 Examples This example creates a new civic location entry that has the following specifications: ID number: Address:...
  • Page 938: Location Coord-Location

    Chapter 62: LLDP and LLDP-MED Commands LOCATION COORD-LOCATION Syntax id_number location coordinate-location identifier Parameters id_number Specifies an ID number for an LLDP-MED coordinate location entry. The range is 1 to 256. (This range is separate from the ID number ranges for civic and ELIN location entries.) You can specify just one ID number.
  • Page 939 AT-9000 Switch Command Line User’s Guide Table 89. LLDP-MED Coordinate Location Entry Parameters (Continued) Parameter Value altitude floors Altitude in number of floors. The range is -2097151.0 to 2097151.0. The value for this parameter must be specified between the two keywords, as shown here: altitude n floors altitude meters...
  • Page 940 Chapter 62: LLDP and LLDP-MED Commands Examples This example creates a new coordinate location entry with these specifications. ID number: Latitude: 37.29153547 Longitude: --121.91528320 Datum: nad83-navd Altitude: 10.25 meters awplus> enable awplus# configure terminal awplus(config)# location coord-location identifier 16 awplus(config_coord)# latitude 37.29153547 awplus(config_coord)# longitude -121.91528320 awplus(config_coord)# datum nad83-navd awplus(config_coord)# altitude 10.25 meters...
  • Page 941: Location Elin-Location

    AT-9000 Switch Command Line User’s Guide LOCATION ELIN-LOCATION Syntax elin_id id_number location elin-location identifier Parameters elin_id Specifies the ELIN (Emergency Location Identification Number) of 10 to 25 digits. id_number Specifies an ID number for a LLDP-MED coordinate location entry on the switch. The range is 1 to 256. (This range is separate from the ranges for civic and coordinate entries.) You can specify just one ID number.
  • Page 942: No Lldp Med-Notifications

    Chapter 62: LLDP and LLDP-MED Commands NO LLDP MED-NOTIFICATIONS Syntax no lldp med-notifications Parameters None. Mode Port Interface mode Description Use this command to configure the switch not to send LLDP-MED topology change notifications when devices are connected to or disconnected from the specified ports.
  • Page 943: No Lldp Med-Tlv-Select

    AT-9000 Switch Command Line User’s Guide NO LLDP MED-TLV-SELECT Syntax no lldp med-tlv-select capabilities|network- policy|location|power-management-ext|inventory- management|all Parameters Configures a port to stop sending all LLDP-MED TLVs. capabilities Specifies the capabilities TLV. network-policy Specifies the network policy TLV. location Specifies the location identification TLV. power-management-ext Specifies the extended power-via-MDI TLV.
  • Page 944 Chapter 62: LLDP and LLDP-MED Commands This example stops ports 2 and 16 from transmitting the LLDP-MED capabilities and network policy TLVs: awplus> enable awplus# configure terminal awplus(config)# interface port1.0.2,port1.0.16 awplus(config-if)# no lldp med-tlv-select capabilities awplus(config-if)# no lldp med-tlv-select network-policy Section X: Network Management...
  • Page 945: No Lldp Notifications

    AT-9000 Switch Command Line User’s Guide NO LLDP NOTIFICATIONS Syntax no lldp notifications Parameters None. Mode Port Interface mode Description Use this command to prevent ports from sending LLDP SNMP notifications (traps). Confirmation Command “SHOW LLDP INTERFACE” on page 953 Example This example prevents port 14 from transmitting SNMP notifications: awplus>...
  • Page 946: No Lldp Run

    Chapter 62: LLDP and LLDP-MED Commands NO LLDP RUN Syntax no lldp run Parameters None. Mode Global Configuration mode Description Use this command to disable LLDP and LLDP-MED on the switch. The switch, when LLDP and LLDP-MED are disabled, neither sends advertisements to nor collects information from its neighbors.
  • Page 947: No Lldp Tlv-Select

    AT-9000 Switch Command Line User’s Guide NO LLDP TLV-SELECT Syntax no lldp tlv-select all| Parameters Removes all optional LLDP TLVs from a port. Removes an optional TLV from a port. You can specify just one TLV. To remove more than one TLV from a port, repeat the command as many times as needed.
  • Page 948: No Lldp Transmit Receive

    Chapter 62: LLDP and LLDP-MED Commands NO LLDP TRANSMIT RECEIVE Syntax no lldp transmit receive Parameters transmit Stops ports from sending LLDP and LLDP-MED advertisements. receive Stops ports from accepting LLDP and LLDP-MED advertisements. Mode Port Interface mode Description Use this command to stop ports from transmitting and/or accepting LLDP and LLDP-MED advertisements to or from their neighbors.
  • Page 949: No Location

    AT-9000 Switch Command Line User’s Guide NO LOCATION Syntax no location civic-location|coord-location|elin-location identifier id_number Parameters civic-location Deletes a civic location from the switch. coord-location Deletes a coordinate location. elin-location Deletes an ELIN location. id_number Specifies the ID number of the location information to be deleted from the switch.
  • Page 950 Chapter 62: LLDP and LLDP-MED Commands This example removes the ELIN location IDs 3 and 4: awplus> enable awplus# configure terminal awplus(config)# no location elin-location-id 3 awplus(config)# no location elin-location-id 4 Section X: Network Management...
  • Page 951: Show Lldp

    AT-9000 Switch Command Line User’s Guide SHOW LLDP Syntax show lldp Parameters None. Mode Privileged Exec mode Description Use this command to display general LLDP settings. Here is an example of the information. LLDP Global Configuration: [Default Values] LLDP Status ....Enabled [Disabled] Notification Interval ..
  • Page 952 Chapter 62: LLDP and LLDP-MED Commands Table 90. SHOW LLDP Command (Continued) Field Description Hold-time Multiplier The holdtime multiplier. The transmit interval is multiplied by the holdtime multiplier to give the Time To Live (TTL) value that is advertised to neighbors. Reinitialization Delay The reinitialization delay.
  • Page 953: Show Lldp Interface

    AT-9000 Switch Command Line User’s Guide SHOW LLDP INTERFACE Syntax port show lldp interface [ Parameters port Specifies a port, You can specify more than one port at a time with this command. Omitting this variable displays the LLDP settings for all ports. Mode Privileged Exec mode Description...
  • Page 954 Chapter 62: LLDP and LLDP-MED Commands Examples This example displays the LLDP settings for all the ports on the switch: awplus# show lldp interface This example displays the LLDP settings for ports 5, 6 and 11: awplus# show lldp interface port1.0.5,port1.0.6,port1.0.11 Section X: Network Management...
  • Page 955: Show Lldp Local-Info Interface

    AT-9000 Switch Command Line User’s Guide SHOW LLDP LOCAL-INFO INTERFACE Syntax port show lldp local-info [interface Parameters port Specifies a port, You can specify more than one port at a time with this command. Omitting this parameter displays the LLDP information for all the ports. Mode Privileged Exec mode Description...
  • Page 956 Chapter 62: LLDP and LLDP-MED Commands Power Via MDI (PoE) ....Not Supported Link Aggregation ....Supported / Disabled Maximum Frame Size ....1522 (Octets) LLDP-MED Device Type ..... Network Connectivity LLDP-MED Capabilities .... LLDP-MED Capabilities, Network Policy, Location Identification, Inventory Network Policy ....
  • Page 957: Show Lldp Neighbors Detail

    AT-9000 Switch Command Line User’s Guide SHOW LLDP NEIGHBORS DETAIL Syntax port show lldp neighbors detail [interface Parameters port Specifies a port. You can specify more than one port. Mode Privileged Exec mode Description Use this command to display the information the switch has gathered from its LLDP and LLDP-MED neighbors.
  • Page 958: Table 91. Show Lldp Neighbors Detail Command

    Chapter 62: LLDP and LLDP-MED Commands LLDP-MED Device Type ..... Network Connectivity LLDP-MED Capabilities .... LLDP-MED Capabilities, Network Policy, Location Identification, Inventory Network Policy ....1 Application Type ... Voice Frame Format ....Untagged VLAN ID ....1 Layer 2 Priority ... 0 DSCP Value ....
  • Page 959 AT-9000 Switch Command Line User’s Guide Table 91. SHOW LLDP NEIGHBORS DETAIL Command (Continued) Parameter Description Management Address Port VLAN ID (PVID) Port & Protocol VLAN (Supported) Port & Protocol VLAN (Enabled) Port & Protocol VLAN (VIDs) VLAN Names The names of the port-based and tagged VLANs in which the neighbor port is a member.
  • Page 960 Chapter 62: LLDP and LLDP-MED Commands This example displays the information from all of the neighbors that are connected to ports 1 and 4: awplus# show lldp neighbors interface port1.0.1,port1.0.4 Section X: Network Management...
  • Page 961: Show Lldp Neighbors Interface

    AT-9000 Switch Command Line User’s Guide SHOW LLDP NEIGHBORS INTERFACE Syntax port show lldp neighbors interface [ Parameters port Specifies a port. You can specify more than one port at a time with this command. Mode Privileged Exec mode Description Use this command to view a summary of the information gathered by the switch from its LLDP and LLDP-MED neighbors.
  • Page 962 Chapter 62: LLDP and LLDP-MED Commands Table 92. SHOW LLDP NEIGHBORS INTERFACE Command (Continued) Parameter Description Neighbor System Name The neighbor’s system name. Neighbor Capability Capabilities that are supported and enabled on the neighbor. Examples This example displays a summary of the information from all the neighbors connected to the switch: awplus# show lldp neighbors interface This example displays a summary of the information from the neighbors...
  • Page 963: Show Lldp Statistics

    AT-9000 Switch Command Line User’s Guide SHOW LLDP STATISTICS Syntax show lldp statistics Parameters None. Mode User Exec mode and Privileged Exec mode Description Use this command to display the LLDP statistics for the entire switch. Here is an example of the information. Global LLDP Packet and Event counters: Frames: Out ....
  • Page 964 Chapter 62: LLDP and LLDP-MED Commands Table 93. SHOW LLDP STATISTICS Command (Continued) Statistic Description TLVs Unrecognized Number of LLDP TLVs received that were not recognized but the TLV types were in the range of reserved TLV types TLVs Discarded Number of discarded TLVs.
  • Page 965: Show Lldp Statistics Interface

    AT-9000 Switch Command Line User’s Guide SHOW LLDP STATISTICS INTERFACE Syntax port show lldp statistics interface [ Parameters port Specifies a port. You can specify more than one port. Mode User Exec mode and Privileged Exec mode Description Use this command to display the LLDP statistics for the individual ports. Here is an example of the information.
  • Page 966 Chapter 62: LLDP and LLDP-MED Commands Table 94. SHOW LLDP STATISTICS INTERFACE Command (Continued) Statistic Description Frame In Dropped Number of LLDPDU frames the port received and discarded. TLVs Unrecognized Number of LLDP TLVs received that were not recognized but the TLV types were in the range of reserved TLV types TLVs Discarded Number of TLVs discarded by the port.
  • Page 967: Show Location

    AT-9000 Switch Command Line User’s Guide SHOW LOCATION Syntax show location civic-location|coord-location|elin-location [identifier id-number |interface port Parameters id-numberI Specifies an ID number of a location entry. port Specifies a port. You can specify more than one port. Mode User Exec mode and Privileged Exec mode Description Use this command to display the civic, coordinate and ELIN location entries on the switch.
  • Page 968 Chapter 62: LLDP and LLDP-MED Commands Examples The following example displays all the civic location entries on the switch: awplus# show location civic-location The following example displays just civic location entry 8: awplus# show location civic-location identifier 8 The following example displays the civic location entry assigned to port awplus# show location civic-location interface port1.0.13 The following example displays all the coordinate location entries: awplus# show location coord-location...
  • Page 969: Chapter 63: Address Resolution Protocol (Arp)

    Chapter 63 Address Resolution Protocol (ARP) This chapter contains the following topics: “Overview” on page 970  “Adding Static ARP Entries” on page 972  “Deleting Static and Dynamic ARP Entries” on page 973  “Enabling and Disabling Proxy ARP” on page 974 ...
  • Page 970: Overview

    Chapter 63: Address Resolution Protocol (ARP) Overview The Address Resolution Protocol (ARP) is used to associate an IPv4 address with a MAC address used by network nodes. ARP gathers information about mapping between an IPv4 address and a MAC address and stores them in the ARP cache.
  • Page 971: Static Arp Entries

    AT-9000 Switch Command Line User’s Guide to the sender. Based on the reply, the original node makes an ARP entry into the ARP table in the ARP cache. On the AT-9000 switches, the dynamic ARP entries are time-stamped and set to time out in 300 seconds. Static ARP A manually entered ARP entry is called a static ARP entry.
  • Page 972: Adding Static Arp Entries

    Chapter 63: Address Resolution Protocol (ARP) Adding Static ARP Entries In most cases, the ARP table can be populated dynamically; however, the switch allows you to add an ARP entry to the ARP cache manually because there are cases that you want to add static ARP entries. One case is when a node connected to the switch does not support ARP.
  • Page 973: Deleting Static And Dynamic Arp Entries

    AT-9000 Switch Command Line User’s Guide Deleting Static and Dynamic ARP Entries The ARP cache contains two types of ARP entries: dynamic and static. These types of ARP entries are deleted using different commands shown in Table 96. Table 96. Deleting ARP Entries To Do This Task Use This Command Delete dynamic ARP entries.
  • Page 974: Enabling And Disabling Proxy Arp

    Chapter 63: Address Resolution Protocol (ARP) Enabling and Disabling Proxy ARP You may want to enable Proxy ARP when nodes do not support routing, or do not have knowledge of the network structure. To enable Proxy ARP, use the IP PROXY-ARP command in the VLAN Interface mode.
  • Page 975: Displaying The Arp Table

    AT-9000 Switch Command Line User’s Guide Displaying the ARP Table To display the ARP table on the switch, use the SHOW ARP command in the User Exec mode or the Privileged Exec mode. Here is the format of the command: awplus# show arp An example is shown in Figure 161 IP ARP...
  • Page 976 Chapter 63: Address Resolution Protocol (ARP) Section X: Network Management...
  • Page 977: Chapter 64: Address Resolution Protocol (Arp) Commands

    Chapter 64 Address Resolution Protocol (ARP) Commands The ARP commands are summarized in Table 97. Table 97. ARP Commands Command Mode Description “ARP (IP ADDRESS MAC Global Adds static ARP entries to the ARP ADDRESS)” on page 978 Configuration cache. “CLEAR ARP-CACHE”...
  • Page 978: Arp (Ip Address Mac Address)

    Chapter 64: Address Resolution Protocol (ARP) Commands ARP (IP ADDRESS MAC ADDRESS) Syntax ipaddress macaddress port _number Parameters ipaddress Specifies the IP address of the host. macaddress Specifies the MAC address of the host. The MAC address must be entered in this format: xx:xx:xx:xx:xx:xx port_number Specifies the port number associated with the IP...
  • Page 979: Clear Arp-Cache

    AT-9000 Switch Command Line User’s Guide CLEAR ARP-CACHE Syntax clear arp-cache Parameters None. Mode Global Configuration mode Description Use this command to delete all dynamic ARP entries from the ARP cache on the switch. Confirmation Command “SHOW ARP” on page 983 Example The following example deletes all of the ARP entries dynamically added to the ARP cache:...
  • Page 980: Ip Proxy-Arp

    Chapter 64: Address Resolution Protocol (ARP) Commands IP PROXY-ARP Syntax ip proxy-arp Parameters None. Mode VLAN Configuration mode Description Use this command to enable Proxy ARP on a VLAN interface. Proxy ARP is disabled by default. Confirmation Command “SHOW RUNNING-CONFIG” on page 132 Example The following example enables Proxy ARP on the interface vlan 10: awplus>...
  • Page 981: No Arp (Ip Address)

    AT-9000 Switch Command Line User’s Guide NO ARP (IP ADDRESS) Syntax ipaddress no arp Parameters ipaddress Specifies the IP address of a static ARP entry. Mode Global Configuration mode Description Use this command to delete a static ARP entry from the ARP cache. Static ARP entries do not expire and you must remove them manually.
  • Page 982: No Ip Proxy-Arp

    Chapter 64: Address Resolution Protocol (ARP) Commands NO IP PROXY-ARP Syntax no ip proxy-arp Parameters None. Mode VLAN Interface mode Description Use this command to disable Proxy ARP on a VLAN interface. Proxy ARP is disabled by default. Confirmation Command “SHOW ARP”...
  • Page 983: Show Arp

    AT-9000 Switch Command Line User’s Guide SHOW ARP Syntax show arp Parameters None. Modes User Exec mode and Privileged Exec mode Description Use this command to display the ARP entries in the ARP cache. Figure 162 is an example of the information displayed by this command. IP ARP ARP Cache Timeout ..
  • Page 984 Chapter 64: Address Resolution Protocol (ARP) Commands Table 98. SHOW ARP Command (Continued) Parameter Description Type Indicates the type of entry. The type is one of the following: Static: Static entry added with the ARP  (IP ADDRESS MAC ADDRESS) command.
  • Page 985: Chapter 65: Rmon

    Chapter 65 RMON This chapter contains the following topics: “Overview” on page 986  “RMON Port Statistics” on page 987  “RMON Histories” on page 989  “RMON Alarms” on page 992 ...
  • Page 986: Overview

    Chapter 65: RMON Overview The RMON (Remote MONitoring) MIB is used with SNMP applications to monitor the operations of network devices. The switch supports the four RMON MIB groups listed here: Statistic group. This group is used to view port statistics remotely with ...
  • Page 987: Rmon Port Statistics

    AT-9000 Switch Command Line User’s Guide RMON Port Statistics To view port statistics using an SNMP program and the RMON section in the MIB, you must configure the switch to reserve areas of memory in which to store the statistics for remote viewing with your SNMP program. These areas of memory are referred to as statistics groups.
  • Page 988: Viewing Statistics Groups

    Chapter 65: RMON awplus(config)# interface port1.0.20 awplus(config-if)# rmon collection stats 20 You can now use your SNMP program and the RMON section of the MIB tree to view the RMON statistics of the ports. This assumes, of course, that SNMP is activated and configured on the switch. Viewing Statistics To confirm the configuration, use the SHOW RMON STATISTICS command in the Privilege Exec mode:...
  • Page 989: Rmon Histories

    AT-9000 Switch Command Line User’s Guide RMON Histories RMON histories are snapshots of port statistics. They are taken by the switch at predefined intervals and can be used to identify trends or patterns in the numbers or types of ingress packets on the ports on the switch.
  • Page 990: Displaying History Groups

    Chapter 65: RMON snapshot every minute for five minutes on a port, you specify five buckets (one bucket for each minute) and an interval of sixty seconds. After you enter the command, the switch checks its memory to determine whether it has sufficient memory resources to create the history group. If its memory resources are insufficient, it reduces the number of buckets to an amount that can be accommodated by the resources.
  • Page 991: Deleting History Groups

    AT-9000 Switch Command Line User’s Guide Here is an example of the information. History Index = 7 Data source ifindex = 7 Buckets requested = 8 Buckets granted = 8 Interval = 1800 Owner Agent History Index = 23 Data source ifindex = 23 Buckets requested = 15 Buckets granted = 15 Interval = 3600...
  • Page 992: Rmon Alarms

    Chapter 65: RMON RMON Alarms RMON alarms are used to generate alert messages when packet activity on designated ports rises above or falls below specified threshold values. The alert messages can take the form of messages that are entered in the event log on the switch or traps that are send to SNMP programs.
  • Page 993: Creating Rmon Statistics Groups

    AT-9000 Switch Command Line User’s Guide “Creating an Alarm - Example 1” on page 995  “Creating an Alarm - Example 2” on page 997  Creating RMON The port of an alarm must have an RMON statistics group. Statistics groups are created with the RMON COLLECTION STATS command, Statistics Groups described in “RMON Port Statistics”...
  • Page 994: Creating Rmon Alarms

    Chapter 65: RMON Creating RMON After you’ve added a statistics group to a port and created the event, you are ready to create the alarm with the RMON ALARM command, located Alarms in the Global Configuration mode. Here is the format of the command: alarm_id oid.stats_id interval rmon alarm...
  • Page 995: Creating An Alarm - Example 1

    AT-9000 Switch Command Line User’s Guide setting compares a threshold against the difference between the current and previous values of the statistic, while the ABSOLUTE setting compares a threshold against the current value of the statistic. The raising and falling thresholds are the values which, when crossed, cause the switch to perform the specified events.
  • Page 996 Chapter 65: RMON The next series of steps creates the event, which enters a message in the event log whenever the thresholds are crossed: Enter the Global Configuration awplus# configure terminal mode. Create the event with the RMON awplus(config)# rmon event 3 log description Enter_log_message EVENT LOG command.
  • Page 997: Creating An Alarm - Example 2

    AT-9000 Switch Command Line User’s Guide Use the SHOW RMON ALARM awplus# show rmon alarm command to verify the configuration of the new alarm. Alarm Index = 1 Variable etherStatsPkts.22 Interval 60 Alarm Type rising and falling Rising Threshold = 20000 Event Index = 3 Falling Threshold = 1000 Event Index = 3...
  • Page 998 Chapter 65: RMON Return to the Privileged Exec awplus(config)# exit mode. Verify that SNMP is enabled on awplus# show snmp-server the switch with the SHOW SNMP- SERVER command. SNMP Server ..Enabled IP Protocol ..IPv4 SNMPv3 Engine ID (Configured) ..Not set SNMPv3 Engine ID (actual) ....
  • Page 999 AT-9000 Switch Command Line User’s Guide Return to the Privileged Exec awplus(config-if)# end mode. Use the SHOW RMON awplus# show rmon statistics STATISTICS command to verify the configuration of the new group. Stats Index = 20 Data source ifindex = 20 Owner Agent Phase 3: Creating the Event The event in this example is to send an SNMP trap and to log a message...
  • Page 1000 Chapter 65: RMON Falling threshold event: 2  Here are the steps to creating the alarm. Enter the Global Configuration awplus# configure terminal mode. Create the alarm with the RMON awplus(config)# rmon alarm 2 1.3.6.1.2.1.16.1.1.1.6.20 interval 60 delta ALARM command. rising-threshold 10000 event 2 falling-threshold 1000 event 2 Return to the Privileged Exec...
  • Page 1001: Chapter 66: Rmon Commands

    Chapter 66 RMON Commands The RMON commands are summarized in Table 100. Table 100. RMON Commands Command Mode Description “NO RMON ALARM” on page 1003 Global Deletes alarms from the switch. Configuration “NO RMON COLLECTION HISTORY” Port Interface Deletes history groups from the ports on page 1004 on the switch.

Table of Contents