The NETGEAR Managed Switch software has two purposes:
•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:
•Scope
•Product Concept
Note: For more information about the topics covered in this manual, visit the
support website at support.netgear.com.
Note: Firmware updates with new features and bug fixes are made
available from time to time at
products can regularly check the site and download new firmware, or
you can check for and download new firmware manually. If the
features or behavior of your product does not match what is
described in this guide, you might need to update your firmware.
downloadcenter.netgear.com. Some
1
8
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Scope
NETGEAR Managed Switch 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.
•Networking device processor. This code does the majority of the packet switching,
usually at wire speed. This code is platform dependent, and substantial changes might
exist across products.
Product Concept
Fast Ethernet and Gigabit Ethernet switching continues to evolve from high-end backbone
applications to desktop switching applications. The price of the technology continues to
decline, while performance and feature sets continue to improve. Devices that are capable of
switching Layers 2, 3, and 4 are increasingly in demand. NETGEAR Managed Switch
software provides a flexible solution to these ever-increasing needs.
The exact functionality provided by each networking device on which the NETGEAR
Managed Switch software base runs varies depending upon the platform and requirements
of the NETGEAR Managed Switch software.
NETGEAR Managed Switch software includes a set of comprehensive management
functions for managing both NETGEAR Managed Switch software and the network. You can
manage the NETGEAR Managed Switch software by using one of the following three
methods:
•Command-line interface (CLI)
•Simple Network Management Protocol (SNMP)
•Web-based
About the NETGEAR Managed Switch Software
9
2. 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
•Command Conventions
•Common Parameter Values
•unit/slot/port Naming Convention
•Using the No Form of a Command
•Executing Show Commands
•CLI Output Filtering
2
10
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Command Syntax
A 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 and clear vlan, do not require parameters.
Other commands, such as network parms, require that you supply a value after the
command. You must type the parameter values in a specific order, and optional parameters
follow required parameters. The following example describes the network parms
command syntax:
Format network parms ipaddrnetmask [gateway]
•network parms is the command name.
•ipaddr and netmask are parameters and represent required values that you must enter
after you type the command keywords.
•[gateway] is an optional keyword, so you are not required to enter a value in place of
the keyword.
This command line reference 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 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 Conventions
The parameters for a command might include mandatory values, optional values, or keyword
choices. Parameters are order-dependent. The following table describes the conventions this
document uses to distinguish between value types.
Table 1. Parameter Conventions
SymbolExampleDescription
italic fontvalue or [value]Indicates a variable value. You must replace the
italicized text, which can be placed within curly
brackets or square brackets, with an appropriate
value, which might be a name or number.
[ ] square brackets [keyword]Indicates an optional parameter.
{ } curly braces{choice1 | choice2}Indicates that you must select a parameter from the
list of choices.
Using the Command-Line Interface
11
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Table 1. Parameter Conventions (continued)
SymbolExampleDescription
| Vertical barschoice1 | choice2Separates the mutually exclusive choices.
[{ }] Braces within
square brackets
[{choice1 | choice2}] Indicates a choice within an optional element. This
format is used mainly for complicated commands
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. The following table describes common parameter values and value
formatting.
Table 2. Parameter Descriptions
ParameterDescription
ipaddrThis parameter is a valid IPv4 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
formats through the following input formats (where n is any valid hexadecimal, octal
or decimal number):
• 0xn (CLI assumes hexadecimal format.)
• 0n (CLI assumes octal format with leading zeros.)
• n (CLI assumes decimal format.)
ipv6-addrThis parameter is a valid IPv6 address. You can enter the IP address in the
following formats:
• FE80:0000:0000:0000:020F:24FF:FEBF:DBCB
• FE80:0:0:0:20F:24FF:FEBF:DBCB
• FE80::20F24FF:FEBF:DBCB
• FE80:0:0:0:20F:24FF:128:141:49:32
For additional information, refer to RFC 3513.
Interface or
unit/slot/port
Logical InterfaceRepresents a logical slot and port number. This is applicable in the case of a
Character stringsUse double quotation marks to identify character strings, for example, “System
Valid slot and port number separated by a forward slash. For example, 0/1
represents slot number 0 and port number 1.
port-channel (LAG). You can use the logical unit/slot/port to configure the
port-channel.
Name with Spaces”. An empty string (“”) is not valid.
Using the Command-Line Interface
12
M5300, M6100, and M7100 Series ProSAFE Managed Switches
unit/slot/port Naming Convention
NETGEAR Managed Switch software references physical entities such as cards and ports by
using a unit/slot/port naming convention. The NETGEAR Managed Switch software
also uses this convention to identify certain logical entities, such as Port-Channel interfaces.
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 TypeDescription
Physical slot numbers Physical slot numbers begin with zero, and are allocated up to the maximum
(LAG) or router interfaces. The value of logical slot numbers depend on the
type of logical interface and can vary from platform to platform.
CPU slot numbersThe CPU slots immediately follow the logical slots.
The port identifies the specific physical port or logical interface being managed on a given
slot.
Table 4. Type of Ports
Port TypeDescription
Physical PortsThe physical ports for each slot are numbered sequentially starting from one.
For example, port 1 on slot 0 (an internal port) for a switch is 1/0/1, port 2 is
1/0/2, port 3 is 1/0/3, and so on.
Logical InterfacesPort-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 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
on physical slots.
Note: In the CLI, loopback and tunnel interfaces do not use the
unit/slot/port format. To specify a loopback interface, you use
the loopback ID. To specify a tunnel interface, you use the tunnel ID.
Using the Command-Line Interface
13
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Using the No Form of a Command
The no keyword is a specific form of an existing command and does not represent a new or
distinct command. Almost every configuration command has a no form. In general, use the
no form to reverse the action of a command or reset a value back to the default. For example,
the no shutdown configuration command reverses the shutdown of an interface. Use the
command without the keyword no to reenable a disabled feature or to enable a feature that is
disabled by default. Only the configuration commands are available in the no form.
Executing Show Commands
All show commands can be issued from any configuration mode (Global Configuration,
Interface Configuration, VLAN Configuration, etc.). The show commands provide information
about system and feature-specific configuration, status, and statistics. Previously, show
commands could be issued only in User EXEC or Privileged EXEC modes.
CLI Output Filtering
Many CLI show commands include considerable content to display to the user. This can
make output confusing and cumbersome to parse through to find the information of desired
importance. The CLI Output Filtering feature allows the user, when executing CLI show
display commands, to optionally specify arguments to filter the CLI output to display only
desired information. The result is to simplify the display and make it easier for the user to find
the information the user is interested in.
The main functions of the CLI Output Filtering feature are:
•Pagination Control
-Supports enabling/disabling paginated output for all show CLI commands. When
disabled, output is displayed in its entirety. When enabled, output is displayed
page-by-page such that content does not scroll off the terminal screen until the user
presses a key to continue. --More-- or (q)uit is displayed at the end of each page.
-When pagination is enabled, press the return key to advance a single line, press q or
Q to stop pagination, or press any other key to advance a whole page. These keys
are not configurable.
Note: Although some NETGEAR Managed Switch show commands already
support pagination, the implementation is unique per command and
not generic to all commands.
•Output Filtering
-“Grep”-like control for modifying the displayed output to only show the user-desired
content.
-Filter displayed output to only include lines containing a specified string match.
Using the Command-Line Interface
14
M5300, M6100, and M7100 Series ProSAFE Managed Switches
-Filter displayed output to exclude lines containing a specified string match.
-Filter displayed output to only include lines including and following a specified string
match.
-Filter displayed output to only include a specified section of the content (for example,
“interface 0/1”) with a configurable end-of-section delimiter.
-String matching should be case insensitive.
-Pagination, when enabled, also applies to filtered output.
The following shows an example of the extensions made to the CLI show commands for
the Output Filtering feature.
(NETGEAR Switch) #show running-config ?
<cr> Press enter to execute the command.
| Output filter options.
<scriptname> Script file name for writing active configuration.
all Show all the running configuration on the switch.
interface Display the running configuration for specificed interface
on the switch.
(NETGEAR Switch) #show running-config | ?
begin Begin with the line that matches
exclude Exclude lines that matches
include Include lines that matches
section Display portion of lines
For new commands for the feature, see CLI Output Filtering Commands on page 175.
Using the Command-Line Interface
15
3. NETGEAR Managed Switch
Software Modules
NETGEAR Managed Switch software consists of flexible modules that can be applied in various
combinations to develop advanced Layer 2/3/4+ products. The commands and command modes
available on your switch depend on the installed modules. Additionally, for some show
commands, the output fields might change based on the modules included in the NETGEAR
Managed Switch software.
The NETGEAR Managed Switch software suite includes the following modules:
•Switching (Layer 2)
•Routing (Layer 3)
•IPv6 routing
•Multicast
•BGP-4
•Quality of Service
•Management (CLI, Web UI, and SNMP)
•IPv6 Management—Allows management of the NETGEAR Managed Switch 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), a routine interface (port or VLAN) and the Service port.
3
•Metro
•Chassis management
•Data Center
•Secure Management
16
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Command Modes
The CLI groups commands into modes according to the command function. Each of the
command modes supports specific NETGEAR Managed Switch software commands. The
commands in one mode are not available until you switch to that particular mode, with the
exception of the User EXEC mode commands. 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 current
mode. The following table describes the command modes and the prompts visible in that
mode.
Note: The command modes available on your switch depend on the software
modules that are installed. For example, a switch that does not support
BGPv4 does not have the BGPv4 Router Command Mode.
Table 5. CLI Command Modes
Command ModePromptMode Description
User EXECSwitch>Contains a limited set of commands to view
basic system information.
Privileged EXECSwitch#Allows you to issue any EXEC command,
enter the VLAN mode, or enter the Global
Configuration mode.
Global ConfigSwitch (Config)#Groups general setup commands and
permits you to make modifications to the
running configuration.
VLAN ConfigSwitch (Vlan)#Groups all the VLAN commands.
Interface Config Switch (Interface
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Table 5. CLI Command Modes (continued)
Command ModePromptMode Description
Line ConsoleSwitch (config-line)#Contains commands to configure outbound
telnet settings and console interface
settings, as well as to configure console
login/enable authentication.
Line SSHSwitch (config-ssh)#Contains commands to configure SSH
login/enable authentication.
Line TelnetSwitch (config-telnet)#Contains commands to configure telnet
login/enable authentication.
AAA IAS User
Config
Mail Server ConfigSwitch (Mail-Server)#Allows configuration of the email server.
Policy Map ConfigSwitch (Config-policy-map)#Contains the QoS Policy-Map configuration
Policy Class Config Switch(Config-policy-class-map)# Consists of class creation, deletion, and
Class Map ConfigSwitch (Config-class-map)#Contains the QoS class map configuration
Ipv6_Class-Map
Config
Router OSPF
Config
Router OSPFv3
Config
Router RIP ConfigSwitch (Config-router)#Contains the RIP configuration commands.
BGP Router ConfigSwitch (Config-router)#Contains the BGP4 configuration
Switch (Config-IAS-User)#Allows password configuration for a user in
the IAS database.
commands.
matching commands. The class match
commands specify Layer 2, Layer 3, and
general match criteria.
commands for IPv4.
Switch (Config-class-map)#Contains the QoS class map configuration
commands for IPv6.
Switch (Config-router)#Contains the OSPF configuration
commands.
Switch (Config rtr)#Contains the OSPFv3 configuration
commands.
commands.
Route Map ConfigSwitch (config-route-map)#Contains the route map configuration
commands.
IPv6 Address
Family Config
Peer Template
Config
MAC Access-list
Config
Switch (Config-router-af)#Contains the IPv6 address family
configuration commands.
(Config-rtr-tmplt)#Contains the BGP peer template
configuration commands.
Switch (Config-mac-access-list)# Allows you to create a MAC Access-List and
to enter the mode containing MAC
Access-List configuration commands.
NETGEAR Managed Switch Software Modules
18
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Table 5. CLI Command Modes (continued)
Command ModePromptMode Description
TACACS ConfigSwitch (Tacacs)#Contains commands to configure properties
for the TACACS servers.
DHCP Pool
Config
DHCPv6 Pool
Config
Chassis Global
Config Mode
ARP Access-List
Config Mode
Support ModeSwitch (Support)#Allows access to the support commands,
Switch (Config dhcp-pool)#Contains the DHCP server IP address pool
configuration commands.
Switch (Config dhcp6-pool)#Contains the DHCPv6 server IPv6 address
pool configuration commands.
Switch (Config chassis)#Allows you to access the Chassis Global
Config Mode.
Switch (Config-arp-access-list)# Contains commands to add ARP ACL rules
in an ARP Access List.
which should only be used by the
manufacturer's technical support personnel
as improper use could cause unexpected
system behavior and/or invalidate product
warranty.
The following table explains how to enter or exit each mode.
Table 6. CLI Mode Access and Exit
Command ModeAccess MethodExit or Access Previous Mode
User EXECThis is the first level of access. To exit, enter logout.
Privileged EXECFrom the User EXEC mode, enter
enable.
Global ConfigFrom the Privileged EXEC mode, enter
configure.
VLAN ConfigFrom the Privileged EXEC mode, enter
vlan database.
NETGEAR Managed Switch Software Modules
To exit to the User EXEC mode, enter exit or
press
Ctrl-Z.
To exit to the Privileged EXEC mode, enter
exit, or press Ctrl-Z.
To exit to the Privileged EXEC mode, enter
exit, or press Ctrl-Z.
19
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Table 6. CLI Mode Access and Exit (continued)
Command ModeAccess MethodExit or Access Previous Mode
Interface Config From the Global Config mode, enter:
interface unit/slot/port
From the Global Config mode, enter:
interface loopback id
From the Global Config mode, enter:
interfacetunnel id
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
From the Global Config mode, enter:
interface vlan vlan-id
Line ConsoleFrom the Global Config mode, enter
line console.
Line SSHFrom the Global Config mode, enter
line ssh.
Line TelnetFrom the Global Config mode, enter
line telnet.
AAA IAS User
Config
Mail Server Config From the Global Config mode, enter
Policy-Map
Config
Policy-Class-Map
Config
From the Global Config mode, enter
aaa ias-user username name.
mail-server address.
From the Global Config mode, enter
policy-map.
From the Policy Map mode enter class. To exit to the Policy Map mode, enter exit. To
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
return to the Privileged EXEC mode, enter
Ctrl-Z.
Class-Map
Config
From the Global Config mode, enter
class-map, and specify the optional
keyword
protocol for this class. See
page 1045 for more information.
ipv4 to specify the Layer 3
class-map on
NETGEAR Managed Switch Software Modules
20
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Table 6. CLI Mode Access and Exit (continued)
Command ModeAccess MethodExit or Access Previous Mode
VPCFrom Global Config mode, enter vpc.To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
Ipv6-Class-Map
Config
Router OSPF
Config
Router OSPFv3
Config
Router RIP
Config
BGP Router
Config
Route Map Config From the Global Config mode, enter
IPv6 Address
Family Config
From the Global Config mode, enter
class-map and specify the optional
keyword
protocol for this class. See
page 1045 for more information.
From the Global Config mode, enter
router ospf.
From the Global Config mode, enter
ipv6 router ospf.
From the Global Config mode, enter
router rip.
From the Global Config mode, enter
router bgp asnumber.
route-map map-tag.
From the BGP Router Config mode,
enter
ipv6 to specify the Layer 3
class-map on
address-family ipv6.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
Peer Template
Config
MAC Access-list
Config
TACACS ConfigFrom the Global Config mode, enter
DHCP Pool
Config
DHCPv6 Pool
Config
From the BGP Router Config mode,
enter
template peer name to create
a BGP peer template and enter Peer
Template Configuration mode.
From the Global Config mode, enter
mac access-list extended name.
tacacs-server host ip-addr,
where ip-addr is the IP address of the
TACACS server on your network.
From the Global Config mode, enter
ip dhcp pool pool-name.
From the Global Config mode, enter
ip dhcpv6 poolpool-name.
NETGEAR Managed Switch Software Modules
21
o exit to the Global Config mode, enter exit. T o
return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
To exit to the Global Config mode, enter exit.
To return to the Privileged EXEC mode, enter
Ctrl-Z.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Table 6. CLI Mode Access and Exit (continued)
Command ModeAccess MethodExit or Access Previous Mode
Chassis Global
Config Mode
ARP Access-List
Config Mode
Support ModeFrom the Privileged EXEC mode, enter
From the Global Config mode, enter
chassis.
From the Global Config mode, enter arp
access-list
support.
Note: The support command is
available only if the techsupport
enable command has been issued.
.
To exit to the Global Config mode, enter the
exit command. To return to the Privileged
EXEC mode, enter
To exit to the Global Config mode, enter the
exit command. To return to the Privileged
EXEC mode, enter
To exit to the Privileged EXEC mode, enter
exit, or press Ctrl-Z.
Ctrl-Z.
Ctrl-Z.
Command Completion and Abbreviation
Command completion finishes spelling the command when you type enough letters of a
command to uniquely identify the command keyword. Once you have entered enough letters,
press the SPACEBAR or TAB key to complete the word.
Command abbreviation allows you to execute a command when you have entered there are
enough letters to uniquely identify the command. You must enter all of the required keywords
and parameters before you enter the command.
CLI Error Messages
If you enter a command and the system is unable to execute it, an error message appears.
The following table describes the most common CLI error messages.
Table 7. CLI Error Messages
Message TextDescription
% Invalid input detected at
'^' marker.
Command not found / Incomplete
command. Use ? to list
commands.
Ambiguous commandIndicates that you did not enter enough letters to uniquely identify the
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.
Indicates that you did not enter the required keywords or values.
command.
NETGEAR Managed Switch Software Modules
22
M5300, M6100, and M7100 Series ProSAFE Managed Switches
CLI Line-Editing Conventions
The following table describes the key combinations you can use to edit commands or
increase the speed of command entry. You can access this list from the CLI by entering
from the User or Privileged EXEC modes.
Table 8. CLI Editing Conventions
Key SequenceDescription
DEL or BackspaceDelete previous character.
Ctrl-AGo to beginning of line.
Ctrl-EGo to end of line.
Ctrl-FGo forward one character.
Ctrl-BGo backward one character.
Ctrl-DDelete current character.
help
Ctrl-U, XDelete to beginning of line.
Ctrl-KDelete to end of line.
Ctrl-WDelete previous word.
Ctrl-TTranspose previous character.
Ctrl-PGo to previous line in history buffer.
Ctrl-RRewrites or pastes the line.
Ctrl-NGo to next line in history buffer.
Ctrl-YPrints last deleted character.
Ctrl-QEnables serial flow.
Ctrl-SDisables serial flow.
Ctrl-ZReturn to root command prompt.
Tab, <SPACE>Command-line completion.
ExitGo to next lower command prompt.
?List available commands, keywords, or parameters.
NETGEAR Managed Switch Software Modules
23
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Using CLI Help
Enter a question mark (?) at the command prompt to display the commands available in the
current mode.
(NETGEAR Switch) >?
enable Enter into user privilege mode.
help Display help for various special keys.
logout Exit this session. Any unsaved changes are lost.
password Change an existing user’s password.
ping Send ICMP echo packets to a specified IP address.
quit Exit this session. Any unsaved changes are lost.
show Display Switch Options and Settings.
telnet Telnet to a remote host.
Enter a question mark (?) after each word you enter to display available command keywords
or parameters.
(NETGEAR Switch) #network ?
ipv6 Configure IPv6 parameters for system network.
javamode Enable/Disable.
mac-address Configure MAC Address.
mac-type Select the locally administered or burnedin MAC
address.
mgmt_vlan Configure the Management VLAN ID of the switch.
parms Configure Network Parameters of the device.
protocol Select DHCP, BootP, or None as the network config
protocol.
If the help output shows a parameter in angle brackets, you must replace the parameter with
a value.
(NETGEAR Switch) #network parms ?
<ipaddr> Enter the IP Address.
none Reset IP address and gateway on management interface
If there are no additional command keywords or parameters, or if additional parameters are
optional, the following message appears in the output:
<cr> Press Enter to execute the command
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:
(NETGEAR Switch) #show m?
mac mac-addr-table mac-address-table
mail-server mbuf monitor
NETGEAR Managed Switch Software Modules
24
M5300, M6100, and M7100 Series ProSAFE Managed Switches
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 connection to the console port. You cannot
access the system remotely until the system has an IP address, subnet mask, and default
gateway. You can set the network configuration information manually, or you can configure
the system to accept these settings from a BootP or DHCP server on your network. For more
information, see
Network Interface Commands on page 72.
NETGEAR Managed Switch Software Modules
25
4. Chassis Commands
4
This chapter describes the chassis commands available in the NETGEAR Managed Switch CLI.
Note: These commands apply to the M6100 series switches only.
The Chassis Commands chapter includes the following sections:
•General Chassis Commands
•Backplane Port Commands
•Chassis Firmware Synchronization Commands
•Nonstop Forwarding Commands for Chassis Configuration
The commands in this chapter are in one of two functional groups:
•Show commands. Display switch settings, statistics, and other information.
•Configuration commands. Configure features and options of the switch. For every
configuration command, there is a show command that displays the configuration setting.
26
M5300, M6100, and M7100 Series ProSAFE Managed Switches
General Chassis Commands
This section describes the commands you use to configure the chassis.
chassis
This command sets the mode to Chassis Global Config.
Formatchassis
ModeChassis Global Config
chassis-status sample-mode
This command set the global status management mode.
Formatchassis-status sample-mode [cumulative | history [max-samples
<100-500>]]
ModeChassis Global Config
ParameterDescription
cumulativeTracks the sum of received time stamp offsets cumulatively.
historyTracks the history of received timestamps.
max-samplesAs an option for the history parameter, the maximum number of samples to keep. The
valid range is from 100 to 500.
member (Chassis Global Config)
This command configures a blade. The unit is the identifier of the blade that you want to
add or remove from the chassis. The switchindex is the index into the database of the
supported blade types, indicating the type of the blade that is being preconfigured. The blade
index is a 32-bit integer. You execute this command on the management blade.
Formatmember unit switchindex
ModeChassis Global Config
Note: You can obtain the switch index by executing the show supported
switchtype command in user EXEC mode.
Chassis Commands
27
M5300, M6100, and M7100 Series ProSAFE Managed Switches
no member
This command removes a blade from the chassis. The unit is the identifier of the blade to
be removed from the chassis. You execute this command on the primary management blade.
Formatno member unit
ModeChassis Global Config
movemanagement (Chassis Global Config)
This command moves the management functionality from one blade to the other. The
fromunit is the identifier of the current management blade. The tounit is the identifier of
the new management blade. Upon execution, the entire chassis (including all interfaces in
the chassis) is unconfigured and reconfigured with the configuration on the new management
blade. After the reload is complete, you must perform all chassis management capabilities on
the new management blade. To preserve the current configuration across a management
blade move, execute the copy system:running-config nvram:startup-config
privileged EXEC command or save privileged EXEC command before you perform the
management blade move. A management blade move causes all routes and layer 2
addresses to be lost. You execute this command is executed on the management blade. The
system prompts you to confirm the management blade move.
Note: You can only configure the blade in slot 1 or slot 2 as a management
blade.
Formatmovemanagement fromunit tounit
ModeChassis Global Config
slot (for chassis configuration)
This command configures a slot in the system. The unit/slot is the slot identifier of the
slot. The cardindex is the index into the database of the supported card types, indicating
the type of the card being preconfigured in the specified slot. The card index is a 32-bit
integer. If a card is currently present in the slot that is unconfigured, the configured
information will be deleted and the slot will be reconfigured with default information for the
card.
Formatslot unit/slot cardindex
ModeGlobal Config
Note: Card index can be obtained by executing show supported cardtype
command in User EXEC mode.
Chassis Commands
28
M5300, M6100, and M7100 Series ProSAFE Managed Switches
no slot
This command removes configured information from an existing slot in the system.
Note: Card index can be obtained by executing show supported cardtype
command in User EXEC mode.
set slot disable (for chassis configuration)
This command configures the administrative mode of the slot(s). If you specify all, the
command is applied to all slots, otherwise the command is applied to the slot identified by
unit/slot.
If a card or other module is present in the slot, this administrative mode will effectively be
applied to the contents of the slot. If the slot is empty , this administrative mode will be applied
to any module that is inserted into the slot. If a card is disabled, all the ports on the device are
operationally disabled and shown as “unplugged” on management screens.
This command unconfigures the administrative mode of the slot or slots. If you specify all,
the command removes the configuration from all slots, otherwise the configuration is
removed from the slot identified by unit/slot.
If a card or other module is present in the slot, this administrative mode removes the
configuration from the contents of the slot. If the slot is empty, this administrative mode
removes the configuration from any module inserted into the slot. If a card is disabled, all the
ports on the device are operationally disabled and shown as “unplugged” on management
screens.
Formatno set slot disable [unit/slot] | all]
ModeGlobal Config
set slot power (for chassis configuration)
This command configures the power mode of the slot(s) and allows power to be supplied to a
card located in the slot. If you specify all, the command is applied to all slots, otherwise the
command is applied to the slot identified by unit/slot.
Chassis Commands
29
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Use this command when installing or removing cards. If a card or other module is present in
this slot, the power mode is applied to the contents of the slot. If the slot is empty, the power
mode is applied to any card inserted into the slot.
Formatset slot power [unit/slot] | all]
ModeGlobal Config
no set slot power
This command unconfigures the power mode of the slot or slots and prohibits power from
being supplied to a card located in the slot. If you specify all, the command prohibits power
to all slots, otherwise the command prohibits power to the slot identified by unit/slot.
Use this command when installing or removing cards. If a card or other module is present in
this slot, power is prohibited to the contents of the slot. If the slot is empty , power is prohibited
to any card inserted into the slot.
Formatno set slot power [unit/slot] | all]
ModeGlobal Config
reload (for chassis configuration)
This command resets the entire chassis or the identified blade. The blade is the blade
identifier. The system prompts you to confirm that you want to reset the chassis or blade.
Formatreload [blade]
ModeGlobal Config
show supported cardtype (for chassis configuration)
This commands displays information about all card types or specific card types supported in
the system.
If you do not supply a value for cardindex, the following output appears:
TermDefinition
Card Index (CID)The index into the database of the supported card types. This index is used when
preconfiguring a slot.
Card Model
Identifier
The model identifier for the supported card type.
Chassis Commands
30
M5300, M6100, and M7100 Series ProSAFE Managed Switches
If you supply a value for cardindex, the following output appears:
TermDefinition
Card TypeThe 32-bit numeric card type for the supported card.
Model IdentifierThe model identifier for the supported card type.
Card DescriptionThe description for the supported card type.
show chassis
This command displays chassis status information about all blades in the chassis or, if you
specify the unit value, about a single blade. For blades that would normally be allowed to
join the chassis but do not have a matching chassis template ID, the blade status is shown as
STM Mismatch.
Formatshow chassis [unit]
ModePrivileged EXEC
TermDefinition
UnitThe unit identifier assigned to the blade.
If you do not specify a value for unit, the following information displays:
TermDefinition
Management RoleIndicates whether the blade is the supervisor blade, a member blade, or an operational
backup blade, or whether the status is unassigned.
Preconfigured
Model Identifier
Plugged-In Model IDThe model identifier of the blade in the chassis. The Model Identifier is a 32-character field
Switch StatusThe chassis status. Possible values for this state are: OK, Unsupported, Code Mismatch,
The model identifier of a preconfigured blade that is ready to join the chassis. The Model
Identifier is a 32-character field that is assigned by the device manufacturer to identify the
device.
that is assigned by the device manufacturer to identify the device.
SDM Mismatch, Config Mismatch, or Not Present. A mismatch indicates that a blade is
running a different software version, has a different SDM template, or has a different
configuration from the management blade. The SDM Mismatch status indicates that the
blade joined the chassis, but has a different SDM template than the management blade.
This status is temporary; the blade automatically reloads using the template of the chassis
manager.
If a chassis firmware synchronization operation is in progress, the status is shown as
Updating Code.
Code VersionThe detected version of code on this blade.
Chassis Commands
31
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Command example:
(NETGEAR Switch) #show chassis
Management Plugged-in Serial Switch Version Admin PoE
Unit Role Model ID Number Status Code State Card
If you specify a value for unit, the following information displays.
TermDefinition
UnitThe unit number of the blade.
Management
Status
Hardware
Management
Indicates whether the blade is the supervisor blade, the backup blade, a member blade, or
unassigned.
The hardware management preference of the blade. The hardware management
preference can be disabled or unassigned.
Preference
Admin
Management
Preference
The administrative management preference value that is assigned to the blade. This
preference value indicates how likely the blade is to be selected as the primary
management blade.
Admin StateAdministrative state of the blade.
Power StatePower state of the blade.
Switch TypeThe 32-bit numeric blade type.
Plugged-in Model
Identifier
The model identifier of the blade in the chassis. The Model Identifier is a 32-character field
that is assigned by the device manufacturer to identify the device.
Switch StatusThe blade status. Possible values are OK, Unsupported, Code Mismatch, Config
Mismatch, SDM Mismatch, or Not Present.
A mismatch indicates that the blade is running a different version of the code, SDM
template, or configuration than the management blade. The SDM Mismatch status
indicates that the blade is part of the chassis, but is running a different SDM template than
the management blade. A mismatch status is temporary; the blade automatically reloads
using the template that is running on the management blade. If a chassis firmware
synchronization operation is in progress, the status is shown as Updating Code.
Switch Description The blade description.
Detected Code in
Flash
The version of code that is currently stored in FLASH memory on the blade. This code
executes after the blade is reset. If the blade is not present and the data is from
preconfiguration, then the code version is “None”.
POE D-Card
The description of the PoE daughter card that is plugged into the blade.
description
POE D-Card PoE
firmware version
The firmware version that is running on the PoE controller of the daughter card that is
plugged into the blade.
Chassis Commands
32
M5300, M6100, and M7100 Series ProSAFE Managed Switches
TermDefinition
CPLD VersionThe version of CPLD firmware that is running on the blade.
SFS Last Attempt
Status
Serial NumberThe serial number for the blade.
Up TimeThe system up time.
The chassis firmware synchronization status in the last attempt for the blade.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show chassis-status
Every two seconds, a blade broadcasts heartbeat messages. A state table on the supervisor
and each blade tracks every unit in the chassis. The table maintains a running history of the
heartbeat messages, current observed interval, and the minimum, maximum, and average
observed times between heartbeat messages. Sequence numbers in the discovery
messaged determine loss.
Formatchassis-status unit [unit | all] [clear]
ModeUser EXEC
Command example:
(NETGEAR Switch) #show chassis-status 1
Chassis Unit 1 Status
Unit Current Average Min Max Dropped
1 2000 2000 2000 2000 0
2 2000 2100 2000 2500 0
3 2000 2100 2000 2200 0
show supported switchtype (for chassis configuration)
This commands displays information about all supported switch types or a specific switch
type.
If you do not supply a value for switchindex, the following output appears:
TermDefinition
Switch Index (SID) The index into the database of supported blade types. This index is used when you
preconfigure a member to be added to the chassis.
Model IdentifierThe model identifier for the supported blade type.
Management
Preference
Code VersionThe code load target identifier of the blade type.
The management preference value of the blade type.
Chassis Commands
35
M5300, M6100, and M7100 Series ProSAFE Managed Switches
If you supply a value for switchindex, the following output appears:
TermDefinition
Switch TypeThe 32-bit numeric switch type for the supported blade.
Model IdentifierThe model identifier for the supported blade type.
Switch Description The description for the supported blade type.
Backplane Port Commands
This section describes the commands you use to view and configure backplane port
information.
show backplane-port
This command displays summary backplane-port information for all interfaces.
Formatshow backplane-port
ModePrivileged EXEC
For each Interface:
TermDefinition
UnitThe blade number.
InterfaceThe blade and port numbers.
Link StatusStatus of the link.
Link SpeedSpeed (Gbps) of the blade port link.
show backplane-port counters
This command displays summary data counter information for all interfaces.
UnitThe slot number.
InterfaceThe slot and port numbers.
Tx Data RateTrashing data rate in megabits per second on the backplane port.
Tx Error RatePlatform-specific number of transmit errors per second.
Chassis Commands
36
M5300, M6100, and M7100 Series ProSAFE Managed Switches
TermDefinition
Tx Total ErrorsPlatform-specific number of total transmit errors since power-up.
Rx Data RateReceive data rate in megabits per second on the backplane port.
Rx Error RatePlatform-specific number of receive errors per second.
Rx Total ErrorsPlatform-specific number of total receive errors since power-up.
Link FlapsThe number of times this backplane port transitioned to the down state.
show backplane-port diag
This command shows backplane port diagnostics for each port and is only intended for Field
Application Engineers (FAEs) and developers. An F AE will advise on the necessity to run this
command and capture this information.
This command displays the backplane model ID, FAPGA version, and serial number.
Formatshow backplane
ModePrivileged EXEC
Chassis Firmware Synchronization Commands
Chassis Firmware Synchronization (CFS) provides the ability to automatically synchronize
firmware for all chassis members. If a blade joins the chassis and its firmware version is
different from the version running on the chassis manager, the CFS feature can either
upgrade or downgrade the firmware on the mismatched chassis member. There is no attempt
to synchronize the blade to the latest firmware in the chassis.
Chassis Commands
37
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Use this command to allow the chassis manager to downgrade the firmware version on the
chassis member if the firmware version on the manager is older than the firmware version on
the chassis member.
show auto-copy-sw (for chassis firmware synchronization)
Use this command to display chassis firmware synchronization configuration status
information.
Formatshow auto-copy-sw
ModePrivileged Exec
TermDefinition
SynchronizationShows whether the CFS feature is enabled.
SNMP Trap StatusShows whether the chassis will send traps for CFS events.
Allow DowngradeShows wether the manager is permitted to downgrade the firmware version of a
chassis member.
Nonstop Forwarding Commands for Chassis
Configuration
Note: Nonstop forwarding (NSF) is enabled by default on the chassis. You
cannot disable NSF on the chassis.
A switch can be described in terms of three semi-independent functions called the forwarding
plane, the control plane, and the management plane. The forwarding plane forwards data
packets. The forwarding plane is implemented in hardware. The control plane is the set of
protocols that determine how the forwarding plane should forward packets, deciding which
data packets are allowed to be forwarded and where they should go. Application software on
the management blade acts as the control plane. The management plane is application
software running on the management blade that provides interfaces allowing a network
administrator to configure and monitor the device.
NSF allows the forwarding plane of chassis blades to continue to forward packets while the
control and management planes restart as a result of a power failure, hardware failure, or
software fault on the management blade. A nonstop forwarding failover can also be manually
initiated using the initiate failover command. Traffic flows that enter and exit the
Chassis Commands
39
M5300, M6100, and M7100 Series ProSAFE Managed Switches
chassis through physical ports on a blade other than the management blade continue with at
most subsecond interruption when the management blade fails.
To prepare the backup management blade in case of a failover, applications on the
management blade continuously checkpoint some state information to the backup blade.
Changes to the running configuration are automatically copied to the backup blade. MAC
addresses stay the same across a nonstop forwarding failover so that neighbors do not have
to relearn them.
When a nonstop forwarding failover occurs, the control plane on the backup blade starts from
a partially-initialized state and applies the checkpointed state information. While the control
plane is initializing, the chassis cannot react to external changes, such as network topology
changes. Once the control plane is fully operational on the new management blade, the
control plane ensures that the hardware state is updated as necessary . Control plane failover
time depends on the size of the chassis, the complexity of the configuration, and the speed of
the CPU.
The management plane restarts when a failover occurs. Management connections must be
reestablished.
For NSF to be effective, adjacent networking devices must not reroute traffic around the
restarting device. NETGEAR Managed Switch software uses three techniques to prevent
traffic from being rerouted:
•A protocol may distribute a part of its control plane to chassis blades so that the protocol
can give the appearance that it is still functional during the restart. Spanning tree and port
channels use this technique.
•A protocol may enlist the cooperation of its neighbors through a technique known as
graceful restart. OSPF uses graceful restart if it is enabled (see
IP Event Dampening
Commands on page 768).
•A protocol may simply restart after the failover if neighbors react slowly enough that they
will not normally detect the outage. The IP multicast routing protocols are a good example
of this behavior.
To take full advantage of nonstop forwarding, layer 2 connections to neighbors should be via
port channels that span two or more chassis slots, and layer 3 routes should be ECMP routes
with next hops via physical ports on two or more slots. The hardware can quickly move traffic
flows from port channel members or ECMP paths on a failed blade to a surviving blade.
show nsf (for chassis configuration)
This command displays global and per-blade information on NSF configuration on the
chassis.
Formatshow nsf
ModePrivileged Exec
Chassis Commands
40
M5300, M6100, and M7100 Series ProSAFE Managed Switches
ParameterDescription
NSF Administrative
Status
NSF Operational StatusIndicates whether NSF is enabled on the chassis.
Last Startup ReasonThe type of activation that caused the software to start the last time:
Time Since Last RestartTime since the current management blade became the active management blade.
Restart in progressWhether a restart is in progress.
Warm Restart ReadyWhether the system is ready to perform a nonstop forwarding failover from the
Copy of Running
Configuration to Backup
Unit: Status
Whether nonstop forwarding is administratively enabled or disabled.
Default:
Enabled
“Power-On” means that the blade rebooted. This could have been caused by a
power cycle or an administrative “Reload” command.
“Administrative Move” means that the administrator issued the movemanagement
command for the stand-by manager to take over.
“Warm-Auto-Restart” means that the primary management blade restarted due to a
failure, and the system executed a nonstop forwarding failover.
“Cold-Auto-Restart” means that the system switched from the active manager to the
backup manager and was unable to maintain user data traffic. This is usually caused
by multiple failures occurring close together.
management blade to the backup blade.
Whether the running configuration on the backup blade includes all changes made
on the management blade.
Time Since Last CopyWhen the running configuration was last copied from the management blade to the
backup blade.
Time Until Next CopyThe number of seconds until the running configuration will be copied to the backup
blade. This line only appears when the running configuration on the backup blade is
Stale.
Per Unit Status Parameters
NSF SupportWhether a blade supports NSF.
initiate failover (for chassis configuration)
This command forces the backup blade to take over as the management blade and perform a
warm restart of the chassis. On a warm restart, the backup blade becomes the management
blade without clearing its hardware tables. (On a cold restart, hardware tables are cleared.)
Applications apply checkpointed data from the former management blade. The original
management blade reboots.
If the system is not ready for a warm restart, for example, because no backup blade was
elected or one or more members of the chassis do not support nonstop forwarding, the
command fails with a warning message.
Chassis Commands
41
M5300, M6100, and M7100 Series ProSAFE Managed Switches
The movemanagement command (see movemanagement (Chassis Global Config) on
page 28) also transfers control from the current management blade; however, the hardware
is cleared and all blades reinitialize.
Formatinitiate failover
ModeChassis Global Config Mode
show checkpoint statistics (for chassis configuration)
This command displays general information about the checkpoint service operation.
Messages CheckpointedNumber of checkpoint messages transmitted to the backup blade. Range:
Integer. Default:
0
Bytes CheckpointedNumber of bytes transmitted to the backup blade. Range: Integer. Default: 0
Time Since Counters ClearedNumber of days, hours, minutes and seconds since the counters were reset to
zero. The counters are cleared when a blade becomes manager and with a
support command. Range: Time Stamp. Default:
Checkpoint Message RateAverage number of checkpoint messages per second. The average is
computed over the time period since the counters were cleared. Range:
Integer. Default:
0
Last 10-second Message Rate Average number of checkpoint messages per second in the last 10-second
interval. This average is updated once every 10 seconds. Range: Integer.
Default:
0
Highest 10-second Message
Rate
The highest rate recorded over a 10-second interval since the counters were
cleared. Range: Integer. Default:
This chapter describes the stacking commands available in the NETGEAR Managed Switch CLI.
Note: Stacking commands are supported on the M5300 series switches only.
This chapter contains the following sections:
•Dedicated Port Stacking Commands
•Stack Port Commands
•Stack Firmware Synchronization Commands
•Nonstop Forwarding Commands for Stack Configuration
The commands in this chapter are in two functional groups:
•Show commands. Display switch settings, statistics, and other information.
•Configuration commands. Configure features and options of the switch. For every
configuration command, there is a show command that displays the configuration setting.
Note: The Primary Management Unit is the unit that controls the stack.
43
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Dedicated Port Stacking Commands
This section describes the commands you use to configure dedicated port stacking.
stack
Use this command to set the mode to Stack Global Config.
DefaultNone
Formatstack
ModeGlobal Config
member (Stack Global Config)
Use this command to add a switch to a stack. The unit is the switch identifier of the switch to
be added to the stack. The switchindex is the index into the database of the supported
switch types, indicating the type of the switch being preconfigured. The switchindex is a
32-bit integer. You issue this command on the Primary Management Unit.
DefaultNone
Formatmember unit switchindex
ModeStack Global Config
Note: You can obtain the switch index by issuing the show supported
switchtype command in User EXEC mode.
no member
Use this command to remove a switch from a stack. The unit is the switch identifier of the
switch to be removed from the stack. You issue this command on the Primary Management
Unit.
Formatno member unit
ModeStack Global Config
switch priority
Use this command to configure the ability of a switch to become the Primary Management
Unit. The unit is the switch identifier. The value is the preference parameter that lets you
specify the priority of one backup switch over another. The range for priority is 1 to 15. The
switch with the highest priority value becomes the Primary Management Unit if the active
Primary Management Unit fails. The switch priority defaults to the hardware management
Stacking Commands
44
M5300, M6100, and M7100 Series ProSAFE Managed Switches
preference value 1. Switches without the hardware capability to become the Primary
Management Unit are not eligible for management.
DefaultEnabled
Formatswitch unit priority value
ModeGlobal Config
switch renumber
Use this command to change the switch identifier for a switch in the stack. The oldunit is
the current switch identifier on the switch whose identifier is to be changed. The newunit is
the updated value of the switch identifier. When you issue the command, the switch is
configured with the configuration information for the new switch, if any. The old switch
configuration information is retained, however the old switch becomes operationally
unplugged. You issue this command on the Primary Management Unit.
Note: If the management unit is renumbered, the running configuration is no
longer applied (that is, the stack functions as if the running
configuration is cleared).
Use this command to move the Primary Management Unit functionality from one switch to
another. The fromunit is the switch identifier on the current Primary Management Unit. The
tounit is the switch identifier on the new Primary Management Unit. When you issue the
command, the entire stack (including all interfaces in the stack) is unconfigured and
reconfigured with the configuration on the new Primary Management Unit. After the reload is
complete, you must perform all stack management capability on the new Primary
Management Unit. To preserve the current configuration across a stack move, issue the
copy system:running-config nvram:startup-config command in Privileged
EXEC mode before performing the stack move. A stack move causes all routes and layer 2
addresses to be lost. You issue this command on the Primary Management Unit. The system
prompts you to confirm the management move.
Note: The movemanagement command does not perform nonstop
forwarding (NSF). To move the management unit to the backup unit,
issue the initiate failover command instead. For more
information, see initiate failover (for stack configuration) on page 66.
Stacking Commands
45
M5300, M6100, and M7100 Series ProSAFE Managed Switches
DefaultNone
Formatmovemanagement fromunittounit
ModeStack Global Config
standby
Use this command to configure a unit as a Standby Management Unit (STBY). The unit
number is the unit number that must become the Standby Management Unit. The unit
number must be a valid unit number.
DefaultNone
Formatstandby unit number
ModeStack Global Config
Note: The Standby Management Unit cannot be the current Management
Unit. The Standby unit must be a management-capable unit.
no standby
Use this command to let the switch run the auto Standby Management Unit.
Formatno standby
ModeStack Global Config
slot (for stack configuration)
Use this command to configure a slot in the system. The unit/slot is the slot identifier of
the slot. The cardindex is the index into the database of the supported card types,
indicating the type of the card that is being preconfigured in the specified slot. The
cardindex is a 32-bit integer. If a card is present in the slot that is unconfigured, the
configured information is deleted and the slot is reconfigured with default information for the
card.
Note: You can obtain the card index by issuing the show supported
cardtype command in User EXEC mode.
set slot disable (for stack configuration)
Use this command to configure the administrative mode for a specified slot or for all slots. If
you specify all, the command is applied to all slots, otherwise the command is applied to
the slot that is identified by unit/slot.
If a card or other module is present in the slot, the administrative mode is applied to the
contents of the slot. If the slot is empty , the administrative mode is applied to any module that
is inserted into the slot. If a card is disabled, all the ports on the device are operationally
disabled and shown as “unplugged” on management screens.
Use this command to remove the administrative mode for a specified slot or for all slots. If
you specify all, the command removes the administrative mode from all slots, otherwise the
command removes the administrative mode from the slot that is identified by unit/slot.
If a card or other module is present in the slot, the administrative mode removes the
configuration from the contents of the slot. If the slot is empty, the administrative mode
removes the configuration from any module inserted into the slot. If a card is disabled, all the
ports on the device are operationally disabled and shown as “unplugged” on management
screens.
Formatno set slot disable [unit/slot | all]
ModeGlobal Config
Stacking Commands
47
M5300, M6100, and M7100 Series ProSAFE Managed Switches
set slot power (for stack configuration)
Use this command to configure the power mode for a specified slot or for all slots and allows
power to be supplied to the cards that are located in the slots. If you specify all, the
command is applied to all slots, otherwise the command is applied to the slot that is identified
by unit/slot.
Use this command when you install or remove cards. If a card or other module is present in
the slot, the power mode is applied to the contents of the slot. If the slot is empty, the power
mode is applied to any card inserted into the slot.
DefaultNone
Formatset slot power [unit/slot | all]
ModeGlobal Config
no set slot power
Use this command to remove the power mode for a specified slot or for all slots and prohibits
power from being supplied to the cards that are located in the slots. If you specify all, the
command prohibits power to all slots, otherwise the command prohibits power to the slot that
is identified by unit/slot.
Use this command when you install or remove cards. If a card or other module is present in
the slot, power is prohibited to the contents of the slot. If the slot is empty , power is prohibited
to any card inserted into the slot.
Formatno set slot power [unit/slot | all]
ModeGlobal Config
reload (for stack configuration)
Use this command to reset the entire stack or the identified unit. The unit is the switch
identifier. The system prompts you to confirm that you want to reset the switch.
DefaultNone
Formatreload [unit]
ModeUser EXEC
stack-status sample-mode
Use this command to configure the global status management mode and, as an option, the
sample size. The mode and sample size parameters are applied globally to all units in the
stack. The default sampling mode of the operation is cumulative, which tacks the sum of the
received time stamp offsets cumulatively. You can also select the history sampling mode,
which tracks the history of the received timestamps.
Stacking Commands
48
M5300, M6100, and M7100 Series ProSAFE Managed Switches
The sample size indicates the maximum number of samples that must be kept. The range for
the number value for max-samples is from 100 to 500.
Note: The stack-status sample-mode command is implemented as
part of a serviceability functionality and therefore not expected to be
persistent across reloads. The configuration is not visible in the
running configuration under any circumstances. When you issue the
command, the configuration is applied to all the members that are part
of the stack. After you issue the command, the configuration is not
applied to new members that you add to the stack.
DefaultThe default for sampling mode is cumulative.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show slot
Use this command to display information about all the slots in the system or about a specific
slot.
Formatshow slot [unit/slot]
ModeUser EXEC
Privileged EXEC
TermDefinition
SlotThe slot identifier in the unit/slot format.
Slot StatusThe slot is empty, full, or has encountered an error
Admin StateThe slot administrative mode is enabled or disabled.
Power StateThe slot power mode is enabled or disabled.
Configured Card
Model Identifier
PluggableCards are pluggable or non-pluggable in the slot.
Power DownIndicates whether the slot can be powered down.
The model identifier of the card preconfigured in the slot. The model identifier is a
32-character field used to identify a card.
If you supply a value for unit/slot, the following additional information displays:
TermDefinition
Inserted Card
Model Identifier
Inserted Card
Description
Configured Card
Description
The model identifier of the card inserted in the slot. The model identifier is a
32-character field used to identify a card. This field is displayed only if the slot is
populated.
The card description. This field is displayed only if the slot is populated.
The card description of the card preconfigured in the slot.
show stack-status
Use this command to display the stack unit’s received heartbeat message timings and the
dropped or lost statistics for the specified unit.
Use the following optional keywords to specify the command output:
•number. The output displays for a specific unit in the stack. The value for number can be
from 1 to 8.
•all. The output displays for all units in the stack.
Use the optional keyword clear to remove the statistics of the stack heartbeat message.
Stacking Commands
50
M5300, M6100, and M7100 Series ProSAFE Managed Switches
CurrentThe time at which the heartbeat message was received.
AverageThe average time of the heartbeat messages that were received.
MinThe minimum time of the heartbeat messages that were received.
MaxThe maximum time of the heartbeat messages that were received.
DroppedThe number of heartbeat messages that were dropped or lost.
Command example:
This example dumps the stack unit heartbeat status information of the specified unit:
(NETGEAR Switch) #show stack-status
Stack Unit 1 Status
Sampling Mode: Cumulative Summing
-------------------------------------Unit Current Average Min Max Dropped
--------------------------------------
show supported cardtype (for stack configuration)
Use this command to display information about all card types or specific card types that are
supported in the switch.
If you do not supply a value for cardindex, the following output displays:
TermDefinition
Card Index (CID)The index in the database for the supported card types. This index is used when you
preconfigure a slot.
Card Model
Identifier
If you supply a value for cardindex, the following output displays:
TermDefinition
Card TypeThe 32-bit numeric card type for the supported card.
The model identifier for the supported card type.
Stacking Commands
51
M5300, M6100, and M7100 Series ProSAFE Managed Switches
TermDefinition
Model IdentifierThe model identifier for the supported card type.
Card DescriptionThe description for the supported card type.
show switch
Use this command to display information about all units in the stack or about a single unit if
you specify the unit value. For units that lack a matching stack template ID and can therefore
not join the stack, the switch status is shown as “STM Mismatch.”
Formatshow switch [unit]
ModePrivileged EXEC
TermDefinition
SwitchThe unit identifier assigned to the switch.
If you do not specify a value for unit, the following information displays:
TermDefinition
Management
Status
Preconfigured
Model Identifier
Plugged-In Model
Identifier
Switch StatusThe switch status. Possible values for this state are: OK, Unsupported, Code
Code VersionThe detected version of code on the switch.
Command example:
Indicates whether the switch is the Primary Management Unit, a stack member, or the
status is unassigned.
The model identifier of a preconfigured switch ready to join the stack. The model
identifier is a 32-character field that is assigned by the device manufacturer to identify
the device.
The model identifier of the switch in the stack. The model identifier is a 32-character
field that is assigned by the device manufacturer to identify the device.
Mismatch, Config Mismatch, or Not Present.
A mismatch indicates that a stack unit is running a different firmware version, Switch
Database Management (SDM) template, or configuration than the management unit.
The SDM Mismatch status indicates that the unit joined the stack, but is running a
different SDM template than the management unit. This status is temporary; the stack
unit automatically reloads using the template that is running on the stack manager. If a
Stacking Firmware Synchronization operation is in progress, the status is shown as
Updating Code.
(NETGEAR Switch) #show switch
Management Standby Preconfig Plugged-in Switch Code
SW Switch Status Model ID Model ID Status Version
M5300, M6100, and M7100 Series ProSAFE Managed Switches
If you specify a value for unit, the following information displays:
TermDefinition
Management
Status
Hardware
Management
Preference
Admin
Management
Preference
Switch TypeThe 32-bit numeric switch type.
Model IdentifierThe model identifier for this switch. The model identifier is a 32-character field that is
Switch StatusThe switch status. Possible values are OK, Unsupported, Code Mismatch, Config
Switch Description The switch description.
Expected Code
Version
Detected Code
Version
Detected Code in
Flash
Indicates whether the switch is the Primary Management Unit, a stack member, or the
status is unassigned.
The hardware management preference of the switch. The hardware management
preference can be disabled or unassigned.
The administrative management preference value assigned to the switch. This
preference value indicates how likely the switch is selected as the Primary
Management Unit.
assigned by the device manufacturer to identify the device.
Mismatch, or Not Present.
The expected firmware version.
The version of firmware that is running on this switch. If the switch is not present and
the data is from the preconfiguration, the firmware version is None.
The version of the firmware that is currently stored in flash memory on the switch. The
firmware executes after the switch is reset. If the switch is not present and the data is
from the preconfiguration, the firmware version is None.
SFS Last Attempt
Status
Stack Template IDThe ID of the stack template. For example: 3.
Stack Template
Description
Up TimeThe system up time.
The stack firmware synchronization status in the last attempt for the specified unit.
The stack template description. For example: v1 and v2 Mix.
If you do not supply a value for switchindex, the following output displays:
TermDefinition
Switch Index (SID) The index in the database of supported switch types. This index is used when you
preconfigure a member to be added to the stack.
Model IdentifierThe model identifier for the supported switch type.
Management
Preference
Code VersionThe firmware load target identifier of the switch type.
The management preference value of the switch type.
If you supply a value for switchindex, the following output displays:
TermDefinition
Switch TypeThe 32-bit numeric switch type for the supported switch.
Model IdentifierThe model identifier for the supported switch type.
Switch Description The description for the supported switch type.
Stacking Commands
54
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Stack Port Commands
This section describes the commands you use to view and configure stack port information.
stack-port
Use this command to set stacking for a specified port to either stack or ethernet mode.
Defaultstack
Formatstack-port unit/slot/port {ethernet | stack}
ModeStack Global Config
show stack-port
Use this command to display summary stack-port information for all interfaces.
Formatshow stack-port
ModePrivileged EXEC
For each interface:
TermDefinition
UnitThe unit number.
InterfaceThe slot and port numbers.
Configured Stack
Mode
Running Stack
Mode
Link StatusThe status of the link.
Link SpeedThe speed (in Gbps) of the stack port link.
Stack or Ethernet.
Stack or Ethernet.
show stack-port counters
Use this command to display summary data counter information for all interfaces.
Use the following optional keywords to specify the command output:
•number. The output displays for a specific unit in the stack. The value for number can be
from 1 to 8.
•all. The output displays for all units in the stack.
Stacking Commands
55
M5300, M6100, and M7100 Series ProSAFE Managed Switches
UnitThe unit number.
InterfaceThe slot and port numbers.
Tx Data RateThe trashing data rate in megabits per second on the stacking port.
Tx Error RateThe platform-specific number of transmit errors per second.
Tx Total ErrorThe platform-specific number of total transmit errors since power-up.
Rx Data RateThe received data rate in megabits per second on the stacking port.
Rx Error RateThe platform-specific number of received errors per second.
Rx Total ErrorsThe platform-specific number of total received errors since power-up.
Link FlapsThe number of up and down events for the link since the system bootup.
This example shows the stack ports and associated statistics of unit 2.
(NETGEAR Switch) #show stack-port counters 2
------------TX------------------- ------------RX-------------- ------ Data Error Data Error
Rate Rate Total Rate Rate Total Link
Unit Interface (Mb/s) (Errors/s) Errors (Mb/s) (Errors/s) Errors Flaps
Note: This command is intended only for field application engineers (FAEs)
and developers.
Use this command to display front panel stacking diagnostics for each port. An FAE can
advise on the necessity to run this command and capture this information. In verbose mode,
the statistics and counters for RPC, transport, CPU, and transport RX/TX modules are
displayed.
Stacking Commands
56
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Use the following optional keywords to specify the command output:
•number. The output displays for a specific unit in the stack. The value for number can be
from 1 to 8.
•all. The output displays for all units in the stack.
UnitThe unit number.
InterfaceThe slot and port numbers.
Diagnostic Entry180 character string used for diagnostics.
Diagnostic Entry280 character string used for diagnostics.
Diagnostic Entry380 character string used for diagnostics.
TBYTTransmitted bytes.
TPKTTransmitted packets.
TFCSTransmitted FCS error frame counter.
TERRTransmitted error (set by system) counter
RBYTReceived bytes.
RPKTReceived packets.
RFCSReceived FCS error frame counter.
RFRGReceived fragment counter.
RJBRReceived jabber frame counter.
RUNDReceived undersized frame counter.
ROVRReceived oversized frame counter.
RUNTReceived RUNT frame counter.
Command example:
This example displays the stack ports and associated statistics of specified unit or all units.
--------------------------------------RLink statistics/counters from unit..2
---------------------------------------
State Initialization........................... Done
L2 Notify In Pkts.............................. 0
L2 Notify In Pkts discarded.................... 0
L2 Notify Out Pkts ............................ 0
L2 Notify Out Pkts discarded................... 0
Linkscan In Pkts............................... 0
Linkscan In Pkts discarded..................... 0
Linkscan Out Pkts ............................. 0
Linkscan Out Pkts discarded.................... 0
Auth/Unauth In Callbacks....................... 0
Auth/Unauth In Callbacks discarded............. 0
Auth/Unauth Out Callbacks...................... 0
Auth/Unauth Out Callbacks discarded............ 0
RX Tunnelling In Pkts.......................... 0
RX Tunnelling In Pkts discarded................ 0
RX Tunnelling Out Pkts......................... 0
RX Tunnelling Out Pkts discarded............... 0
OAM Events In.................................. 0
OAM Events In discarded........................ 0
OAM Events Out................................. 0
OAM Events Out discarded....................... 0
BFD Events In.................................. 0
BFD Events In discarded........................ 0
BFD Events Out................................. 0
BFD Events Out discarded....................... 0
Fabric Events In............................... 0
Fabric Events In discarded..................... 0
Stacking Commands
60
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Fabric Events Out.............................. 0
Fabric Events Out discarded.................... 0
Scan Add Requests In........................... 0
Scan Del Requests In........................... 0
Scan Notify(Run Handlers) Out.................. 0
Scan Notify(Traverse Processing)............... 0
show stack-port stack-path
Use this command to display the route that a packet takes to reach its destination. This
command lets you display the stack path to see if an error or packets loss occurs.
Use the following optional keywords to specify the command output:
•source-unit. The output displays for a specific source unit in the stack. The value for
source-unit can be from 1 to 8.
•all. The output displays for all units in the stack.
•destination-unit. The output displays for a specific source unit in the stack. The
Stack firmware synchronization (SFS) provides an automatic mechanism to synchronize the
firmware on all stack members whose firmware version differs from the version running on
the stack manager. This operation can result in either an upgrade or downgrade of firmware
on the mismatched stack member. However, this operation does not attempt to synchronize
the stack to the latest firmware in the stack.
Use this command to enable downgrading of the firmware version on the stack member if the
firmware version on the manager is older than the firmware version on the member.
Use this command to prevent downgrading of the firmware version on the stack member if
the firmware version on the manager is older than the firmware version on the member.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show auto-copy-sw (for stack firmware synchronization)
Use this command to display the stack firmware synchronization configuration status.
Formatshow auto-copy-sw
ModePrivileged EXEC
TermDefinition
SynchronizationShows whether the SFS feature is enabled.
SNMP Trap Status Shows whether the stack sends traps for SFS events
Allow DowngradeShows wether the stack manager is permitted to downgrade the firmware version of a
stack member.
Nonstop Forwarding Commands for Stack Configuration
You can describe a switch in terms of three semi-independent functions: the forwarding
plane, the control plane, and the management plane. The forwarding plane forwards data
packets. The forwarding plane is implemented in hardware. The control plane is the set of
protocols that determines how the forwarding plane must forward packets, which data
packets can be forwarded, and where the data packets must be forwarded to.
Application software on the management unit functions as the control plane. The
management plane is also application software that runs on the management unit and that
provides interfaces, allowing you to configure and monitor the device.
Nonstop forwarding (NSF) allows the forwarding plane of stack units to continue to forward
packets while the control and management planes restart as a result of a power failure,
hardware failure, or software fault on the management unit.
You can also manually initiate a nonstop forwarding failover by issuing the initiate failover command. If the management unit fails, traffic flows that enter and exit the stack
through physical ports on a unit other than the management unit continue with at most a
subsecond interruption.
To prepare the backup management unit for a failover, applications on the management unit
continuously checkpoint (that is, forward) information to the backup unit. Changes to the
running configuration are automatically copied to the backup unit. MAC addresses stay the
same across a nonstop forwarding failover so that neighbors do not need to relearn them.
When a nonstop forwarding failover occurs, the control plane on the backup unit starts from a
partially-initialized state and applies the checkpointed (that is, forwarded) information. While
the control plane is initializing, the stack cannot react to external changes, such as network
topology changes. When the control plane is fully operational on the new management unit,
the control plane ensures that the hardware state is updated as necessary . The control plane
failover time depends on the size of the stack, the complexity of the configuration, and the
speed of the CPU.
Stacking Commands
63
M5300, M6100, and M7100 Series ProSAFE Managed Switches
The management plane restarts when a failover occurs. Management connections must be
reestablished.
For NSF to be effective, adjacent networking devices must not reroute traffic around the
restarting device.
The switch uses three protocol techniques to prevent traffic from being rerouted:
•A protocol can distribute a part of its control plane to stack units so that the protocol can
give the appearance that it is still functional during the restart. Spanning tree and port
channels use this technique.
•A protocol can enlist the cooperation of its neighbors through a technique known as
graceful restart. OSPF uses graceful restart if it is enabled (see “
IP Event Dampening
Commands on page 768).
•A protocol can simply restart after the failover if neighbors react slowly enough that they
do not detect the outage. The IP multicast routing protocols are a good example of this
behavior.
To take full advantage of nonstop forwarding, layer 2 connections to neighbors must be
configured over port channels that span two or more stack units and layer 3 routes must be
configured over ECMP routes with next hops over physical ports on two or more units. The
hardware can quickly move traffic flows from port channel members or ECMP paths on a
failed unit to a surviving unit.
nsf (Stack Global Config)
Use this command to enable nonstop forwarding on the stack. When nonstop forwarding is
enabled, if the management unit of a stack fails, the backup unit takes over as the master
without clearing the hardware tables of any of the surviving units. Data traffic continues to be
forwarded in hardware while the management functions initialize on the backup unit.
NSF is enabled by default on platforms that support it. You can disable NSF to redirect the
CPU resources that are consumed by data checkpointing (that is, data forwarding).
If a unit that does not support NSF is connected to the stack, NSF is disabled on all stack
members. If a unit that does not support NSF is disconnected from the stack, all other units
do support NSF, and NSF is administratively enabled, NSF operation resumes.
DefaultEnabled
Formatnsf
ModeStack Global Config
no nsf
Use this command to disable nonstop forwarding on the stack.
Formatno nsf
ModeStack Global Config
Stacking Commands
64
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show nsf (for stack configuration)
Use this command to display global and per-unit information for the nonstop forwarding
configuration on the stack.
Formatshow nsf
ModePrivileged EXEC
TermDefinition
NSF Administrative
Status
NSF Operational Status Indicates whether NSF is enabled on the stack.
Last Startup ReasonThe type of activation that caused the software to start the last time:
Time Since Last
Restart Time
Restart in progress Indicates whether a restart is in progress.
Warm Restart Ready Indicates whether the system is ready to perform a nonstop forwarding failover
Copy of Running
Configuration to
Backup Unit: Status
Indicates whether nonstop forwarding is administratively enabled or disabled. The
default is Enabled.
• “Power-On” means that the switch rebooted. A reboot can be caused by a
power cycle or an administrative “Reload” command.
• “Administrative Move” means that someone issued the movemanagement
command for the stand-by manager to take over.
• “Warm-Auto-Restart” means that the primary management card restarted
because of a failure, and the system executed a nonstop forwarding failover.
• “Cold-Auto-Restart” means that the system switched from the active manager
to the backup manager and was unable to maintain user data traffic. This is
usually caused by multiple failures occurring in a short period.
The time since the current management unit became the active management unit.
from the management unit to the backup unit.
Indicates whether the running configuration on the backup unit includes all
changes made on the management unit. Displays as Current or Stale.
Time Since Last Copy The time when the running configuration was last copied from the management
unit to the backup unit.
Time Until Next Copy The number of seconds until the running configuration is copied to the backup
unit. This line only appears when the running configuration on the backup unit is
Stale.
NSF Support (Per Unit
Status Parameter)
Indicates whether a unit supports NSF.
Stacking Commands
65
M5300, M6100, and M7100 Series ProSAFE Managed Switches
initiate failover (for stack configuration)
Use this command to force the backup unit to take over as the management unit and perform
a “warm restart” of the stack. On a warm restart, the backup unit becomes the management
unit without clearing its hardware tables (on a cold restart, hardware tables are cleared).
Applications apply checkpointed data (that is, forwarded data) from the former management
unit. The original management unit reboots. If the system is not ready for a warm restart, for
example because no backup unit was elected or one or more members of the stack do not
support nonstop forwarding, the command fails with a warning message.
The movemanagement command (see movemanagement (Stack Global Config) on
page 45) also transfers control from the current management unit. However, the hardware is
cleared and all units reinitialize.
DefaultNone
Formatinitiate failover
ModeStack Global Config
show checkpoint statistics (for stack configuration)
Use this command to display general information about the checkpoint service operation.
The number of checkpoint messages that are transmitted to the backup unit.
Range: Integer. Default: 0
The number of bytes transmitted to the backup unit. Range: Integer. Default: 0
The number of days, hours, minutes and seconds since the counters were reset to
zero. The counters are cleared when a unit becomes manager or when you issue the
clear checkpoint statistics command.
Range: Time Stamp. Default: 0d00:00:00
The average number of checkpoint messages per second. The average is computed
over the period since the counters were cleared. Range: Integer. Default: 0
The average number of checkpoint messages per second in the last 10-second
interval. This average is updated once every 10 seconds. Range: Integer. Default: 0
Highest 10-second
Message Rate
The highest rate recorded over a 10-second interval since the counters were cleared.
Range: Integer. Default: 0
Stacking Commands
66
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Command example:
(Switch)#show checkpoint statistics
Messages Checkpointed.....................6708
Bytes Checkpointed........................894305
Time Since Counters Cleared...............3d 01:05:09
This chapter describes the management commands available in the NETGEAR Managed
Switch CLI.
The Management Commands chapter contains the following sections:
•Configure the Switch Management CPU
•CPU Queue Commands
•Network Interface Commands
•Console Port Access Commands
•Telnet Commands
•Secure Shell Commands
•Management Security Commands
•Management Access Control List Commands
•Hypertext Transfer Protocol Commands
•Access Commands
•User Account Commands
•SNMP Commands
•RADIUS Commands
•TACACS+ Commands
•Configuration Scripting Commands
6
The commands in this chapter are in one of three functional groups:
•Show commands. Display switch settings, statistics, and other information.
•Configuration commands. Configure features and options of the switch. For every
configuration command, there is a show command that displays the configuration setting.
•Clear commands. Clear some or all of the settings to factory defaults.
68
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Configure the Switch Management CPU
To manage the switch over the web management interface or Telnet, you must assign an IP
address to the switch management CPU. You can accomplish this task through CLI
commands or you can use the ezconfig tool, which simplifies the task. The tool is applicable
to all NETGEAR M6100 series managed switches and lets you configure the following
settings:
•The administrator user password and administrator-enable password
•The management CPU IP address and network mask
•The system name and location information
The tool is interactive and uses questions to guide you through the configuration steps. At the
end of the configuration session, the tool lets you save the information. To see which
information was changed by the ezconfig tool after a configuration session, issue the show running-config command.
ezconfig
This command sets the IP address, subnet mask, and gateway of the switch. The IP address
and the gateway must be on the same subnet.
Formatezconfig
ModePrivileged EXEC
(NETGEAR Switch) #ezconfig
EZ Configuration Utility
-------------------------------Hello and Welcome!
This utility will walk you thru assigning the IP address for the switch
management CPU. It will allow you to save the changes at the end. After
the session, simply use the newly assigned IP address to access the Web
GUI using any public domain Web browser.
Admin password is not defined.
Do you want to assign the admin password (password length should vary in a range of 8 -
64 characters)? (Y/N/Q) y
Enter new password:********
Confirm new password:********
The 'enable' password required for switch configuration via the command
line interface is currently not configured.
Do you want to assign it (password length should vary in a range of 8 - 64 characters)
(Y/N/Q)? y
Management Commands
69
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Enter new password:********
Confirm new password:********
Assigning an IP address to your switch management
IP address is not assigned. What do you want to do?
C - Configure IP address manually.
D - Assign IP address for the switch using DHCP mode(current IP address will be
lost).
N - Do nothing and go to the next question.
Q - Quit.
? - Help.
(C/D/N/Q/?)? c
IP Address: 10.10.10.1
Network mask: 255.255.255.0
Gateway: 10.10.10.10
Do you want routing to be enabled (Y/N)?y
Assigning System Name, System Location and System Contact to your switch management
Current Configuration
-------------------------------System Name:
System Location:
System Contact:
Do you want to assign switch name and location information? (Y/N/Q)y
the System Name:testchassis
the System Location:testlab
the System Contact:Bud Lightyear
Do you want to apply and save the changes (Y/N)? y
Could not set the Default Router IP address!
Management Commands
70
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Config file 'startup-config' created successfully .
The configuration changes have been applied and saved.
Please enter 'show running-config' to see the final configuration.
Thanks for using EzConfig!
CPU Queue Commands
You can send all packets with a specified destination address to a higher priority queue (5)
than the default queue for data packets and unicast packets to the CPU.
ip cpu-priority
This command sends all packets with a specified destination IPv4 address to a higher priority
queue (5) than the default queue for data packets and unicast packets to the CPU.
This command removes all packets with a specified destination IPv4 address from the higher
priority queue.
Formatno ip cpu-priority ip-address
ModePrivileged EXEC
ipv6 cpu-priority
The command allows all packets with a specified destination IPv6 address into a higher
priority queue (5) than the default queue for data packets and unicast packets to the CPU.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
ip management
Use this command to specify the source IP address for all applications (syslog, SNMP client,
and so on).
Defaultvlan 1
Formatip management [serviceport | vlan number | port unit/slot/port |
loopback number]
ModeUser EXEC
no ip management
Use this command to specify the IP address of the management VLAN (VLAN 1) as the
source IP address for all applications (syslog, SNMP client, and so on).
Formatno ip management [serviceport | vlan number | port unit/slot/port |
loopback number]
ModeUser EXEC
serviceport ip
This command sets the IP address, the netmask, and the gateway of the network
management port. You can specify the none option to clear the IPv4 address and mask and
the default gateway (that is, reset each of these values to 0.0.0.0).
Formatserviceport ip {ipaddrnetmask [gateway] | none}
Mode
Privileged EXEC
serviceport protocol
This command specifies the network management port configuration protocol. If you modify
this value, the change is effective immediately. If you use the
periodically sends requests to a BootP server until a response is received. If you use the
parameter, the switch periodically sends requests to a DHCP server until a response is
received. If you use the
none parameter, you must configure the network information for the
M5300, M6100, and M7100 Series ProSAFE Managed Switches
serviceport protocol dhcp
This command enables the DHCPv4 client on a Service port. If the client-id optional
parameter is given, the DHCP client messages are sent with the client identifier option.
There is no support for the no form of the command serviceport protocol dhcp client-id. To remove the client-id option from the DHCP client messages, issue the
command serviceport protocol dhcp without the client-id option. The command
serviceport protocol none can be used to disable the DHCP client and client-id option
on the interface.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
no network mac-type
This command resets the value of MAC address to its default.
Formatno network mac-type
ModePrivileged EXEC
network javamode
This command specifies whether or not the switch should allow access to the Java applet in
the header frame of the Web interface. When access is enabled, the Java applet can be
viewed from the Web interface. When access is disabled, the user cannot view the Java
applet.
This command disallows access to the Java applet in the header frame of the Web interface.
When access is disabled, the user cannot view the Java applet.
Formatno network javamode
ModePrivileged EXEC
show network
This command displays configuration settings associated with the switch's network interface.
The network interface is the logical interface used for in-band connectivity with the switch via
any of the switch's front panel ports. The configuration parameters associated with the
switch's network interface do not affect the configuration of the front panel ports through
which traffic is switched or routed. The network interface is always considered to be up,
whether or not any member ports are up; therefore, the show network command always
shows Interface Status as Up.
Note: The network interface is not supported in software version 11.0. You can
use the show network command only if you already configured the
network interface in software version 10.0 and then upgraded to software
version 11.0. However, in that case, NETGEAR recommends that you
reconfigure the management IP address with the ezconfig command.
Management Commands
75
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Formatshow network
Modes• Privileged EXEC
• User EXEC
TermDefinition
Interface StatusThe network interface status; it is always considered to be “up”.
IP AddressThe IP address of the interface. The factory default value is 0.0.0.0.
Subnet MaskThe IP subnet mask for this interface. The factory default value is 0.0.0.0.
Default GatewayThe default gateway for this IP interface. The factory default value is 0.0.0.0.
IPv6 Administrative ModeWhether enabled or disabled.
IPv6 Address/LengthThe IPv6 address and length.
IPv6 Default RouterThe IPv6 default router address.
Burned In MAC AddressThe burned in MAC address used for in-band connectivity.
Locally Administered MAC
Address
MAC Address TypeThe MAC address which should be used for in-band connectivity. The choices are the
Configured IPv4 ProtocolThe IPv4 network protocol being used. The options are bootp | dhcp | none.
Configured IPv6 ProtocolThe IPv6 network protocol being used. The options are dhcp | none.
DHCPv6 Client DUIDThe DHCPv6 client’s unique client identifier. This row is displayed only when the
IPv6 Autoconfig ModeWhether IPv6 Stateless address autoconfiguration is enabled or disabled.
DHCP Client IdentifierThe client identifier is displayed in the output of the command only if DHCP is enabled
If desired, a locally administered MAC address can be configured for in-band
connectivity. To take effect, 'MAC Address Type' must be set to 'Locally Administered'.
Enter the address as twelve hexadecimal digits (6 bytes) with a colon between each
byte. Bit 1 of byte 0 must be set to a 1 and bit 0 to a 0, i.e. byte 0 should have the
following mask 'xxxx xx10'. The MAC address used by this bridge when it must be
referred to in a unique fashion. It is recommended that this be the numerically smallest
MAC address of all ports that belong to this bridge. However it is only required to be
unique. When concatenated with dot1dStpPriority a unique Bridge Identifier is formed
which is used in the Spanning Tree Protocol.
burned in or the Locally Administered address. The factory default is to use the burned
in MAC address.
configured IPv6 protocol is dhcp.
with the client-id option on the network interface.
Note: The network interface is not supported in software version 11.0.
Management Commands
76
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Command example:
The following example displays output for the network port:
(admin) #show network
Interface Status............................... Up
IP Address..................................... 10.250.3.1
This command displays service port configuration information.
Formatshow serviceport
Mode• Privileged EXEC
• User EXEC
TermDefinition
Interface StatusThe network interface status. It is always considered to be up.
IP AddressThe IP address of the interface. The factory default value is 0.0.0.0.
Subnet MaskThe IP subnet mask for this interface. The factory default value is 0.0.0.0.
Default GatewayThe default gateway for this IP interface. The factory default value is 0.0.0.0.
IPv6 Administrative ModeWhether enabled or disabled. Default value is enabled.
IPv6 Address/LengthThe IPv6 address and length. Default is Link Local format.
IPv6 Default RouterTheIPv6 default router address on the service port. The factory default value is an
unspecified address.
Configured IPv4 ProtocolThe IPv4 network protocol being used. The options are bootp | dhcp | none.
Configured IPv6 ProtocolThe IPv6 network protocol being used. The options are dhcp | none.
Management Commands
77
M5300, M6100, and M7100 Series ProSAFE Managed Switches
TermDefinition
DHCPv6 Client DUIDThe DHCPv6 client’s unique client identifier . This row is displayed only when the configured
IPv6 protocol is dhcp.
IPv6 Autoconfig ModeWhether IPv6 Stateless address autoconfiguration is enabled or disabled.
Burned in MAC AddressThe burned in MAC address used for in-band connectivity.
DHCP Client IdentifierThe client identifier is displayed in the output of the command only if DHCP is enabled with
the client-id option on the service port.
Command example:
The following example displays output for the service port:
(admin) #show serviceport
Interface Status............................... Up
IP Address..................................... 10.230.3.51
This section describes the commands you use to configure the console port. You can use a
serial cable to connect a management host directly to the console port of the switch.
configure
This command gives you access to the Global Config mode. From the Global Config mode,
you can configure a variety of system settings, including user accounts. From the Global
Config mode, you can enter other command modes, including Line Config mode.
Formatconfigure
ModePrivileged EXEC
Management Commands
78
M5300, M6100, and M7100 Series ProSAFE Managed Switches
line
This command gives you access to the Line Console mode, which allows you to configure
various Telnet settings and the console port, as well as to configure console login/enable
authentication.
This command sets the communication rate of the terminal interface.
Formatno serial baudrate
ModeLine Config
serial timeout
This command specifies the maximum connect time (in minutes) without console activity. A
value of 0 indicates that a console can be connected indefinitely. The time range is 0 to 160.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
no serial timeout
This command sets the maximum connect time (in minutes) without console activity.
Formatno serial timeout
ModeLine Config
set sup-console
This command allows access to the full CLI from any blade. By default, the supervisor is
allowed full CLI access. You can move full CLI access among the blades, but at any time,
only one blade can access the management CLI. You can issue the command on the
member or backup blade. After the console is transferred to the backup blade or to a member
blade, access to the full CLI on the supervisor is disabled to avoid multiple simultaneous CLI
inputs. You can restore full access on the supervisor by entering the command at the
supervisor serial port.
Note: Entering the command while the supervisor has full CLI access has
no effect.
Note: This command is supported on M5300 and M6100 series switches
only.
Formatset sup-console
ModePrivileged EXEC
show serial
This command displays serial communication settings for the switch.
Formatshow serial
Modes• Privileged EXEC
• User EXEC
TermDefinition
Serial Port Login Timeout
(minutes)
Baud Rate (bps)The default baud rate at which the serial port will try to connect.
Character Size (bits)The number of bits in a character. The number of bits is always 8.
The time, in minutes, of inactivity on a serial port connection, after which the switch will close
the connection. A value of 0 disables the timeout.
Management Commands
80
M5300, M6100, and M7100 Series ProSAFE Managed Switches
TermDefinition
Flow Control Whether Hardware Flow-Control is enabled or disabled. Hardware Flow Control is always
disabled.
Stop BitsThe number of Stop bits per character. The number of Stop bits is always 1.
Parity The parity method used on the Serial Port. The Parity Method is always None.
Telnet Commands
This section describes the commands you use to configure and view Telnet settings. Y ou can
use Telnet to manage the device from a remote management host.
ip telnet server enable
Use this command to enable Telnet connections to the system and to enable the Telnet
Server Admin Mode. This command opens the Telnet listening port.
Defaultenabled
Formatip telnet server enable
ModePrivileged EXEC
no ip telnet server enable
Use this command to disable Telnet access to the system and to disable the Telnet Server
Admin Mode. This command closes the Telnet listening port and disconnects all open Telnet
sessions.
Formatno ip telnet server enable
ModePrivileged EXEC
telnet
This command establishes a new outbound Telnet connection to a remote host. The host
must be a valid IP address or host name. Valid values for port should be a valid decimal
integer in the range of 0 to 65535, where the default value is 23. If debug is used, the current
Telnet options enabled is displayed. The optional line parameter sets the outbound Telnet
operational mode as linemode where, by default, the operational mode is character mode.
The localecho option enables local echo.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
transport input telnet
This command regulates new Telnet sessions. If enabled, new Telnet sessions can be
established until there are no more sessions available. An established session remains
active until the session is ended or an abnormal network error ends the session.
Note: If the Telnet Server Admin Mode is disabled, Telnet sessions cannot
be established. Use the ip telnet server enable command to
enable Telnet Server Admin Mode.
Use this command to prevent new Telnet sessions from being established.
Formatno transport input telnet
ModeLine Config
transport output telnet
This command regulates new outbound Telnet connections. If enabled, new outbound Telnet
sessions can be established until the system reaches the maximum number of simultaneous
outbound Telnet sessions allowed. An established session remains active until the session is
ended or an abnormal network error ends it.
Use this command to prevent new outbound Telnet connection from being established.
Formatno transport output telnet
ModeLine Config
Management Commands
82
M5300, M6100, and M7100 Series ProSAFE Managed Switches
session-limit
This command specifies the maximum number of simultaneous outbound Telnet sessions.
The number argument can be a number in the range from 0–5. A value of 0 indicates that no
outbound Telnet session can be established.
Default5
Formatsession-limit number
ModeLine Config
no session-limit
This command sets the maximum number of simultaneous outbound Telnet sessions to the
default value.
Formatno session-limit
ModeLine Config
session-timeout (Line Config)
This command sets the Telnet session time-out value. The time-out value unit of time is
minutes and is specified by the minutes argument in the range 1–160 minutes.
This command sets the Telnet session timeout value to the default. The timeout value unit of
time is minutes.
Formatno session-timeout
ModeLine Config
telnetcon maxsessions
This command specifies the maximum number of Telnet connection sessions that can be
established. The number argument can be a number in the range from 0–5. A value of 0
indicates that no Telnet connection can be established.
Default5
Management Commands
83
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Formattelnetcon maxsessions number
ModePrivileged EXEC
no telnetcon maxsessions
This command sets the maximum number of Telnet connection sessions that can be
established to the default value.
This command sets the Telnet connection session time-out value. A session is active as long
as the session has not been idle for the value set. The time-out value unit of time is minutes
and is specified by the minutes argument in the range 1–160 minutes.
Note: When you change the time-out value, the new value is applied to all
active and inactive sessions immediately. Any sessions that have
been idle longer than the new time-out value are disconnected
immediately.
This command sets the Telnet connection session timeout value to the default.
Note: Changing the time-out value for active sessions does not become
effective until the session is accessed again. Also, any keystroke
activates the new time-out duration.
Formatno telnetcon timeout
ModePrivileged EXEC
Management Commands
84
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show telnet
This command displays the current outbound Telnet settings. In other words, these settings
apply to Telnet connections initiated from the switch to a remote system.
Formatshow telnet
Modes• Privileged EXEC
• User EXEC
TermDefinition
Outbound Telnet
Login Timeout
Maximum Number
of Outbound Telnet
Sessions
Allow New
Outbound Telnet
Sessions
The number of minutes an outbound Telnet session is allowed to remain inactive before being
logged off.
The number of simultaneous outbound Telnet connections allowed.
Indicates whether outbound Telnet sessions will be allowed.
show telnetcon
This command displays the current inbound Telnet settings. In other words, these settings
apply to Telnet connections initiated from a remote system to the switch.
Formatshow telnetcon
Modes• Privileged EXEC
• User EXEC
TermDefinition
Remote Connection Login
Timeout (minutes)
This object indicates the number of minutes a remote connection session is allowed to remain
inactive before being logged off. May be specified as a number from 1 to 160. The factory
default is 5.
Maximum Number of
Remote Connection
Sessions
Allow New Telnet
Sessions
This object indicates the number of simultaneous remote connection sessions allowed. The
factory default is 5.
New Telnet sessions will not be allowed when this field is set to no. The factory default value
is yes.
Management Commands
85
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Secure Shell Commands
This section describes the commands you use to configure Secure Shell (SSH) access to the
switch. Use SSH to access the switch from a remote management host.
Note: The system allows a maximum of 5 SSH sessions.
ip ssh
Use this command to enable SSH access to the system. (This command is the short form of
the ip ssh server enable command.)
Defaultdisabled
Formatip ssh
ModePrivileged EXEC
ip ssh protocol
This command is used to set or remove protocol levels (or versions) for SSH. Either SSH1
(1), SSH2 (2), or both SSH 1 and SSH 2 (1 and 2) can be set.
This command enables the IP secure shell server. No new SSH connections are allowed, but
the existing SSH connections continue to work until timed-out or logged-out.
Defaultenabled
Formatip ssh server enable
ModePrivileged EXEC
no ip ssh server enable
This command disables the IP secure shell server.
Formatno ip ssh server enable
ModePrivileged EXEC
Management Commands
86
M5300, M6100, and M7100 Series ProSAFE Managed Switches
sshcon maxsessions
This command specifies the maximum number of SSH connection sessions that can be
established. The number argument can be a number in the range from 0–5. A value of 0
indicates that no ssh connection can be established. The range is 0 to 5.
Default5
Formatsshcon maxsessions number
ModePrivileged EXEC
no sshcon maxsessions
This command sets the maximum number of allowed SSH connection sessions to the default
value.
Formatno sshcon maxsessions
ModePrivileged EXEC
sshcon timeout
This command sets the SSH connection session timeout value, in minutes. A session is
active as long as the session has been idle for the value set. The time-out value unit of time
is minutes and is specified by the minutes argument in the range 1–160 minutes.
Changing the timeout value for active sessions does not become effective until the session is
re accessed. Also, any keystroke activates the new time-out duration.
This command sets the SSH connection session time-out value, in minutes, to the default.
Changing the time-out value for active sessions does not become effective until the session
is re accessed. Also, any keystroke activates the new time-out duration.
Formatno sshcon timeout
ModePrivileged EXEC
Management Commands
87
M5300, M6100, and M7100 Series ProSAFE Managed Switches
show ip ssh
This command displays the ssh settings.
Formatshow ip ssh
ModePrivileged EXEC
TermDefinition
Administrative
Mode
Protocol LevelThe protocol level may have the values of version 1, version 2 or both versions 1 and version 2.
SSH Sessions
Currently Active
Max SSH Sessions
Allowed
SSH TimeoutThe SSH timeout value in minutes.
Keys PresentIndicates whether the SSH RSA and DSA key files are present on the device.
Key Generation in
Progress
This field indicates whether the administrative mode of SSH is enabled or disabled.
The number of SSH sessions currently active.
The maximum number of SSH sessions allowed.
Indicates whether RSA or DSA key files generation is currently in progress.
Management Security Commands
This section describes commands you use to generate keys and certificates, which you can
do in addition to loading them as before.
crypto certificate generate
Use this command to generate a self-signed certificate for HTTPS. The generated RSA key
for SSL has a length of 1024 bits. The resulting certificate is generated with a common name
equal to the lowest IP address of the device and a duration of 365 days.
Use this command to delete the HTTPS certificate files from the device, regardless of
whether they are self-signed or downloaded from an outside source.
You can use a management Access Control List (ACL) to help control access to the switch
management interface. A management ACL can help ensure that only known and trusted
devices are allowed to remotely manage the switch via TCP/IP. Management ACLs are only
configurable on IP (in-band) interfaces, not on the service port.
When a management ACL is enabled, incoming TCP packets initiating a connection (TCP
SYN) and all UDP packets are filtered based on their source IP address and destination port.
When the management ACL is disabled, incoming TCP/UDP packets are not filtered and are
processed normally.
Management Commands
89
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Note: Management and ACL commands are supported on M5300 and
M6100 series switches only.
management access-list
This command creates a management ACL. The management ACL name can be up to
32
alphanumeric characters. Executing this command enters into access-list configuration
mode, from which you must define the denied or permitted access conditions with the deny
and permit commands. If no match criteria are defined the default is to deny access (deny).
If you reenter to an access-list context, new rules are entered at the end of the access list.
Formatmanagement access list name
ModeGlobal Config
no management access-list
This command deletes a management ACL identified by the name parameter.
Formatno management access list name
ModeGlobal Config
permit ip-source
This command sets permit conditions for the management access list based on the source IP
address of a packet. Optionally, you can specify a subnet mask, service type, priority, or a
combination of these for the rule. Each rule requires a unique priority. Use this command in
Management access-list configuration mode.
ip-addressThe source IP address.
maskThe network mask of the source IP address.
prefix-lengthSpecifies the number of bits that comprise the source IP address prefix. The prefix length must be
preceded by a forward slash (/).
serviceIndicates the service type: telnet, ssh, http, https, or snmp.
priorityThe priority for the rule.
Management Commands
90
M5300, M6100, and M7100 Series ProSAFE Managed Switches
permit service
This command sets permit conditions for the management access list based on the access
protocol. Each rule requires a unique priority. Use this command in Management access-list
configuration mode.
Formatpermit service service [priority priority]
ModeManagement access-list configuration
ParameterDefinition
serviceIndicates the service type: telnet, ssh, http, https, or snmp.
priorityThe priority for the rule.
permit priority
This command assigns a permit priority to the rule. Each rule requires a unique priority. Use
this command in Management access-list configuration mode.
This command sets deny conditions for the management access list based on the source IP
address of a packet. Optionally, you can specify a subnet mask, service type, priority, or a
combination of these for the rule. Each rule requires a unique priority. Use this command in
Management access-list configuration mode.
ip-addressThe source IP address.
maskThe network mask of the source IP address.
prefix-lengthSpecifies the number of bits that comprise the source IP address prefix. The prefix length must be
preceded by a forward slash (/).
serviceIndicates the service type: telnet, ssh, http, https, or snmp.
priorityThe priority for the rule.
Management Commands
91
M5300, M6100, and M7100 Series ProSAFE Managed Switches
deny service
This command sets deny conditions for the management access list based on the access
protocol. Each rule requires a unique priority. Use this command in Management access-list
configuration mode.
Formatdeny service service [priority priority]
ModeManagement access-list configuration
ParameterDefinition
serviceIndicates the service type: telnet, ssh, http, https, or snmp.
priorityThe priority for the rule.
deny priority
This command assigns a deny priority to the rule. Each rule requires a unique priority. Use
this command in Management access-list configuration mode.
This command activates the configured management ALC and restricts management
connections within the management ACL. The name parameter is the name of the existing
management ACL. You cannot update or remove a management ACL when it is active.
Formatmanagement access-class name
ModeGlobal Config
List NameThe name of the management ACL
List Admin ModeThe administrative mode of the management ACL. To activate a management ACL, enter the
management access-class command (see
Packets FilteredThe number of packets filtered by the management ACL
Command example:
management access-class on page 92).
(NETGEAR Switch) #show management access-class
List Name...................................... mgmtacl
List Admin Mode................................ Disabled
Packets Filtered............................... 0
Management Commands
93
M5300, M6100, and M7100 Series ProSAFE Managed Switches
Hypertext Transfer Protocol Commands
This section describes the commands you use to configure Hypertext Transfer Protocol
(HTTP) and secure HTTP access to the switch. Access to the switch by using a W eb browser
is enabled by default. Everything you can view and configure by using the CLI is also
available by using the web.
ip http accounting exec, ip https accounting exec
This command applies user exec (start-stop/stop-only) accounting list to the line methods
HTTP and HTTPS.
Note: The user exec accounting list should be created using the command
http or httpsThe line method for which the list needs to be applied.
defaultThe default list of methods for authorization services.
listnameAn alphanumeric character string used to name the list of accounting methods.
no ip http/https accounting exec
This command deletes the authorization method list.
Use this command to specify authentication methods for http server users. The default
configuration is the local user database is checked. This action has the same effect as the
command ip http authentication local. The additional methods of authentication
are used only if the previous method returns an error, not if it fails. To ensure that the
authentication succeeds even if all methods return an error, specify none as the final method
in the command line.
Management Commands
94
M5300, M6100, and M7100 Series ProSAFE Managed Switches
For example, if none is specified as an authentication method after radius, no
authentication is used if the RADIUS server is down.
localUses the local username database for authentication.
noneUses no authentication.
radiusUses the list of all RADIUS servers for authentication.
tacacsUses the list of all TACACS+ servers for authentication.
Command example:
The following example configures http authentication:
(NETGEAR Switch)(config)# ip http authentication radius local
no ip http authentication
Use this command to return to the default.
Formatno ip http authentication
ModeGlobal Config
ip https authentication
Use this command to specify authentication methods for https server users. The default
configuration is the local user database is checked. This action has the same effect as the
command ip https authentication local. The additional methods of authentication
are used only if the previous method returns an error, not if it fails. To ensure that the
authentication succeeds even if all methods return an error, specify none as the final method
in the command line. For example, if none is specified as an authentication method after
radius, no authentication is used if the RADIUS server is down.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
ParameterDescription
localUses the local username database for authentication.
noneUses no authentication.
radiusUses the list of all RADIUS servers for authentication.
tacacsUses the list of all TACACS+ servers for authentication.
Command example:
The following example configures http authentication:
(NETGEAR Switch)(config)# ip https authentication radius local
no ip https authentication
Use this command to return to the default.
Formatno ip https authentication
ModeGlobal Config
ip http server
This command enables access to the switch through the Web interface. When access is
enabled, the user can login to the switch from the Web interface. When access is disabled,
the user cannot login to the switch's Web server. Disabling the Web interface takes effect
immediately. All interfaces are affected.
Defaultenabled
Formatip http server
ModePrivileged EXEC
no ip http server
This command disables access to the switch through the Web interface. When access is
disabled, the user cannot login to the switch's Web server.
Formatno ip http server
ModePrivileged EXEC
Management Commands
96
M5300, M6100, and M7100 Series ProSAFE Managed Switches
ip http secure-server
This command is used to enable the secure socket layer for secure HTTP.
This command disables the Web Java mode. The Java mode applies to both secure and
un-secure Web connections.
Formatno ip http java
ModePrivileged EXEC
ip http session hard-timeout
This command configures the hard time-out for unsecure HTTP sessions. The time-out value
unit of time is hours and is specified by the hours argument in the range 1–168 hours.
Configuring this value to zero will give an infinite hard-time-out. When this time-out expires,
the user will be forced to reauthenticate. This timer begins on initiation of the web session
and is unaffected by the activity level of the connection.
M5300, M6100, and M7100 Series ProSAFE Managed Switches
no ip http session hard-timeout
This command restores the hard time-out for un-secure HTTP sessions to the default value.
Formatno ip http session hard-timeout
ModePrivileged EXEC
ip http session maxsessions
This command limits the number of allowable unsecure HTTP sessions. The number
argument specifies the number of sessions in the range of 0–16. Zero is the configurable
minimum.
Default16
Formatip http session maxsessions number
ModePrivileged EXEC
no ip http session maxsessions
This command restores the number of allowable un-secure HTTP sessions to the default
value.
Formatno ip http session maxsessions
ModePrivileged EXEC
ip http session soft-timeout
This command configures the soft time-out for un-secure HTTP sessions. The time-out value
unit of time is minutes and is specified by the minutes argument in the range 1–60 minutes.
Configuring this value to zero will give an infinite soft-time-out. When this time-out expires the
user will be forced to reauthenticate. This timer begins on initiation of the Web session and is
restarted with each access to the switch.
This command resets the soft time-out for un-secure HTTP sessions to the default value.
Formatno ip http session soft-timeout
ModePrivileged EXEC
Management Commands
98
M5300, M6100, and M7100 Series ProSAFE Managed Switches
ip http secure-session hard-timeout
This command configures the hard time-out for secure HTTP sessions. The time-out value
unit of time is hours and is specified by the hours argument in the range 1–168 hours. When
this time-out expires, the user is forced to reauthenticate. This timer begins on initiation of the
Web session and is unaffected by the activity level of the connection. The secure-session
hard-time-out can not be set to zero (infinite).
This command resets the hard time-out for secure HTTP sessions to the default value.
Formatno ip http secure-session hard-timeout
ModePrivileged EXEC
ip http secure-session maxsessions
This command limits the number of secure HTTP sessions. The number argument specifies
the number of sessions in the range of 0–16. Zero is the configurable minimum.
Default16
Formatip http secure-session maxsessions number
ModePrivileged EXEC
no ip http secure-session maxsessions
This command restores the number of allowable secure HTTP sessions to the default value.
Formatno ip http secure-session maxsessions
ModePrivileged EXEC
ip http secure-session soft-timeout
This command configures the soft time-out for secure HTTP sessions. The time-out value
unit of time is minutes and is specified by the minutes argument in the range 1–60 minutes.
Configuring this value to zero will give an infinite soft-time-out. When this time-out expires,
you are forced to reauthenticate. This timer begins on initiation of the Web session and is
Management Commands
99
M5300, M6100, and M7100 Series ProSAFE Managed Switches
restarted with each access to the switch. The secure-session soft-time-out can not be set to
zero (infinite).