Summary of the content on the page No. 1
ProSafe XSM7224S
Managed Stackable
Switch CLI Manual,
Software Version 9.0
NETGEAR, Inc.
350 Plumeria Dr.
San Jose, CA 95124 USA
202-10770-01
November 2010
Summary of the content on the page No. 2
© 2010 by NETGEAR, Inc. All rights reserved. Trademarks NETGEAR and the NETGEAR logo are registered trademarks, and ProSafe is a trademark of NETGEAR, Inc. Microsoft, Windows, and Windows NT are registered trademarks of Microsoft Corporation. Other brand and product names are registered trademarks or trademarks of their respective holders. Portions of this document are copyright Intoto, Inc. November 2010 Statement of Conditions In the interest of improving internal design, operational funct
Summary of the content on the page No. 3
Product and Publication Details Model Number: XSM7224S Publication Date: November 2010 Product Family: managed switch Product Name: ProSafe XSM7224S Managed Stackable Switch Home or Business Product: Business Language: English Publication Part Number: 202-10770-01 Publication Version Number 1.0 iii v1.0, November 2010
Summary of the content on the page No. 4
iv v1.0, November 2010
Summary of the content on the page No. 5
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Contents About This Manual Audience ........................................................................................................................... ix About the Software ........................................................................................................... ix Scope.......................................................................................................................... x Pr
Summary of the content on the page No. 6
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 VLAN Commands .........................................................................................................3-32 Double VLAN Commands ............................................................................................3-47 Voice VLAN Commands ...............................................................................................3-50 Provisioning (IEEE 802.1p) Commands ...........................
Summary of the content on the page No. 7
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Chapter 5 Quality of Service (QoS) Commands Class of Service (CoS) Commands ................................................................................5-2 Differentiated Services (DiffServ) Commands ................................................................5-9 DiffServ Class Commands ...........................................................................................5-11 DiffServ Policy Commands .......
Summary of the content on the page No. 8
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Secure Shell (SSH) Commands ...................................................................................7-16 Management Security Commands ...............................................................................7-19 Hypertext Transfer Protocol (HTTP) Commands .........................................................7-20 Access Commands ..........................................................................
Summary of the content on the page No. 9
About This Manual This document describes command-line interface (CLI) commands you use to view and configure XSM7224S software. You can access the CLI by using a direct connection to the serial port or by using telnet or SSH over a remote network connection. Note: This document contains both standalone and stacking commands. Audience This document is for system administrators who configure and operate systems using XSM7224S software. It provides an understanding of the configuration options
Summary of the content on the page No. 10
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Scope The software encompasses both hardware and software support. The software is partitioned to run in the following processors: • CPU – This code runs the networking device management portfolio and controls the overall networking device hardware. It also assists in frame forwarding, as needed and specified. This code is designed to run on multiple platforms with minimal changes from platform to platform. • Networki
Summary of the content on the page No. 11
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 • Typographical Conventions. This manual uses the following typographical conventions: Italic Emphasis, books, CDs, file and server names, extensions Bold User input, IP addresses, GUI screen text Fixed Command prompt, CLI text, code italic URL links • Formats. This manual uses the following formats to highlight special messages: Note: This format is used to highlight information of importance or special interest. Tip: T
Summary of the content on the page No. 12
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 How to Print This Manual To print this manual, your computer must have the free Adobe Acrobat reader installed in order to view and print PDF files. The Acrobat reader is available on the Adobe Web site at http://www.adobe.com. Revision History Version Part Number Date Description Number 202-10770-01 1.0 November 2010 Product update: New firmware and new user Interface xii v1.0, November 2010
Summary of the content on the page No. 13
Chapter 1 Using the Command-Line Interface The command-line interface (CLI) is a text-based way to manage and monitor the system. You can access the CLI by using a direct serial connection or by using a remote logical connection with telnet or SSH. This chapter describes the CLI syntax, conventions, and modes. It contains the following sections: • “Command Syntax” on page 1-1 • “Command Conventions” on page 1-2 • “Common Parameter Values” on page 1-3 • “Unit/Slot/Port Naming Convention” on pa
Summary of the content on the page No. 14
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 • network parms is the command name. • and are parameters and represent required values that you must enter after you type the command keywords. • [gateway] is an optional parameter, so you are not required to enter a value in place of the parameter. The CLI Command Reference lists each command by the command name and provides a brief description of the command. Each command reference also contains
Summary of the content on the page No. 15
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Common Parameter Values Parameter values might be names (strings) or numbers.To use spaces as part of a name parameter, enclose the name value in double quotes. For example, the expression “System Name with Spaces” forces the system to accept the spaces. Empty strings (““) are not valid user-defined strings. Table 2 describes common parameter values and value formatting. Table 2. Parameter Descriptions Parameter De
Summary of the content on the page No. 16
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 The slot number has two uses. In the case of physical ports, it identifies the card containing the ports. In the case of logical and CPU ports it also identifies the type of interface or port. Table 3. Type of Slots Slot Type Description Physical slot numbers Physical slot numbers begin with zero, and are allocated up to the maximum number of physical slots. Logical slot numbers Logical slots immediately follow physica
Summary of the content on the page No. 17
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 shutdown configuration command reverses the shutdown of an interface. Use the command without the keyword no to re-enable a disabled feature or to enable a feature that is disabled by default. Only the configuration commands are available in the no form. Managed Switch Modules Managed switch software consists of flexible modules that can be applied in various combinations to develop advanced Layer 2/3/4+ products. The
Summary of the content on the page No. 18
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Table 5. CLI Command Modes Command Mode Prompt Mode Description User EXEC Switch> Contains a limited set of commands to view basic system information. Privileged EXEC Switch# Allows you to issue any EXEC command, enter the VLAN mode, or enter the Global Configuration mode. Global Config Switch (Config)# Groups general setup commands and permits you to make modifications to the running configuration. VLAN Config S
Summary of the content on the page No. 19
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Table 5. CLI Command Modes (continued) Command Mode Prompt Mode Description TACACS Config Switch (Tacacs)# Contains commands to configure properties for the TACACS servers. DHCP Pool Switch (Config dhcp-pool)# Contains the DHCP server IP address pool Config configuration commands. DHCPv6 Pool Switch (Config dhcp6-pool)# Contains the DHCPv6 server IPv6 address pool Config configuration commands. Stack Global Switch (C
Summary of the content on the page No. 20
ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0 Table 6. CLI Mode Access and Exit (continued) Command Mode Access Method Exit or Access Previous Mode Class-Map From the Global Config mode, To exit to the Global Config mode, enter exit. To Config enter return to the Privileged EXEC mode, enter Ctrl- class-map, and specify the Z. optional keyword ipv4 to specify the Layer 3 protocol for this class. See “class-map” on page 5-12 for more information. Ipv6-Class-Map Fr