D-Link DGS-3048 Product Manual - Page 26

Assigning the Switch an IP Address, Show Switch Command - default ip

Page 26 highlights

DGS-3048 Gigabit Ethernet Switch Manual DGS3048# show switch Device Type : Ethernet Switch MAC Address : 00:23:46:05:54:00 IP Address : 10.6.22.111 VLAN Name : 1 Subnet Mask : 255.255.255.224 Default Gateway : 10.6.22.97 Boot PROM Version : 1.0.0.02 Firmware Version : 1.0.0.10 Hardware Version : 00.01.00 System Name : ABC System Location : Lab System Contact : Itzik Spanning Tree : Disabled GVRP : Disabled IGMP Snooping : Disabled TELNET : Enabled WEB : Enabled (TCP 80) DGS3048# Figure 5-3. 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 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 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 they 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 that can then be used to connect a management station to the Switch's Telnet or Web-based management agent. # config ipif system ipaddress 10.53.13.222/8 DGS3048 Success DGS3048# Figure 5-4. Assigning the Switch an IP Address In the above example, the Switch was assigned an IP address of 10.24.22.8 with a subnet mask of 255.0.0.0. The system message Success indicates that the command was executed successfully. Please remember to save your new settings before you logout or they will be lost. The Switch can now be configured and managed via Telnet and the CLI or via the Web-based management. 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147

DGS-3048 Gigabit Ethernet Switch Manual
14
DGS3048# show switch
Device Type
: Ethernet Switch
MAC Address
: 00:23:46:05:54:00
IP Address
: 10.6.22.111
VLAN Name
: 1
Subnet Mask
: 255.255.255.224
Default Gateway
: 10.6.22.97
Boot PROM Version
: 1.0.0.02
Firmware Version
: 1.0.0.10
Hardware Version
: 00.01.00
System Name
: ABC
System Location
: Lab
System Contact
: Itzik
Spanning Tree
: Disabled
GVRP
: Disabled
IGMP Snooping
: Disabled
TELNET
: Enabled
WEB
: Enabled (TCP 80)
DGS3048#
Figure 5-3. 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
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
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 they 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 that can then be used to
connect a management station to the Switch's Telnet or Web-based management agent.
# config ipif system ipaddress 10.53.13.222/8
DGS3048
Success
DGS3048#
Figure 5-4. Assigning the Switch an IP Address
In the above example, the Switch was assigned an IP address of 10.24.22.8 with a subnet mask of 255.0.0.0. The system
message Success indicates that the command was executed successfully. Please remember to save your new settings before
you logout or they will be lost.
The Switch can now be configured and managed via Telnet and the CLI or via the Web-based management.