HCSA Field Datacom Campus Network Lab Guide - 05
HCSA Field Datacom Campus Network Lab Guide - 05
Lab Guide
ISSUE: 1.0
1
Copyright © Huawei Technologies Co., Ltd. 2023. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and
recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any
kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the preparation
of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this
document do not constitute a warranty of any kind, express or implied.
Website: https://e.huawei.com
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 1
Overview
This document is a training course for the HCSA-Field-Datacom Campus Network certification. It is
intended for trainees who are preparing to take the HCSA-Field-Datacom Campus Network exam or
readers who want to understand Huawei datacom devices, product features and protocols, and
installation guides and specifications of Huawei devices.
Common Icons
V200R019C10SPC500
Switch S7703 or S6720-32C
V200R019C10SPC500
AC AirEngine9700-M1 V200R020C00SPC300
Contents
1 Experiment Overview
1.1 Introduction
1.1.1 About this Lab
This experiment guide aims to construct a traditional campus network to implement network
communication, such as the internal network of a branch and the network between the branch and
the headquarters. This course introduces related configuration commands one by one, helping
trainees better understand and master the technical contents related to HCSA-Field-Datacom
Campus Network.
Note: This exercise does not involve iMaster NCE-Campus. Trainees must strictly follow the lab
manual and do not perform any operations on iMaster NCE-Campus on the lab platform.
Network topology
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 8
Process description:
⚫ Module 1 is the basis of IP routing. First, the intranet is divided into multiple virtual subnets
through VLANs to reduce the broadcast domain and isolate services. Second, the IP addresses of
network device interfaces are configured to lay a foundation for subsequent communication
between network devices. This module will help you master basic configuration commands such
as VLAN division and IP address division.
⚫ Module 2 configures OSPF and uses the OSPF dynamic routing protocol to implement routing
communication on the intranet. This module helps you master the configuration commands and
functions of OSPF dynamic routes.
⚫ Module 3 is used to set up the headquarters network. You can import the reference
configuration commands provided in to the corresponding devices to implement the
communication between the headquarters intranet and configure the routes between the
headquarters and branches.
⚫ Module 4 configures the default route on the branch gateway to implement route
communication between the branch and the headquarters. This module helps you master the
commands and functions related to default routes and OSPF default route delivery.
⚫ Module 5 enables the DHCP service and allocates network information such as IP addresses,
subnet masks, and gateways to users. This reduces manual configuration workload and avoids
manual operation errors. This module helps trainees master DHCP configuration commands and
application scenarios.
⚫ Module 6 describes how to configure APs to go online. To facilitate management, the AC+ FIT AP
networking mode is used. The headquarters AC centrally manages APs. This module helps
trainees master and understand the AP login process and related configuration commands.
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 9
⚫ Module 7: Configure the WLAN service to enable the AP to release SSID wireless signals so that
wireless users can access the intranet and access intranet resources. This module helps trainees
master and understand basic WLAN configuration commands and application scenarios.
Remote
PC-01 172.25.65.205 china\p_elab2022/HUAwei001
desktop
Remote
PC-02 172.25.65.213 huawei/Huawei12#$
desktop
Remote
PC-03 172.25.65.212 huawei/Huawei12#$
desktop
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 10
2 IP Routing Basics
2.1 Introduction
2.1.1 About This Lab
In this experiment, a branch network is logically divided into multiple virtual subnets through VLAN
division to isolate services, reduce broadcast domains, and enhance network security. In addition,
configure basic information such as IP addresses for branch network devices.
2.1.2 Objectives
⚫ Understand the basic principles of VLAN.
⚫ Understand the VLAN link type.
⚫ Master the configurations of different VLAN port types.
⚫ Learn how to divide VLANs based on ports.
⚫ Master basic configuration commands such as IP addresses.
Network topology
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 11
GE0/0/1 Access 10
GE0/0/2 Access 34
GE0/0/1 Access 20
GE0/0/3 Access 56
IP address planning
Device Port IP Address
Vlanif 10 10.0.10.254/24
SW-01
Vlanif 12 172.200.5.2/30
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 12
Vlanif 34 172.200.5.13/30
Vlanif 20 10.0.20.254/24
Vlanif 56 172.200.5.6/30
GE0/0/1 172.200.5.9/30
GE0/0/3 172.200.5.1/30
GE0/0/1 172.200.5.10/30
GE0/0/3 172.200.5.5/30
2.2.2 Procedure
Step 1 Create VLANs.
# Create VLANs 10, 12, 34, and 100 on SW-01. The VLNAs 10 and 100 are configured to connect a
wired terminal PC-01 and an AP. VLANs 12 and 34 are used to connect AR-01 and SW-02.
<Huawei> system-view
[Huawei] sysname SW-01
[SW-01] vlan batch 10 12 34 100
# Create VLANs 20, 34, and 56 on SW-02. VLAN 20 is used to connect the wired terminal PC-02.
VLANs 34 and 56 are used to connect SW-01 and AR-02.
<Huawei> system-view
[Huawei] sysname SW-02
[SW-02] vlan batch 20 34 56
# Configure the link types and default VLANs for interfaces of SW-01.
[SW-01] interface GigabitEthernet 0/0/1
[SW-01-GigabitEthernet0/0/1] port link-type access
[SW-01-GigabitEthernet0/0/1] port default vlan 10
[SW-01-GigabitEthernet0/0/1] quit
[SW-01] interface GigabitEthernet 0/0/2
[SW-01-GigabitEthernet0/0/2] port link-type access
[SW-01-GigabitEthernet0/0/2] port default vlan 34
[SW-01-GigabitEthernet0/0/2] quit
[SW-01] interface GigabitEthernet 0/0/3
[SW-01-GigabitEthernet0/0/3] port link-type access
[SW-01-GigabitEthernet0/0/3] port default vlan 12
[SW-01-GigabitEthernet0/0/3] quit
[SW-01] interface GigabitEthernet 0/0/4
[SW-01-GigabitEthernet0/0/4] port link-type access
[SW-01-GigabitEthernet0/0/4] port default vlan 100
[SW-01-GigabitEthernet0/0/4] quit
[SW-01] interface GigabitEthernet 0/0/5
[SW-01-GigabitEthernet0/0/5] port link-type access
[SW-01-GigabitEthernet0/0/5] port default vlan 100
[SW-01-GigabitEthernet0/0/5] quit
# Configure the link types and default VLANs for interfaces of SW-02.
[SW-02] interface GigabitEthernet 0/0/1
[SW-02-GigabitEthernet0/0/1] port link-type access
[SW-02-GigabitEthernet0/0/1] port default vlan 20
[SW-02-GigabitEthernet0/0/1] quit
[SW-02] interface GigabitEthernet 0/0/2
[SW-02-GigabitEthernet0/0/2] port link-type access
[SW-02-GigabitEthernet0/0/2] port default vlan 34
[SW-02-GigabitEthernet0/0/2] quit
[SW-02] interface GigabitEthernet 0/0/3
[SW-02-GigabitEthernet0/0/3] port link-type access
[SW-02-GigabitEthernet0/0/3] port default vlan 56
[SW-02-GigabitEthernet0/0/3] quit
# SW-02
[SW-02] display vlan
The total number of VLANs is: 4
--------------------------------------------------------------------------------
U: Up; D: Down; TG: Tagged; UT: Untagged;
MP: Vlan-mapping; ST: Vlan-stacking;
#: ProtocolTransparent-vlan; *: Management-vlan;
--------------------------------------------------------------------------------
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 16
The preceding command output shows that VLANs 10, 12, 34, and 100 are successfully created on
SW-01. SW-02 successfully creates VLANs 20, 34, 56.
# SW-02
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 17
# AR-01
<AR-01> display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 6
The number of interface that is DOWN in Physical is 4
The number of interface that is UP in Protocol is 5
The number of interface that is DOWN in Protocol is 5
# AR-02
<AR-02> display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 18
3 Configure OSPF
3.1 Introduction
3.1.1 About This Lab
This experiment uses the OSPF dynamic routing protocol to implement communication between
devices on the intranet of a branch. Configure the OSPF cost on an interface to control route
selection and implement OSPF route backup.
3.1.2 Objectives
⚫ Understand the basic principles of OSPF.
⚫ Understand the functions of different OSPF areas.
⚫ Master OSPF basic configuration commands.
⚫ Understand the functions of router IDs in OSPF.
⚫ Understand the effect of cost on OSPF route selection.
Network topology
AR-01 1.1.1.1
AR-02 2.2.2.2
SW-01 3.3.3.3
SW-02 4.4.4.4
GE0/0/1 1000
AR-01
GE0/0/3 100
GE0/0/1 1000
AR-02
GE0/0/3 100
VLANIF 34 1000
VLANIF 56 100
SW-02
VLANIF 34 1000
3.2.2 Procedure
Step 1 Enable OSPF.
# Enable OSPF on AR-01 and advertise the branch interconnection network segments to the OSPF
area.
[AR-01] ospf 1 router-id 1.1.1.1
[AR-01-ospf-1] area 0
[AR-01-ospf-1-area-0.0.0.0] network 172.200.5.1 0.0.0.0
[AR-01-ospf-1-area-0.0.0.0] network 172.200.5.9 0.0.0.0
[AR-01-ospf-1-area-0.0.0.0] quit
[AR-01-ospf-1] quit
# Enable OSPF on AR-02 and advertise the branch interconnection network segments to the OSPF
area.
[AR-02] ospf 1 router-id 2.2.2.2
[AR-02-ospf-1] area 0
[AR-02-ospf-1-area-0.0.0.0] network 172.200.5.5 0.0.0.0
[AR-02-ospf-1-area-0.0.0.0] network 172.200.5.10 0.0.0.0
[AR-02-ospf-1-area-0.0.0.0] quit
[AR-02-ospf-1] quit
# Enable OSPF on SW-01 and advertise the branch interconnection and service network segments to
the OSPF area.
[SW-01] ospf 1 router-id 3.3.3.3
[SW-01-ospf-1] area 0
[SW-01-ospf-1-area-0.0.0.0] network 172.200.5.2 0.0.0.0
[SW-01-ospf-1-area-0.0.0.0] network 172.200.5.13 0.0.0.0
[SW-01-ospf-1-area-0.0.0.0] network 10.0.10.0 0.0.0.255
[SW-01-ospf-1-area-0.0.0.0] network 10.0.100.0 0.0.0.255
[SW-01-ospf-1-area-0.0.0.0] quit
[SW-01-ospf-1] quit
# Enable OSPF on SW-02 and advertise the branch interconnection and service network segments to
the OSPF area.
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 22
# SW-01
[SW-01] display ospf peer brief
# SW-02
[SW-02] display ospf peer brief
# AR-01
[AR-01] display ospf peer brief
# AR-02
[AR-02] display ospf peer brief
In the preceding command output, State is Full, indicating that OSPF adjacencies have been
established between SW-01, SW-02, AR-01, and AR-02.
Area: 0.0.0.0
IP Address Type State Cost Pri DR BDR
10.0.10.254 Broadcast DR 1 1 10.0.10.254 0.0.0.0
172.200.5.2 Broadcast DR 100 1 172.200.5.2 172.200.5.1
172.200.5.13 Broadcast BDR 1000 1 172.200.5.14 172.200.5.13
10.0.100.254 Broadcast DR 1 1 10.0.100.254 0.0.0.0
# SW-02
[SW-02] display ospf interface
Area: 0.0.0.0
IP Address Type State Cost Pri DR BDR
10.0.20.254 Broadcast DR 1 1 10.0.20.254 0.0.0.0
172.200.5.14 Broadcast BDR 1000 1 172.200.5.14 172.200.5.13
172.200.5.6 Broadcast BDR 100 1 172.200.5.6 172.200.5.5
# AR-01
[AR-01] display ospf interface
# AR-02
[AR-02] display ospf interface
# SW-02
[SW-02] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 14 Routes : 14
# AR-01
[AR-01] display ip routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 21 Routes : 22
# AR-02
[AR-02]display ip routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance
------------------------------------------------------------------------------
Routing Tables: Public
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 27
Destinations : 21 Routes : 23
4.1 Introduction
4.1.1 About This Lab
In this lab, you only need to import the reference configuration commands to the corresponding
devices.
Network topology
XGE1/0/5 Trunk 99
SW-Core
XGE1/0/31 Access 4094
IP address planning
Device Port IP Address
GE0/0/0 172.201.5.13/30
10GE0/0/0 172.201.5.2/30
GE0/0/0 172.201.5.14/30
10GE0/0/0 172.201.5.6/30
XGE1/0/2 172.201.5.1/30
XGE2/0/2 172.201.5.5/30
VLANIF 99 172.201.5.9/30
LoopBack 20
20.20.20.20/32
(Simulate the service)
Router ID Planning
Device Name Router-ID
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 30
SW-Core 7.7.7.7
AC 8.8.8.8
# Core USG-02
system-view
sysname Core USG-02
#
acl number 2010
rule 5 permit source 10.0.10.0 0.0.0.255
rule 10 permit source 10.0.100.0 0.0.0.255
rule 15 permit source 172.200.5.0 0.0.0.3
#
acl number 2020
rule 5 permit source 10.0.20.0 0.0.0.255
rule 10 permit source 172.200.5.4 0.0.0.3
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 32
#
interface GE0/0/0
ip address 172.201.5.14 255.255.255.252
service-manage ping permit
#
interface GE0/0/1
ip address 172.200.109.2 255.255.255.252
service-manage ping permit
#
interface 10GE0/0/0
ip address 172.201.5.6 255.255.255.252
service-manage ping permit
device transceiver 10GBASE-FIBER
#
interface LoopBack1
ip address 172.17.8.4 255.255.255.255
#
route-policy pre-20 permit node 10
if-match acl 2010
apply cost 1000
#
route-policy pre-20 permit node 20
if-match acl 2020
apply cost 100
#
route-policy pre-20 permit node 30
#
ospf 1 router-id 6.6.6.6
import-route static type 1 route-policy pre-20
area 0.0.0.0
network 172.201.5.6 0.0.0.0
network 172.201.5.14 0.0.0.0
#
ip route-static 10.0.10.0 255.255.255.0 172.200.109.1
ip route-static 10.0.20.0 255.255.255.0 172.200.109.1
ip route-static 10.0.100.0 255.255.255.0 172.200.109.1
ip route-static 172.200.5.0 255.255.255.252 172.200.109.1
ip route-static 172.200.5.4 255.255.255.252 172.200.109.1
#
lldp enable
#
firewall zone trust
add interface 10GE0/0/0
add interface GE0/0/0
add interface GE0/0/1
#
security-policy
default action permit
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 33
y
#
quit
# SW-Core
system-view
sysname SW-Core
#
vlan batch 99 4094
#
interface Vlanif99
ip address 172.201.5.9 255.255.255.252
#
interface Vlanif4094
ip address 172.25.65.57 255.255.255.0
#
interface XGigabitEthernet1/0/2
undo portswitch
ip address 172.201.5.1 255.255.255.252
#
interface XGigabitEthernet1/0/5
port link-type trunk
port trunk allow-pass vlan 99
#
interface XGigabitEthernet1/0/31
port link-type access
port default vlan 4094
stp disable
#
interface XGigabitEthernet2/0/2
undo portswitch
ip address 172.201.5.5 255.255.255.252
#
interface LoopBack10
ip address 10.10.10.10 255.255.255.255
#
interface LoopBack20
ip address 20.20.20.20 255.255.255.255
#
ospf 1 router-id 7.7.7.7
import-route static
area 0.0.0.0
network 10.10.10.10 0.0.0.0
network 20.20.20.20 0.0.0.0
network 172.201.5.1 0.0.0.0
network 172.201.5.5 0.0.0.0
network 172.201.5.9 0.0.0.0
#
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 34
# Core USG-02
<Core USG-02>display ospf peer brief
XXX-XX-XX 18:35:19.568
OSPF Process 1 with Router ID 6.6.6.6
Peer Statistic Information
Total number of peer(s): 2
Peer(s) in full state: 2
-----------------------------------------------------------------------------
Area Id Interface Neighbor id State
0.0.0.0 10GE0/0/0 7.7.7.7 Full
0.0.0.0 GE0/0/0 5.5.5.5 Full
-----------------------------------------------------------------------------
# SW-Core
<SW-Core>display ospf peer brief
The preceding command output shows that OSPF adjacencies are established between Core USG-01,
Core USG-02, and SW-Core.
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 36
5.1 Introduction
5.1.1 About This Lab
In this experiment, configure default routes on AR-01 and AR-02 to enable communication between
the egress router of the branch and the headquarters. Configure the OSPF processes on AR-01 and
AR-02 to deliver default routes so that other devices on the branch network can access resources of
the headquarters.
5.1.2 Objectives
⚫ Understand the basic principles of default routes.
⚫ Understand the application scenario of the default route.
⚫ Master the method of configuring the default route.
⚫ Understand the function of OSPF delivering default routes.
⚫ Learn how to configure OSPF to deliver default routes.
Network topology
AR-01 172.200.108.2/30
AR-02 172.200.109.2/30
5.2.2 Procedure
Step 1 Configure the default route.
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 38
# On AR-01, configure a default route with the next hop set to Direct Connect 1.
[AR-01] ip route-static 0.0.0.0 0 172.200.108.2
# On AR-02, configure a default route with the next hop set to Direct Connect 2.
[AR-02] ip route-static 0.0.0.0 0 172.200.109.2
# AR-02
[AR-02] display ip routing-table
Route Flags: R - relay, D - download to fib, T - to vpn-instance
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 22 Routes : 24
# SW-01
<SW-01> display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 16 Routes : 16
The preceding command output shows that a default route is added to the routing tables of SW-01,
SW-02, AR-01, and AR-02. If the priority of the new default route is 60 and the Proto value is Static,
the route is manually configured. If the priority of the new default routes on SW-01 and SW-02 is
150 and the Proto value is O_ASE, the routes are external default routes delivered by OSPF.
<SW-01>ping 20.20.20.20
PING 20.20.20.20: 56 data bytes, press CTRL_C to break
Reply from 20.20.20.20: bytes=56 Sequence=1 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=2 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=3 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=4 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=5 ttl=252 time=1 ms
# SW-02
<SW-02>ping 10.10.10.10
PING 10.10.10.10: 56 data bytes, press CTRL_C to break
Reply from 10.10.10.10: bytes=56 Sequence=1 ttl=252 time=1 ms
Reply from 10.10.10.10: bytes=56 Sequence=2 ttl=252 time=1 ms
Reply from 10.10.10.10: bytes=56 Sequence=3 ttl=252 time=1 ms
Reply from 10.10.10.10: bytes=56 Sequence=4 ttl=252 time=1 ms
Reply from 10.10.10.10: bytes=56 Sequence=5 ttl=252 time=1 ms
<SW-02>ping 20.20.20.20
PING 20.20.20.20: 56 data bytes, press CTRL_C to break
Reply from 20.20.20.20: bytes=56 Sequence=1 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=2 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=3 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=4 ttl=252 time=1 ms
Reply from 20.20.20.20: bytes=56 Sequence=5 ttl=252 time=1 ms
6.1 Introduction
6.1.1 About This Lab
In this experiment, the DHCP service is used to automatically assign network parameters such as IP
addresses, subnet masks, and gateways to wired terminals and APs. In addition, when SW-01
provides DHCP services for APs, you need to configure WLAN parameters and specify the AC
address.
6.1.2 Objectives
⚫ Understand the basic principles of DHCP.
⚫ Understand the application scenarios of DHCP.
⚫ Master the method of configuring DHCP.
⚫ Learn how to configure the AC address specified by DHCP.
Network topology
AC address Planning
Device Name IP Address
AC 172.201.5.10/30
6.2.2 Procedure
# Enable the DHCP service on SW-01 and configure VLANIF 100 to allocate IP addresses to APs.
(When the DHCP service is provided for APs, you need to configure Option 43 to specify the AC
address.)
[SW-01] dhcp enable
[SW-01] interface vlanif 100
[SW-01-Vlanif100] dhcp select interface
[SW-01-Vlanif100] dhcp server gateway-list 10.0.100.254
[SW-01-Vlanif100] dhcp server option 43 sub-option 2 ip-address 172.201.5.10
[SW-01-Vlanif100] quit
# Enable the DHCP service on SW-01 and Configure VLANIF 10 to provide IP addresses for wired
users.
[SW-01] interface vlanif 10
[SW-01-Vlanif10] dhcp select interface
[SW-01-Vlanif10] quit
-------------------------------------------------------------------------------------
Network section
Start End Total Used Idle(Expired) Conflict Disabled
-------------------------------------------------------------------------------------
10.0.10.1 10.0.10.254 254 1 253(0) 0 0
-------------------------------------------------------------------------------------
Client-ID format as follows:
DHCP : mac-address PPPoE : mac-address
IPSec : user-id/portnumber/vrf PPP : interface index
L2TP : cpu-slot/session-id SSL-VPN : user-id/session-id
-------------------------------------------------------------------------------------
Index IP Client-ID Type Left Status
-------------------------------------------------------------------------------------
224 10.0.10.225 6c0b-8493-a4d9 DHCP 85844 Used
-------------------------------------------------------------------------------------
The preceding command output shows that the interface address pool of Vlanif 10 has used one IP
address. That is, PC-01 has obtained the IP address 10.0.10.225.
<SW-01> display ip pool interface Vlanif100 used
Pool-name : Vlanif100
Pool-No :0
Lease : 1 Days 0 Hours 0 Minutes
Domain-name :-
Option-code : 43
Option-subcode : 2
Option-type : ip-address
Option-value : 172.201.5.10
DNS-server0 :-
NBNS-server0 :-
Netbios-type :-
Position : Interface
Status : Unlocked
Gateway-0 : 10.0.100.254
Network : 10.0.100.0
Mask : 255.255.255.0
VPN instance : --
Logging : Disable
Conflicted address recycle interval: -
Address Statistic: Total :253 Used :2
Idle :251 Expired :0
Conflict :0 Disabled :0
-------------------------------------------------------------------------------------
Network section
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 46
The preceding command output shows that the interface address pool of VLANIF 100 has used two
IP addresses. That is, AP-01 and AP-02 have obtained IP addresses 10.0.100.192 and 10.0.100.238.
# SW-02
<SW-02> display ip pool interface Vlanif20 used
Pool-name : Vlanif20
Pool-No :0
Lease : 1 Days 0 Hours 0 Minutes
Domain-name :-
DNS-server0 :-
NBNS-server0 :-
Netbios-type :-
Position : Interface
Status : Unlocked
Gateway-0 :-
Network : 10.0.20.0
Mask : 255.255.255.0
VPN instance : --
Logging : Disable
Conflicted address recycle interval: -
Address Statistic: Total :254 Used :1
Idle :253 Expired :0
Conflict :0 Disabled :0
-------------------------------------------------------------------------------------
Network section
Start End Total Used Idle(Expired) Conflict Disabled
-------------------------------------------------------------------------------------
10.0.20.1 10.0.20.254 254 1 253(0) 0 0
-------------------------------------------------------------------------------------
Client-ID format as follows:
DHCP : mac-address PPPoE : mac-address
IPSec : user-id/portnumber/vrf PPP : interface index
L2TP : cpu-slot/session-id SSL-VPN : user-id/session-id
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 47
-------------------------------------------------------------------------------------
Index IP Client-ID Type Left Status
-------------------------------------------------------------------------------------
244 10.0.20.245 286e-d489-6da3 DHCP 86283 Used
-------------------------------------------------------------------------------------
The preceding command output shows that one IP address is used by the interface address pool of
Vlanif 20, that is, PC-02 has obtained the IP address 10.0.20.245.
As shown in the preceding figure, the IP address obtained by PC-02 is the same as the used IP
address of the switch. PC-01 should be the same.
(Note: If the PC does not obtain an IP address, log in to the PC remotely and reset the network
adapter.)
The preceding command output shows that the wired terminal can communicate with the analog
user in the headquarters normally. PC-01 should be the same.
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 49
7 AP Onboarding
7.1 Introduction
7.1.1 About This Lab
This section describes how to configure the AC so that APs can go online on the AC.
7.1.2 Objectives
⚫ Understand the basic principles of AP online.
⚫ Understand the working principle of the AC.
⚫ Master the AP online process.
⚫ Configure APs to go online.
Network topology
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 50
AC port planning
Device Port Port Type VLAN
IP address planning
Device Port IP Address
AC VLANIF 99 172.201.5.10/30
Router ID Planning
Device Name Router-ID
SW-Core 7.7.7.7
AC 8.8.8.8
WLAN planning
WLAN Service Setting
AP group ap-group1
7.2.2 Procedure
Step 1 Create a VLAN.
# Create VLAN 99 on the AC.
<AirEngine9700-M1> system-view
[AirEngine9700-M1] sysname AC
[AC] vlan batch 99
# Configure the link type of XGE0/0/5 on the AC and the allowed VLAN for the interface.
[AC] interface XGigabitEthernet 0/0/5
[AC-XGigabitEthernet /0/5] port link-type trunk
[AC-XGigabitEthernet /0/5] port trunk allow-pass vlan 99
[AC-XGigabitEthernet /0/5] quit
The preceding command output shows that the neighbor relationship has been established between
the AC and SW-Core (Router-ID: 7.7.7.7).
The preceding command output shows that the status of the two APs is nor, indicating that AP-01
and AP-02 have gone online on the AC.
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 55
8.1 Introduction
8.1.1 About This Lab
In this experiment, the AC is configured so that the AP can deliver the SSID so that PC-03 can access
the WLAN and access the resources of the branch and headquarters.
8.1.2 Objectives
⚫ Understand WLAN service configurations.
⚫ Understand the meanings of profiles in WLAN services.
⚫ Master the process of configuring WLAN services.
⚫ Learn how to configure WLAN services.
Network topology
AP group ap-group1
Password a12345678
SSID wlan-net
8.2.2 Procedure
Step 1 Configure the DHCP server.
# Configure the AC as a DHCP server to assign IP addresses to STAs. Enable the DHCP service on the
AC and configure VLANIF 200 on the AC to assign IP addresses to STAs.
[AC] dhcp enable
[AC] vlan 200
[AC-vlan200] quit
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 57
8.3.2 Associate the terminal with wireless signals and test the network
connectivity
# On PC-03, scan and connect to the wireless network wlan-net. Run the ipconfig command in the
command prompt to check whether the wireless network adapter obtains an IP address. The result
is as follows:
(Note: If the PC does not obtain an IP address, log in to the PC remotely and reset the wireless
network adapter.)
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 59
The preceding information indicates that the wireless network adapter of PC-03 has obtained the IP
address (192.168. 200.221/24) and gateway (192.168. 200.254).
# Ping the simulated users (loopback 10 and loopback 20) of the headquarters from PC-03. The
result is as follows:
The preceding information indicates that PC-03 can communicate with the analog users 10.10.10.10
and 20.20.20.20 in the headquarters.
# Run the display ip pool interface Vlanif200 used command on the AC to check the usage of the
interface address pool VLANIF200. The command output is as follows:
[AC]display ip pool interface Vlanif200 used
HCSA Field Datacom Campus Network V1.0 Lab Guide Page 60
Pool-name : Vlanif200
Pool-No :0
Lease : 1 Days 0 Hours 0 Minutes
Domain-name :-
DNS-server0 :-
NBNS-server0 :-
Netbios-type :-
Position : Interface
Status : Unlocked
Gateway-0 :-
Network : 192.168.200.0
Mask : 255.255.255.0
Logging : Disable
Conflicted address recycle interval: -
Address Statistic: Total :254 Used :1
Idle :253 Expired :0
Conflict :0 Disabled :0
-------------------------------------------------------------------------------------
Network section
Start End Total Used Idle(Expired) Conflict Disabled
-------------------------------------------------------------------------------------
192.168.200.1 192.168.200.254 254 1 253(0) 0 0
-------------------------------------------------------------------------------------
Client-ID format as follows:
DHCP : mac-address PPPoE : mac-address
IPSec : user-id/portnumber/vrf PPP : interface index
L2TP : cpu-slot/session-id SSL-VPN : user-id/session-id
-------------------------------------------------------------------------------------
Index IP Client-ID Type Left Status
-------------------------------------------------------------------------------------
220 192.168.200.221 f46d-2f96-0b92 DHCP 86064 Used
-------------------------------------------------------------------------------------
The preceding command output shows that the used IP address in the AC address pool is the same
as the IP address obtained by PC-03.