Command Line Interface (CLI) User Manual
Page 1
ProSafe Managed Switch Command Line Interface (CLI) User Manual 10.0 GSM7328Sv2 GSM7352Sv2 GSM7228PS GSM7252PS M5300-28G3 M5300-52G3 M5300-28G-POE+ M5300-52G-POE+ M5300-28GF3 M5300-28G M5300-52G 350 East Plumeria Drive San Jose, CA 95134 USA November 2012 202-11054-02 1.0
ProSafe Managed Switch Command Line Interface (CLI) User Manual 10.0 GSM7328Sv2 GSM7352Sv2 GSM7228PS GSM7252PS M5300-28G3 M5300-52G3 M5300-28G-POE+ M5300-52G-POE+ M5300-28GF3 M5300-28G M5300-52G 350 East Plumeria Drive San Jose, CA 95134 USA November 2012 202-11054-02 1.0
Command Line Interface (CLI) User Manual
Page 3
... Convention 12 Using a Command's "No" Form 13 Managed Switch Modules 13 Command Modes 14 Command Completion and Abbreviation 17 CLI Error Messages 18 CLI Line-Editing Conventions 18 Using CLI Help 19 Accessing the CLI 20 Chapter 2 Stacking Commands Dedicated Port Stacking 21 Stacking Commands 29 Non-Stop Forwarding Commands 31 Stack Firmware Synchronization...
... Convention 12 Using a Command's "No" Form 13 Managed Switch Modules 13 Command Modes 14 Command Completion and Abbreviation 17 CLI Error Messages 18 CLI Line-Editing Conventions 18 Using CLI Help 19 Accessing the CLI 20 Chapter 2 Stacking Commands Dedicated Port Stacking 21 Stacking Commands 29 Non-Stop Forwarding Commands 31 Stack Firmware Synchronization...
Command Line Interface (CLI) User Manual
Page 8
..., conventions, and modes. Using the Command-Line Interface 1 The command-line interface (CLI) is described in the following table, some command groups or commands require a license and some are available from your VAR or NETGEAR authorized e-commerce portal. It contains the following sections: • Licensing and Command Support • Command Syntax •...
..., conventions, and modes. Using the Command-Line Interface 1 The command-line interface (CLI) is described in the following table, some command groups or commands require a license and some are available from your VAR or NETGEAR authorized e-commerce portal. It contains the following sections: • Licensing and Command Support • Command Syntax •...
Command Line Interface (CLI) User Manual
Page 12
...0 and port number 1. In the case of a port-channel (LAG). This is any valid hexadecimal, octal or decimal number): 0xn (CLI assumes hexadecimal format) 0n (CLI assumes octal format with zero, and are not valid user-defined strings. You can enter the IP address in the following formats: a ...Managed switch software references physical entities such as Port-Channel interfaces. You can use the logical unit/slot/port to these formats, the CLI accepts decimal, hexadecimal and octal formats through the following input formats (where n is applicable in the case of physical ports, it ...
...0 and port number 1. In the case of a port-channel (LAG). This is any valid hexadecimal, octal or decimal number): 0xn (CLI assumes hexadecimal format) 0n (CLI assumes octal format with zero, and are not valid user-defined strings. You can enter the IP address in the following formats: a ...Managed switch software references physical entities such as Port-Channel interfaces. You can use the logical unit/slot/port to these formats, the CLI accepts decimal, hexadecimal and octal formats through the following input formats (where n is applicable in the case of physical ports, it ...
Command Line Interface (CLI) User Manual
Page 13
.... ProSafe Managed Switch The port identifies the specific physical port or logical interface being managed on the modules included in the software. Note: In the CLI, loopback and tunnel interfaces do not use the loopback ID. To specify a tunnel interface, you use the unit/slot/port format. Table 4. Type of an...
.... ProSafe Managed Switch The port identifies the specific physical port or logical interface being managed on the modules included in the software. Note: In the CLI, loopback and tunnel interfaces do not use the loopback ID. To specify a tunnel interface, you use the unit/slot/port format. Table 4. Type of an...
Command Line Interface (CLI) User Manual
Page 14
...a routine interface (port or VLAN). • Stacking Not all modules are installed. Using the Command-Line Interface 14 Command Modes The CLI groups commands into modes according to view basic system information. For example, a switch that mode. Groups general setup commands and permits you...an IPv6 through an IPv6 address without requiring the IPv6 Routing package in each command mode to help you identify the current mode. CLI Command Modes Command Mode Prompt User EXEC Switch> Privileged EXEC Switch# Global Config Switch (Config)# VLAN Config Switch (Vlan)# Mode ...
...a routine interface (port or VLAN). • Stacking Not all modules are installed. Using the Command-Line Interface 14 Command Modes The CLI groups commands into modes according to view basic system information. For example, a switch that mode. Groups general setup commands and permits you...an IPv6 through an IPv6 address without requiring the IPv6 Routing package in each command mode to help you identify the current mode. CLI Command Modes Command Mode Prompt User EXEC Switch> Privileged EXEC Switch# Global Config Switch (Config)# VLAN Config Switch (Vlan)# Mode ...
Command Line Interface (CLI) User Manual
Page 15
... specify Layer 2, Layer 3, and general match criteria. Contains the QoS class map configuration commands for IPv4. Contains the OSPFv3 configuration commands. ProSafe Managed Switch Table 5. CLI Command Modes (Continued) Command Mode Prompt Interface Config Switch (Interface )# Switch (Interface Loopback )# Line Config Switch (Interface Tunnel )# Switch (line)# Policy Map Config Policy Class...
... specify Layer 2, Layer 3, and general match criteria. Contains the QoS class map configuration commands for IPv4. Contains the OSPFv3 configuration commands. ProSafe Managed Switch Table 5. CLI Command Modes (Continued) Command Mode Prompt Interface Config Switch (Interface )# Switch (Interface Loopback )# Line Config Switch (Interface Tunnel )# Switch (line)# Policy Map Config Policy Class...
Command Line Interface (CLI) User Manual
Page 16
... exit, enter logout. press Ctrl-Z. Policy-Class-Map From the Policy Map mode enter Config class. To return to the Global Config mode, enter exit. CLI Mode Access and Exit Command Mode Access Method Exit or Access Previous Mode User EXEC This is the first level of access. or press Ctrl...
... exit, enter logout. press Ctrl-Z. Policy-Class-Map From the Policy Map mode enter Config class. To return to the Global Config mode, enter exit. CLI Mode Access and Exit Command Mode Access Method Exit or Access Previous Mode User EXEC This is the first level of access. or press Ctrl...
Command Line Interface (CLI) User Manual
Page 17
To exit to the Global Config mode, enter exit. Once you enter the command. Using the Command-Line Interface 17 CLI Mode Access and Exit (Continued) Command Mode Access Method Exit or Access Previous Mode Router RIP Config From the Global Config mode, enter router rip. ...
To exit to the Global Config mode, enter exit. Once you enter the command. Using the Command-Line Interface 17 CLI Mode Access and Exit (Continued) Command Mode Access Method Exit or Access Previous Mode Router RIP Config From the Global Config mode, enter router rip. ...
Command Line Interface (CLI) User Manual
Page 18
...Use ? Ambiguous command Description Indicates that you can access this list from the CLI by entering help from the User or Privileged EXEC modes. Table 8. CLI Error Messages Message Text % Invalid input detected at '^' marker. CLI Line-Editing Conventions Table 8 describes the key combinations you did not enter the... required keywords or values. CLI Editing Conventions Key Sequence DEL or Backspace Ctrl-A Ctrl-E Ctrl-F Ctrl-B Ctrl-D Ctrl-U, X Ctrl-K Ctrl-W Ctrl-T Ctrl-P Ctrl-R Ctrl-N Description ...
...Use ? Ambiguous command Description Indicates that you can access this list from the CLI by entering help from the User or Privileged EXEC modes. Table 8. CLI Error Messages Message Text % Invalid input detected at '^' marker. CLI Line-Editing Conventions Table 8 describes the key combinations you did not enter the... required keywords or values. CLI Editing Conventions Key Sequence DEL or Backspace Ctrl-A Ctrl-E Ctrl-F Ctrl-B Ctrl-D Ctrl-U, X Ctrl-K Ctrl-W Ctrl-T Ctrl-P Ctrl-R Ctrl-N Description ...
Command Line Interface (CLI) User Manual
Page 19
... Telnet to a specified IP address. If there are no additional command keywords or parameters, or if additional parameters are lost . Exit this session. CLI Editing Conventions (Continued) Key Sequence Ctrl-Y Ctrl-Q Ctrl-S Ctrl-Z Tab, Exit ? enable help for various special keys. Exit this session. Any ...to root command prompt Command-line completion Go to next lower command prompt List available commands, keywords, or parameters Using CLI Help Enter a question mark (?) at the command prompt to display available command keywords or parameters. (switch) #network ? Enter the ...
... Telnet to a specified IP address. If there are no additional command keywords or parameters, or if additional parameters are lost . Exit this session. CLI Editing Conventions (Continued) Key Sequence Ctrl-Y Ctrl-Q Ctrl-S Ctrl-Z Tab, Exit ? enable help for various special keys. Exit this session. Any ...to root command prompt Command-line completion Go to next lower command prompt List available commands, keywords, or parameters Using CLI Help Enter a question mark (?) at the command prompt to display available command keywords or parameters. (switch) #network ? Enter the ...
Command Line Interface (CLI) User Manual
Page 20
..., as shown in the following example: (switch) #show m? Using the Command-Line Interface 20 mac-addr-table mac-address-table monitor Accessing the CLI You can configure the system to accept these settings from a remote management host. You cannot access the system remotely until the system has an IP... a question mark (?) after typing one or more information, see Network Interface Commands on your network. For the initial connection, you can access the CLI by using a direct console connection or by using a telnet or SSH connection from a BOOTP or DHCP server on page 638.
..., as shown in the following example: (switch) #show m? Using the Command-Line Interface 20 mac-addr-table mac-address-table monitor Accessing the CLI You can configure the system to accept these settings from a remote management host. You cannot access the system remotely until the system has an IP... a question mark (?) after typing one or more information, see Network Interface Commands on your network. For the initial connection, you can access the CLI by using a direct console connection or by using a telnet or SSH connection from a BOOTP or DHCP server on page 638.
Command Line Interface (CLI) User Manual
Page 38
... Configuration Commands • IGMP Snooping Querier Commands • MLD Snooping Commands 38 Switching Commands 3 This chapter describes the switching commands available in the managed switch CLI. 3.
... Configuration Commands • IGMP Snooping Querier Commands • MLD Snooping Commands 38 Switching Commands 3 This chapter describes the switching commands available in the managed switch CLI. 3.
Command Line Interface (CLI) User Manual
Page 147
... the default untrusted for Option-82 reception. vlan-list range is Enabled. Format Mode show dhcp l2relay all Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay all DHCP L2 Relay is 1-4093. TrustMode Switching Commands 147 Format Mode no dhcp l2relay trust...
... the default untrusted for Option-82 reception. vlan-list range is Enabled. Format Mode show dhcp l2relay all Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay all DHCP L2 Relay is 1-4093. TrustMode Switching Commands 147 Format Mode no dhcp l2relay trust...
Command Line Interface (CLI) User Manual
Page 148
... 0 12 0 0 0/5 0 0 0 0 0/6 3 0 0 0 0/7 0 0 0 0 0/8 0 0 0 0 0/9 0 0 0 0 Switching Commands 148 Format Mode show dhcp l2relay interface {all | interface-num} Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay stats interface all DHCP L2 Relay is Enabled. ProSafe Managed Switch 0/2 0/4 VLAN Id --------3 5 6 7 8 9 10 Enabled Disabled... EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay interface all DHCP L2 Relay is Enabled...
... 0 12 0 0 0/5 0 0 0 0 0/6 3 0 0 0 0/7 0 0 0 0 0/8 0 0 0 0 0/9 0 0 0 0 Switching Commands 148 Format Mode show dhcp l2relay interface {all | interface-num} Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay stats interface all DHCP L2 Relay is Enabled. ProSafe Managed Switch 0/2 0/4 VLAN Id --------3 5 6 7 8 9 10 Enabled Disabled... EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay interface all DHCP L2 Relay is Enabled...
Command Line Interface (CLI) User Manual
Page 149
...L2 Relay is a string of 128 octets. VLAN Id L2 Relay CircuitId RemoteId --------- ---------- ----------- ------------ 5 Enabled Enabled --NULL- 6 Enabled Enabled netgear 7 Enabled Disabled --NULL- 8 Enabled Disabled --NULL- 9 Enabled Disabled --NULL- 10 Enabled Disabled --NULL-- This information is included in DHCP ...Commands 149 Format Mode show dhcp l2relay agent-option vlan vlan-range Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay agent-option vlan Use this command to disable ...
...L2 Relay is a string of 128 octets. VLAN Id L2 Relay CircuitId RemoteId --------- ---------- ----------- ------------ 5 Enabled Enabled --NULL- 6 Enabled Enabled netgear 7 Enabled Disabled --NULL- 8 Enabled Disabled --NULL- 9 Enabled Disabled --NULL- 10 Enabled Disabled --NULL-- This information is included in DHCP ...Commands 149 Format Mode show dhcp l2relay agent-option vlan vlan-range Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp l2relay agent-option vlan Use this command to disable ...
Command Line Interface (CLI) User Manual
Page 150
Client. Format Mode show dhcp client vendor-id-option Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp client vendor-id-option Use this command to display the configured administration mode of the vendor-id-...
Client. Format Mode show dhcp client vendor-id-option Privileged EXEC Example: The following shows example CLI display output for the command. (switch) #show dhcp client vendor-id-option Use this command to display the configured administration mode of the vendor-id-...
Command Line Interface (CLI) User Manual
Page 155
Log Invalid Pkts If it is disabled. Example: The following shows example CLI display output for which data is enabled on the following options: • Dynamic: Restrict the output based on DCHP snooping. • Interface: Restrict the output ...
Log Invalid Pkts If it is disabled. Example: The following shows example CLI display output for which data is enabled on the following options: • Dynamic: Restrict the output based on DCHP snooping. • Interface: Restrict the output ...
Command Line Interface (CLI) User Manual
Page 156
...show ip dhcp snooping database agent url: /10.131.13.79:/sai1.txt write-delay: 5000 Switching Commands 156 Example: The following shows example CLI display output for the command. (switch) #show ip dhcp snooping database • Privileged EXEC • User EXEC Term Agent URL Write Delay...rule. Binding type; The MAC address is the key to write the database into the DHCP snooping interface. statically configured from the CLI or dynamically learned. The remaining lease time for the binding that was added. The interface to the database persistency. Example: The following ...
...show ip dhcp snooping database agent url: /10.131.13.79:/sai1.txt write-delay: 5000 Switching Commands 156 Example: The following shows example CLI display output for the command. (switch) #show ip dhcp snooping database • Privileged EXEC • User EXEC Term Agent URL Write Delay...rule. Binding type; The MAC address is the key to write the database into the DHCP snooping interface. statically configured from the CLI or dynamically learned. The remaining lease time for the binding that was added. The interface to the database persistency. Example: The following ...
Command Line Interface (CLI) User Manual
Page 157
... Client Ifc Mismatch DHCP Server Msgs Rec'd Definition The IP address of source MAC address and client HW address mismatch. Example: The following shows example CLI display output for the command. (switch) #show ip dhcp snooping statistics Use this command to list statistics for DHCP Snooping security violations on the different...
... Client Ifc Mismatch DHCP Server Msgs Rec'd Definition The IP address of source MAC address and client HW address mismatch. Example: The following shows example CLI display output for the command. (switch) #show ip dhcp snooping statistics Use this command to list statistics for DHCP Snooping security violations on the different...