Reproduction in any manner whatsoever without the written permission of D-Link Computer Corporation
is strictly forbidden.
Trademarks used in this text: D-Link and the D-Link logo are trademarks of D-Link Computer
Corporation; Microsoft and Windows are registered trademarks of Microsoft Corporation.
Other trademarks and trade names may be used in this document to refer to either the entities claiming
the marks and names or their products. D-Link Computer Corporation disclaims any proprietary interest
in trademarks and trade names other than its own.
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 DGSigned 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 hisown 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.
Warnung!
Dies ist ein Produkt der Klasse A. Im Wohnbereich kann dieses Produkt Funkstoerungen verursachen. In
diesem Fall kann vom Benutzer verlangt werden, angemessene Massnahmen zu ergreifen.
Precaución!
Este es un producto de Clase A. En un entorno doméstico, puede causar interferencias de radio, en
cuyo case, puede requerirse al usuario para que adopte las medidas adecuadas.
Attention!
Ceci est un produit de classe A. Dans un environnement domestique, ce produit pourrait causer DGS
interférences radio, auquel cas l`utilisateur devrait prendre les mesures adéquates.
Attenzione!
Il presente prodotto appartiene alla classe A. Se utilizzato in ambiente domestico il prodotto può causare
interferenze radio, nel cui caso è possibile che l`utente debba assumere provvedimenti adeguati.
VCCI Warning
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
USING THE CONSOLE CLI ..................................................................................................................................... 3
show account ...................................................................................................................................................... 13
show session ....................................................................................................................................................... 14
show switch ......................................................................................................................................................... 14
show serial_port .................................................................................................................................................. 15
enable web .......................................................................................................................................................... 17
disable web ......................................................................................................................................................... 18
show autoconfig .................................................................................................................................................. 19
save ..................................................................................................................................................................... 20
show tech support ............................................................................................................................................... 25
SMTP SERVER COMMANDS ............................................................................................................................... 26
show smtp ........................................................................................................................................................... 27
show greeting_message ..................................................................................................................................... 32
SWITCH PORT COMMANDS ................................................................................................................................ 33
show ports ........................................................................................................................................................... 34
show loopdetect .................................................................................................................................................. 37
DOS PREVENTION COMMANDS ......................................................................................................................... 39
show dos_prevention .......................................................................................................................................... 40
PPPOE CIRCUIT ID INSERTION COMMANDS .................................................................................................... 42
config pppoe circuit_id_insertion state ................................................................................................................ 42
show pppoe circuit_id_insertion .......................................................................................................................... 43
show pppoe circuit_id_insertion ports ................................................................................................................. 44
DHCP SERVER SCREENING COMMANDS ......................................................................................................... 45
show filter dhcp_server ....................................................................................................................................... 46
show address_binding ........................................................................................................................................ 51
show address_binding auto_scan list ................................................................................................................. 52
show address_binding dhcp_snoop .................................................................................................................... 54
create snmp user ................................................................................................................................................ 59
delete snmp user ................................................................................................................................................. 59
show snmp user .................................................................................................................................................. 60
show snmp view .................................................................................................................................................. 61
create snmp community ...................................................................................................................................... 62
delete snmp community ...................................................................................................................................... 63
show snmp community ........................................................................................................................................ 63
show snmp engineID ........................................................................................................................................... 64
create snmp group .............................................................................................................................................. 65
delete snmp group .............................................................................................................................................. 66
show snmp global state ....................................................................................................................................... 66
show snmp groups .............................................................................................................................................. 67
show snmp host .................................................................................................................................................. 69
show snmp v6host .............................................................................................................................................. 71
show trusted_host ............................................................................................................................................... 73
show snmp traps ................................................................................................................................................. 76
show firmware information .................................................................................................................................. 89
show config ......................................................................................................................................................... 89
show dhcp_relay ................................................................................................................................................. 95
show dhcp_local_relay ........................................................................................................................................ 97
show dhcpv6_relay ............................................................................................................................................. 98
show gratuitous_arp .......................................................................................................................................... 105
show packet ports ............................................................................................................................................. 107
show error ports ................................................................................................................................................ 108
show utilization .................................................................................................................................................. 109
show log ............................................................................................................................................................ 110
show syslog ....................................................................................................................................................... 112
show syslog host ............................................................................................................................................... 117
cable diagnostic port ......................................................................................................................................... 117
config poe system ............................................................................................................................................. 120
show poe ports .................................................................................................................................................. 120
show poe system .............................................................................................................................................. 121
SPANNING TREE COMMANDS.......................................................................................................................... 123
config stp version .............................................................................................................................................. 126
show stp ............................................................................................................................................................ 128
show stp ports ................................................................................................................................................... 129
show stp instance .............................................................................................................................................. 130
show stp mst_config_id ..................................................................................................................................... 131
show flood_fdb .................................................................................................................................................. 138
show multicast_fdb ............................................................................................................................................ 139
show fdb ............................................................................................................................................................ 140
show auto_fdb ................................................................................................................................................... 143
BROADCAST STORM CONTROL COMMANDS ............................................................................................... 144
config traffic control ........................................................................................................................................... 144
show traffic control ............................................................................................................................................ 145
show scheduling ................................................................................................................................................ 149
show bandwidth_control .................................................................................................................................... 151
config cos mac_mapping .................................................................................................................................. 151
show cos mac_mapping .................................................................................................................................... 152
delete cos mac_mapping .................................................................................................................................. 152
config cos ip_mapping ...................................................................................................................................... 152
show cos ip_mapping ........................................................................................................................................ 153
delete cos ip_mapping ...................................................................................................................................... 153
config cos ipv6_mapping ................................................................................................................................... 154
show cos ipv6_mapping .................................................................................................................................... 154
delete cos ipv6_mapping .................................................................................................................................. 155
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
config cos ipv6_tc_mapping .............................................................................................................................. 155
delete cos ipv6_tc_mapping.............................................................................................................................. 156
config cos mapping ........................................................................................................................................... 156
show cos mapping ............................................................................................................................................ 156
config cos protocol_mapping ............................................................................................................................ 157
show cos protocol_mapping.............................................................................................................................. 157
delete cos protocol_mapping ............................................................................................................................ 158
config cos vlanid_mapping ................................................................................................................................ 158
show cos vlanid_mapping ................................................................................................................................. 159
delete cos vlanid_mapping................................................................................................................................ 159
config cos tos value ........................................................................................................................................... 160
show cos tos ..................................................................................................................................................... 160
config cos tcp_port_mapping ............................................................................................................................ 161
show cos tcp_port_mapping ............................................................................................................................. 161
delete cos tcp_port_mapping ............................................................................................................................ 162
config cos udp_port_mapping ........................................................................................................................... 162
show cos udp _port_mapping ........................................................................................................................... 163
delete cos udp_port_mapping ........................................................................................................................... 163
show 802.1p user_priority ................................................................................................................................. 164
show 802.1p default_priority ............................................................................................................................. 165
show scheduling_mechanism ........................................................................................................................... 167
show dscp_mapping ......................................................................................................................................... 168
show rmon alarm ............................................................................................................................................... 171
show rmon ......................................................................................................................................................... 175
show rmon statistics .......................................................................................................................................... 175
PORT MIRRORING COMMANDS ....................................................................................................................... 177
show mirror........................................................................................................................................................ 179
show vlan .......................................................................................................................................................... 184
show dot1v_protocol_group .............................................................................................................................. 187
show gvrp .......................................................................................................................................................... 187
show gvrp timer ................................................................................................................................................. 188
show vlan_trunk ................................................................................................................................................ 189
show asymmetric_vlan ...................................................................................................................................... 191
show pvid auto_assign ...................................................................................................................................... 192
show qinq .......................................................................................................................................................... 194
show vlan_translation ........................................................................................................................................ 196
config link_aggregation state ............................................................................................................................ 200
show link_aggregation ...................................................................................................................................... 201
BASIC IP COMMANDS ........................................................................................................................................ 202
config ipif System .............................................................................................................................................. 202
show ipif ............................................................................................................................................................ 203
show bpdu_protection ....................................................................................................................................... 207
show ethernet_oam ports .................................................................................................................................. 211
show ethernet_oam ports .................................................................................................................................. 212
show ethernet_oam ports .................................................................................................................................. 213
show ethernet_oam ports .................................................................................................................................. 214
show mac_notification ....................................................................................................................................... 218
show mac_notification ports .............................................................................................................................. 218
show igmp_snooping ........................................................................................................................................ 229
show igmp_snooping group .............................................................................................................................. 230
show igmp_snooping forwarding ...................................................................................................................... 230
show igmp_snooping host................................................................................................................................. 231
show router_ports ............................................................................................................................................. 231
show mld_snooping multicast_vlan .................................................................................................................. 237
show mld_snooping .......................................................................................................................................... 242
show mld_snooping forwarding ........................................................................................................................ 243
show mld_snooping group ................................................................................................................................ 244
show mld_snooping mrouter_ports ................................................................................................................... 244
show mld_snooping host ................................................................................................................................... 245
LIMITED IP MULTICAST ADDRESS COMMANDS ............................................................................................ 246
show mcast_filter_profile ................................................................................................................................... 249
show limited_multicast_addr ............................................................................................................................. 250
show max_mcast_group ................................................................................................................................... 251
show 802.1x ...................................................................................................................................................... 255
show 802.1x auth_state .................................................................................................................................... 255
show 802.1x auth_configuration ....................................................................................................................... 256
show radius ....................................................................................................................................................... 262
config 802.1x fwd_pdu system .......................................................................................................................... 262
show 802.1x fwd_pdu system status ................................................................................................................ 263
show 802.1x guest_vlan .................................................................................................................................... 265
create 802.1x user ............................................................................................................................................ 266
show 802.1x user .............................................................................................................................................. 266
delete 802.1x user ............................................................................................................................................. 267
show port_security ............................................................................................................................................ 270
TIME AND SNTP COMMANDS ........................................................................................................................... 271
show sntp .......................................................................................................................................................... 272
config time ......................................................................................................................................................... 273
show time .......................................................................................................................................................... 275
show ArpSpoofing ............................................................................................................................................. 278
config arp_aging time ........................................................................................................................................ 279
show arpentry .................................................................................................................................................... 280
show arpentry aging_time ................................................................................................................................. 280
show iproute ...................................................................................................................................................... 283
D-LINK UNIDIRECTIONAL LINK DETECTION (DULD) COMMANDS .............................................................. 284
show duld ports ................................................................................................................................................. 285
show ipv6 neighbor_cache................................................................................................................................ 287
show ipv6route .................................................................................................................................................. 289
enable ipif_ipv6_link_local_auto System .......................................................................................................... 290
disable ipif_ipv6_link_local_auto System .......................................................................................................... 290
show log_save_timing ....................................................................................................................................... 293
show log ............................................................................................................................................................ 293
COMMAND HISTORY LIST COMMANDS .......................................................................................................... 294
show command_history .................................................................................................................................... 295
dir ...................................................................................................................................................................... 296
show ssh authmode .......................................................................................................................................... 299
config ssh server ............................................................................................................................................... 300
show ssh server ................................................................................................................................................ 300
show ssh algorithm ........................................................................................................................................... 301
config ssh user .................................................................................................................................................. 301
show ssh user authmode .................................................................................................................................. 302
show ssl............................................................................................................................................................. 304
show authen_login ............................................................................................................................................ 309
show authen_policy ........................................................................................................................................... 310
show authen_enable ......................................................................................................................................... 313
show authen application .................................................................................................................................... 315
show authen parameter .................................................................................................................................... 316
show authen server_host .................................................................................................................................. 319
show authen server_host .................................................................................................................................. 322
show lacp .......................................................................................................................................................... 324
show lldp ........................................................................................................................................................... 330
show lldp ports .................................................................................................................................................. 331
show lldp local_ports ......................................................................................................................................... 332
show lldp remote_ports ..................................................................................................................................... 333
show lldp mgt_addr ........................................................................................................................................... 337
show lldp statistics ............................................................................................................................................ 337
ACCESS CONTROL LIST COMMANDS ............................................................................................................ 339
show access_profile .......................................................................................................................................... 346
show cpu_access_profile .................................................................................................................................. 351
show traffic_segmentation ................................................................................................................................ 352
show safeguard_engine .................................................................................................................................... 354
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
1
INTRODUCTION
The DGS-1210-20/ME, DGS-1210-28/ME, DGS-1210-28P/ME and DGS-1210-52/ME are L2 Managed Metro
Ethernet switches. They consist of 16/24/48 10/100/1000Mbps ports plus 4 dedicated SFP ports.
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 Manual. For
detailed information on installing hardware please refer also to the Manual.
Accessing the Switch via the Serial Port.
The Switch’s serial port’s default settings are as follows:
•Firmware version 6.10: Baud rate 115200bps
Firmware version 6.11: Baud rate 9600bps
• No parity
• 8 data bits
• 1 stop bit
A computer running a terminal emulation program capable of emulating a VT-100 terminal and a serial
port configured as above then connected to the Switch’s serial port via an RJ-45 cable.
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 CLI screen
There is no initial username or password. Just press the Enter key twice to display the CLI input cursor
− DGS-1210-28P/ME:5#. 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.
The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed,
but can be found on the initial boot console screen – shown below.
1
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Figure 1–2 Boot Screen
The Switch’s MAC address can also be found in the Web management program on the Switch Information
(Basic Settings) window in the Configuration folder.
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:
Starting at the command line prompt, enter the command config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x’s represent the IP address to be assigned to the IP interface
named System and the y’s represent the corresponding subnet mask.
Alternatively, users 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 Web-based management
agent.
Figure 1–3 Assigning an IP Address
In the above example, the Switch was assigned an IP address of 10.90.90.91 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 via Telnet, SNMP MIB browser and the CLI or via the Webbased management agent using the above IP address to connect to the Switch.
2
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
2
USING THE CONSOLE CLI
The Switch 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 a 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.
NOTE: Switch configuration settings are saved to non-volatile RAM using the 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 is 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 terminal emulator program (for example, the HyperTerminal program included with
the Windows operating system) using an RJ-45 serial cable. Your terminal parameters will need to be set
to:
• VT-100 compatible
• Firmware version 6.10: Baud rate 115200bps
Firmware version 6.11: Baud rate 9600bps
• 8 data bits
• No parity
• One stop bit
• No flow control
The same functions may also be accessed over a Telnet interface. Once an IP address for the Switch has
been set, A Telnet program can be used (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 to logged in, the console looks like this:
Figure 2–1 Initial Console Screen after Logging In
Commands are entered at the command prompt, DGS-1210-28P/ME:5#
There are a number of helpful features included in the CLI. Entering the ? command displays a list of all
of the top-level commands.
3
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Figure 2–2 The ? Command
When entering a command without its required parameters, the CLI displays the prompt: command:
config account message and the options listed below.
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 to enter the <username> with the message, command: config account. Every command in the
CLI has this feature, and complex commands have several layers of parameter prompting.
In addition, after typing any given command plus one space, users can see all of the next possible subcommands, in sequential order, by pressing the ? key.
To re-enter the previous command at the command prompt, press the up arrow cursor key. The previous
command appears at the command prompt.
4
DGS-1210/ME series Metro Ethernet Switch CLI Reference 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 command: config account prompt. The up arrow cursor control key
was pressed to re-enter the previous command (config account) at the command prompt. Now the
appropriate username 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. The < > can
also indicate a word with a number for character allowed.
If a command is entered that is unrecognized by the CLI, the top-level commands are displayed under
the Available commands: prompt.
Figure 2–5 Available Commands
The top-level commands consist of commands such as 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, entering the show command with no additional parameters, the CLI will then display all of
the possible next parameters.
5
DGS-1210/ME series Metro Ethernet Switch CLI Reference 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 in the example, 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.
6
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
3
| vertical bar
COMMAND SYNTAX
The following symbols are used to DGScribe 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.
NOTE: All commands are case-sensitive. Be sure to disable Caps Lock or any other unwanted
function that changes text case.
<angle brackets>
Purpose Encloses a variable or value that must be specified.
Syntax
Description In the above syntax example, supply a username in the <username
In the above syntax example, specify admin, oper, or user. Do not
type the vertical bar.
create account user newuser1
7
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Line Editing Key Usage
{braces}
Purpose Encloses an optional value or set of optional arguments.
Syntax reset
Description execute “reset” will return the switch to its factory default setting.
Example
command
Delete Deletes the character under the cursor and then shifts the
Backspace Deletes the character to the left of the cursor and then shifts the
Insert or Ctrl+R Toggle on and off. When toggled on, inserts text and shifts previous
Left Arrow Moves the cursor to the left.
Right Arrow Moves the cursor to the right.
Up Arrow Repeats the previously entered command. Each time the up arrow
Down Arrow The down arrow displays the next command in the command
reset
Please be aware that all configurations will be reset to default value.
Are you sure you want to proceed with system reset now? (Y/N)[N] N
remaining characters in the line to the left.
remaining characters in the line to the left.
text to the right.
is pressed, the command previous to that displayed appears. This
way it is possible to review the command history for the current
session. Use the down arrow to progress sequentially forward
through the command history list.
history entered in the current session. This displays each command
sequentially as it was entered. Use the up arrow to review previous
commands.
Tab Shifts the cursor to the next field to the left.
Multiple Page Display Control Keys
Space Displays the next page.
CTRL+c Stops the display of remaining pages when multiple pages are to be
displayed.
ESC Stops the display of remaining pages when multiple pages are to be
displayed.
n Displays the next page.
p Displays the previous page.
q Stops the display of remaining pages when multiple pages are to be
displayed.
r Refreshes the pages currently displayed.
8
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
a Displays the remaining pages without pausing between pages.
Enter Displays the next line or table entry.
9
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
4
Command
Parameter
BASIC SWITCH COMMANDS
The Basic Switch commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
<ipv6_addr> | timeout <sec 1-99> | times <value 1-255>}
10
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
sword has
disable password encryption
e in encrypted form. It
enable password encryption
Purpose Used to enable password encryption on a user account.
Syntax
Description The user account configuration information will be stored in the
Parameters None.
Restrictions Only Administrator level users can issue this command.
Example usage:
To enable password encryption on the Switch:
enable password encryption
configuration file, and can be applied to the system at a time in the
future. If the password encryption is enabled, the password will be in
encrypted form. If password encryption is disabled and the user
specifies the password in encrypted form, or if the pas
been converted to encrypted form by the last enabled password
encryption command, the password will still be in encrypted form. It
can not revert back to plain text.
Purpose Used to disable password encryption on a user account.
Syntax
Description The user account configuration information will be stored in the
Parameters None.
Restrictions Only Administrat level users can issue this command.
Example usage:
To disable password encryption on the Switch:
disable password encryption
configuration file, and can be applied to the system at a time in the
future. If the password encryption is enabled, the password will be in
encrypted form. If password encryption is disabled and the user
specifies the password in encrypted form, or if the password has
been converted to encrypted form by the last enabled password
encryption command, the password will still b
can not revert back to plain text.
or user account that consists of a username and an optional
password. Up to 31 accounts can be created. You can enter
username and Enter. In this case, the system prompts for the
account’s password, which may be between 0 and 15 characters.
Alternatively, you can enter the username and password on the
admin − Name of the administrator account.
opeator − Specify an operator level account.
power-user − Specify an power-user level account.
user − Specify a user account with read-only permissions.
<username 15> − The account username may be between 1 and 15
Enter a case-sensitive new password:*****
Enter the new password again for confirmation:*****
Success.
DGS-1210-28P/ME:5#
Purpose To change the password for an existing user account.
12
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
show account
Syntax
Description
Parameters
Restrictions Only Administrator-level users can issue this command.
Example usage:
To configure the user password of ‘dlink’ account:
config account <username 15>
The config account command changes the password for a user
account that has been created using the create account command.
The system prompts for the account’s new password, which may be
between 0 and 15 characters.
<username 15>− the account username.
DGS-1210-28P/ME:5# config account dlink
Enter a old password:****
Enter a case-sensitive new password:******
Enter the new password again for confirmation:******
Success.
DGS-1210-28P/ME:5#
Purpose To display information about all user accounts on the Switch.
Syntax
Description
Parameters None.
Restrictions Only Administrator-level users can issue this command.
Example usage:
To display the account which have been created:
show account
The show account command displays all account usernames and
their access levels created on the Switch. Up to 31 user accounts
can exist on the Switch at one time.
DGS-1210-28P/ME:5# show account
Command: show account
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
Only Administrator-level users can issue this command.
DGS-1210-28P/ME:5#
The information
Syntax
Description
Parameters
Restrictions
Example usage:
To delete the user account ‘System’:
show session
Purpose To display information about currently logged-in users.
Syntax
Description
delete account <username 15>
The delete account command deletes a user account that has been
created using the create account command.
<username 15>− the account username.
DGS-1210-28P/ME:5# delete account System
Command: delete account System
Success.
show session
The show session command displays a list of all the users that are
logged-in at the time the command is issued.
incluDGS the session ID (0 for the first logged-in user, 1 for the next
logged-in user, etc.), the Protocol used to connect to the Switch, the
user’s IP address, the user’s access Level (1=user, 15=admin), and
the account name on the Switch.
Parameters None.
Restrictions None.
Example usage:
To display the way users logged in:
show switch
Purpose To display information about the Switch.
Syntax
Description
ID Live Time From Level Name
--- --------------- --------------------------------------- ------ --------------0 00:01:32 Serial Port 5 anonymous
Total Entries: 1
CTRL+C ESC q Quit SPACE n Next Page p Previous Page r Refresh
show switch
The show switch command displays information about the Switch
settings, including Device Type, MAC Address, IP configuration,
Hardware/Software version, System information, and Switch
Network configuration.
14
Parameters None.
Used to display the current serial port settings.
Restrictions None.
Example usage:
To display the Switch information:
DGS-1210/ME series Metro Ethernet Switch CLI Reference Guide
DGS-1210-28P/ME:5# show switch
Command: show switch
Device Type : DGS-1210-28P/ME
MAC Address : 9C-D6-43-60-4F-A4
IP Address : 10.90.90.90 (Manual)
VLAN Name : default
Subnet Mask : 255.0.0.0
Default Gateway : 0.0.0.0
Default Gateway : 0.0.0.0
System Protocol Version : 2.001.004
System Firmware Version : 6.10.B019
System Hardware Version : A1
System Serial Number : S3221DB000014
System Name : 2
System Location :
System up time : 0 days, 0 hrs, 4 min, 43 secs
System Contact :
System Time : 01/01/2014 00:04:11
STP : Disabled
GVRP : Disabled
IGMP Snooping : Disabled
VLAN Trunk : Disabled
802.1X Status : Disabled
Telnet : Enabled (TCP 23)
Web : Enabled (TCP 80)
RMON : Disabled
SSH : Disabled
Syslog Global State : Disabled
SSL : Disabled
CLI Paging : Enabled
Password Encryption State : Disabled
DGS-1210-28P/ME:5#
show serial_port
Purpose
Syntax
Description
Parameters None.
show serial_port
The show serial_port command displays the current serial port
settings.
The config serial_port command is
port’s baud rate and auto logout settings.
will be used to communicate with the management host. There are
four options: 9600, 19200, 38400 and
setting is 115200.
never − No time limit on the length of time the console can be open
with no user input.
2_minutes − The console will log out the current user if there is no
user input for 2 minutes.
5_minutes − The console will log out the current user if there is no
user input for 5 minutes.
10_minutes − The console will log out the current user if there is no
user input for 10 minutes.
15_minutes − The console will log out the current user if there is no
user input for 15 minutes.
16
Loading...
+ 343 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.