1. Bitte lesen Sie sich diese Hinweise sorgfältig durch.
2. Heben Sie diese Anleitung für den spätern Gebrauch auf.
3. Vor jedem Reinigen ist das Gerät vom Stromnetz zu trennen. Vervenden Sie keine
Flüssig- oder Aerosolreiniger. Am besten dient ein angefeuchtetes Tuch zur
Reinigung.
4. Um eine Beschädigung des Gerätes zu vermeiden sollten Sie nur Zubehörteile
verwenden, die vom Hersteller zugelassen sind.
5. Das Gerät is vor Feuchtigkeit zu schützen.
6. Bei der Aufstellung des Gerätes ist auf sichern Stand zu achten. Ein Kippen oder
Fallen könnte Verletzungen hervorrufen. Verwenden Sie nur sichere Standorte und
beachten Sie die Aufstellhinweise des Herstellers.
7. Die Belüftungsöffnungen dienen zur Luftzirkulation die das Gerät vor Überhitzung
schützt. Sorgen Sie dafür, daß diese Öffnungen nicht abgedeckt werden.
8. Beachten Sie beim Anschluß an das Stromnetz die Anschlußwerte.
9. Die Netzanschlußsteckdose muß aus Gründen der elektrischen Sicherheit einen
Schutzleiterkontakt haben.
10. Verlegen Sie die Netzanschlußleitung so, daß niemand darüber fallen kann. Es sollete
auch nichts auf der Leitung abgestellt werden.
11. Alle Hinweise und Warnungen die sich am Geräten befinden sind zu beachten.
12. Wird das Gerät über einen längeren Zeitraum nicht benutzt, sollten Sie es vom
Stromnetz trennen. Somit wird im Falle einer Überspannung eine Beschädigung
vermieden.
13. Durch die Lüftungsöffnungen dürfen niemals Gegenstände oder Flüssigkeiten in das
Gerät gelangen. Dies könnte einen Brand bzw. Elektrischen Schlag auslösen.
14. Öffnen Sie niemals das Gerät. Das Gerät darf aus Gründen der elektrischen
Sicherheit nur von authorisiertem Servicepersonal geöffnet werden.
15. Wenn folgende Situationen auftreten ist das Gerät vom Stromnetz zu trennen und von
einer qualifizierten Servicestelle zu überprüfen:
a – Netzkabel oder Netzstecker sint beschädigt.
b – Flüssigkeit ist in das Gerät eingedrungen.
c – Das Gerät war Feuchtigkeit ausgesetzt.
d – Wenn das Gerät nicht der Bedienungsanleitung ensprechend funktioniert oder Sie
mit Hilfe dieser Anleitung keine Verbesserung erzielen.
e – Das Gerät ist gefallen und/oder das Gehäuse ist beschädigt.
f – Wenn das Gerät deutliche Anzeichen eines Defektes aufweist.
16. Bei Reparaturen dürfen nur Orginalersatzteile bzw. den Orginalteilen entsprechende
Teile verwendet werden. Der Einsatz von ungeeigneten Ersatzteilen kann eine weitere
Beschädigung hervorrufen.
17. Wenden Sie sich mit allen Fragen die Service und Repartur betreffen an Ihren
Servicepartner. Somit stellen Sie die Betriebssicherheit des Gerätes sicher.
Page 3
18. Zum Netzanschluß dieses Gerätes ist eine geprüfte Leitung zu verwenden, Für einen
Nennstrom bis 6A und einem Gerätegewicht grőßer 3kg ist eine Leitung nicht leichter
als H05VV-F, 3G, 0.75mm2 einzusetzen.
Page 4
WARRANTIES EXCLUSIVE
IF THE D-LINK PRODUCT DOES NOT OPERATE AS WARRANTED ABOVE, THE
CUSTOMER'S SOLE REMEDY SHALL BE, AT D-LINK'S OPTION, REPAIR OR
REPLACEMENT. THE FOREGOING WARRANTIES AND REMEDIES ARE EXCLUSIVE AND
ARE IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED OR IMPLIED, EITHER IN FACT
OR BY OPERATION OF LAW, STATUTORY OR OTHERWISE, INCLUDING WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. D-LINK NEITHER
ASSUMES NOR AUTHORIZES ANY OTHER PERSON TO ASSUME FOR IT ANY OTHER
LIABILITY IN CONNECTION WITH THE SALE, INSTALLATION MAINTENANCE OR USE OF
D-LINK'S PRODUCTS
D-LINK SHALL NOT BE LIABLE UNDER THIS WARRANTY IF ITS TESTING AND
EXAMINATION DISCLOSE THAT THE ALLEGED DEFECT IN THE PRODUCT DOES NOT
EXIST OR WAS CAUSED BY THE CUSTOMER'S OR ANY THIRD PERSON'S MISUSE,
NEGLECT, IMPROPER INSTALLATION OR TESTING, UNAUTHORIZED ATTEMPTS TO
REPAIR, OR ANY OTHER CAUSE BEYOND THE RANGE OF THE INTENDED USE, OR BY
ACCIDENT, FIRE, LIGHTNING OR OTHER HAZARD.
LIMITATION OF LIABILITY
IN NO EVENT WILL D-LINK BE LIABLE FOR ANY DAMAGES, INCLUDING LOSS OF
DATA, LOSS OF PROFITS, COST OF COVER OR OTHER INCIDENTAL, CONSEQUENTIAL
OR INDIRECT DAMAGES ARISING OUT THE INSTALLATION, MAINTENANCE, USE,
PERFORMANCE, FAILURE OR INTERRUPTION OF A D- LINK PRODUCT, HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY. THIS LIMITATION WILL APPLY EVEN IF
D-LINK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
IF YOU PURCHASED A D-LINK PRODUCT IN THE UNITED STATES, SOME STATES DO
NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR
CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU.
Limited Warranty
Hardware:
D-Link warrants each of its hardware products to be free from defects in workmanship
and materials under normal use and service for a period commencing on the date of
purchase from D-Link or its Authorized Reseller and extending for the length of time
stipulated by the Authorized Reseller or D-Link Branch Office nearest to the place of
purchase.
This Warranty applies on the condition that the product Registration Card is filled out and
returned to a D-Link office within ninety (90) days of purchase. A list of D-Link offices is
provided at the back of this manual, together with a copy of the Registration Card.
If the product proves defective within the applicable warranty period, D-Link will provide
repair or replacement of the product. D-Link shall have the sole discretion whether to
repair or replace, and replacement product may be new or reconditioned. Replacement
product shall be of equivalent or better specifications, relative to the defective product, but
need not be identical. Any product or part repaired by D-Link pursuant to this warranty
shall have a warranty period of not less than 90 days, from date of such repair,
Page 5
irrespective of any earlier expiration of original warranty period. When D-Link provides
replacement, then the defective product becomes the property of D-Link.
Warranty service may be obtained by contacting a D-Link office within the applicable
warranty period, and requesting a Return Material Authorization (RMA) number. If a
Registration Card for the product in question has not been returned to D-Link, then a
proof of purchase (such as a copy of the dated purchase invoice) must be provided. If
Purchaser's circumstances require special handling of warranty correction, then at the
time of requesting RMA number, Purchaser may also propose special procedure as may be
suitable to the case.
After an RMA number is issued, the defective product must be packaged securely in the
original or other suitable shipping package to ensure that it will not be damaged in
transit, and the RMA number must be prominently marked on the outside of the package.
The package must be mailed or otherwise shipped to D-Link with all costs of
mailing/shipping/insurance prepaid. D-Link shall never be responsible for any software,
firmware, information, or memory data of Purchaser contained in, stored on, or integrated
with any product returned to D-Link pursuant to this warranty.
Any package returned to D-Link without an RMA number will be rejected and shipped
back to Purchaser at Purchaser's expense, and D-Link reserves the right in such a case to
levy a reasonable handling charge in addition mailing or shipping costs.
Software:
Warranty service for software products may be obtained by contacting a D-Link office
within the applicable warranty period. A list of D-Link offices is provided at the back of
this manual, together with a copy of the Registration Card. If a Registration Card for the
product in question has not been returned to a D-Link office, then a proof of purchase
(such as a copy of the dated purchase invoice) must be provided when requesting
warranty service. The term "purchase" in this software warranty refers to the purchase
transaction and resulting license to use such software.
D-Link warrants that its software products will perform in substantial conformance with
the applicable product documentation provided by D-Link with such software product, for
a period of ninety (90) days from the date of purchase from D-Link or its Authorized
Reseller. D-Link warrants the magnetic media, on which D-Link provides its software
product, against failure during the same warranty period. This warranty applies to
purchased software, and to replacement software provided by D-Link pursuant to this
warranty, but shall not apply to any update or replacement which may be provided for
download via the Internet, or to any update which may otherwise be provided free of
charge.
D-Link's sole obligation under this software warranty shall be to replace any defective
software product with product which substantially conforms to D-Link's applicable
product documentation. Purchaser assumes responsibility for the selection of appropriate
application and system/platform software and associated reference materials. D-Link
makes no warranty that its software products will work in combination with any
hardware, or any application or system/platform software product provided by any third
party, excepting only such products as are expressly represented, in D-Link's applicable
product documentation as being compatible. D-Link's obligation under this warranty
shall be a reasonable effort to provide compatibility, but D-Link shall have no obligation to
provide compatibility when there is fault in the third-party hardware or software. D-Link
makes no warranty that operation of its software products will be uninterrupted or
Page 6
absolutely error-free, and no warranty that all defects in the software product, within or
without the scope of D-Link's applicable product documentation, will be corrected.
Page 7
D-Link Offices for Registration and Warranty Service
The product's Registration Card, provided at the back of this manual, must be sent to a
D-Link office. To obtain an RMA number for warranty service as to a hardware product,
or to obtain warranty service as to a software product, contact the D-Link office nearest
you. An address/telephone/fax/e-mail/Web site list of D-Link offices is provided in the
back of this manual.
Trademarks
Copyright 2003 D-Link Corporation.
Contents subject to change without prior notice.
D-Link is a registered trademark of D-Link Corporation/D-Link
Systems, Inc. All other trademarks belong to their respective
proprietors.
Copyright Statement
No part of this publication may be reproduced in any form or by any
means or used to make any derivative such as translation,
transformation, or adaptation without permission from D-Link
Corporation/D-Link Systems Inc., as stipulated by the United States
Copyright Act of 1976.
Page 8
FCC Warning
This equipment has been tested and found to comply with the limits
for a Class A digital device, pursuant to Part 15 of the FCC Rules.
These limits are designed to provide reasonable protection against
harmful interference when the equipment is operated in a commercial
environment. This equipment generates, uses, and can radiate radio
frequency energy and, if not installed and used in accordance with
this user’s guide, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is
likely to cause harmful interference in which case the user will be
required to correct the interference at his own expense.
CE Mark Warning
This is a Class A product. In a domestic environment, this product
may cause radio interference in which case the user may be required
to take adequate measures.
Switch System Messages ................................................... 194
x
Page 11
DES-3250TG Layer 2 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. The Command
Line Interface (CLI) can be used to configure and manage the
switch via the serial port or Telnet interfaces.
This manual provides a reference for all of the commands
contained in the CLI. Configuration and management of the
switch via the Web-based management agent is discussed in the
User’s Guide.
Accessing the Switch via the Serial Port
The switch’s serial port’s default settings are as follows:
• 9600 baud
• no parity
• 8 data bits
• 1 stop bit
A computer running a terminal emulation program capable of
emulating a VT-100/ANSI terminal and a serial port configured
as above is then connected to the switch’s serial port via an RS232 DB-9 cable.
11
Page 12
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
With the serial port properly connected to a management
computer, the following screen should be visible. If this screen
does not appear, try pressing Ctrl+R to refresh the console
screen.
Figure 1-1. Initial Console screen.
There is no initial username or password. Just press the Enter
key twice to display the CLI input cursor − local>. This is the
command line where all commands are input.
Setting the Switch’s IP Address
Each Switch must be assigned its own IP Address, which is
used for communication with an SNMP network manager or
other TCP/IP application (for example BOOTP, TFTP). The
switch’s default IP address is 10.90.90.90. You can change the
default Switch IP address to meet the specification of your
networking address scheme.
12
Page 13
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
The switch is also assigned a unique MAC address by the
factory. This MAC address cannot be changed, and can be found
from the initial boot console screen – shown below.
Figure 1-2. Boot Screen
The switch’s MAC address can also be found from the Web
management program on the Switch Information (Basic
Settings) window on the Configuration menu.
The IP address for the switch must be set before it can be
managed with the Web-based manager. The switch IP address
can be automatically set using BOOTP or DHCP protocols, in
which case the actual address assigned to the switch must be
known.
The IP address may be set using the Command Line Interface
(CLI) over the console serial port as follows:
1. Starting at the command line prompt, enter the
commands config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s
13
Page 14
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
represent the IP address to be assigned to the IP
interface named System and the y’s represent the
corresponding subnet mask.
2. Alternatively, you can enter config ipif System
ipaddress xxx.xxx.xxx.xxx/z. Where the x’s
represent the IP address to be assigned to the IP
interface named System and the z represents the
corresponding number of subnets in CIDR notation.
The IP interface named System on the switch can be assigned
an IP address and subnet mask which can then be used to
connect a management station to the switch’s Telnet or Webbased management agent.
Figure 1-3. Assigning the Switch an IP Address
In the above example, the switch was assigned an IP address of
10.24.22.5 with a subnet mask of 255.0.0.0. The system
message Success indicates that the command was executed
successfully. The switch can now be configured and managed
14
Page 15
DES-3250TG Layer 2 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
Page 16
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
2
USING THE CONSOLE
CLI
The DES-3250TG supports a console management interface that
allows the user to connect to the switch’s management agent via
a serial port and a terminal or a computer running a terminal
emulation program. The console can also be used over the
network using the TCP/IP Telnet protocol. The console program
can be used to configure the switch to use an SNMP-based
network management software over the network.
This chapter describes how to use the console interface to
access the switch, change its settings, and monitor its
operation.
Switch configuration settings are saved to nonvolatile RAM using save command. The current
configuration will then be retained in the switch’s
NV-RAM, and reloaded when the switch is
rebooted. If the switch is rebooted without using
the save command, the last configuration saved
to NV-RAM will be loaded.
Connecting to the Switch
The console interface is used by connecting the Switch to a
VT100-compatible terminal or a computer running an ordinary
16
Page 17
DES-3250TG Layer 2 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. Your terminal parameters will need to be set to:
• VT-100/ANSI compatible
• 9,600 baud
• 8 data bits
• No parity
• One stop bit
• No flow control
You can also access the same functions over a Telnet interface.
Once you have set an IP address for your Switch, you can use a
Telnet program (in VT-100 compatible terminal mode) to access
and control the Switch. All of the screens are identical, whether
accessed from the console port or from a Telnet interface.
After the switch reboots and you have logged in, the console
looks like this:
17
Page 18
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Figure 2-1. Initial Console Screen
Commands are entered at the command prompt, local>.
There are a number of helpful features included in the CLI.
Entering the ? command will display a list of all of the top-level
commands.
18
Page 19
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Figure 2-2. The ? Command
The dir command has the same function as the ? command.
When you enter a command without its required parameters,
the CLI will prompt you with a Next possible completions:
message.
Alternatively, if you hit the Tab key immediately after you have
entered a command, the CLI will display all the next available
parameters sequentially.
19
Page 20
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Figure 2-3. Example Command Parameter Help
In this case, the command config account was entered with the
parameter <username>. The CLI will then prompt you to enter
the <username> with the message, Next possible completions:. Every command in the CLI has this feature, and
complex commands have several layers of parameter prompting.
To re-enter the previous command at the command prompt,
press the up arrow cursor key. The previous command will
appear at the command prompt.
20
Page 21
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Figure 2-4. Using the Up Arrow to Re-enter a Command
In the above example, the command config account was
entered without the required parameter <username>, the CLI
returned the Next possible completions: <username> prompt.
The up arrow cursor control key was pressed to re-enter the
previous command (config account) at the command prompt.
Now the appropriate User name can be entered and the config account command re-executed.
All commands in the CLI function in this way. In addition, the
syntax of the help prompts are the same as presented in this
manual − angle brackets < > indicate a numerical value or
character string, braces { } indicate optional parameters or a
choice of parameters, and brackets [ ] indicate required
parameters.
If a command is entered that is unrecognized by the CLI, the
top-level commands will be displayed under the Available commands: prompt.
21
Page 22
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Figure 2-5. The Available Commands Prompt
The top-level commands consist of commands like show or
config. Most of these commands require one or more
parameters to narrow the top-level command. This is equivalent
to show what? or config what? Where the what? is the next
parameter.
For example, if you enter the show command with no additional
parameters, the CLI will then display all of the possible next
parameters.
22
Page 23
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Figure 2-6. Next possible completions: Show Command
In the above example, all of the possible next parameters for the
show command are displayed. At the next command prompt,
the up arrow was used to re-enter the show command, followed
by the account parameter. The CLI then displays the user
accounts configured on the switch.
23
Page 24
DES-3250TG Layer 2 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 this
manual. The online help contained in the CLI and available
through the console interface uses the same syntax.
supply an IP interface name in the
<ipif_name> space, a VLAN name in the
<vlan_name> space, and the network
address in the <network_address> space.
Do not type the angle brackets.
choose to enter an IP interface name in the
<ipif_name> space or all, but version
<value>, query_interval <sec>,
max_response_time <sec>,
robustness_variable <value>,
last_member_query_interval <value>, and
state [enabled/disabled] are all optional
arguments. You can specify any or all of
the arguments contained by braces. Do not
type the braces.
config igmp all version 2
Line Editing Key Usage
Delete
Deletes character under the cursor and
then shifts the remaining characters in the
line to the left.
26
Page 27
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Line Editing Key Usage
Backspace
Insert
Left Arrow
Right Arrow
Tab
Deletes the character to the left of the
cursor and shifts the remaining characters
in the line to the left.
Can be toggled on or off. When toggled on,
inserts text at the current cursor position
and shifts the remainder of the line to the
left.
Moves the cursor to the left.
Moves the cursor to the right.
Shifts the cursor to the next field to the
left.
Multiple Page Display Control Keys
Space
CTRL+c
ESC
Displays the next page.
Stops the display of remaining pages when
multiple pages are to be displayed.
Stops the display of remaining pages when
multiple pages are to be displayed.
n
p
q
r
Displays the next page.
Displays the previous page.
Stops the display of remaining pages when
multiple pages are to be displayed.
Refreshes the pages currently displaying.
27
Page 28
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Line Editing Key Usage
a
Enter
Displays the remaining pages without
pausing between pages.
Displays the next line or table entry.
28
Page 29
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
4
BASIC SWITCH
COMMANDS
The basic switch commands in the Command Line Interface
(CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
create account [admin/user]
<username>
config account <username>
show account
delete account
show session
show switch
show serial_port
config serial_port baud_rate [9600/19200/38400/115200]
Purpose Used to pause the scrolling of the console
screen when the show command displays
more than one page.
Syntax
enable clipaging
Description This command is used when issuing the
show command will cause the console
screen to rapidly scroll through several
pages. This command will cause the
console to pause at the end of each page.
The default setting is enabled.
Parameters none.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
39
Page 40
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
To enable pausing of the screen display when show
command output reaches the end of the page:
local>enable clipaging
Command: enable clipaging
Success.
local>
disable clipaging
Purpose Used to disable the pausing of the console
screen scrolling at the end of each page
when the show command would display
more than one screen of information.
Syntax
disable clipaging
Description This command is used to disable the
pausing of the console screen at the end of
each page when the show command would
display more than one screen of
information.
Parameters none.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To disable pausing of the screen display when show
command output reaches the end of the page:
40
Page 41
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
management of the switch using the Telnet
protocol.
Syntax
enable telnet <tcp_port_number>
Description This command is used to enable the Telnet
protocol on the switch. The user can
specify the TCP or UDP port number the
switch will use to listen for Telnet requests.
Parameters
<tcp_port_number> − The TCP port
number. TCP ports are numbered between
1 and 65535. The “well-known” TCP port
for the Telnet protocol is 23.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To enable Telnet and configure port number:
local>enable telnet 23
Command: enable telnet 23
41
Page 42
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Success.
local>
disable telnet
Purpose Used to disable the Telnet protocol on the
switch.
Syntax
Description This command is used to disable the Telnet
Parameters none.
Restrictions Only administrator-level users can issue
Example Usage:
To disable the Telnet protocol on the switch:
local>disable telnet
Command: disable telnet
Success.
local>
disable telnet
protocol on the switch.
this command.
enable web
42
Page 43
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
enable web
Purpose Used to enable the HTTP-based
management software on the switch.
Syntax
Description This command is used to enable the Web-
Parameters
Restrictions Only administrator-level users can issue
Example Usage:
To enable HTTP and configure port number:
local>enable web 80
Command: enable web 80
Success.
local>
enable web <tcp_port_number>
based management software on the switch.
The user can specify the TCP port number
the switch will use to listen for Telnet
requests.
<tcp_port_number> − The TCP port
number. TCP ports are numbered between
1 and 65535. The “well-known” port for the
Web-based management software is 80.
this command.
disable web
43
Page 44
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
disable web
Purpose Used to disable the HTTP-based
management software on the switch.
Syntax
Description This command disables the Web-based
Parameters none.
Restrictions Only administrator-level users can issue
Example Usage:
To disable HTTP:
local>disable web
Command: disable web
Success.
local>
disable web
management software on the switch.
this command.
save
Purpose Used to save changes in the switch’s
configuration to non-volatile RAM.
Syntax
Description This command is used to enter the current
Save
switch configuration into non-volatile RAM.
44
Page 45
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
save
The saved switch configuration will be
loaded into the switch’s memory each time
the switch is restarted.
Parameters none.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To save the switch’s current configuration to non-volatile
RAM:
local>save
Command: save
Saving all settings to NV-RAM... 100%
done.
local>
reboot
Purpose Used to restart the switch.
Syntax
Description This command is used to restart the
Parameters none.
Restrictions none.
reboot
switch.
45
Page 46
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Example Usage:
To restart the switch:
local>reboot
Command: reboot
Are you sure want to proceed with the
system reboot? (y/n)
Please wait, the switch is rebooting...
reset
Purpose Used to reset the switch to the factory
default settings.
Syntax
reset {config/system}
Description This command is used to restore the
switch’s configuration to the default
settings assigned from the factory.
Parameters
config − If config is specified, all of the
factory default settings are restored on the
switch except for the IP address, user
accounts, and the switch history log.
system − If system is specified all of the
factory default settings are restored on the
switch.
If no parameter specified, the switch’s
current IP address, user accounts, and
switch history log are retained. All other
parameters are restored to their factory
default settings.
46
Page 47
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
reset
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To restore all of the switch’s parameters to their default
values:
local>reset config
Command: reset config
Success.
local>
login
Purpose Used to log in a user to the switch’s
console.
Syntax
Description This command is used to initiate the login
Parameters none.
Restrictions none.
Example Usage:
login
procedure. The user will be prompted for
his Username and Password.
47
Page 48
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
To initiate the login procedure:
local>login
Command: login
UserName:
logout
Purpose Used to log out a user from the switch’s
console.
Syntax
logout
Description This command terminates the current
user’s session on the switch’s console.
Parameters none.
Restrictions none.
Example Usage:
To terminate the current user’s console session:
local>logout
48
Page 49
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
5
SWITCH PORT
COMMANDS
The switch port commands in the Command Line Interface (CLI)
are listed (along with the appropriate parameters) in the
following table.
Command Parameters
config ports <portlist/all>
speed
[auto/10_half/10_full/100_half/100_full/
1000_half/1000_full]
learning [enabled/disabled]
state [enabled/disabled]
show ports <portlist/all>
Each command is listed, in detail, in the following sections.
config ports
Purpose Used to configure the switch’s Ethernet port
settings.
49
Page 50
config ports
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
1000_half/1000_full]
learning [enabled/disabled]
state [enabled/disabled]}
Description This command allows for the configuration of
the switch’s Ethernet ports. Only the ports
listed in the <portlist> will be affected.
Parameters
all − Displays all ports on the switch to be
configured.
portlist − Specifies a range of ports to be
configured. The port list is specified by listing
the beginning port number and the highest port
number of the range. The beginning and end of
the port list range are separated by a dash. For
example, 3 would specify port 3. 4 specifies port
4. 3-4 specifies all of the ports between port 3
and port 4 − in numerical order.
auto − Enables auto-negotiation for the specified
range of ports.
[10/100/1000] − Configures the speed in Mbps
for the specified range of ports.
[half/full] − Configures the specified range of
ports as either full- or half-duplex.
learning [enabled/disabled] − Enables or
disables the MAC address learning on the
50
Page 51
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
config ports
specified range of ports.
state [enabled/disabled] − Enables or disables
the specified range of ports.
Restrictions Only administrator-level users can issue this
command.
Example Usage:
To configure the speed of port 3 to be 10 Mbps, full
duplex, learning and state enabled:
local>config ports 1-3 speed 10_full learning enabled
state enabled
Command: config ports 1-3 speed 10_full learning
enabled state enabled
Success.
show ports
Purpose Used to display the current configuration of
a range of ports.
Syntax
Description This command is used to display the
Parameters
show ports {<portlist/all>}
current configuration of a range of ports.
all − Displays all ports on the switch.
<portlist> − Specifies a range of ports to
be configured. The port list is specified by
listing the beginning port number and the
51
Page 52
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
show ports
highest port number of the range. The
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4 − in numerical order.
Restrictions none.
Example Usage:
To display the configuration of the ports 1-7:
local>show ports 1-7
Command: show ports 1-7
Port Port Settings Connection Address
State Speed/Duplex Speed/Duplex Learning
---- -------- --------------------- --------------------- ---------- 1 Enabled Auto Link Down Enabled
2 Enabled Auto Link Down Enabled
3 Enabled Auto Link Down Enabled
4 Enabled Auto Link Down Enabled
5 Enabled Auto Link Down Enabled
6 Enabled Auto Link Down Enabled
7 Enabled Auto Link Down Enabled
52
Page 53
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
6
NETWORK MANAGEMENT
COMMANDS
The network management commands in the Command Line
Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameters
create snmp
community
delete snmp
community
create snmp
trap_receiver
delete snmp
trap_receiver
enable rmon
disable rmon
config snmp
community
config snmp
system_contact
config snmp
system_location
<community_string>
[readonly/readwrite]
<community_string>
<ipaddr>
<community_string>
<ipaddr>
<community_string>
[readonly/readwrite]
<sw_contact>
<sw_location>
53
Page 54
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Command Parameters
config snmp
system_name
config snmp
trap_receiver
enable snmp traps
disable snmp
traps
enable snmp
authenticate traps
disable snmp
authenticate traps
create
trusted_host
show
trusted_host
delete
trusted_host
show snmp [community/trap_receiver]
ping <ipaddr>
Each command is listed, in detail, in the following sections.
<sw_name>
<ipaddr>
<community_string>
<ipaddr>
<ipaddr>
<ipaddr>
times <value>
timeout <sec>
create snmp community
Purpose Used to create an SNMP community string.
Syntax
create snmp community
<community_string>
[readonly/readwrite]
54
Page 55
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
create snmp community
Description This command is used to create an SNMP
community string and to specify the string
as enabling read only or read-write
privileges for the SNMP management host.
Parameters
<community_string> − An alphanumeric
string of up to 32 characters used to
authentication of users wanting access to
the switch’s SNMP agent.
readonly − Allows the user using the above
community string to have read only access
to the switch’s SNMP agent. The default
read only community string is public.
readwrite − Allows the user using the above
community string to have read and write
acces to the switch’s SNMP agent. The
default read write community string is
private.
Restrictions Only administrator-level users can issue
this command. A maximum of 4
community strings can be specified.
Example Usage:
To create a read-only level SNMP community “System”:
local>create snmp community System readwrite
Command: create snmp community System readwrite
Success.
55
Page 56
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
local>
delete snmp community
Purpose Used to delete an SNMP community string
previously entered on the switch.
Syntax
delete snmp community
<community_string>
Description This command is used to delete an SNMP
community string entered on the switch
using the create SNMP community
command above.
Parameters
<community_string> − An alphanumeric
string of up to 32 characters used to
authentication of users wanting access to
the switch’s SNMP agent.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To delete a read-only level SNMP community “System”:
local>delete snmp community System
Command: delete snmp community System
Success.
local>
56
Page 57
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
create snmp trap_receiver
Purpose Used to specify a management station, by
IP address and community string, that will
receive traps generated by the switch’s
SNMP agent.
Description This command is used to specify the IP
address of a management station that will
receive traps generated by the switch’s
SNMP agent and the community string that
will be used to authenticate the
management station’s privileges.
Parameters
<ipaddr> − The IP address of a
management station that will receive SNMP
traps generated by the switch’s SNMP
agent.
<community_string> − An alpha-numeric
string of up to 32 characters that will be
used to authenticate management stations
that want to receive SNMP traps from the
switch’s SNMP agent.
Restrictions Only administrator-level users can issue
this command. A maximum of 3 trap
receivers can be specified.
Example Usage:
57
Page 58
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
To create a trap receiver 10.1.1.1 in read-only level
SNMP community:
local>create snmp trap_receiver 10.1.1.1 System
Command: create snmp trap_receiver 10.1.1.1 System
Success.
local>
delete snmp trap_receiver
Purpose Used to delete a trap receiver entry on the
switch made using create SNMP
trap_reciever above.
Syntax
delete snmp trap_reciever <ipaddr>
Description The command allows the user to delete an
SNMP trap receiver specified previously
using the create trap_receiver command
above.
Parameters
<ipaddr> − The IP address of the
management station that is currently
specified to receive traps from the switch’s
SNMP agent. This management station will
be deleted from the list of up to three that
can be entered using the create SNMP
trap_receiver commmand above.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
58
Page 59
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
config snmp community
<community_string>
[readonly/readwrite]
Description This command is used to create an SNMP
community string on the switch that will be
used to authenticate management stations
that want to access the switch using SNMP
management software.
Parameters
<community_string> − An alpha-numeric
string of up to 32 characters that will be
used to authenticate management stations
that want to access the switch’s SNMP
agent.
readonly − Allows the user using the above
community string to have read only access
to the switch’s SNMP agent. The default
read only community string is public.
readwrite − Allows the user using the above
community string to have read and write
access to the switch’s SNMP agent. The
59
Page 60
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
config snmp community
default read write community string is
private.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To configure an SNMP community “System”:
local>config snmp community System readwrite
Command: config snmp community System readwrite
SNMP trap receiver on the switch that will
be used to authenticate management
stations that want to access the switch
using SNMP management software.
<ipaddr> − The IP address of the
management station that is currently
specified to receive traps from the switch’s
SNMP agent. This management station will
60
Page 61
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
config snmp trap_receiver
be deleted from the list of up to three that
can be entered using the create SNMP
trap_receiver commmand above.
<community_string> − An alpha-numeric
string of up to 32 characters that will be
used to authenticate management stations
that want to access the switch’s SNMP
agent.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To configure an SNMP trap receiver “mink” with an IP
address of 10.1.1.2:
<sw_contact> − A maximum of 128
characters used to identify a contact
person who is responsible for the switch.
this command.
enable rmon
Purpose Used to enable RMON on the switch.
Syntax
Description This command is used, in conjunction with
enable rmon
the disable RMON command below, to
enable and disable remote monitoring
(RMON) on the switch.
64
Page 65
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
enable rmon
Parameters none.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To enable RMON:
local>enable rmon
Command: enable rmon
Success.
local>
disable rmon
Purpose Used to disable RMON on the switch.
Syntax
Description This command is used, in conjunction with
Parameters none.
Restrictions Only administrator-level users can issue
Example Usage:
disable rmon
the enable rmon command above, to enable
and disable remote monitoring (RMON) on
the switch.
this command.
65
Page 66
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
To disable RMON:
local>disable rmon
Command: disable rmon
Success.
local>
show snmp
Purpose Used to display the SNMP configuration
entered on the switch.
Syntax
show snmp
[community_string/trap_receiver]
Description This command will display the current
SNMP configuration on the switch.
Parameters
community_string − Displays all of the
community strings configured on the
switch. A community string is an alphanumeric string of up to 32 characters used
to authenticate management stations
wanting access to the switch’s SNMP agent.
trap_receiver − Displays all of the
trap_receiver IP addresses configured on
the switch. A trap receiver is a host on the
same subnet as the switch that can receive
SNMP trap messages.
Restrictions none.
66
Page 67
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Example Usage:
To display SNMP configurations:
local>show snmp
Command: show snmp
System Name : DES3250
System Location : Taiwan
System Contact : dlink
SNMP Trap : Enabled
Authenticate Traps : Enabled
Community String Rights
-------------------------------------------- --------------System Read/Write
public Read-Only
Develop Read-Only
private Read/Write
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
w
ping
<sec>}
Description This command sends Internet Control
Message Protocol (ICMP) echo messages to
a remote IP address. The remote IP address
ill then “echo” or return the message.
This is used to confirm connectivity
between the switch and the remote device.
Parameters
<ipaddr> − The IP address of the remote
device.
times <value> − The number of individual
ICMP echo messages to be sent. A value of
0 will send an infinite ICMP echo messages.
The maximum value is 255. The default is
0.
timeout <sec> − Defines the time-out period
while waiting for a response from the
remote device. A value of 1 to 99 seconds
can be specified. The default is 1 second.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To send ICMP echo message to “10.48.74.121” for 4
times:
local>#ping 10.48.74.121 times 4
Command: ping 10.48.74.121
Reply from 10.48.74.121, time<10ms
Reply from 10.48.74.121, time<10ms
74
Page 75
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Reply from 10.48.74.121, time<10ms
Reply from 10.48.74.121, time<10ms
Ping Statistics for 10.48.74.121
Packets: Sent =4, Received =4, Lost =0
local>
75
Page 76
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
7
DOWNLOAD/UPLOAD
COMMANDS
The download/upload commands in the Command Line
Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Description This command is used to download a new
firmware or a switch configuration file from
a TFTP server.
Parameters
firmware − Download and install new
firmware on the switch from a TFTP server.
configuration − Download a switch
configuration file from a TFTP server.
<ipaddr> − The IP address of the TFTP
server.
<path_filename 64> − The DOS path and
filename of the firmware or switch
configuration file on the TFTP server. For
example, C:\3250.had.
increment − Allows the download of a
partial switch configuration file. This allows
a file to be downloaded that will change
only the switch parameters explicitly stated
in the configuration file. All other switch
parameters will remain unchanged.
Restrictions The TFTP server must be on the same IP
switch’s current settings or the switch’s
history log to a TFTP server.
configuration − Specifies that the switch’s
current settings will be uploaded to the
TFTP server.
log − Specifies that the switch history log
will be uploaded to the TFTP server.
78
Page 79
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
upload
<ipaddr> − The IP address of the TFTP
server. The TFTP server must be on the
same IP subnet as the switch.
<path_filename 64> − Specifies the location
of the switch configuration file on the TFTP
server. This file will be replaced by the
uploaded file from the switch.
Restrictions The TFTP server must be on the same IP
subnet as the switch. Only administratorlevel users can issue this command.
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
8
NETWORK MONITORING
COMMANDS
The network monitoring commands in the Command Line
Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command Parameters
show packet ports <portlist>
show error ports <portlist>
show utilitzation
clear counters ports <portlist>
clear log
show log index <value>
Each command is listed, in detail, in the following sections.
show packet ports
Purpose Used to display statistics about the packets
80
Page 81
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
show packet ports
sent and received by the switch.
Syntax
show packet ports <portlist>
Description This command is used to display statistics
about packets sent and received by ports
specified in the port list.
Parameters
<portlist> − Specifies a range of ports to be
configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4 − in numerical order.
Restrictions none.
Example Usage:
To display the packets analysis for port 7:
local>show packet ports 7
Port number : 7
Frame Size Frame Counts Frames/sec Frame Type Total
Total/sec
CTRL+CESCq QUIT SPACEn Next Page p Previous Page r Refresh
show error ports
Purpose Used to display the error statistics for a
range of ports.
Syntax
show error ports <portlist>
Description This command will display all of the packet
error statistics collected and logged by the
switch for a given port list.
Parameters
<portlist> − Specifies a range of ports to
be configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4 − in numerical order.
Restrictions none.
Example Usage:
To display the errors of port 3:
82
Page 83
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Command: show error ports 3
Port number : 3
RX Frames TX Frames
--------------- ---------------CRC Error 0 Excessive Deferral 0
Undersize 0 CRC Error 0
Oversize 0 Late Collision 0
Fragment 0 Excessive Collision 0
Jabber 0 Single Collision 0
Drop Pkts 0 Collision 0
CTRL+CESCq QUIT SPACEn Next Page p Previous Page r Refresh
show utilization
Purpose Used to display real-time port utilization
statistics.
Syntax
show utilization
Description This command will display the real-time
port utilization statistics for the switch.
Parameters none.
Restrictions none.
Example Usage:
To display the port utilization statistics:
local>show utilization
83
Page 84
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
CTRL+CESCq QUIT SPACEn Next Page p Previous Page r Refresh
clear counters
Purpose Used to clear the switch’s statistics
counters.
Syntax
Description This command will clear the counters used
Parameters
clear counters {ports <portlist>}
by the switch to compile statistics.
<portlist> − Specifies a range of ports to
be configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
beginning and end of the port list range are
84
Page 85
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
clear counters
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4 − in numerical order..
Restrictions Only administrator-level users can issue
fbpdu [enabled/disabled]
enable stp
disable stp
show stp
show stp ports <portlist>
Each command is listed, in detail, in the following sections.
88
Page 89
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
config stp
Purpose Used to set up STP on the switch.
Syntax
config stp {ports <portlist> {cost <value
1-65535>/priority <value 0-255>/state
[enabled/disabled]} {maxage <value 6-
40>/hellotime <value 1-
10>/forwarddelay <value 4-30>/priority
<value 0-65535>/fbpdu
[enabled/disabled]}
Description This command is used to set up the
Spanning Tree Protocol (STP) for the entire
switch.
Parameters
ports <portlist> − Specifies a range of ports
to be configured. Ports are specified by
entering the lowest port number in a group,
and then the highest port number in a
group, separated by a dash. So, a port
group including the switch ports 1, 2, and
3 would be entered as 1-3. Ports that are
not contained within a group are specified
by entering their port number, separated
by a comma. So, the port group 1-3 and
port 49 would be entered as 1-3, 49.
Additional ports can be individually entered
by their port number, separated by
commas. If you enter the ports sub-
command, you can enter the port STP cost,
priority, and state sub-commands listed
below.
cost <value 1-65535> − This defines a
metric that indicates the relative cost of
forwarding packets to the specified port
89
Page 90
config stp
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
list. The default cost for a 1000 Mbps
port is 4, a 100 Mbps port is 19, and for
a 10 Mbps port the default cost is 100.
priority <value 0-255> − A numeric
value between 0 and 255 that is used in
determining the root and designated
port in an STP port list. The default is
128, with 0 indicating the highest
priority.
state [enabled/disabled] − Allows STP to
be enabled or disabled for the ports
specified in the port list. The default is
disabled.
maxage <value 6-40> − The maximum
amount of time (in seconds) that the switch
will wait to receive a BPDU packet before
reconfiguring STP. The default is 20
seconds.
hellotime <value 1-10> − The time interval
between transmission of configuration
messages by the root device. The default is
2 seconds.
forwarddelay <value 4-30> − The maximum
amount of time (in seconds) that the root
device will wait before changing states. The
default is 15 seconds.
priority <value 0-65535> − A numerical
value between 0 and 65535 that is used in
determining the root device, root port, and
designated port. The device with the
90
Page 91
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
config stp
highest priority becomes the root device.
The lower the numerical value, the higher
the priority. The default is 32,768.
fbpdu [enabled/disabled] − Allows the
forwarding of STP BPDU packets from
other network devices when STP is disabled
on the switch. The default is enabled.
Restrictions Only administrator-level users can issue
Purpose Used to globally enable STP on the switch.
Syntax enable stp
Description This command allows the Spanning Tree
Protocol to be globally enabled on the
switch.
91
Page 92
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
enable stp
Parameters none.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
To enable STP on the switch:
local>enable stp
Command: enable stp
Success.
local>
disable stp
Purpose Used to globally disable STP on the switch.
Syntax disable stp
Description This command allows the Spanning Tree
Protocol to be globally disabled on the
switch.
Parameters none.
Restrictions Only administrator-level users can issue
this command.
Example Usage:
92
Page 93
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
To disable STP on the switch:
local>disable stp
Command: disable stp
Success.
local>
show stp
Purpose Used to display the switch’s current STP
configuration.
Syntax
show stp
Description This command displays the switch’s
current STP configuration.
Parameters none
Restrictions none.
Example Usage:
Status 1: STP enabled:
local>show stp
Command: show stp
STP Status : Enabled
Max Age : 18
Hello Time : 4
Forward Delay : 15
Priority : 32768
Forwarding BPDU : Enabled
93
Page 94
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
Designated Root Bridge : 00-00-00-12-00-00
Root Priority : 32768
Cost to Root : 19
Root Port : 33
Last Topology Change : 13sec
Topology Changes Count: 0
Status 2: STP Disabled
local>show stp
Command: show stp
STP Status : Disabled
Max Age : 18
Hello Time : 4
Forward Delay : 15
Priority : 32768
Forwarding BPDU : Enabled
local>
show stp ports
Purpose Used to display the switch’s current per-
port group STP configuration.
Syntax
Description This command displays the switch’s
Parameters
show stp ports <portlist>
current per-port group STP configuration.
<portlist> − Specifies a range of ports to be
configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
94
Page 95
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
show stp ports
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4 − in numerical order.
Restrictions None
Example Usage:
To display STP state of port 1-9:
local>show stp ports 1-9
Port Connection State Cost Priority Status
---- ---------------- ----------- ----- ---------- ---------------
1 Link Down Enabled 19 128 Forwarding
2 Link Down Enabled 19 128 Forwarding
3 Link Down Enabled 19 128 Forwarding
4 Link Down Enabled 19 128 Forwarding
5 Link Down Enabled 19 128 Forwarding
6 Link Down Enabled 19 128 Forwarding
7 Link Down Enabled 19 128 Forwarding
8 Link Down Enabled 19 128 Forwarding
9 Link Down Enabled 19 128 Forwarding
95
Page 96
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
10
LAYER 2 FORWARDING
DATABASE COMMANDS
The layer 2 forwarding database commands in the Command
Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameters
create fdb <vlan_name 32>
<macaddr>
port <port>
create
multicast_fdb
config
multicast_fdb
delete fdb <vlan_name 32>
clear fdb vlan <vlan_name 32>
show
multicast_fdb
config fdb <sec>
<vlan_name 32>
<macaddr>
<vlan_name 32>
<macaddr> [add/delete]
<portlist>
<macaddr> [add/delete]
<portlist>
port <port>/all
vlan <vlan_name 32>
mac_address <macaddr>
96
Page 97
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
<vlan_name 32> − The name of the VLAN
on which the MAC address resides.
<macaddr> − The MAC address that will be
99
Page 100
DES-3250TG Layer 2 Fast Ethernet Switch User’s Guide
g
config multicast_fdb
added to the forwarding table.
[add/delete] − Add will add the MAC
address to the forwarding table, delete will
remove the MAC address from the
forwarding table.
[egress/forbidden] − Egress specifies the
port as being a source of multicast packets
originating from the MAC address specified
above, forbidden specifies the port as not
being a member of the VLAN and that the
port is forbidden from becoming a member
of the VLAN dynamically.
<portlist> − Specifies a range of ports to be
configured. The port list is specified by
listing the beginning port number and the
highest port number of the range. The
beginning and end of the port list range are
separated by a dash. For example, 3 would
specify port 3. 4 specifies port 4. 3-4
specifies all of the ports between port 3 and
port 4 − in numerical order.
Restrictions Only administrator-level users can issue