Reference Manual
Page 1
DES-3350SR Layer 3 Switch Command Line Interface Reference Manual First Edition (August 2003) 6ES3350SRC01 Printed In Taiwan RECYCLABLE
DES-3350SR Layer 3 Switch Command Line Interface Reference Manual First Edition (August 2003) 6ES3350SRC01 Printed In Taiwan RECYCLABLE
Reference Manual
Page 9
Table of Contents Introduction 11 Using the Console CLI 16 Command Syntax 24 Basic Switch Commands 28 Switch Port Commands 48 Network Management Commands 52 Download/Upload Commands 88 Network Monitoring Commands 92 Spanning Tree Commands 100 Forwarding Database Commands 111 Broadcast Storm Control Commands 123 QOS Commands 127 Port Mirroring Commands 146 VLAN Commands 152 Link Aggregation Commands 166 IP Interface Commands 176 ARP Commands 184 ix
Table of Contents Introduction 11 Using the Console CLI 16 Command Syntax 24 Basic Switch Commands 28 Switch Port Commands 48 Network Management Commands 52 Download/Upload Commands 88 Network Monitoring Commands 92 Spanning Tree Commands 100 Forwarding Database Commands 111 Broadcast Storm Control Commands 123 QOS Commands 127 Port Mirroring Commands 146 VLAN Commands 152 Link Aggregation Commands 166 IP Interface Commands 176 ARP Commands 184 ix
Reference Manual
Page 10
Routing Table Commands 192 Route Redistribution Commands 197 IGMP Commands 209 IGMP Snooping Commands 214 802.1X Commands 229 Access Control List (ACL) Commands 252 BOOTP Relay Commands 268 DNS Relay Commands 275 RIP Commands 285 DVMRP Commands 294 PIM Commands 303 IP Multicasting Commands 310 MD5 Configuration Commands 314 OSPF Configuration Commands 319 SNTP Commands 355 Command History List 360 Technical Specifications 366 Switch System Messages 369 x
Routing Table Commands 192 Route Redistribution Commands 197 IGMP Commands 209 IGMP Snooping Commands 214 802.1X Commands 229 Access Control List (ACL) Commands 252 BOOTP Relay Commands 268 DNS Relay Commands 275 RIP Commands 285 DVMRP Commands 294 PIM Commands 303 IP Multicasting Commands 310 MD5 Configuration Commands 314 OSPF Configuration Commands 319 SNTP Commands 355 Command History List 360 Technical Specifications 366 Switch System Messages 369 x
Reference Manual
Page 11
... is discussed in the CLI. Configuration and management of the commands contained in the User's Guide. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide 1 INTRODUCTION The switch can be managed through the switch's serial port, Telnet, or the Web-based management agent. This manual provides a reference for all... of the switch via the Web-based management agent is then connected to configure and manage the switch via the serial port or Telnet interfaces. The Command Line Interface (CLI) can be used to the switch's serial port via an RS-232 DB...
... is discussed in the CLI. Configuration and management of the commands contained in the User's Guide. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide 1 INTRODUCTION The switch can be managed through the switch's serial port, Telnet, or the Web-based management agent. This manual provides a reference for all... of the switch via the Web-based management agent is then connected to configure and manage the switch via the serial port or Telnet interfaces. The Command Line Interface (CLI) can be used to the switch's serial port via an RS-232 DB...
Reference Manual
Page 12
Just press the Enter key twice to refresh the console screen. Setting the Switch's IP Address Each Switch must be visible. The switch's default IP address is the command line where all commands are input. If this screen does not appear, try pressing Ctrl+R to ... address to meet the specification of your networking address scheme. 12 Initial Console screen. There is no initial username or password. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide With the serial port properly connected to a management computer, the following screen should be assigned its own IP Address, which ...
Just press the Enter key twice to refresh the console screen. Setting the Switch's IP Address Each Switch must be visible. The switch's default IP address is the command line where all commands are input. If this screen does not appear, try pressing Ctrl+R to ... address to meet the specification of your networking address scheme. 12 Initial Console screen. There is no initial username or password. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide With the serial port properly connected to a management computer, the following screen should be assigned its own IP Address, which ...
Reference Manual
Page 13
... switch IP address can be automatically set before it can also be found from the initial boot console screen - The IP address may be managed with the Web-based manager. Starting at the command line prompt, enter the commands config ipif System ipaddress xxx.xxx.xxx.xxx|yyy.yyy.yyy.yyy. DES-3350SR... Layer 3 Fast Ethernet Switch User's Guide The switch is also assigned a unique MAC address by the factory. Figure 1-2.
... switch IP address can be automatically set before it can also be found from the initial boot console screen - The IP address may be managed with the Web-based manager. Starting at the command line prompt, enter the commands config ipif System ipaddress xxx.xxx.xxx.xxx|yyy.yyy.yyy.yyy. DES-3350SR... Layer 3 Fast Ethernet Switch User's Guide The switch is also assigned a unique MAC address by the factory. Figure 1-2.
Reference Manual
Page 14
...subnets in CIDR notation. The IP interface named System on the switch can be assigned an IP address and subnet mask which can enter config ipif System ipaddress xxx.xxx.xxx.xxx|z. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide represent the IP address to be assigned to ...the IP interface named System and the z represents the corresponding number of 255.0.0.0. Assigning the Switch an IP Address In the above example, the switch was executed successfully. Where ...
...subnets in CIDR notation. The IP interface named System on the switch can be assigned an IP address and subnet mask which can enter config ipif System ipaddress xxx.xxx.xxx.xxx|z. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide represent the IP address to be assigned to ...the IP interface named System and the z represents the corresponding number of 255.0.0.0. Assigning the Switch an IP Address In the above example, the switch was executed successfully. Where ...
Reference Manual
Page 15
DES-3350SR Layer 3 Fast Ethernet Switch User's Guide via Telnet and the CLI or via the Web-based management agent using the above IP address to connect to the switch. 15
DES-3350SR Layer 3 Fast Ethernet Switch User's Guide via Telnet and the CLI or via the Web-based management agent using the above IP address to connect to the switch. 15
Reference Manual
Page 16
... be used by connecting the Switch to access the switch, change its settings, and monitor its operation. Connecting to the Switch The console interface is used to configure the switch to nonvolatile RAM using the TCP/IP Telnet protocol. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide 2 USING THE CONSOLE CLI The DES-3350SR supports a console management interface that...
... be used by connecting the Switch to access the switch, change its settings, and monitor its operation. Connecting to the Switch The console interface is used to configure the switch to nonvolatile RAM using the TCP/IP Telnet protocol. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide 2 USING THE CONSOLE CLI The DES-3350SR supports a console management interface that...
Reference Manual
Page 17
... accessed from the console port or from a Telnet interface. After the switch reboots and you have set to access and control the Switch. Your terminal parameters will need to be set an IP address for your Switch, you have logged in VT-100 compatible terminal mode) to : ... Telnet program (in , the console looks like this: 17 Once you can also access the same functions over a Telnet interface. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide terminal emulator program (e.g., the HyperTerminal program included with the Windows operating system) using an RS-232C serial cable.
... accessed from the console port or from a Telnet interface. After the switch reboots and you have set to access and control the Switch. Your terminal parameters will need to be set an IP address for your Switch, you have logged in VT-100 compatible terminal mode) to : ... Telnet program (in , the console looks like this: 17 Once you can also access the same functions over a Telnet interface. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide terminal emulator program (e.g., the HyperTerminal program included with the Windows operating system) using an RS-232C serial cable.
Reference Manual
Page 18
Initial Console Screen Commands are a number of the top-level commands. 18 Entering the ? There are entered at the command prompt, local>. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-1. command will display a list of all of helpful features included in the CLI.
Initial Console Screen Commands are a number of the top-level commands. 18 Entering the ? There are entered at the command prompt, local>. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-1. command will display a list of all of helpful features included in the CLI.
Reference Manual
Page 19
The ? Command The dir command has the same function as the ? Alternatively, if you hit the Tab key immediately after you with a Next possible completions: message. command. When you enter a command without its required parameters, the CLI will prompt you have entered a command, the CLI will display all the next available parameters sequentially. 19 DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-2.
The ? Command The dir command has the same function as the ? Alternatively, if you hit the Tab key immediately after you with a Next possible completions: message. command. When you enter a command without its required parameters, the CLI will prompt you have entered a command, the CLI will display all the next available parameters sequentially. 19 DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-2.
Reference Manual
Page 20
Example Command Parameter Help In this feature, and complex commands have several layers of parameter prompting. The previous command will then prompt you to enter the with the parameter . To re-enter the previous command at the command prompt. 20 Every command in the CLI has this case, the command config account was entered with the message, Next possible completions:. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-3. The CLI will appear at the command prompt, press the up arrow cursor key.
Example Command Parameter Help In this feature, and complex commands have several layers of parameter prompting. The previous command will then prompt you to enter the with the parameter . To re-enter the previous command at the command prompt. 20 Every command in the CLI has this case, the command config account was entered with the message, Next possible completions:. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-3. The CLI will appear at the command prompt, press the up arrow cursor key.
Reference Manual
Page 21
... or a choice of the help prompts are the same as presented in this way. In addition, the syntax of parameters, and brackets [ ] indicate required parameters. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-4.
... or a choice of the help prompts are the same as presented in this way. In addition, the syntax of parameters, and brackets [ ] indicate required parameters. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-4.
Reference Manual
Page 22
The Available Commands Prompt The top-level commands consist of the possible next parameters. 22 or config what ? For example, if you enter the show command with no additional parameters, the CLI will then display all of commands like show what? This is the next parameter. Where the what ? is equivalent to narrow the top-level command. Most of these commands require one or more parameters to show or config. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-5.
The Available Commands Prompt The top-level commands consist of the possible next parameters. 22 or config what ? For example, if you enter the show command with no additional parameters, the CLI will then display all of commands like show what? This is the next parameter. Where the what ? is equivalent to narrow the top-level command. Most of these commands require one or more parameters to show or config. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-5.
Reference Manual
Page 23
Next possible completions: Show Command In the above example, all of the possible next parameters for the show command, followed by the account parameter. The CLI then displays the user accounts configured on the switch. 23 DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-6. At the next command prompt, the up arrow was used to re-enter the show command are displayed.
Next possible completions: Show Command In the above example, all of the possible next parameters for the show command, followed by the account parameter. The CLI then displays the user accounts configured on the switch. 23 DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Figure 2-6. At the next command prompt, the up arrow was used to re-enter the show command are displayed.
Reference Manual
Page 24
DES-3350SR Layer 3 Fast Ethernet Switch User's Guide 3 COMMAND SYNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in the CLI ...
DES-3350SR Layer 3 Fast Ethernet Switch User's Guide 3 COMMAND SYNTAX The following symbols are used to describe how command entries are made and values and arguments are specified in the CLI ...
Reference Manual
Page 25
...] Description In the above syntax example, you must be specified. One or more mutually exclusive items in a list − one of required arguments. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide [square brackets] Purpose Encloses a required value or set of which must specify either an admin or a user level account to be created...
...] Description In the above syntax example, you must be specified. One or more mutually exclusive items in a list − one of required arguments. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide [square brackets] Purpose Encloses a required value or set of which must specify either an admin or a user level account to be created...
Reference Manual
Page 26
...| 10_minutes|15_minutes]} In the above syntax example, baud_rate, auto_logout, never, 2_minutes, 5_minutes, 10_minutes, and 15_minutes are all of the arguments contained by braces. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide {braces} Purpose Syntax Description Example command Encloses an optional value or set of the cursor and shifts the remaining characters in the...
...| 10_minutes|15_minutes]} In the above syntax example, baud_rate, auto_logout, never, 2_minutes, 5_minutes, 10_minutes, and 15_minutes are all of the arguments contained by braces. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide {braces} Purpose Syntax Description Example command Encloses an optional value or set of the cursor and shifts the remaining characters in the...
Reference Manual
Page 27
... displayed. p Displays the previous page. r Refreshes the pages currently displaying. q Stops the display of remaining pages when multiple pages are to the left. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Line Editing Key Usage Tab Shifts the cursor to the next field to be displayed. Multiple Page Display Control Keys Space Displays...
... displayed. p Displays the previous page. r Refreshes the pages currently displaying. q Stops the display of remaining pages when multiple pages are to the left. DES-3350SR Layer 3 Fast Ethernet Switch User's Guide Line Editing Key Usage Tab Shifts the cursor to the next field to be displayed. Multiple Page Display Control Keys Space Displays...