ProSafe Managed Switch - Netgear

2y ago
25 Views
2 Downloads
3.12 MB
758 Pages
Last View : 30d ago
Last Download : 3m ago
Upload by : Ophelia Arruda
Transcription

ProSafe Managed SwitchCommand Line Interface (CLI)User Manual1 0. 0. E 350 East Plumeria DriveSan Jose, CA 95134USAOctober 2012202-11166-011.0

ProSafe M4100 Series Managed SwitchesSupportThank you for choosing NETGEAR.After installing your device, locate the serial number on the label of your product and use it to register your productat https://my.netgear.com. 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 websupport, visit http://support.netgear.com.Phone (US & Canada only): 1-888-NETGEAR.Phone (Other Countries): Check the list of phone numbers lt.aspx.NETGEAR recommends that you use only the official NETGEAR support resources.TrademarksNETGEAR, the NETGEAR logo, and Connect with Innovation are trademarks and/or registered trademarks ofNETGEAR, Inc. and/or its subsidiaries in the United States and/or other countries. Information is subject to changewithout notice. Other brand and product names are registered trademarks or trademarks of their respectiveholders. NETGEAR, Inc. All rights reserved.Revision HistoryPublication Part NumberVersionPublish DateComments202-11166-011.0October 2012First publication2

ContentsChapter 1Using the Command-Line InterfaceLicensing and Command Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Command Syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Common Parameter Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Unit/Slot/Port Naming Convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Using a Command’s “No” Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Managed Switch Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Command Completion and Abbreviation . . . . . . . . . . . . . . . . . . . . . . . . . . 15CLI Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16CLI Line-Editing Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Using CLI Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Accessing the CLI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Chapter 2Switching CommandsPort Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Loopback Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Spanning Tree Protocol (STP) Commands . . . . . . . . . . . . . . . . . . . . . . . . 28VLAN Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Double VLAN Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Voice VLAN Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Provisioning (IEEE 802.1p) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Protected Ports Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Private VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66GARP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69GVRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71GMRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Port-Based Network Access Control Commands. . . . . . . . . . . . . . . . . . . . 75802.1X Supplicant Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89Storm-Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91Flow Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Port-Channel/LAG (802.3ad) Commands . . . . . . . . . . . . . . . . . . . . . . . . 102Port Mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Static MAC Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120DHCP L2 Relay Agent Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124DHCP Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128DHCP Snooping Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . 129Dynamic ARP Inspection Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 1383

ProSafe M4100 Series Managed SwitchesIGMP Snooping Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . 145IGMP Snooping Querier Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153MLD Snooping Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157MLD Snooping Querier Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163set mld querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164set mld querier query interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164set mld querier timer expiry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165set mld querier election participate. . . . . . . . . . . . . . . . . . . . . . . . . . . . 165show mldsnooping querier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166Port Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167LLDP (802.1AB) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171LLDP-MED Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179Denial of Service Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189MAC Database Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198ISDP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200Priority-Based Flow Control Commands . . . . . . . . . . . . . . . . . . . . . . . . . 206Chapter 3 Multicast VLAN Registration (MVR)About MVR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208MVR Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208Chapter 4 Routing CommandsAddress Resolution Protocol (ARP) Commands . . . . . . . . . . . . . . . . . . . 216IP Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222Router Discovery Protocol Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 239Virtual LAN Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242Virtual Router Redundancy Protocol Commands. . . . . . . . . . . . . . . . . . . 243DHCP and BOOTP Relay Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . 252IP Helper Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254Open Shortest Path First (OSPF) Commands . . . . . . . . . . . . . . . . . . . . . 258OSPF Graceful Restart Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298nsf. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299nsf restart-interval. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299nsf helper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300nsf helper disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301nsf [ietf] helper strict-lsa-checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301OSPF Interface Flap Dampening Commands . . . . . . . . . . . . . . . . . . . . . 303Routing Information Protocol (RIP) Commands . . . . . . . . . . . . . . . . . . . . 305ICMP Throttling Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312Chapter 5 IP Multicast CommandsMulticast Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315DVMRP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325Internet Group Message Protocol (IGMP) Commands . . . . . . . . . . . . . . 336IGMP Proxy Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3434

ProSafe M4100 Series Managed SwitchesChapter 6IPv6 CommandsTunnel Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .349IPv6 Routing Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351OSPFv3 Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .374OSPFv3 Graceful Restart Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .405DHCPv6 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .407Chapter 7IPv6 Multicast CommandsIPv6 Multicast Forwarder Commands . . . . . . . . . . . . . . . . . . . . . . . . . . .415IPv6 PIM Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .418IPv6 MLD Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .425IPv6 MLD-Proxy Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431Chapter 8Quality of Service (QoS) CommandsClass of Service (CoS) Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .437Differentiated Services (DiffServ) Commands . . . . . . . . . . . . . . . . . . . . .445DiffServ Class Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .446DiffServ Policy Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455DiffServ Service Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460DiffServ Show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461MAC Access Control List (ACL) Commands . . . . . . . . . . . . . . . . . . . . . .467IP Access Control List (ACL) Commands. . . . . . . . . . . . . . . . . . . . . . . . .471IPv6 Access Control List (ACL) Commands. . . . . . . . . . . . . . . . . . . . . . .478Time Range Commands for Time-Based ACLs . . . . . . . . . . . . . . . . . . . .482AutoVOIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484iSCSI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 488Chapter 9Power over Ethernet (PoE) CommandsAbout PoE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494PoE Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495Chapter 10Utility CommandsAuto Install Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .506Dual Image Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .508System Information and Statistics Commands. . . . . . . . . . . . . . . . . . . . .510Logging Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .526Email Alerting and Mail Server Commands . . . . . . . . . . . . . . . . . . . . . . .532System Utility and Clear Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . .538Simple Network Time Protocol (SNTP) Commands . . . . . . . . . . . . . . . . .548DHCP Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .555DNS Client Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .567Packet Capture Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .571Serviceability Packet Tracing Commands . . . . . . . . . . . . . . . . . . . . . . . .574Cable Test Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .593sFlow Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5935

ProSafe M4100 Series Managed SwitchesSoftware License Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598IP Address Conflict Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599Link Local Protocol Filtering Commands . . . . . . . . . . . . . . . . . . . . . . . . . 600RMON Stats and History Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . 601UDLD Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607Chapter 11Management CommandsConfiguring the Switch Management CPU. . . . . . . . . . . . . . . . . . . . . . . . 612Network Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614Console Port Access Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617Telnet Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619Secure Shell (SSH) Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624Management Security Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627Hypertext Transfer Protocol (HTTP) Commands . . . . . . . . . . . . . . . . . . . 628Access Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635User Account Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635SNMP Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659RADIUS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 670TACACS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 682Configuration Scripting Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687Pre-Login Banner and System Prompt Commands . . . . . . . . . . . . . . . . . 689Switch Database Management (SDM) Templates . . . . . . . . . . . . . . . . . . 690IPv6 Management Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692Chapter 12Log MessagesCore . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 698Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 700Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 702Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 706QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712Routing/IPv6 Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713Multicast . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716Stacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 718Technologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 719O/S Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 721Chapter 13Green Ethernet CommandsEnergy-Detect Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724Energy Efficient Ethernet (EEE) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 724Chapter 14Command List6

1.Using the Command-Line Interface1The 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 logicalconnection with telnet or SSH.This chapter describes the CLI syntax, conventions, and modes. It contains the followingsections: Licensing and Command Support Command Syntax Command Conventions Common Parameter Values Unit/Slot/Port Naming Convention Using a Command’s “No” Form Managed Switch Modules Command Modes Command Completion and Abbreviation CLI Error Messages CLI Line-Editing Conventions Using CLI Help Accessing the CLILicensing and Command SupportAs shown in the following table, some command groups or commands require a license andsome are supported on particular switch models. For those requiring a license, license keysare available from your VAR or NETGEAR authorized e-commerce portal. License activationis described in the Software Setup Manual.7

ProSafe M4100 Series Managed SwitchesCommand Group or CommandM4100M7100Non-Stop Forwarding CommandsSupportedSupportedRouter Discovery Protocol CommandsNot supportedNot supportedVirtual Router Redundancy Protocol CommandsNot supportedNot supportedOpen Shortest Path First (OSPF) CommandsNot supportedNot supportedOSPF Graceful Restart CommandsNot supportedNot supportedRouting Information Protocol (RIP) CommandsNot supportedNot supportedTunnel Interface CommandsNot supportedNot supportedIPv6 Routing CommandsNot supportedNot supportedOSPFv3 CommandsNot supportedNot supportedOSPFv3 Graceful Restart CommandsNot supportedNot supportedDHCPv6 CommandsNot supportedNot supportedMulticast CommandsNot supportedNot supportedDVMRP CommandsNot supportedNot supportedPIM CommandsNot supportedNot supportedInternet Group Message Protocol (IGMP) CommandsNot supportedNot supportedIGMP Proxy CommandsNot supportedNot supportedIPv6 Multicast Forwarder CommandsNot supportedNot supportedIPv6 PIM CommandsNot supportedNot supportedIPv6 MLD CommandsNot supportedNot supportedIPv6 MLD-Proxy CommandsNot supportedNot supportedPoE CommandsSupported on PoEmodels onlyNot supportedMVR CommandsSupportedSupportedLink Local Protocol Filtering CommandsNot supportedSupportedPriority-Based Flow Control CommandsNot SupportedNot supportedCaptive Portal CommandsNot supportedNot supportedcos-queue random-detectSupportedSupportedno cos-queue random-detectSupportedSupportedrandom-detect exponential weighting-constantSupportedSupportedno random-detect exponential weighting-constantSupportedSupportedrandom-detect queue-parmsSupportedSupportedno random-detect queue-parmsSupportedSupportedUsing the Command-Line Interface8

ProSafe M4100 Series Managed SwitchesCommand SyntaxA command is one or more words that might be followed by one or more parameters.Parameters can be required or optional values.Some commands, such as show network or clear vlan, do not require parameters.Other commands, such as network parms, require that you supply a value after thecommand. You must type the parameter values in a specific order, and optional parametersfollow required parameters. The following example describes the network parmscommand syntax:Formatnetwork parms ipaddr netmask [gateway] network parms is the command name. ipaddr and netmask are parameters and represent required values that you mustenter after you type the command keywords. [gateway] is an optional parameter, so you are not required to enter a value in place ofthe parameter.The New Template User Manual lists each command by the command name and provides abrief description of the command. Each command reference also contains the followinginformation: 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 default value, if any, of a configurable setting on the device.The show commands also contain a description of the information that the command shows.Command ConventionsIn this document, the command name is in bold font. Parameters are in italic font. Youmust replace the parameter name with an appropriate value, which might be a name ornumber. Parameters are order dependent.The parameters for a command might include mandatory values, optional values, or keywordchoices. Table 1 describes the conventions this document uses to distinguish between valuetypes.Table 1. Parameter ConventionsSymbolExampleDescription angle brackets value Indicates that you must enter a value in place of thebrackets and text inside them.[] square brackets[value]Indicates an optional parameter that you can enter inplace of the brackets and text inside them.Using the Command-Line Interface9

ProSafe M4100 Series Managed SwitchesTable 1. Parameter ConventionsSymbolExampleDescription{} curly braces{choice1 choice2}Indicates that you must select a parameter from the list ofchoices. Vertical barschoice1 choice2Separates the mutually exclusive choices.[{}] Braces withinsquare brackets[{choice1 choice2}]Indicates a choice within an optional element.Common Parameter ValuesParameter values might be names (strings) or numbers. To use spaces as part of a nameparameter, enclose the name value in double quotes. For example, the expression “SystemName with Spaces” forces the system to accept the spaces. Empty strings (““) are not validuser-defined strings. Table 2 describes common parameter values and value formatting.Table 2. Parameter DescriptionsParameterDescriptionipaddrThis 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 octal formatsthrough the following input formats (where n is any valid hexadecimal, octal or decimalnumber):0xn (CLI assumes hexadecimal format)0n (CLI assumes octal format with leading zeros)n (CLI assumes decimal EBF:DBCB, orFE80:0:0:0:20F:24FF:FEBF:DBCB, orFE80::20F24FF:FEBF:DBCB, orFE80:0:0:0:20F:24FF:128:141:49:32For additional information, refer to RFC 3513.Interface orunit/slot/portValid slot and port number separated by forward slashes. For example, 0/1 represents slotnumber 0 and port number 1.Logical InterfaceRepresents a logical slot and port number. This is applicable in the case of a port-channel(LAG). You can use the logical unit/slot/port to configure the port-channel.Character stringsUse double quotation marks to identify character strings, for example, “System Name withSpaces”. An empty string (“”) is not valid.Using the Command-Line Interface10

ProSafe M4100 Series Managed SwitchesUnit/Slot/Port Naming ConventionManaged switch software references physical entities such as cards and ports by using aunit/slot/port naming convention. The software also uses this convention to identify certainlogical entities, such as Port-Channel interfaces.The slot number has two uses. In the case of physical ports, it identifies the card containingthe ports. In the case of logical and CPU ports it also identifies the type of interface or port.Table 3. Type of SlotsSlot TypeDescriptionPhysical slot numbersPhysical slot numbers begin with zero, and are allocated up to the maximumnumber of physical slots.Logical slot numbersLogical slots immediately follow physical slots and identify port-channel (LAG) orrouter interfaces.CPU slot numbersThe CPU slots immediately follow the logical slots.The port identifies the specific physical port or logical interface being managed on a givenslot.Table 4. Type of PortsPort TypeDescriptionPhysical PortsThe physical ports for each slot are numbered sequentially starting from zero.Logical InterfacesPort-channel or Link Aggregation Group (LAG) interfaces are logical interfacesthat are only used for bridging functions.VLAN routing interfaces are only used for routing functions.Loopback interfaces are logical interfaces that are always up.Tunnel interfaces are logical point-to-point links that carry encapsulated packets.CPU portsCPU ports are handled by the driver as one or more physical entities located onphysical slots.Note: In the CLI, loopback and tunnel interfaces do not use theunit/slot/port format. To specify a loopback interface, you use theloopback ID. To specify a tunnel interface, you use the tunnel ID.Using a Command’s “No” FormThe no keyword is a specific form of an existing command and does not represent a new ordistinct command. Almost every configuration command has a no form. In general, use theno form to reverse the action of a command or reset a value back to the default. Forexample, the no shutdown configuration command reverses the shutdown of an interface.Using the Command-Line Interface11

ProSafe M4100 Series Managed SwitchesUse the command without the keyword no to re-enable a disabled feature or to enable afeature that is disabled by default. Only the configuration commands are available in the noform.Managed Switch ModulesManaged switch software consists of flexible modules that can be applied in variouscombinations to develop advanced Layer 2/3/4 products. The commands and commandmodes available on your switch depend on the installed modules. Additionally, for some showcommands, the output fields might change based on the modules included in the software.The software suite includes the following modules: Switching (Layer 2) Routing (Layer 3) IPv6—IPv6 routing Multicast Quality of Service Management (CLI, Web UI, and SNMP) IPv6 Management—Allows management of the device through an IPv6 through an IPv6address without requiring the IPv6 Routing package in the system. The managementaddress can be associated with the network port (front-panel switch ports) and a routineinterface (port or VLAN). StackingNot all modules are available for all platforms or software releases.Command ModesThe CLI groups commands into modes according to the command function. Each of thecommand modes supports specific software commands. The commands in one mode are notavailable until you switch to that particular mode, with the exception of the User EXEC modecommands. You can execute the User EXEC mode commands in the Privileged EXEC mode.The command prompt changes in each command mode to help you identify the currentmode. Table 5 describes the command modes and the prompts visible in that mode.Note: The command modes available on your switch depend on thesoftware modules that are installed. For example, a switch that doesnot support BGPv4 does not have the Router BGPv4 CommandMode.Using the Command-Line Interface12

ProSafe M4100 Series Managed SwitchesTable 5. CLI Command ModesCommand ModePromptMode DescriptionUser EXECSwitch Contains a limited set of commands to viewbasic system information.Privileged EXECSwitch#Allows you to issue any EXEC command, enterthe VLAN mode, or enter the GlobalConfiguration mode.Global ConfigSwitch (Config)#Groups general setup commands and permitsyou to make modifications to the runningconfiguration.VLAN ConfigSwitch (Vlan)#Groups all the VLAN commands.Interface ConfigSwitch (Interface unit/slot/port )#Manages the operation of an interface andprovides access to the router interfaceconfiguration commands.Use this mode to set up a physical port for aspecific logical connection operation.Switch (Interface Loopback id )#Switch (Interface Tunnel id )#Line ConfigSwitch (line)#Contains commands to configure outboundtelnet settings and console interface settings.Policy MapConfigSwitch (Config-policy-map)#Contains the QoS Policy-Map configurationcommands.Policy ClassConfigSwitch (Config-policy-class-map)#Consists of class creation, deletion, andmatching commands. The class matchcommands specify Layer 2, Layer 3, andgeneral match criteria.Class Map ConfigSwitch (Config-class-map)#Contains the QoS class map configurationcommands for IPv4.Ipv6 Class-MapConfigSwitch (Config-class-map)#Contains the QoS class map configurationcommands for IPv6.Router OSPFConfigSwitch (Config-router)#Contains the OSPF configuration commands.Router OSPFv3ConfigSwitch (Config rtr)#Contains the OSPFv3 configuration commands.Router RIP Config Switch (Config-router)#Contains the RIP configuration commands.MAC Access-listConfigSwitch (Config-mac-access-list)#Allows you to create a MAC Access-List and toenter the mode containing MAC Access-Listconfiguration commands.TACACS ConfigSwitch (Tacacs)#Contains commands to configure properties forthe TACACS servers.DHCP PoolConfigSwitch (Config dhcp-pool)#Contains the DHCP server IP address poolconfiguration commands.Using the Command-Line Interface13

ProSafe M4100 Series Managed SwitchesTable 5. CLI Command Modes (Continued)Command ModePromptMode DescriptionDHCPv6 PoolConfigSwitch (Config dhcp6-pool)#Contains the DHCPv6 server IPv6 address poolconfiguration commands.Stack GlobalConfig ModeSwitch (Config stack)#Allows you to access the Stack Global ConfigMode.ARP Access-ListConfig ModeSwitch (Config-arp-access-list)#Contains commands to add ARP ACL rules inan ARP Access List.Table 6 explains how to enter or exit each mode.Table 6. CLI Mode Access and ExitCommand ModeAccess MethodExit or Access Previous ModeUser EXECThis is the first level of access.To exit, enter logout.Privileged EXECFrom the User EXEC mode, enterenable.To exit to the User EXEC mode, enter exit orpress Ctrl-Z.Global ConfigFrom the Privileged EXEC mode,enter configure.To exit to the Privileged EXEC mode, enter exit,or press Ctrl-Z.VLAN ConfigFrom the Privileged EXEC mode,enter vlan database.To exit to the Privileged EXEC mode, enter exit,or press Ctrl-Z.Interface ConfigTo exit to the Global Config mode, enter exit. ToFrom the Global Config mode,return to the Privileged EXEC mode, enterenterinterface unit/slot/port Ctrl-Z.or interface loopback id or interface tunnel id Line ConfigFrom the Global Config mode,enterlineco

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, co

Related Documents:

ProSafe M4100 and M7100 Managed Switches Support Thank you for selecting NETGEAR products. After installing your device, locate the serial number on the label of your product and use it to register your product at https://my.netgear.com. You must register your product before you can use NETGEAR telephone support. . Chapter 10 Utility Commands

8 1. About the NETGEAR Managed 1 Switch Software The purpose of the NETGEAR managed switch software is twofold: Assist attached hardware in switching frames, based on Layer 2, 3, or 4 information contained in the frames. Provide a complete device management portfolio to the network administrator. This chapter contains the following sections:

NETGEAR ProSAFE Plus Configuration Utility If the ProSAFE Plus Utility is unable to discover the switches in your network, make sure that your computer’s security software allows broadcast of UDP packets to go through

NETGEAR ProSAFE Gigabit Web Managed (Plus) Switches meet this growing need by providing fundamental network features such as VLANs, QoS, and IGMP Snooping that will help optimize the performance of business networks. ProSAFE Web Managed (Plus) switches come in a variety of configurations ranging from 5 port desktop to 24 port rackmount.

Erste Schritte 8 NETGEAR ProSAFE Plus Konfigurationsprogramm Zugriff auf das ProSAFE Plus Konfigurationsprogramm und Ihren Switch Um den Zugang zu vereinfachen, empfehlen wir, dass Sie den Switch über einen Router oder einen DHCP-Server, der IP-Adr

NETGEAR-KEYING-PRIVATE-MIB The NETGEAR Private MIB for NETGEAR Keying Utility LLDP-EXT-DOT3-MIB The LLDP Management Information Base extension module for IEEE 802.3 organizationally defined discovery information. NETGEAR-LLPF-PRIVATE-MIB The NETGEAR Private MIB for NETGEAR Link Local Protocol Filtering.

NETGEAR ProSAFE Web Managed Gigabit Ethernet Click Switches bieten das branchenweit ersten Halterungssystem für einfache Installation. Sie sind erhältlich in . PC-basierte ProSAFE Plus Utility Port-basiert, IEEE 802.1Q-basierte, Sprache1 (1 nur GSS108EPP) Port-basiert, IEEE 802.1p/DSCP-basiert Statische LAG2 (GSS108EPP, GSS116EPP) IGMP .

2 ProSAFE 8-Port und 16-Port Gigabit-Click-Switch Support Danke, dass Sie sich für Produkte von NETGEAR entschieden haben. Bitte suchen Sie nach der Installation des Geräts die Seriennummer auf dem Etikett des Produkts, um Ihr Produkt unter