Prosafe Managed Switch Command Line Interface (CLI) User Manual
Total Page:16
File Type:pdf, Size:1020Kb
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 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 Phone (Other Countries): See Support information card. Trademarks NETGEAR, the NETGEAR logo, ReadyNAS, ProSafe, Smart Wizard, Auto Uplink, X-RAID2, and NeoTV are trademarks or registered trademarks of NETGEAR, Inc. Microsoft, Windows, Windows NT, and Vista are registered trademarks of Microsoft Corporation. Other brand and product names are registered trademarks or trademarks of their respective holders. Statement of Conditions To improve internal design, operational function, and/or reliability, NETGEAR reserves the right to make changes to the products described in this document without notice. NETGEAR does not assume any liability that may occur due to the use, or application of, the product(s) or circuit layout(s) described herein. Revision History Publication Part Version Publish DateComments Number 202-11054-02 1.0 November 2012 Added mixed stacking commands. 202-11054-01 1.0 August 2012 Replaced the private group commands with private VLAN commands, replaced the Auto-Voice over IP Commands chapter, and added iSCSI commands. 202-10936-02 1.0 January 2012 Added clear event log, ip local-proxy-arp, and spanning-tree auto-edge. Removed poe reset auto. 202-10936-01 1.0 November 2011 Added PoE and MVR mode features. 202-10515-05 1.1 June 2011 Added DHCPv6 and DHCPv6 mode features. 202-10515-04 1.0 November 2010 New document template. 202-10515-03 v 1.0 June 2010 Move some content to the Software Setup Guide. 202-10515-02 Software release 8.0.2: new firmware with DHCP L3 Relay, color conform policy, DHCP server in dynamic mode, and configuring a stacking port as an Ethernet port. 202-10515-01 Original publication. 2 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 . .12 Using a Command’s “No” Form . .13 Managed Switch Modules . .13 Command Modes . .14 Command Completion and Abbreviation . .17 CLI Error Messages . .18 CLI Line-Editing Conventions. .18 Using CLI Help . .19 Accessing the CLI. .20 Chapter 2 Stacking Commands Dedicated Port Stacking. .21 Stacking Commands . .29 Non-Stop Forwarding Commands . .31 Stack Firmware Synchronization Commands. .35 Chapter 3 Switching Commands Port Configuration Commands . .39 Loopback Interface Commands . .45 Spanning Tree Protocol (STP) Commands . .47 VLAN Commands. .64 Double VLAN Commands . .77 Voice VLAN Commands. .80 Provisioning (IEEE 802.1p) Commands. .82 Protected Ports Commands . .82 Private Group Commands . .85 Private VLAN . .86 GARP Commands . .90 GVRP Commands . .92 GMRP Commands . .94 Port-Based Network Access Control Commands. .96 802.1X Supplicant Commands. .109 Storm-Control Commands . .112 Flow Control Commands . .122 3 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 . 149 DHCP Snooping Configuration Commands . 150 Dynamic ARP Inspection Commands . 159 IGMP Snooping Configuration Commands . 166 IGMP Snooping Querier Commands . 177 MLD Snooping Commands . 180 MLD Snooping Querier Commands . 187 set mld querier . 187 set mld querier query_interval . 188 set mld querier timer expiry . 188 set mld querier election participate. 189 show mldsnooping querier . 189 Port Security Commands . 190 LLDP (802.1AB) Commands . 194 LLDP-MED Commands . 203 Denial of Service Commands. 212 MAC Database Commands . 222 ISDP Commands . 224 Priority-Based Flow Control Commands . 229 Chapter 4 Multicast VLAN Registration (MVR) About MVR . 232 MVR Commands . 232 Chapter 5 Routing Commands Address Resolution Protocol (ARP) Commands . 240 IP Routing Commands . 246 Router Discovery Protocol Commands . 263 Virtual LAN Routing Commands . 266 Virtual Router Redundancy Protocol Commands. 267 DHCP and BOOTP Relay Commands . 276 IP Helper Commands . 278 Open Shortest Path First (OSPF) Commands . 282 OSPF Graceful Restart Commands . 322 nsf. 323 nsf restart-interval. 323 nsf helper . 324 nsf helper disable . 325 nsf [ietf] helper strict-lsa-checking . 325 OSPF Interface Flap Dampening Commands . 327 Routing Information Protocol (RIP) Commands . 329 ICMP Throttling Commands . 336 4 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. .367 Chapter 7 IPv6 Commands Tunnel Interface Commands . .373 IPv6 Routing Commands . .375 OSPFv3 Commands. .398 OSPFv3 Graceful Restart Commands . ..