Escolar Documentos
Profissional Documentos
Cultura Documentos
Data Plan
Connecting STAs to
the Internet
Data Plan
10
11
17
Data Plan
Quickly Configure
the Router
18
19
Contents
Implementing Voice
Communication of
Enterprise Users
24
Data Plan
25
Quickly Configure
the Router
26
FAQ
33
Reference
36
This document helps you first log in to and quickly configure Huawei AR series routers.
1 Install and power on the router. For details, see the AR Hardware Installation and
Maintenance Guide.
Configure a default route so that intranet traffic can be transmitted to the Internet
through the ADSL and 3G cellular interfaces.
2.1
Data Plan
Prepare the following data before configuring the router. The data listed in the table will be
used in the following sections.
Action
Configure
the
downlink
interface
Configure
DHCP
Configure
the 3G
interface
Item
Data
Description
IP address of
the VLANIF
interface
192.168.100.1/24
VLAN ID
VLAN 123
Private IP
addresses
allocated to
enterprise
users
Address pool:
192.168.100.0/24
APN
wcdma
Network
connection
mode
wcdma-only
Dialing mode
On-demand dialing
2.2
Step1 Configure an
enterprise intranet.
Return to
Network
Diagram
Configure an enterprise intranet, specify the router as an egress gateway of the enterprise, and
configure the router as the DHCP server to assign IP addresses to users in the enterprise.
Return to
Network
Diagram
1 Configure NAT.
[Huawei] acl number 3002
//Configure an ACL.
[Huawei-acl-adv-3002] rule 5 permit ip source 192.168.100.0 0.0.0.255
[Huawei-acl-adv-3002] quit
[Huawei] interface virtual-template 10
//Create a virtual template
interface.
[Huawei-Virtual-Template10] ip address ppp-negotiate
// Configure the
interface to dynamically obtain an IP address.
[Huawei-Virtual-Template10] nat outbound 3002
//Associate an ACL with
a NAT address pool.
[Huawei-Virtual-Template10] quit
Return to
Network
Diagram
After an APN profile is bound to a cellular interface or cellular channel interface, run
the shutdown and undo shutdown commands or run the restart command to restart
the interface to make the configuration take effect.
In normal cases, the 3G cellular interface supports PPP dial-up. The 3G channel
interface with number 2 on the K4305 data card supports WWAN (use the ip address
negotiate command to dynamically obtain an IP address).
Return to
Network
Diagram
1 Configure a default route and configure the 3G interface as the backup of the ADSL
interface.
[Huawei] ip route-static
//Set the route priority
[Huawei] ip route-static
//Set the route priority
[Huawei] quit
When the router restarts, it automatically loads the specified configuration file; therefore,
no configuration will be lost after restart.
Conf igure a def ault route on the Fat AP so that the Fat AP can connect to the
Internet.
Conf igure the router as the DHCP server to assign IP addresses to the STAs
connected to the Fat AP.
Conf igure basic f unction parameters and service VAPs f or the Fat AP so that
the STAs can connect to the Internet through the service VAPs.
3.1
Data Plan
Prepare the following data before configuring the router. The data listed in the table will be
used in the following sections.
Action
Item
Description
Data
WMM profile
ID: 1
Name: wmm-1
Radio profile
ID: 1
Name: radio-1
Configure
profiles
Security
profile
Traffic profile
ID: 1
Name: security-1
ID: 1
Name: traffic-1
Configure
a service
set
ID: 1
Configure
a country
code
CN
1.1.1.1/24
VLANIF 100:
10.10.10.1/24
AP uplink
interface
Name: Huawei-1
Configure
IP
addresses
AP downlink
interface
10
3.2
Step2 Configure a
VLANIF interface.
11
Return to
Network
Diagram
<Huawei> system-view
[Huawei] ip route-static 0.0.0.0 0 1.1.1.1
Create a VLANIF interface and enable the DHCP server so that the FAT AP assigns
IP addresses to STAs.
12
Return to
Network
Diagram
Default WMM, radio, security, and traffic profiles exist on the device. You can use the
default profiles directly but do not need to create new profiles. The default profiles are
as follows:
Configure the country code for the FAT AP for convenient configuration and
management.
[Huawei] wlan global country-code cn //Set the country code of the FAT AP
to cn.
Create a WMM profile wmm-1 and retain the default parameter settings.
[Huawei] wlan
[Huawei-wlan-view] wmm-profile name wmm-1 id 1
[Huawei-wlan-wmm-prof-wmm-1] quit
Create a radio profile named radio-1 and bind the WMM profile wmm-1 to it.
13
Return to
Network
Diagram
Configure a WLAN-BSS interface so that radio packets sent from users can be sent to
the WLAN service processing module after reaching the AP.
[Huawei] interface wlan-bss 1
[Huawei-Wlan-Bss1] port hybrid tagged vlan 100
[Huawei-Wlan-Bss1] quit
14
Return to
Network
Diagram
Create a traffic profile named traffic-1 and retain the default parameter settings.
Create a service set, set the SSID to huawei-1, bind the traffic profile, security profile,
and WLAN-BSS interface to the service set.
15
When the router restarts, it automatically loads the specified configuration file; therefore,
no configuration will be lost after restart.
16
The headquarters gateway RouterB uses a static public address. The branch size
is small and its gateway RouterA uses a 3G interface to dynamically obtain an IP
When deploying an IPSec policy, the headquarters must know the branch IP
address. The branch IP address often changes and is difficult to maintain.
You can use an IPSec policy template on RouterB so that the headquarters and
branch can perform IPSec negotiation without knowing the branch IP address.
17
4.1
Data Plan
Prepare the following data before configuring the router. The data listed in the table will be
used in the following sections.
Action
Configure
IP
addresses
Configure
the
branch
3G
interface
Description
Item
Data
Headquarters
public IP address
13.1.1.1/24
IP address of the
headquarters
egress router
192.168.2.1/24
IP address of the
branch egress
router
192.168.1.1/24
APN profile
3gprofile
Network
connection mode
wcdma
Dialing mode
Auto-dial
interval: 60s
18
4.2
19
Return to
Network
Diagram
<Huawei> system-view
[Huawei] acl number 3000
[Huawei-acl-adv-3000] rule permit ip source 192.168.1.0 0.0.0.255
destination 192.168.2.0 0.0.0.255
[Huawei-acl-adv-3000] quit
20
Return to
Network
Diagram
21
Return to
Network
Diagram
[Huawei] ike peer rta v1 //Configure an IKE peer. You do not need to
configure the remote address.
[Huawei-ike-peer-rta] pre-shared-key cipher Huawei //Set the
authentication password in the pre-shared key to Huawei.
[Huawei-ike-peer-rta] quit
22
Return to
Network
Diagram
<Huawei> system-view
[Huawei] interface GigabitEthernet0/0/1 //Configure a dialer ACL for
determining the DCC call initiating conditions.
[Huawei-GigabitEthernet0/0/1] ip address 13.1.1.1 255.255.255.0
[Huawei-GigabitEthernet0/0/1] ipsec policy rta //Bind the IPSec policy to the
interface.
[Huawei-GigabitEthernet0/0/1] quit
When the router restarts, it automatically loads the specified configuration file; therefore,
no configuration will be lost after restart.
23
The enterprise uses the PBX to implement voice services for intra-office users
and uses AT0 trunks to implement voice services between intra-office and outeroffice users.
The PBX uses the external number allocated to an enterprise by the carrier as the
automatic switchboard number. An outer-office user dials the automatic
switchboard number and then dials an extension number as prompted to call an
intra-office user. Intra-office users make calls to each other by dialing short
numbers.
24
5.1
Data Plan
Prepare the following data before configuring the router. The data listed in the table will be
used in the following sections.
70007004
SIP User
Description
71007160
PBX users
Route ID
3/0/4
28980808
Prefix
Type
Route
Intra-office
Inter-office
90
Inter-office
900
Inter-office
Prefix plan:
Inter-office Trunk
28980808
25
5.2
Step6 Configure a
trunk group.
26
Return to
Network
Diagram
Prerequisites: The IVR configuration has been completed. The value of vu-service-name
of the automatic IVR group must be the same as the service name of the IVR.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] service-mode pbx
[Huawei-voice] return
<Huawei> save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]: y
It will take several minutes to save configuration file, please
wait..........
Configuration file had been saved
successfully
Note: The configuration file will take effect after being activated
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:y
Info: system is rebooting, please wait...
Set the IP address of interface GE0/0/0 to 192.168.1.2 and add 192.168.1.2 to the
media IP address pool and signaling IP address pool of the interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0
192.168.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet
0/0/0 192.168.1.2
27
Return to
Network
Diagram
Set the default country code to 86 and default area code to 571, and enable country
code change and area code change.
[Huawei-voice] enterprise hw
[Huawei-voice-enterprise-hw] dn-set local
[Huawei-voice-enterprise-hw] quit
28
Return to
Network
Diagram
Set the enterprise and DN set of prefixes to hw and local, and configure intra-office
call prefix 7 whose call attribute is 0 and local call prefix 9 whose call attribute is 1.
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7]
[Huawei-voice-callprefix-7]
[Huawei-voice-callprefix-7]
[Huawei-voice-callprefix-7]
[Huawei-voice-callprefix-7]
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9]
[Huawei-voice-callprefix-9]
[Huawei-voice-callprefix-9]
[Huawei-voice-callprefix-9]
[Huawei-voice-callprefix-9]
Set the automatic switchboard name to ivr and automatic switchboard number to
28980808.
[Huawei-voice] callprefix ivr
[Huawei-voice-callprefix-ivr]
[Huawei-voice-callprefix-ivr]
[Huawei-voice-callprefix-ivr]
vudefault
[Huawei-voice-callprefix-ivr]
[Huawei-voice-callprefix-ivr]
[Huawei-voice-callprefix-ivr]
prefix 28980808
enterprise hw dn-set local
call-type category vu-service vu-service-name
digit-length 8 32
save
quit
29
Return to
Network
Diagram
Configure Users
Configure POTS users whose user numbers are 7000 and 7001 and incoming and
pots enterprise hw
dn-set local
port 3/0/0
telno 7000
call-right in all
call-right out all
quit
pots enterprise hw
dn-set local
port 3/0/1
telno 7001
call-right in all
call-right out all
quit
30
Return to
Network
Diagram
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] callroute 9
[Huawei-voice-callprefix-9] quit
[Huawei-voice] trunk-group at0
[Huawei-voice-trunkgroup-at0] callroute 9
[Huawei-voice-trunkgroup-at0] quit
[Huawei-voice] afterroute-change 9
[Huawei-voice-afterroute-change-9] callprefix 9
[Huawei-voice-afterroute-change-9] trunk-group at0
[Huawei-voice-afterroute-change-9] caller no-change
[Huawei-voice-afterroute-change-9] called del 1 1
[Huawei-voice-afterroute-change-9] return
31
When the router restarts, it automatically loads the specified configuration file; therefore,
no configuration will be lost after restart.
32
FAQ
Wi-Fi
PoE
BGP
MPLS
AR1220
AR1220L
AR1220F
AR1220W
AR1220V
AR1220VW
Y: supported
N: not supported
If the level of your Telnet account is identical or higher, you can log in to the router through
Telnet and change the console port password. The user level for the console user
interface is 15 by default.
33
If you have forgotten your user name or password, see How Can I Log In to the Device
Through the BootROM When I Forget the Password for Console Port Login in AR FAQ.
Configuration method:
Run the command in the interface or interface address pool view: dhcp server excludedip-address start-ip-address [ end-ip-address ]
Run the command in the global address pool view: excluded-ip-address start-ip-address
[ end-ip-address ]
Configuration method:
Run the command in the interface or interface address pool view: dhcp server lease
{ day day [ hour hour [ minute minute ] ] | unlimited }
Run the command in the global address pool view: lease { day day [ hour hour [ minute
minute ] ] | unlimited }
34
35
Reference
For more information about switch configuration, use the following methods.
Method
Browse or download
the router
configuration guide.
Browse or download
the router typical
cases.
Link
http://support.huawei.com/ehedex/hdx.do?docid=DOC1000043782&lang=en
http://support.huawei.com/enterprise/docinforeader.action?contentId=DOC0100585934&i
dPath=7919710|9856750|7923148 |9858 988|607883 9
http://support.huawei.com/ecommunity/bbs/list_4361.html
http://support.huawei.com/ecommunity/ask/list_1471,5271.html?status=1
36