xStack
®
DGS-3600 Series Layer 3 Managed Gigabit Ethernet Sw itch
27
DGS-3627:admin#show switch
Command: show switch
Device Type : DGS-3627 Gigabit Ethernet Switch
Unit ID : 1
MAC Address : 00-19-5B-16-60-80
IP Address : 192.168.69.123 (Manual)
VLAN Name : default
Subnet Mask : 255.255.255.0
Default Gateway : 0.0.0.0
Boot PROM Version : Build 1.10-B10
Firmware Version : Build 3.00.B11
Hardware Version : 2A1G
System Name :
System Location :
System Uptime : 0 days, 0 hours, 8 minutes, 15 seconds
System Contact :
Spanning Tree : Disabled
GVRP : Disabled
IGMP Snooping : Disabled
MLD Snooping : Disabled
RIP : Disabled
DVMRP : Disabled
PIM : Disabled
PIM6 : Disabled
CTRL+C
ESC
q
Quit
SPACE
n
Next Page
ENTER
Next Entry
a
All
Figure 4- 4. Show switch command
The Switch's MAC address can also be found from the Web management program on the
Switch Information (Basic Settings)
window on the
Configuration
folder. The IP address for the Switch must be set before it can be managed with the Web-based or
SNMP manager, Telnet or SSH. 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 commands
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, 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, and then be used to connect a
management station to the Switch's Telnet or Web-based management agent.
DGS-3650:admin#config ipif System ipaddress 10.24.22.5/255.0.0.0
Command: config ipif System ipaddress 10.24.22.5/8
Success.
DGS-3650:admin#
Figure 4- 5. 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 user may also
use the CIDR form to set the address (10.24.22.5/8). The system message
Success
indicates that the command was executed
successfully. The Switch can now be configured and managed via Telnet and the CLI or via the Web-based management.