SlideShare a Scribd company logo
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
HUAWEI SWITCH S5700 HOW TO
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
With this simple procedure we will show how to configure a global address pool to allocate IP addresses for clients when the clients and DHCP server (our S5700) are in the same network segment. 
In our example we will assume a network scenario with one DHCP server, one DNS server and two offices: SwitchA is the DHCP server, SwitchB and SwitchC are access switches. 
We will describes how to configure a global address pool. Address pool 100.1.1.0/24 consists of two network segments: 100.1.1.0/25 and 100.1.1.128/25. The IP addresses of the VLANIF interfaces on the DHCP server are 100.1.1.1/25 and 100.1.1.129/25. 
There are a few computers in network segment 100.1.1.0/25 and the computer locations are fixed. The lease of an IP addresses in 100.1.1.0/25 is 100 days, the DNS address is 100.1.1.2 and the IP address of the egress gateway is 100.1.1.126. 
There are a few computers in network segment 100.1.1.128/25 and the computers are often moved from one place to another. The lease of an IP addresses in 100.1.1.128/25 is 2 days, the DNS address is 100.1.1.2 and the IP address of the egress gateway is 100.1.1.254. 
The network environment is shown in the picture. 
PC1 
DHCP client 
PC2 
DHCP client 
PC3 
DHCP client 
PC4 
DHCP client 
PC5 
DHCP client 
PC6 
DHCP client 
PC7 
DHCP client 
DNS 
server 
Network: 100.1.1.0/25 
Network: 100.1.1.128/25 
SwitchB 
SwitchC 
SwitchA 
DHCP server 
GE 0/0/1 
GE 0/0/2 
VLANIF10 
100.1.1.1/25 
VLANIF20 
100.1.1.129/25 
General infos and application environment
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
<SwitchA> system-view 
[SwitchA] dhcp enable 
1. Enable DHCP 
Enter the configuration view 
Enable DHCP 
2. Create the address pools 
[SwitchA] ip pool 1 
[SwitchA-ip-pool-1] network 100.1.1.0 mask 255.255.255.128 
[SwitchA-ip-pool-1] dns-list 100.1.1.2 
[SwitchA-ip-pool-1] gateway-list 100.1.1.126 
[SwitchA-ip-pool-1] excluded-ip-address 100.1.1.2 
[SwitchA-ip-pool-1] lease day 10 
[SwitchA-ip-pool-1] quit 
[SwitchA] ip pool 2 
[SwitchA-ip-pool-2] network 100.1.1.128 mask 255.255.255.128 
[SwitchA-ip-pool-2] dns-list 100.1.1.2 
[SwitchA-ip-pool-2] gateway-list 100.1.1.254 
[SwitchA-ip-pool-2] lease day 2 
[SwitchA-ip-pool-2] quit 
Enabling DHCP and configuring the address pool
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
3. Create vlans and assign physical interfaces 
[SwitchA] vlan batch 10 20 
[SwitchA] interface gigabitethernet 0/0/1 
[SwitchA-GigabitEthernet0/0/1] port hybrid pvid vlan 10 
[SwitchA-GigabitEthernet0/0/1] port hybrid untagged vlan 10 
[SwitchA-GigabitEthernet0/0/1] quit 
[SwitchA] interface gigabitethernet 0/0/2 
[SwitchA-GigabitEthernet0/0/2] port hybrid pvid vlan 20 
[SwitchA-GigabitEthernet0/0/2] port hybrid untagged vlan 20 
[SwitchA-GigabitEthernet0/0/2] quit 
Create vlans 
Enter the interface view 
Configure port type and assign vlan 
Exit the interface view 
Setting the address allocation mode on the vlanif interfaces(1)
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
4. Configure the clients on vlanif 10 and 20 
[SwitchA] interface vlanif 10 
[SwitchA-Vlanif10] ip address 100.1.1.1 255.255.255.128 
[SwitchA-Vlanif10] dhcp select global 
[SwitchA-Vlanif10] quit 
[SwitchA] interface vlanif 20 
[SwitchA-Vlanif20] ip address 100.1.1.129 255.255.255.128 
[SwitchA-Vlanif20] dhcp select global 
[SwitchA-Vlanif20] quit 
Enter vlanif view 
Assign ip address to vlanif 
Activate the global address pool distribution 
Exit vlanif view 
Setting the address allocation mode on the vlanif interfaces(2)
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
7. Check the configuration on SwitchA 
[SwitchA] display ip pool 
----------------------------------------------------------------------- 
Pool-name : 1 
Pool-No : 0 
Position : Local Status : Unlocked 
Gateway-0 : 100.1.1.126 
Mask : 255.255.255.128 
VPN instance : -- 
----------------------------------------------------------------------- 
Pool-name : 2 
Pool-No : 1 
Position : Local Status : Unlocked 
Gateway-0 : 100.1.1.254 
Mask : 255.255.255.128 
VPN instance : -- 
IP address Statistic 
Total :250 
Used :7 Idle :242 
Expired :0 Conflict :0 Disable :1 
[Huawei] 
Checking the configuration
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
More needs? 
See hints on www.ipmax.it 
Or email us your questions to info_ipmax@ipmax.it
HUAWEI SWITCH S5700 - HOW TO 
Configuring a basic DHCP server 
IPMAX is a Huawei Partner in Italy. 
IPMAX is the ideal partner for companies seeking quality in products and services. IPMAX guarantees method and professionalism to support its customers in selecting technologies with the best quality / price ratio, in the design, installation, commissioning and operation. 
IPMAX srl 
Via Ponchielli, 4 
20063 Cernusco sul Naviglio (MI) – Italy 
+39 02 9290 9171
Ad

More Related Content

What's hot (20)

Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
Michal Hrncirik
 
IMS Registration Flow
IMS Registration FlowIMS Registration Flow
IMS Registration Flow
Kent Loh
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
duraimurugan89
 
IMS Session Flow
IMS Session FlowIMS Session Flow
IMS Session Flow
Kent Loh
 
Comandos cisco x huawei
Comandos cisco x huaweiComandos cisco x huawei
Comandos cisco x huawei
andre gomes
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
DH Da Lat
 
Cisco router-commands
Cisco router-commandsCisco router-commands
Cisco router-commands
Robin Rohit
 
EMEA Airheads - Configuring different APIs in Aruba 8.x
EMEA Airheads - Configuring different APIs  in Aruba 8.x EMEA Airheads - Configuring different APIs  in Aruba 8.x
EMEA Airheads - Configuring different APIs in Aruba 8.x
Aruba, a Hewlett Packard Enterprise company
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And Answers
CCNAResources
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
SIP Trunking
SIP TrunkingSIP Trunking
SIP Trunking
orionnow
 
IMS ENUM and DNS Mechanism
IMS ENUM and DNS MechanismIMS ENUM and DNS Mechanism
IMS ENUM and DNS Mechanism
Kent Loh
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
Kanbuncha Panichcharoen
 
Diameter Capabilities Exchange
Diameter Capabilities ExchangeDiameter Capabilities Exchange
Diameter Capabilities Exchange
Arpit Prajapati
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
Zack Chou
 
Installation et configuration asterisk
Installation et configuration asteriskInstallation et configuration asterisk
Installation et configuration asterisk
Gilles Samba
 
Useful cli commands v1
Useful cli commands v1Useful cli commands v1
Useful cli commands v1
Aruba, a Hewlett Packard Enterprise company
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
Er. Anmol Bhagat
 
Déploiement d'un serveur Asterisk
Déploiement d'un serveur Asterisk Déploiement d'un serveur Asterisk
Déploiement d'un serveur Asterisk
ImnaTech
 
CCNAv5 - S4: Chapter 9 troubleshooting the network
CCNAv5 - S4: Chapter 9 troubleshooting the networkCCNAv5 - S4: Chapter 9 troubleshooting the network
CCNAv5 - S4: Chapter 9 troubleshooting the network
Vuz Dở Hơi
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
Michal Hrncirik
 
IMS Registration Flow
IMS Registration FlowIMS Registration Flow
IMS Registration Flow
Kent Loh
 
IMS Session Flow
IMS Session FlowIMS Session Flow
IMS Session Flow
Kent Loh
 
Comandos cisco x huawei
Comandos cisco x huaweiComandos cisco x huawei
Comandos cisco x huawei
andre gomes
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
DH Da Lat
 
Cisco router-commands
Cisco router-commandsCisco router-commands
Cisco router-commands
Robin Rohit
 
1000 Ccna Questions And Answers
1000 Ccna Questions And Answers1000 Ccna Questions And Answers
1000 Ccna Questions And Answers
CCNAResources
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
SIP Trunking
SIP TrunkingSIP Trunking
SIP Trunking
orionnow
 
IMS ENUM and DNS Mechanism
IMS ENUM and DNS MechanismIMS ENUM and DNS Mechanism
IMS ENUM and DNS Mechanism
Kent Loh
 
Diameter Capabilities Exchange
Diameter Capabilities ExchangeDiameter Capabilities Exchange
Diameter Capabilities Exchange
Arpit Prajapati
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
Zack Chou
 
Installation et configuration asterisk
Installation et configuration asteriskInstallation et configuration asterisk
Installation et configuration asterisk
Gilles Samba
 
Déploiement d'un serveur Asterisk
Déploiement d'un serveur Asterisk Déploiement d'un serveur Asterisk
Déploiement d'un serveur Asterisk
ImnaTech
 
CCNAv5 - S4: Chapter 9 troubleshooting the network
CCNAv5 - S4: Chapter 9 troubleshooting the networkCCNAv5 - S4: Chapter 9 troubleshooting the network
CCNAv5 - S4: Chapter 9 troubleshooting the network
Vuz Dở Hơi
 

Similar to Huawei Switch How To - Configuring a basic DHCP server (20)

dhcp.pdf
dhcp.pdfdhcp.pdf
dhcp.pdf
DiegoRafaelJulio
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
DHCP PROTOCOL
DHCP PROTOCOLDHCP PROTOCOL
DHCP PROTOCOL
atharvakale07
 
huawei-s5700-28c-hi-brochure-datasheet.pdf
huawei-s5700-28c-hi-brochure-datasheet.pdfhuawei-s5700-28c-hi-brochure-datasheet.pdf
huawei-s5700-28c-hi-brochure-datasheet.pdf
Hi-Network.com
 
Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012
abdualziz-aljohani
 
Configuration guide basic configuration(v100 r006c00-01)
Configuration guide   basic configuration(v100 r006c00-01)Configuration guide   basic configuration(v100 r006c00-01)
Configuration guide basic configuration(v100 r006c00-01)
Ivo Rodrigues
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
huawei-s5700-48tp-si-ac-brochure-datasheet.pdf
huawei-s5700-48tp-si-ac-brochure-datasheet.pdfhuawei-s5700-48tp-si-ac-brochure-datasheet.pdf
huawei-s5700-48tp-si-ac-brochure-datasheet.pdf
Hi-Network.com
 
huawei-s5700-52c-si-brochure-datasheet.pdf
huawei-s5700-52c-si-brochure-datasheet.pdfhuawei-s5700-52c-si-brochure-datasheet.pdf
huawei-s5700-52c-si-brochure-datasheet.pdf
Hi-Network.com
 
Lesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol BLesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol B
Mahmmoud Mahdi
 
huawei-s5700-28c-pwr-si-brochure-datasheet.pdf
huawei-s5700-28c-pwr-si-brochure-datasheet.pdfhuawei-s5700-28c-pwr-si-brochure-datasheet.pdf
huawei-s5700-28c-pwr-si-brochure-datasheet.pdf
Hi-Network.com
 
DHCP sever configration in computer .ppt
DHCP sever configration in computer .pptDHCP sever configration in computer .ppt
DHCP sever configration in computer .ppt
imranahmadrana28
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
Jainul Musani
 
huawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdf
huawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdfhuawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdf
huawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdf
Hi-Network.com
 
Dhcp
DhcpDhcp
Dhcp
Tapan Khilar
 
Configuring Dhcp Server, Scopes &amp; Superscopes
Configuring Dhcp Server, Scopes &amp; SuperscopesConfiguring Dhcp Server, Scopes &amp; Superscopes
Configuring Dhcp Server, Scopes &amp; Superscopes
jocelyn_tanner
 
huawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdfhuawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdf
Hi-Network.com
 
162 15-768
162 15-768162 15-768
162 15-768
faisal123000
 
huawei-s5700-28x-li-24s-ac-brochure-datasheet.pdf
huawei-s5700-28x-li-24s-ac-brochure-datasheet.pdfhuawei-s5700-28x-li-24s-ac-brochure-datasheet.pdf
huawei-s5700-28x-li-24s-ac-brochure-datasheet.pdf
Hi-Network.com
 
6421 b Module-02
6421 b Module-026421 b Module-02
6421 b Module-02
Bibekananada Jena
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
Mahmmoud Mahdi
 
huawei-s5700-28c-hi-brochure-datasheet.pdf
huawei-s5700-28c-hi-brochure-datasheet.pdfhuawei-s5700-28c-hi-brochure-datasheet.pdf
huawei-s5700-28c-hi-brochure-datasheet.pdf
Hi-Network.com
 
Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012Install and Configure DHCP role on Windows Server 2012
Install and Configure DHCP role on Windows Server 2012
abdualziz-aljohani
 
Configuration guide basic configuration(v100 r006c00-01)
Configuration guide   basic configuration(v100 r006c00-01)Configuration guide   basic configuration(v100 r006c00-01)
Configuration guide basic configuration(v100 r006c00-01)
Ivo Rodrigues
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
Jiaul Hasan Jony
 
huawei-s5700-48tp-si-ac-brochure-datasheet.pdf
huawei-s5700-48tp-si-ac-brochure-datasheet.pdfhuawei-s5700-48tp-si-ac-brochure-datasheet.pdf
huawei-s5700-48tp-si-ac-brochure-datasheet.pdf
Hi-Network.com
 
huawei-s5700-52c-si-brochure-datasheet.pdf
huawei-s5700-52c-si-brochure-datasheet.pdfhuawei-s5700-52c-si-brochure-datasheet.pdf
huawei-s5700-52c-si-brochure-datasheet.pdf
Hi-Network.com
 
Lesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol BLesson 6: Dynamic Host Configuration Protocol B
Lesson 6: Dynamic Host Configuration Protocol B
Mahmmoud Mahdi
 
huawei-s5700-28c-pwr-si-brochure-datasheet.pdf
huawei-s5700-28c-pwr-si-brochure-datasheet.pdfhuawei-s5700-28c-pwr-si-brochure-datasheet.pdf
huawei-s5700-28c-pwr-si-brochure-datasheet.pdf
Hi-Network.com
 
DHCP sever configration in computer .ppt
DHCP sever configration in computer .pptDHCP sever configration in computer .ppt
DHCP sever configration in computer .ppt
imranahmadrana28
 
huawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdf
huawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdfhuawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdf
huawei-s5700-28x-pwr-li-ac-brochure-datasheet.pdf
Hi-Network.com
 
Configuring Dhcp Server, Scopes &amp; Superscopes
Configuring Dhcp Server, Scopes &amp; SuperscopesConfiguring Dhcp Server, Scopes &amp; Superscopes
Configuring Dhcp Server, Scopes &amp; Superscopes
jocelyn_tanner
 
huawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdfhuawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdf
huawei-s5710-52c-pwr-ei-ac-brochure-datasheet.pdf
Hi-Network.com
 
huawei-s5700-28x-li-24s-ac-brochure-datasheet.pdf
huawei-s5700-28x-li-24s-ac-brochure-datasheet.pdfhuawei-s5700-28x-li-24s-ac-brochure-datasheet.pdf
huawei-s5700-28x-li-24s-ac-brochure-datasheet.pdf
Hi-Network.com
 
Ad

More from IPMAX s.r.l. (10)

Cisco Switch How To - Secure a Switch Port
Cisco Switch How To - Secure a Switch PortCisco Switch How To - Secure a Switch Port
Cisco Switch How To - Secure a Switch Port
IPMAX s.r.l.
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatchHuawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
IPMAX s.r.l.
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
IPMAX s.r.l.
 
Huawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
Huawei SAN Storage How To - Configuring the i-SCSI Communication ProtocolHuawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
Huawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
IPMAX s.r.l.
 
Huawei SAN Storage How To - ISM management application setup
Huawei SAN Storage How To - ISM management application setupHuawei SAN Storage How To - ISM management application setup
Huawei SAN Storage How To - ISM management application setup
IPMAX s.r.l.
 
Huawei SAN Storage How To - Assigning Management IP Address
Huawei SAN Storage How To - Assigning Management IP AddressHuawei SAN Storage How To - Assigning Management IP Address
Huawei SAN Storage How To - Assigning Management IP Address
IPMAX s.r.l.
 
Fortigate Firewall How to - DLP
Fortigate Firewall How to - DLPFortigate Firewall How to - DLP
Fortigate Firewall How to - DLP
IPMAX s.r.l.
 
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP modeHUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
IPMAX s.r.l.
 
FortiGate Firewall How-To: WEB Filtering
FortiGate Firewall How-To: WEB FilteringFortiGate Firewall How-To: WEB Filtering
FortiGate Firewall How-To: WEB Filtering
IPMAX s.r.l.
 
FortiGate Firewall HOW-TO - DMZ
FortiGate Firewall HOW-TO - DMZFortiGate Firewall HOW-TO - DMZ
FortiGate Firewall HOW-TO - DMZ
IPMAX s.r.l.
 
Cisco Switch How To - Secure a Switch Port
Cisco Switch How To - Secure a Switch PortCisco Switch How To - Secure a Switch Port
Cisco Switch How To - Secure a Switch Port
IPMAX s.r.l.
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatchHuawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
Huawei ARG3 Router How To - Troubleshooting OSPF: Netmask mismatch
IPMAX s.r.l.
 
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID ConfusionHuawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
IPMAX s.r.l.
 
Huawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
Huawei SAN Storage How To - Configuring the i-SCSI Communication ProtocolHuawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
Huawei SAN Storage How To - Configuring the i-SCSI Communication Protocol
IPMAX s.r.l.
 
Huawei SAN Storage How To - ISM management application setup
Huawei SAN Storage How To - ISM management application setupHuawei SAN Storage How To - ISM management application setup
Huawei SAN Storage How To - ISM management application setup
IPMAX s.r.l.
 
Huawei SAN Storage How To - Assigning Management IP Address
Huawei SAN Storage How To - Assigning Management IP AddressHuawei SAN Storage How To - Assigning Management IP Address
Huawei SAN Storage How To - Assigning Management IP Address
IPMAX s.r.l.
 
Fortigate Firewall How to - DLP
Fortigate Firewall How to - DLPFortigate Firewall How to - DLP
Fortigate Firewall How to - DLP
IPMAX s.r.l.
 
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP modeHUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
HUAWEI Switch HOW-TO - Configuring link aggregation in static LACP mode
IPMAX s.r.l.
 
FortiGate Firewall How-To: WEB Filtering
FortiGate Firewall How-To: WEB FilteringFortiGate Firewall How-To: WEB Filtering
FortiGate Firewall How-To: WEB Filtering
IPMAX s.r.l.
 
FortiGate Firewall HOW-TO - DMZ
FortiGate Firewall HOW-TO - DMZFortiGate Firewall HOW-TO - DMZ
FortiGate Firewall HOW-TO - DMZ
IPMAX s.r.l.
 
Ad

Huawei Switch How To - Configuring a basic DHCP server

  • 1. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server HUAWEI SWITCH S5700 HOW TO
  • 2. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server With this simple procedure we will show how to configure a global address pool to allocate IP addresses for clients when the clients and DHCP server (our S5700) are in the same network segment. In our example we will assume a network scenario with one DHCP server, one DNS server and two offices: SwitchA is the DHCP server, SwitchB and SwitchC are access switches. We will describes how to configure a global address pool. Address pool 100.1.1.0/24 consists of two network segments: 100.1.1.0/25 and 100.1.1.128/25. The IP addresses of the VLANIF interfaces on the DHCP server are 100.1.1.1/25 and 100.1.1.129/25. There are a few computers in network segment 100.1.1.0/25 and the computer locations are fixed. The lease of an IP addresses in 100.1.1.0/25 is 100 days, the DNS address is 100.1.1.2 and the IP address of the egress gateway is 100.1.1.126. There are a few computers in network segment 100.1.1.128/25 and the computers are often moved from one place to another. The lease of an IP addresses in 100.1.1.128/25 is 2 days, the DNS address is 100.1.1.2 and the IP address of the egress gateway is 100.1.1.254. The network environment is shown in the picture. PC1 DHCP client PC2 DHCP client PC3 DHCP client PC4 DHCP client PC5 DHCP client PC6 DHCP client PC7 DHCP client DNS server Network: 100.1.1.0/25 Network: 100.1.1.128/25 SwitchB SwitchC SwitchA DHCP server GE 0/0/1 GE 0/0/2 VLANIF10 100.1.1.1/25 VLANIF20 100.1.1.129/25 General infos and application environment
  • 3. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server <SwitchA> system-view [SwitchA] dhcp enable 1. Enable DHCP Enter the configuration view Enable DHCP 2. Create the address pools [SwitchA] ip pool 1 [SwitchA-ip-pool-1] network 100.1.1.0 mask 255.255.255.128 [SwitchA-ip-pool-1] dns-list 100.1.1.2 [SwitchA-ip-pool-1] gateway-list 100.1.1.126 [SwitchA-ip-pool-1] excluded-ip-address 100.1.1.2 [SwitchA-ip-pool-1] lease day 10 [SwitchA-ip-pool-1] quit [SwitchA] ip pool 2 [SwitchA-ip-pool-2] network 100.1.1.128 mask 255.255.255.128 [SwitchA-ip-pool-2] dns-list 100.1.1.2 [SwitchA-ip-pool-2] gateway-list 100.1.1.254 [SwitchA-ip-pool-2] lease day 2 [SwitchA-ip-pool-2] quit Enabling DHCP and configuring the address pool
  • 4. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server 3. Create vlans and assign physical interfaces [SwitchA] vlan batch 10 20 [SwitchA] interface gigabitethernet 0/0/1 [SwitchA-GigabitEthernet0/0/1] port hybrid pvid vlan 10 [SwitchA-GigabitEthernet0/0/1] port hybrid untagged vlan 10 [SwitchA-GigabitEthernet0/0/1] quit [SwitchA] interface gigabitethernet 0/0/2 [SwitchA-GigabitEthernet0/0/2] port hybrid pvid vlan 20 [SwitchA-GigabitEthernet0/0/2] port hybrid untagged vlan 20 [SwitchA-GigabitEthernet0/0/2] quit Create vlans Enter the interface view Configure port type and assign vlan Exit the interface view Setting the address allocation mode on the vlanif interfaces(1)
  • 5. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server 4. Configure the clients on vlanif 10 and 20 [SwitchA] interface vlanif 10 [SwitchA-Vlanif10] ip address 100.1.1.1 255.255.255.128 [SwitchA-Vlanif10] dhcp select global [SwitchA-Vlanif10] quit [SwitchA] interface vlanif 20 [SwitchA-Vlanif20] ip address 100.1.1.129 255.255.255.128 [SwitchA-Vlanif20] dhcp select global [SwitchA-Vlanif20] quit Enter vlanif view Assign ip address to vlanif Activate the global address pool distribution Exit vlanif view Setting the address allocation mode on the vlanif interfaces(2)
  • 6. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server 7. Check the configuration on SwitchA [SwitchA] display ip pool ----------------------------------------------------------------------- Pool-name : 1 Pool-No : 0 Position : Local Status : Unlocked Gateway-0 : 100.1.1.126 Mask : 255.255.255.128 VPN instance : -- ----------------------------------------------------------------------- Pool-name : 2 Pool-No : 1 Position : Local Status : Unlocked Gateway-0 : 100.1.1.254 Mask : 255.255.255.128 VPN instance : -- IP address Statistic Total :250 Used :7 Idle :242 Expired :0 Conflict :0 Disable :1 [Huawei] Checking the configuration
  • 7. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server More needs? See hints on www.ipmax.it Or email us your questions to info_ipmax@ipmax.it
  • 8. HUAWEI SWITCH S5700 - HOW TO Configuring a basic DHCP server IPMAX is a Huawei Partner in Italy. IPMAX is the ideal partner for companies seeking quality in products and services. IPMAX guarantees method and professionalism to support its customers in selecting technologies with the best quality / price ratio, in the design, installation, commissioning and operation. IPMAX srl Via Ponchielli, 4 20063 Cernusco sul Naviglio (MI) – Italy +39 02 9290 9171
  翻译: