Extreme Networks EAS 100-24t Switch CLI, EAS 100-24t User Manual

Extreme Networks EAS 100-24t Switch CLI Manual
Release 1.00
Extreme Networks, Inc.
3585 Monroe Street Santa Clara, California 95051 (888) 257-3000 (408) 579-2800
http://www.extremenetworks.com
Published: July 2011 Part number: 120705-00 Rev. 01
AccessAdapt, Alpine, Altitude, BlackDiamond, Direct Attach, EPICenter, ExtremeWorks Essentials, Ethernet Everywhere, Extreme Enabled, Extreme Ethernet Everywhere, Extreme Networks, Extreme Standby Router Protocol, Extreme Turbodrive, Extreme Velocity, ExtremeWare, ExtremeWorks, ExtremeXOS, Go Purple Extreme Solution, ExtremeXOS ScreenPlay, ReachNXT, Ridgeline, Sentriant, ServiceWatch, Summit, SummitStack, Triumph, Unified Access Architecture, Unified Access RF Manager, UniStack, XNV, the Extreme Networks logo, the Alpine logo, the BlackDiamond logo, the Extreme Turbodrive logo, the Summit logos, and the Powered by ExtremeXOS logo are trademarks or registered trademarks of Extreme Networks, Inc. or its subsidiaries in the United States and/or other countries.
sFlow is the property of InMon Corporation.
Specifications are subject to change without notice.
All other registered trademarks, trademarks, and service marks are property of their respective owners.
© 2011 Extreme Networks, Inc. All Rights Reserved.
2
Extreme Networks EAS 100-24t Switch CLI Manual
Table of Contents
Chapter 1: Introduction.............................................................................................................................. 5
Using the Console CLI .............................................................................................................................................7
Command Syntax...................................................................................................................................................11
Chapter 2: Interface and Hardware ......................................................................................................... 13
Cable Diagnostics Commands ...............................................................................................................................13
Chapter 3: Fundamentals ........................................................................................................................15
Basic IP Commands...............................................................................................................................................15
Basic Switch Commands........................................................................................................................................16
Switch Utility Commands........................................................................................................................................31
Chapter 4: Management ........................................................................................................................... 41
Command History Commands ...............................................................................................................................41
DHCP Relay Commands........................................................................................................................................44
LLDP Commands ...................................................................................................................................................47
Modify Banner and Prompt Commands .................................................................................................................64
Network Management (SNMP) Commands ...........................................................................................................67
Network Monitoring Commands .............................................................................................................................89
SMTP Commands ................................................................................................................................................105
Switch Port Commands........................................................................................................................................110
Time and SNTP Commands.................................................................................................................................114
Chapter 5: Layer 2 Features .................................................................................................................. 121
Asymmetric VLAN Commands.............................................................................................................................121
Forwarding Database Commands........................................................................................................................123
IGMP Snooping Commands.................................................................................................................................129
Link Aggregation Commands ...............................................................................................................................137
Loopback Detection Commands ..........................................................................................................................142
MAC-based VLAN Commands.............................................................................................................................146
MLD Snooping Commands ..................................................................................................................................148
Multiple Spanning Tree Protocol (MSTP) Commands..........................................................................................155
Packet Storm Control Commands........................................................................................................................169
Port Mirroring Commands ....................................................................................................................................173
Port Security Commands......................................................................................................................................176
Protocol VLAN Commands...................................................................................................................................179
Q-in-Q Commands ...............................................................................................................................................183
Traffic Segmentation Commands.........................................................................................................................188
VLAN Commands.................................................................................................................................................190
Chapter 6: Layer 3 Features .................................................................................................................. 201
ARP Commands...................................................................................................................................................201
Routing Table Commands....................................................................................................................................205
Chapter 7: Quality of Service (QoS)......................................................................................................213
QoS Commands...................................................................................................................................................213
Extreme Networks EAS 100-24t Switch CLI Manual
3
Table of Contents
Chapter 8: Access Control List (ACL) .................................................................................................. 227
Access Control List (ACL) Commands.................................................................................................................227
Flow Meter Commands ........................................................................................................................................235
Chapter 9: Security................................................................................................................................. 237
802.1X Commands...............................................................................................................................................237
Access Authentication Control Commands ..........................................................................................................254
MAC-based Access Control Commands..............................................................................................................278
Multiple Authentication Commands......................................................................................................................289
SSH Commands...................................................................................................................................................290
SSL Commands ...................................................................................................................................................297
Chapter 10: Support ............................................................................................................................... 305
Technical Support Commands .............................................................................................................................305
Appendix A: System Log Entries ..........................................................................................................309
Appendix B: Trap List ............................................................................................................................ 317
4
Extreme Networks EAS 100-24t Switch CLI Manual
Introduction
1
CHAPTER
The Extreme Networks EAS 100-24t Switch CLI Manual contains information for the setup and management of the switch. This manual is intended for network managers familiar with network management concepts and terminology. This manual provides a reference for all of the commands contained in the CLI.
The switch can be managed through the switch’s serial port, Telnet, or the Web-based management agent. The command-line interface (CLI) can be used to configure and manage the switch via the serial port or Telnet interfaces.
Accessing the Switch via the Serial Port
The switch’s serial port’s default settings are as follows:
9600 baud
no parity
8 data bits
1 stop bit
A computer running a terminal emulation program capable of emulating a VT-100 terminal and a serial port configured as above are then connected to the switch’s serial port via an RS-232 DB-9 cable.
With the serial port properly connected to a management computer, the following screen should be visible. If this screen does not appear, try pressing Ctrl+R to refresh the console screen.
Figure 1: Initial CLI screen
Press any key to login...
EAS 100-24t Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 1.00.002
Copyright (C) 2000-2011 Extreme Networks.
All rights reserved. UserName:admin PassWord:
EAS 100-24t:admin#
Extreme Networks EAS 100-24t Switch CLI Manual
5
Chapter 1: Introduction
Enter the username and password and press Enter. You will be given access to the command prompt # (or >) shown above. (# for the Administrator-level user login, > for User-level user login). The default username is admin and there is no initial password.
Setting the Switch’s IP Address
Each switch must be assigned its own IP Address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The switch’s default IP address is 0.0.0.0. You can change the default switch IP address to meet the specification of your networking address scheme.
The switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found on the initial boot console screen (shown below).
Figure 2: Boot screen
Boot Procedure V1.00.002
-------------------------------------------------------------------------------
Power On Self Test ........................................ 100 %
MAC Address : 00-04-96-52-83-9C
Please Wait, Loading V1.00.002 Runtime Image ............. 100 %
The switch’s MAC address can also be found in the Web management program on the Switch Information (Basic Settings) window in the Configuration folder.
The IP address for the switch must be set before it can be managed with the Web-based manager. The switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the switch must be known.
The IP address may be set using the CLI over the console serial port as follows:
1 Starting at the command line prompt, enter the command config ipif System ipaddress
xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy where the letter x represents the IP address to be assigned to the IP interface named System and the letter y represent the corresponding subnet mask.
2 Alternatively, users can enter config ipif System ipaddress xxx.xxx.xxx.xxx/z. Where the letter x
represents the IP address to be assigned to the IP interface named System and the letter z represents the corresponding number of subnets in CIDR notation.
The IP interface named System on the switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the switch’s Telnet or Web-based management agent.
Figure 3: Assigning an IP Address
#config ipif System ipaddress 10.1.1.1/255.0.0.0 Command: config ipif System ipaddress 10.1.1.1/8 Success.
#
In the above example, the switch was assigned an IP address of 10.1.1.1 with a subnet mask of 255.0.0.0. The system message Success indicates that the command was executed successfully. The switch can
6
Extreme Networks EAS 100-24t Switch CLI Manual
NOTE
Using the Console CLI
now be configured and managed via Telnet, SNMP MIB browser and the CLI or via the Web-based management agent using the above IP address to connect.
Using the Console CLI
The switch supports a console management interface that allows the user to connect via a serial port and a terminal or a computer running a terminal emulation program. The console can also be used over the network using the TCP/IP Telnet protocol. The console program can be used to configure the switch to use an SNMP-based network management application over the network.
This chapter describes how to use the console interface to access the switch, change its settings, and monitor its operation.
Switch configuration settings are saved to non-volatile RAM using the save command. The current configuration will then be retained in the switch’s NV-RAM, and reloaded when the switch is rebooted. If the switch is rebooted without using the save command, the last configuration saved to NV-RAM will be loaded.
Connecting to the Switch
The console interface is used by connecting the switch to a VT100-compatible terminal or a computer running an ordinary terminal emulator program (e.g., the HyperTerminal program included with the Windows operating system) using an RS-232C serial cable. Your terminal parameters will need to be set to:
VT-100 compatible
9600 baud
8 data bits
No parity
One stop bit
No flow control
You can also access the same functions over a Telnet interface. Once you have set an IP address for your switch, you can use a Telnet program (in VT-100 compatible terminal mode) to access and control the switch. All of the screens are identical, whether accessed from the console port or from a Telnet interface.
Extreme Networks EAS 100-24t Switch CLI Manual
7
Chapter 1: Introduction
After the switch reboots and you have logged in, the console looks like this:
Figure 4: Initial Console Screen after logging in
EAS 100-24t Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 1.00.002
Copyright (C) 2000-2011 Extreme Networks. All rights reserved. UserName:admin PassWord:
EAS 100-24t:admin#
Commands are entered at the command prompt, #.
There are a number of helpful features included in the CLI. Entering the ? command will display a list of all of the top-level commands.
Figure 5: The ? Command
.. ? cable_diag ports clear clear arptable clear counters clear fdb clear log clear mac_based_access_control auth_mac clear port_security_entry port config 802.1p default_priority config 802.1p user_priority config 802.1x auth_parameter ports config 802.1x auth_protocol config 802.1x capability ports config 802.1x init config 802.1x reauth config access_profile profile_id config account config admin local_enable config arp_aging time config arpentry CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All
When users enter a command without its required parameters, the CLI will prompt users with Next possible completions: message.
8
Extreme Networks EAS 100-24t Switch CLI Manual
Using the Console CLI
Figure 6: Example Command Parameter Help
#config account Command: config account
Next possible completions: <username>
#
In this case, the command config account was entered without the parameter <username>. The CLI will then prompt users to enter the <username> with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
In addition, after typing any given command plus one space, users can see all of the next possible sub­commands, in sequential order, by repeatedly pressing the Ta b key.
To re-enter the previous command at the command prompt, press the up arrow cursor key. The previous command will appear at the command prompt.
Figure 7: Using the Up Arrow to Re-enter a Command
#config account Command: config account
Next possible completions: <username>
#config account Command: config account
Next possible completions: <username>
#
In the above example, the command config account was entered without the required parameter <username>, the CLI returned the Next possible completions: <username> prompt. The up arrow
cursor control key was pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed.
All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual - angle brackets < > indicate a numerical value or character string, braces { } indicate optional parameters or a choice of parameters, and square brackets [ ] indicate required parameters.
If a command is entered that is unrecognized by the CLI, the top-level commands will be displayed under the Available commands: prompt.
Extreme Networks EAS 100-24t Switch CLI Manual
9
Chapter 1: Introduction
Figure 8: The Next Available Commands Prompt
#the
Available commands: .. ? cable_diag clear config create delete dir disable download enable login logout ping ping6 reboot reset save show smtp telnet traceroute upload
#
The top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command.
For example, if users enter the show command with no additional parameters, the CLI will then display all of the next possible parameters.
Figure 9: Next possible completions: Show Command
#show Command: show
Next possible completions:
802.1p 802.1x access_profile account acct_client arpentry asymmetric_vlan auth_client auth_diagnostics auth_session_statistics auth_statistics authen authen_enable authen_login authen_policy authentication authorization bandwidth_control command_history config cos dhcp_relay dot1v_protocol_group dscp_mapping error fdb firmware flow_meter greeting_message gvrp igmp_snooping ipif ipif_ipv6_link_local_auto iproute ipv6 ipv6route jumbo_frame lacp_ports link_aggregation lldp log log_save_timing loopdetect mac_based_access_control mac_based_access_control_local mac_based_vlan mirror mld_snooping multicast multicast_fdb packet port port_security ports pvid qinq radius router_ports scheduling scheduling_mechanism serial_port session smtp snmp sntp ssh ssl stp switch syslog tech_support terminal_line time traffic traffic_segmentation trusted_host utilization vlan vlan_translation
#
10
Extreme Networks EAS 100-24t Switch CLI Manual
NOTE
Command Syntax
In the above example, all of the next possible parameters for the show command are displayed. At the next command prompt, the up arrow was used to re-enter the show command, followed by the account parameter. The CLI then displays the user accounts configured on the switch.
Command Syntax
The following symbols are used to describe how command entries are made and values and arguments are specified in this manual.
All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted function that
changes text case.
<angle brackets>
Purpose Encloses a variable or value that must be specified.
Syntax config ipif [System] [{ipaddress <network_address> | vlan <vlan_name 32> | state
[enable | disable]} | bootp | dhcp | ipv6 ipv6address <ipv6networkaddr>]
Description In the above syntax example, users must supply an IP interface name in the <System>
space, a VLAN name in the <vlan_name 32> space, and the network address in the
<network_address> space. Do not type the angle brackets.
Example Command config ipif System ipaddress 10.24.22.5/8 vlan Design state enable
[square brackets]
Purpose Encloses a required value or set of required arguments. One value or argument can be
specified.
Syntax create account [admin | user] <username 15>
Description In the above syntax example, users must specify either an admin or a user level
account to be created. Do not type the square brackets.
Example Command create account admin ctsnow
| vertical bar
Purpose Separates two or more mutually exclusive items in a list, one of which must be entered.
Syntax create account [admin | user] <username 15>
Description In the above syntax example, users must specify either admin, or user. Do not type
Example Command create account admin ctsnow
the vertical bar.
{braces}
Purpose Encloses an optional value or set of optional arguments.
Syntax reset {[config | system]} {force_agree}
Extreme Networks EAS 100-24t Switch CLI Manual
11
Chapter 1: Introduction
{braces}
Description In the first part of the above syntax example, users have the option to specify config or
system. It is not necessary to specify either optional value, however the effect of the
system reset is dependent on which, if any, value is specified. Therefore, with this example there are three possible outcomes of performing a system reset. Do not type the braces.
Example command reset config
Line Editing Key Usage
Delete Deletes the character under the cursor and then shifts the remaining characters in the
line to the left.
Backspace Deletes the character to the left of the cursor and then shifts the remaining characters
in the line to the left.
Insert or Ctrl+R Toggle on and off. When toggled on, inserts text and shifts previous text to the right.
Left Arrow Moves the cursor to the left.
Right Arrow Moves the cursor to the right.
Up Arrow Repeats the previously entered command. Each time the up arrow is pressed, the
command previous to that displayed appears. This way it is possible to review the command history for the current session. Use the down arrow to progress sequentially forward through the command history list.
Down Arrow The down arrow will display the next command in the command history entered in the
current session. This displays each command sequentially as it was entered. Use the up arrow to review previous commands.
Tab Shifts the cursor to the next field to the left.
Multiple Page Display Control Keys
Space Displays the next page.
CTRL+c Stops the display of remaining pages when multiple pages are to be displayed.
ESC Stops the display of remaining pages when multiple pages are to be displayed.
n Displays the next page.
p Displays the previous page.
q Stops the display of remaining pages when multiple pages are to be displayed.
r Refreshes the pages currently displayed.
a Displays the remaining pages without pausing between pages.
Enter Displays the next line or table entry.
12
Extreme Networks EAS 100-24t Switch CLI Manual
Interface and Hardware
2
CHAPTER
Cable Diagnostics Commands
The cable diagnostics commands in the command-line interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command Parameters
cable_diag ports [<portlist> | all]
Each command is listed, in detail, in the following sections.
cable_diag ports
Purpose Used to test the copper cable. If there is an error on the cable, it can determine the
type of error and the position where the error occurred.
Syntax cable_diag ports [<portlist> | all]
Description For FE port, two pairs of cable will be diagnosed. The type of cable error can be open
Parameters <portlist> - Specifies a range of ports to be tested.
Restrictions None.
and short. Open means that the cable in the error pair does not have a connection at the specified position. Short means that the cables in the error pair has a short problem at the specified position. When a port is in link-up status, the test will obtain the distance of the cable. Since the status is link-up, the cable will not have the short or open problem. When a port is in link-down status, the link-down may be caused by many factors. When the port has a normal cable connection, but the remote partner is powered off, the cable diagnostics can still diagnose the health of the cable as if the remote partner is powered on.
When the port does not have any cable connection, the result of the test will indicate no cable. The test will detect the type of error and the position where the error occurs. Note that this test will consume a low number of packets. Since this test is for copper cable, the port with fiber cable will be skipped from the test. Some phy chips can’t support Cable Diagnostics function, and it will display at the result.
NOTE: If the Link Status field for an interface displays "Link Up", the value displayed in the Cable Length field may not be accurate for the interface.
all - All ports
Extreme Networks EAS 100-24t Switch CLI Manual
13
Chapter 2: Interface and Hardware
Example usage:
To test the cable on ports 21 to 24:
#cable_diag ports 21-24 Command: cable_diag ports 21-24
Perform Cable Diagnostics ...
Port Type Link Status Test Result Cable Length (M)
---- ------- -------------- -------------------------- ----------------­ 21 GE Link Up OK 3 22 GE Link Down No Cable ­ 23 GE Link Down No Cable ­ 24 GE Link Down No Cable -
#
14
Extreme Networks EAS 100-24t Switch CLI Manual
Fundamentals
3
CHAPTER
Basic IP Commands
The basic IP interface commands in the CLI are listed (along with the appropriate parameters) in the following table:
Command Parameters
config ipif [System] [{ipaddress <network_address> | vlan <vlan_name 32> | state [enable | disable]} |
bootp | dhcp | ipv6 ipv6address <ipv6networkaddr>]
show ipif
Each command is listed in detail in the following sections:
config ipif
Purpose Used to configure the System IP interface.
Syntax config ipif [System] [{ipaddress <network_address> | vlan <vlan_name 32> | state
Description This command is used to configure the System IP interface on the switch.
Parameters System - Enter System.
Restrictions Only Administrator-level users can issue this command.
[enable | disable]} | bootp | dhcp | ipv6 ipv6address <ipv6networkaddr>]
ipaddress <network_address> - IP address and netmask of the IP interface to be created. Users can specify the address and mask information using the traditional format (for example, 10.1.2.3/255.0.0.0 or in CIDR format 10.1.2.3/8).
<vlan_name 32> - The name of the VLAN corresponding to the System IP interface.
state [enable | disable] - Allows users to enable or disable the IP interface.
bootp - Allows the selection of the BOOTP protocol for the assignment of an IP address to
the switch’s System IP interface.
dhcp - Allows the selection of the DHCP protocol for the assignment of an IP address to the switch’s System IP interface.
ipv6 ipv6address <ipv6networkaddr> - IPV6 network address. The address should specify a host address and length of network prefix length. There can be multiple V6 addresses defined on an interface. Thus, as a new address is defined, it is added on this ipif.
Extreme Networks EAS 100-24t Switch CLI Manual
15
Chapter 3: Fundamentals
Example usage:
To configure the IP interface System:
#config ipif System ipaddress 10.48.74.122/8 Command: config ipif System ipaddress 10.48.74.122/8
Success.
#
show ipif
Purpose Used to display the configuration of an IP interface on the switch.
Syntax show ipif
Description This command will display the configuration of an IP interface on the switch.
Parameters None.
Restrictions None.
Example usage:
To display IP interface settings.
#show ipif Command: show ipif
IP Interface Settings
Interface Name : System IP Address : 0.0.0.0 (MANUAL) Subnet Mask : 0.0.0.0 VLAN Name : default Admin. State : Enabled Link Status : Link DOWN Member Ports : 1-24 Total Entries : 1
#
Basic Switch Commands
The Basic switch commands in the CLI are listed (along with the appropriate parameters) in the following table:
Command Parameters
create account [admin | user] <username 15>
config account <username>
show account
16
Extreme Networks EAS 100-24t Switch CLI Manual
Basic Switch Commands
Command Parameters
delete account <username>
show session
show switch
show serial_port
config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes |
5_minutes | 10_minutes | 15_minutes]}
enable clipaging
disable clipaging
enable telnet {<tcp_port_number 1-65535>}
disable telnet
telnet <ipaddr> {tcp_port <value 0-65535>}
enable web {<tcp_port_number 1-65535>}
disable web
save {[config | log | all]}
reboot {force_agree}
reset {[config | system]} {force_agree}
login
logout
clear
enable jumbo_frame
disable jumbo_frame
show jumbo_frame
Each command is listed, in detail, in the following sections:
create account
Purpose Used to create user accounts.
Syntax create account [admin | user] <username 15>
Description This command is used to create user accounts that consist of a username of
Parameters admin <username> – Name of the administrator account.
Restrictions Only Administrator-level users can issue this command.
1 to 15 characters and a password of 0 to 15 characters. Up to eight user accounts can be created.
user <username> – Name of the user account.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
Extreme Networks EAS 100-24t Switch CLI Manual
17
Chapter 3: Fundamentals
Example usage:
To create an administrator-level user account with the username “EXN”.
#create account admin EXN Command: create account admin EXN
Enter a case-sensitive new password:**** Enter the new password again for confirmation:****
Success.
#
config account
Purpose Used to configure user accounts.
Syntax config account <username>
Description This command is used to configure a user account that has been created
using the create account command. When the password information is not specified in the command, the system will prompt the user to input the password interactively. For this case, the user can only input the plain text password.
Parameters <username> – The name of the account. The account must already be
Restrictions Only Administrator-level users can issue this command.
defined.
Usernames can be between 1 and 15 characters.
Passwords can be between 0 and 15 characters.
Example usage:
To configure the user password of “EXN” account:
#config account EXN Command: config account EXN
Enter a old password:**** Enter a case-sensitive new password:**** Enter the new password again for confirmation:****
Success.
#
show account
Purpose Used to display user accounts.
Syntax show account
Description This command is used to display all user accounts created on the switch. Up
to eight user accounts can exist at one time.
18
Extreme Networks EAS 100-24t Switch CLI Manual
show account
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To display the accounts that have been created:
#show account Command: show account
Current Accounts: Username Access Level
---------- -----------­EXN Admin
Total Entries: 1
#
Basic Switch Commands
delete account
Purpose Used to delete an existing user account.
Syntax delete account <username>
Description This command is used to delete a user account that has been created using
the create account command.
Parameters <username> – The name of the account to be deleted.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To delete the user account “EXN”:
#delete account EXN Command: delete account EXN
Success.
#
show session
Purpose Used to display a list of currently logged-in users.
Syntax show session
Description This command is used to display a list of all the users that are logged-in at the
time the command is issued.
Parameters None.
Restrictions None.
Extreme Networks EAS 100-24t Switch CLI Manual
19
Chapter 3: Fundamentals
Example usage:
To display the way that the users logged in:
#show session Command: show session
ID Live Time From Level Name
-- ------------ --------------------------------------- ----- --------------­8 0:2:26.850 Serial Port 4 admin
Total Entries: 1
CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh
show switch
Purpose Used to display general information about the switch.
Syntax show switch
Description This command is used to display information about the switch.
Parameters None.
Restrictions None.
20
Extreme Networks EAS 100-24t Switch CLI Manual
Example usage:
To display the switch’s information:
#show switch Command: show switch
Device Type : EAS 100-24t Gigabit Ethernet Switch MAC Address : 00-40-66-49-E9-91 IP Address : 0.0.0.0 (Manual) VLAN Name : default Subnet Mask : 0.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 1.00.002 Firmware Version : Build 1.00.001 Hardware Version : A Serial Number : 170892110008 System Name : System Location : System Uptime : 0 days, 1 hours, 1 minutes, 2 seconds System Contact : Spanning Tree : Disabled GVRP : Disabled IGMP Snooping : Disabled
802.1X : Disabled Telnet : Enabled (TCP 23) Web : Enabled (TCP 80) RMON : Disabled SSH : Disabled CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All
Basic Switch Commands
show serial_port
Purpose Used to display the current serial port settings.
Syntax show serial_port
Description This command is used to display the current serial port settings.
Parameters None.
Restrictions None
Extreme Networks EAS 100-24t Switch CLI Manual
21
Chapter 3: Fundamentals
Example usage:
To display the serial port setting:
#show serial_port Command: show serial_port
Baud Rate : 9600 Data Bits : 8 Parity Bits : None Stop Bits : 1 Auto-Logout : 10 mins
#
config serial_port
Purpose Used to configure the serial port.
Syntax config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] |
Description This command is used to configure the serial port’s baud rate and auto logout
Parameters baud_rate [9600 | 19200 | 38400 | 115200] - The serial bit rate that will be
Restrictions Only Administrator-level users can issue this command.
auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]}
settings.
used to communicate with the management host. There are four options:
9600, 19200, 38400, and 115200.
never - No time limit on the length of time the console can be open with no
user input.
2_minutes - The console will log out the current user if there is no user input for 2 minutes.
5_minutes - The console will log out the current user if there is no user input for 5 minutes.
10_minutes - The console will log out the current user if there is no user input for 10 minutes.
15_minutes - The console will log out the current user if there is no user input for 15 minutes.
Example usage:
To configure the baud rate:
#config serial_port baud_rate 115200 Command: config serial_port baud_rate 115200
Success.
#
22
Extreme Networks EAS 100-24t Switch CLI Manual
Basic Switch Commands
enable clipaging
Purpose Used to pause the scrolling of the console screen when a command displays
Syntax enable clipaging
Description This command is used when issuing a command which causes the console
Parameters None.
Restrictions Only Administrator-level users can issue this command.
more than one page.
screen to rapidly scroll through several pages. This command will cause the console to pause at the end of each page. The default setting is enabled.
Example usage:
To enable pausing of the screen display when the show command output reaches the end of the page:
#enable clipaging Command: enable clipaging
Success.
#
disable clipaging
Purpose Used to disable the pausing of the console screen scrolling at the end of each
page when a command displays more than one screen of information.
Syntax disable clipaging
Description This command is used to disable the pausing of the console screen at the end
of each page when a command would display more than one screen of information.
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To disable pausing of the screen display when show command output reaches the end of the page:
#disable clipaging Command: disable clipaging
Success.
#
enable telnet
Purpose Used to enable communication with and management of the switch using the
Syntax enable telnet {<tcp_port_number 1-65535>}
Extreme Networks EAS 100-24t Switch CLI Manual
Telnet protocol.
23
Chapter 3: Fundamentals
enable telnet
Description This command is used to enable the Telnet protocol on the switch. The user
can specify the TCP port number the switch will use to listen for Telnet requests.
Parameters <tcp_port_number 1-65535> - The TCP port number. TCP ports are numbered
between 1 and 65535. The “well-known” TCP port for the Telnet protocol is
23.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To enable Telnet and configure port number:
#enable telnet 23 Command: enable telnet 23
Success.
#
disable telnet
Purpose Used to disable the Telnet protocol on the switch.
Syntax disable telnet
Description This command is used to disable the Telnet protocol on the switch.
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To disable the Telnet protocol on the switch:
#disable telnet Command: disable telnet
Success.
#
telnet
Purpose Used to Telnet another device on the network.
Syntax telnet <ipaddr> {tcp_port <value 0-65535>}
Description This command is used to connect to another device’s management through
Telnet.
24
Extreme Networks EAS 100-24t Switch CLI Manual
Basic Switch Commands
telnet
Parameters <ipaddr> - Enter the IP address of the device to connect through, using
Telnet.
tcp_port <value 0-65535> - Enter the TCP port number used to connect through. The common TCP port number for telnet is 23.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To connect to a device through telnet with an IP address of 10.53.13.99:
#telnet 10.53.13.99 tcp_port 23 Command: telnet 10.53.13.99 tcp_port 23
enable web
Purpose Used to enable the HTTP-based management software on the switch.
Syntax enable web {<tcp_port_number 1-65535>}
Description This command is used to enable the Web-based management software on the
Parameters <tcp_port_number 1-65535> - The TCP port number. TCP ports are numbered
Restrictions Only Administrator-level users can issue this command.
switch. The user can specify the TCP port number the switch will use to listen for Telnet requests.
between 1 and 65535. The “well-known” port for the Web-based management software is 80.
Example usage:
To enable HTTP and configure port number:
#enable web 80 Command: enable web 80
Note: SSL will be disabled if web is enabled. Success.
#
disable web
Purpose Used to disable the HTTP-based management software on the switch.
Syntax disable web
Description This command disables the Web-based management software on the switch.
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Extreme Networks EAS 100-24t Switch CLI Manual
25
Chapter 3: Fundamentals
Example usage:
To disable HTTP:
#disable web Command: disable web
Success.
#
save
Purpose Used to save changes in the switch’s configuration to non-volatile RAM.
Syntax save {[config | log | all]}
Description This command is used to enter the current switch configuration into non-
volatile RAM. The saved switch configuration will be loaded into the switch’s memory each time the switch is restarted.
Parameters config – Used to save the current configuration to a file.
log – Used to save the current log to a file. The log file cannot be deleted.
all – Save changes to currently activated configurations and save log. If no
keywords are specified, save the changes to the configuration. If there are no keywords specified, the changes will be saved to the configuration.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To save the switch’s current configuration to non-volatile RAM:
#save config Command: save config
Saving all configurations to NV-RAM...... Done.
Success.
#
To save the switch’s current log to non-volatile RAM:
#save log Command: save log
Saving all log information to NV-RAM...... Done.
Success.
#
26
Extreme Networks EAS 100-24t Switch CLI Manual
Basic Switch Commands
To save the switch’s the current configuration and log to non-volatile RAM:
#save all Command: save all
Saving all configurations and log information to NV-RAM......
Done. Success.
#
reboot
Purpose Used to restart the switch.
Syntax reboot {force_agree}
Description This command is used to restart the switch.
Parameters force_agree – When force_agree is specified, the switch will be forced to
Restrictions Only Administrator-level users can issue this command.
restart immediately without further confirmation.
Example usage:
To restart the switch:
#reboot Command: reboot
If you do not save the settings, all changes made in this session will be lost. Are you sure you want to proceed with the system reboot?(y/n)y Please wait, the switch is rebooting...
To force the switch to restart:
#reboot force_agree Command: reboot force_agree
Please wait, the switch is rebooting...
reset
Purpose Used to reset the switch to the factory default settings.
Syntax reset {[config | system]} {force_agree}
Description This command is used to restore the switch’s configuration to the default
settings assigned from the factory.
Extreme Networks EAS 100-24t Switch CLI Manual
27
Chapter 3: Fundamentals
reset
Parameters config - If the keyword ‘config’ is specified, all of the factory default settings
are restored on the switch including the IP address, user accounts, and the switch history log. The switch will not save or reboot.
system - If the keyword ‘system’ is specified all of the factory default settings are restored on the switch. The switch will save and reboot after the settings are changed to default. Rebooting will clear all entries in the Forwarding Data Base.
force_agree – When force_agree is specified, the reset command will be executed immediately without further confirmation.
If no parameter is specified, the switch’s current IP address, user accounts, and the switch history log are not changed. All other parameters are restored to the factory default settings. The switch will not save or reboot.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To restore all of the switch’s parameters to their default values except the IP address, user accounts, and switch logs:
#reset Command: reset
Are you sure you want to proceed with system reset except IP address, log and user account?(y/n) Success.
#
To restore all of the switch’s parameters to their default values:
#reset config Command: reset config
Are you sure you want to proceed with system reset?(y/n)
Success.
#
To restore all of the switch’s parameters to their default values and have the switch save and reboot:
#reset system Command: reset system
Are you sure you want to proceed with system reset, save and reboot?(y/n) Load Factory Default Configuration... Done. Saving all configurations to NV-RAM.. Done. Please wait, the switch is rebooting...
28
Extreme Networks EAS 100-24t Switch CLI Manual
login
Purpose Used to log in a user to the switch’s console.
Syntax login
Basic Switch Commands
Description This command is used to initiate the login procedure. The user will be
Parameters None.
Restrictions None.
prompted for a Username and Password.
Example usage:
To initiate the login procedure:
#login Command: login
UserName:
logout
Purpose Used to log out a user from the switch’s console.
Syntax logout
Description This command terminates the current user’s session on the switch’s console.
Parameters None.
Restrictions None.
Example usage:
To terminate the current user’s console session:
#logout
clear
Purpose This command is used to clear the terminal screen.
Syntax clear
Description This command is used to clear the terminal screen.
Parameters None.
Restrictions None.
Extreme Networks EAS 100-24t Switch CLI Manual
29
Chapter 3: Fundamentals
Example usage:
To clear the terminal screan:
# clear Command: clear
enable jumbo_frame
Purpose Used to enable jumbo frame.
Syntax enable jumbo_frame
Description This command is used to configure the jumbo frame setting as enable.
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To en a bl e j u mb o fr am e :
#enable jumbo_frame Command: enable jumbo_frame
Success.
#
disable jumbo_frame
Purpose Used to disable jumbo frame.
Syntax disable jumbo_frame
Description This command is used to configure the jumbo frame setting as disable.
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To di sab le j um bo f ra m e:
#disable jumbo_frame Command: disable jumbo_frame
Success.
#
30
Extreme Networks EAS 100-24t Switch CLI Manual
Loading...
+ 290 hidden pages