Краткое содержание страницы № 1
ProSafe Managed Switch
Command Line Interface (CLI)
User Manual
10.0
GSM7328Sv2
GSM7352Sv2
GSM7228PS
GSM7252PS
M5300-28G3
M5300-52G3
M5300-28G-POE+
M5300-52G-POE+
M5300-28GF3
M5300-28G
M5300-52G
350 East Plumeria Drive
San Jose, CA 95134
USA
November 2012
202-11054-02
1.0
Краткое содержание страницы № 2
ProSafe Managed Switch © 2012 NETGEAR, Inc. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permission of NETGEAR, Inc. Technical Support Thank you for choosing NETGEAR. To register your product, get the latest product updates, or get support online, visit us at http://support.netgear.com. Phone (US & Canada only): 1-888-NETGEAR Phon
Краткое содержание страницы № 3
Contents Chapter 1 Using the Command-Line Interface Licensing and Command Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 Command Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10 Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Common Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 Unit/Slot/Port Naming Convention . . . . . . . . .
Краткое содержание страницы № 4
ProSafe Managed Switch Port-Channel/LAG (802.3ad) Commands . . . . . . . . . . . . . . . . . . . . . . . . 123 Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Static MAC Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 DHCP L2 Relay Agent Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 DHCP Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Краткое содержание страницы № 5
ProSafe Managed Switch Chapter 6 IP Multicast Commands Multicast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .339 DVMRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .344 PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .349 Internet Group Message Protocol (IGMP) Commands. . . . . . . . . . . . . . .360 IGMP Proxy Commands. . . . . . . . . . . . . . . . . . . .
Краткое содержание страницы № 6
ProSafe Managed Switch System Utility and Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562 Simple Network Time Protocol (SNTP) Commands. . . . . . . . . . . . . . . . . 572 DHCP Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 579 DNS Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591 Packet Capture Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595 Servic
Краткое содержание страницы № 7
ProSafe Managed Switch Captive Portal Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . .751 Captive Portal Status Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .757 Captive Portal Client Connection Commands . . . . . . . . . . . . . . . . . . . . .761 Captive Portal Interface Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . .765 Captive Portal Local User Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .766 Captive Portal User
Краткое содержание страницы № 8
1. Using the Command-Line Interface 1 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: • Licensing and Command Support • Command Syntax • Command Conventions • Common Parameter Values • Unit/Slot/Port Naming Conven
Краткое содержание страницы № 9
ProSafe Managed Switch Command Group or M5300-28G-POE+ M5300-28G M5300-28G3 GSM7328Sv2 GSM7228PS Command M5300-52G-POE+ M5300-52G M5300-52G3 GSM7352Sv2 GSM7252PS M5300-28GF3 Stacking Commands Supported Supported Supported Supported Supported Non-Stop Forwarding Supported Supported Supported Supported Supported Commands Stack Firmware Supported Supported Supported Supported Supported Synchronization Commands Router Discovery Protocol Require license Require license Supported Supported Requir
Краткое содержание страницы № 10
ProSafe Managed Switch Command Group or M5300-28G-POE+ M5300-28G M5300-28G3 GSM7328Sv2 GSM7228PS Command M5300-52G-POE+ M5300-52G M5300-52G3 GSM7352Sv2 GSM7252PS M5300-28GF3 IPv6 MLD-Proxy Require license Require license Supported Supported Require license Commands PoE Commands Supported Not Supported Not Supported Not Supported Supported MVR Commands Supported Supported Supported Not Supported Not Supported Link Local Protocol Filtering Supported Supported Supported Supported Supported Comma
Краткое содержание страницы № 11
ProSafe Managed Switch • [gateway] is an optional parameter, so you are not required to enter a value in place of the parameter. The New Template User Manual lists each command by the command name and provides a brief description of the command. Each command reference also contains the following information: • Format shows the command keywords and the required and optional parameters. • Mode identifies the command mode you must be in to access the command. • Default shows the
Краткое содержание страницы № 12
ProSafe Managed Switch 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 Description ipaddr This parameter is a valid IP address. You can enter the IP address in the following formats: a (32 bits) a.b (8.24 bits) a.b.c (8.8.16 bits) a.b.c.d (8.8.8.8) In addition to these formats, the CLI accepts decimal, hexadecimal and octa
Краткое содержание страницы № 13
ProSafe Managed Switch The port identifies the specific physical port or logical interface being managed on a given slot. Table 4. Type of Ports Port Type Description Physical Ports The physical ports for each slot are numbered sequentially starting from zero. Logical Interfaces Port-channel or Link Aggregation Group (LAG) interfaces are logical interfaces that are only used for bridging functions. VLAN routing interfaces are only used for routing functions. Loopback interfaces are logical
Краткое содержание страницы № 14
ProSafe Managed Switch • Quality of Service • Management (CLI, Web UI, and SNMP) • IPv6 Management—Allows management of the device through an IPv6 through an IPv6 address without requiring the IPv6 Routing package in the system. The management address can be associated with the network port (front-panel switch ports) and a routine interface (port or VLAN). • Stacking Not all modules are available for all platforms or software releases. Command Modes The CLI groups commands in
Краткое содержание страницы № 15
ProSafe Managed Switch Table 5. CLI Command Modes (Continued) Command Mode Prompt Mode Description Interface Config Switch (Interface )# Manages the operation of an interface and provides access to the router interface configuration commands. Switch (Interface Loopback )# Use this mode to set up a physical port for a specific logical connection operation. Switch (Interface Tunnel )# Line Config Switch (line)# Contains commands to configure outbound telnet settings a
Краткое содержание страницы № 16
ProSafe Managed Switch Table 6 explains how to enter or exit each mode. Table 6. CLI Mode Access and Exit Command Mode Access Method Exit or Access Previous Mode User EXEC This is the first level of access. To exit, enter logout. Privileged EXEC From the User EXEC mode, enter To exit to the User EXEC mode, enter exit or enable. press Ctrl-Z. Global Config From the Privileged EXEC mode, To exit to the Privileged EXEC mode, enter exit, enter configure. or press Ctrl-Z. VLAN Config From the Pr
Краткое содержание страницы № 17
ProSafe Managed Switch Table 6. CLI Mode Access and Exit (Continued) Command Mode Access Method Exit or Access Previous Mode Router RIP From the Global Config mode, To exit to the Global Config mode, enter exit. To Config enter return to the Privileged EXEC mode, enter router rip. Ctrl-Z. MAC Access-list From the Global Config mode, To exit to the Global Config mode, enter exit. To Config enter return to the Privileged EXEC mode, enter mac access-list extended Ctrl-Z. . TACACS Con
Краткое содержание страницы № 18
ProSafe Managed Switch CLI Error Messages If you enter a command and the system is unable to execute it, an error message appears. Table 7 describes the most common CLI error messages. Table 7. CLI Error Messages Message Text Description % Invalid input detected at '^' marker. Indicates that you entered an incorrect or unavailable command. The carat (^) shows where the invalid text is detected. This message also appears if any of the parameters or values are not recognized. Command not fo
Краткое содержание страницы № 19
ProSafe Managed Switch Table 8. CLI Editing Conventions (Continued) Key Sequence Description Ctrl-Y Prints last deleted character Ctrl-Q Enables serial flow Ctrl-S Disables serial flow Ctrl-Z Return to root command prompt Tab, Command-line completion Exit Go to next lower command prompt ? List available commands, keywords, or parameters Using CLI Help Enter a question mark (?) at the command prompt to display the commands available in the current mode. (switch) >? enable
Краткое содержание страницы № 20
ProSafe Managed Switch You can also enter a question mark (?) after typing one or more characters of a word to list the available command or parameters that begin with the letters, as shown in the following example: (switch) #show m? mac-addr-table mac-address-table monitor Accessing the CLI You can access the CLI by using a direct console connection or by using a telnet or SSH connection from a remote management host. For the initial connection, you must use a direct conne