Professional Documents
Culture Documents
2
Chapter 7
D-Link Switching Features
3
Chapter 7
D-Link Switching Features
5
Chapter 7
D-Link Switching Features
Benefits of DHCP
Minimization of errors: The DHCP protocol reduces configuration
errors caused by manual IP address configuration, such as IP
conflicts.
Ease of maintenance: Network administrators can easily control IP
address configuration. For example, they can carry out subnet-
specific TCP/IP configuration using DHCP options.
Automatic supply: The DHCP protocol is an efficient and automatic
way to obtain new IP configuration if users change location
frequently.
IP reuse: In the case where dynamic allocation is applied, when a
client releases an IP address or the lease time expires, the DHCP
server can assign this IP address to other DHCP clients.
6
Chapter 7
D-Link Switching Features
Page is animated 8
Chapter 7
D-Link Switching Features
9
Chapter 7
D-Link Switching Features
Exclude IP Addresses:
The DHCP server assumes that all IP addresses in a DHCP address
pool subnet are available for assigning to DHCP clients. However,
the user can configure a list of “excluded addresses” to reserve the
IP addresses they do not want to assign to a client, e.g. the IP
address of the DNS server, default route, NetBIOS WINS server.
11
Chapter 7
D-Link Switching Features
DHCP Server
IP: 10.90.90.7
Client-1 Client-2
MAC: 00-19-5B-F5-1E-C0
12
Chapter 7
D-Link Switching Features
13
Chapter 7
D-Link Switching Features
DHCP Server Global State : Enabled Pool Name IP Address Identifier (Hardware Address) Type
Ping Packet Number : 2 --------- ---------- ----------------------------- ----
Ping Timeout : 500 ms dhcp-test 10.90.90.7 00-19-5B-F5-1E-C0 Ethernet
Total Entries: 1
14
Chapter 7
D-Link Switching Features
IP address of Client-2
15
Chapter 7
D-Link Switching Features
DHCP Relay Agent The DHCP relay agent receives the ACK packet from
5 the DHCP server and unicasts it to the DHCP Client,
replacing the source IP with its own IP.
L3 Router
DHCP Server
Page is animated 16
Chapter 7
D-Link Switching Features
18
Chapter 7
D-Link Switching Features
Total Entries : 3
19
Chapter 7
D-Link Switching Features
20
Chapter 7
D-Link Switching Features
DGS-3627:admin#
enable dhcp_server
To enable the DHCP function on the switch.
DGS-3627:admin#
disable dhcp_server
To disable the DHCP function on the switch.
21
Chapter 7
D-Link Switching Features
DGS-3627:admin#
create dhcp pool <pool_name 12>
22
Chapter 7
D-Link Switching Features
DGS-3627:admin#
config dhcp pool network_addr <pool_name 12>
<network_address>
23
Chapter 7
D-Link Switching Features
24
Chapter 7
D-Link Switching Features
DGS-3627:admin#
config dhcp pool default_router <pool_name 12> <ipaddr>
{<ipaddr>} {<ipaddr>}
25
Chapter 7
D-Link Switching Features
DGS-3627:admin#
config dhcp pool dns_server_address <pool_name 12>
<ipaddr> {<ipaddr>} {<ipaddr>}
26
Chapter 7
D-Link Switching Features
DGS-3627:admin#
show dhcp_server
27
Chapter 7
D-Link Switching Features
DGS-3627:admin#
show dhcp_binding {<pool_name 12>}
28
Chapter 7
D-Link Switching Features
29
Chapter 7
D-Link Switching Features
Network Traffic
Page is animated 30
Chapter 7
D-Link Switching Features
31
Chapter 7
D-Link Switching Features
32
Chapter 7
D-Link Switching Features
Page is animated 33
Chapter 7
D-Link Switching Features
PC-2
IP Address: 10.0.0.20/8
MAC: 00-50-ba-22-22-22
GW: 10.0.0.1
PC-1
IP Address: 10.0.0.10/8
MAC: 00-50-ba-11-11-11
GW: 10.0.0.1 34
Chapter 7
D-Link Switching Features
Example: IP ACL
Allow users to access the Internet by IP address of 192.168.0.1/24 to
192.168.0.62/24 while others cannot.
Write down the rules:
Rule 1: If SourceIP is equal to 192.168.0.1/24 to
192.168.0.62/24 Permit
Internet
DGS-3627 Rule 2: If SourceIP is in network 192.168.0.0/24 and not located
in the range (192.168.0.1/24 to 192.168.0.62/24), the Internet
service will be blocked Deny
Rule 3: If other network SourceIP Permit
24
IP: 192.168.0.254/24
25
11
10 PC-3
DES-3528 1 IP Address: 192.168.0.100/24
GW: 192.168.0.254
PC-2
PC-1
IP Address: 192.168.0.1/24 to 192.168.0.62/24
GW: 192.168.0.254 35
Chapter 7
D-Link Switching Features
36
Chapter 7
D-Link Switching Features
37
Chapter 7
D-Link Switching Features
38
Chapter 7
D-Link Switching Features
DGS-3627:admin#
show access_profile
39
Chapter 7
D-Link Switching Features
40
Chapter 7
D-Link Switching Features
Introduction to LLDP
The Link Layer Discovery Protocol (LLDP) allows stations attached to
a LAN to advertise itself to other stations attached to the same LAN
segment.
The information distributed via LLDP is stored by its recipients in a
management information base (MIB).
41
Chapter 7
D-Link Switching Features
42
Chapter 7
D-Link Switching Features
43
Chapter 7
D-Link Switching Features
DGS-3627:admin#
enable lldp
To enable LLDP on the switch.
DGS-3627:admin#
disable lldp
To disable LLDP on the switch.
44
Chapter 7
D-Link Switching Features
DGS-3627:admin#
config lldp message_tx_interval <sec 5 – 32768>
45
Chapter 7
D-Link Switching Features
46
Chapter 7
D-Link Switching Features
47
Chapter 7
D-Link Switching Features
DGS-3627:admin#
config lldp ports [<portlist>|all] mgt_addr [ipv4
<ipaddr> | ipv6 <ipv6addr>] [enable | disable]
48
Chapter 7
D-Link Switching Features
49
Chapter 7
D-Link Switching Features
50
Chapter 7
D-Link Switching Features
DGS-3627:admin#
show lldp
51
Chapter 7
D-Link Switching Features
System Maintenance
52
Chapter 7
D-Link Switching Features
53
Chapter 7
D-Link Switching Features
DGS-3627:admin#
download firmware_fromTFTP {[<ipaddr> | <ipv6addr> |
<domain_name 255>] src_file <path_filename 64>
{dest_file {{unit [<unitid 1-12> | all]} <drive_id>}
<pathname 64> {boot_up}}}
54
Chapter 7
D-Link Switching Features
55
Chapter 7
D-Link Switching Features
DGS-3627:admin#
upload cfg_toTFTP {[<ipaddr> | <ipv6addr> | <domain_name
255>] dest_file <path_filename 64> {src_file
{<drive_id>} <pathname 64>} {[include | exclude | begin]
<filter_string 80> {<filter_string 80> {<filter_string
80>}} {[include | exclude | begin ] <filter_string 80>
{<filter_string 80> {<filter_string 80>}} {[include |
exclude | begin ] <filter_string 80> {<filter_string 80>
{<filter_string 80>}}}}}}
56
Chapter 7
D-Link Switching Features
57
Chapter 7
D-Link Switching Features
Summary
This chapter illustrates the use of the DHCP server to assign IP
addresses to DHCP clients.
By applying ACL, traffic can be filtered by manipulating with the
parameters in the ACL commands.
LLDP allows the discovery of the physical network topology by
enabling the LLDP transmit and receive information.
Using the TFTP services to maintain the switch’s firmware and
configuration files will help to reduce the hardware’s downtime.
58
Chapter 7
D-Link Switching Features
Lab Topology
59