ProSafe Managed Switch

ProSafe Managed Switch

Command Line Interface (CLI) User Manual

10.0.1

M7100-24X M4100-D10-POE M4100-26-POE M4100-50-POE M4100-D12G M4100-26G M4100-50G M4100-26G-POE M4100-48G-POE+

350 East Plumeria Drive San Jose, CA 95134 USA

October 2012 202-11166-01 1.0

ProSafe M4100 Series Managed Switches

Support

Thank you for choosing NETGEAR. After installing your device, locate the serial number on the label of your product and use it to register your product at . You must register your product before you can use NETGEAR telephone support. NETGEAR recommends registering your product through the NETGEAR web site. For product updates and web support, visit . Phone (US & Canada only): 1-888-NETGEAR. Phone (Other Countries): Check the list of phone numbers at . NETGEAR recommends that you use only the official NETGEAR support resources.

Trademarks

NETGEAR, the NETGEAR logo, and Connect with Innovation are trademarks and/or registered trademarks of NETGEAR, Inc. and/or its subsidiaries in the United States and/or other countries. Information is subject to change without notice. Other brand and product names are registered trademarks or trademarks of their respective holders. ? NETGEAR, Inc. All rights reserved.

Revision History

Publication Part Number 202-11166-01

Version 1.0

Publish Date October 2012

Comments First publication

2

Contents

Chapter 1 Using the Command-Line Interface

Licensing and Command Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Common Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Unit/Slot/Port Naming Convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Using a Command's "No" Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Managed Switch Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Command Completion and Abbreviation . . . . . . . . . . . . . . . . . . . . . . . . . . 15 CLI Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 CLI Line-Editing Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Using CLI Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Accessing the CLI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Chapter 2 Switching Commands

Port Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Loopback Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Spanning Tree Protocol (STP) Commands . . . . . . . . . . . . . . . . . . . . . . . . 28 VLAN Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Double VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Voice VLAN Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Provisioning (IEEE 802.1p) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Protected Ports Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Private VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 GARP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 GVRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 GMRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 Port-Based Network Access Control Commands. . . . . . . . . . . . . . . . . . . . 75 802.1X Supplicant Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Storm-Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Flow Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Port-Channel/LAG (802.3ad) Commands . . . . . . . . . . . . . . . . . . . . . . . . 102 Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 Static MAC Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 DHCP L2 Relay Agent Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 DHCP Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 DHCP Snooping Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . 129 Dynamic ARP Inspection Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 138

3

ProSafe M4100 Series Managed Switches

IGMP Snooping Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . 145 IGMP Snooping Querier Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 MLD Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 MLD Snooping Querier Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163

set mld querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 set mld querier query_interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 set mld querier timer expiry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 set mld querier election participate. . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 show mldsnooping querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 Port Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 LLDP (802.1AB) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 LLDP-MED Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Denial of Service Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 MAC Database Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 ISDP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 Priority-Based Flow Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . 206

Chapter 3 Multicast VLAN Registration (MVR)

About MVR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 MVR Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

Chapter 4 Routing Commands

Address Resolution Protocol (ARP) Commands . . . . . . . . . . . . . . . . . . . 216 IP Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222 Router Discovery Protocol Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 239 Virtual LAN Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242 Virtual Router Redundancy Protocol Commands. . . . . . . . . . . . . . . . . . . 243 DHCP and BOOTP Relay Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 IP Helper Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Open Shortest Path First (OSPF) Commands . . . . . . . . . . . . . . . . . . . . . 258 OSPF Graceful Restart Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298

nsf. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 nsf restart-interval. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299 nsf helper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 nsf helper disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 nsf [ietf] helper strict-lsa-checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 OSPF Interface Flap Dampening Commands . . . . . . . . . . . . . . . . . . . . . 303 Routing Information Protocol (RIP) Commands . . . . . . . . . . . . . . . . . . . . 305 ICMP Throttling Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312

Chapter 5 IP Multicast Commands

Multicast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 DVMRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325 Internet Group Message Protocol (IGMP) Commands . . . . . . . . . . . . . . 336 IGMP Proxy Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343

4

ProSafe M4100 Series Managed Switches

Chapter 6 IPv6 Commands

Tunnel Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .349 IPv6 Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351 OSPFv3 Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .374 OSPFv3 Graceful Restart Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .405 DHCPv6 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .407

Chapter 7 IPv6 Multicast Commands

IPv6 Multicast Forwarder Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .415 IPv6 PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .418 IPv6 MLD Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .425 IPv6 MLD-Proxy Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431

Chapter 8 Quality of Service (QoS) Commands

Class of Service (CoS) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .437 Differentiated Services (DiffServ) Commands . . . . . . . . . . . . . . . . . . . . .445 DiffServ Class Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .446 DiffServ Policy Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455 DiffServ Service Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460 DiffServ Show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461 MAC Access Control List (ACL) Commands . . . . . . . . . . . . . . . . . . . . . .467 IP Access Control List (ACL) Commands. . . . . . . . . . . . . . . . . . . . . . . . .471 IPv6 Access Control List (ACL) Commands. . . . . . . . . . . . . . . . . . . . . . .478 Time Range Commands for Time-Based ACLs . . . . . . . . . . . . . . . . . . . .482 AutoVOIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484 iSCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488

Chapter 9 Power over Ethernet (PoE) Commands

About PoE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494 PoE Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495

Chapter 10 Utility Commands

Auto Install Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .506 Dual Image Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .508 System Information and Statistics Commands. . . . . . . . . . . . . . . . . . . . .510 Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .526 Email Alerting and Mail Server Commands . . . . . . . . . . . . . . . . . . . . . . .532 System Utility and Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .538 Simple Network Time Protocol (SNTP) Commands . . . . . . . . . . . . . . . . .548 DHCP Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .555 DNS Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .567 Packet Capture Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .571 Serviceability Packet Tracing Commands . . . . . . . . . . . . . . . . . . . . . . . .574 Cable Test Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .593 sFlow Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593

5

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download