
[RouterA]
interface vlanif 123
[RouterA-Vlanif123]
ip address 192.168.100.1 255.255.255.0
[RouterA-Vlanif123]
dhcp select global
[RouterA-Vlanif123]
quit
[RouterA]
ip pool lan
[RouterA-ip-pool-lan]
gateway-list 192.168.100.1
[RouterA-ip-pool-lan]
network 192.168.100.0 mask 24
[RouterA-ip-pool-lan]
quit
[RouterA]
interface ethernet 2/0/0
[RouterA-Ethernet2/0/0]
port link-type hybrid
[RouterA-Ethernet2/0/0]
port hybrid pvid vlan 123
[RouterA-Ethernet2/0/0]
port hybrid untagged vlan 123
[RouterA-Ethernet2/0/0]
quit
Step 2
Configure the uplink primary interface of RouterA.
NOTE
This example only describes the configuration of the uplink primary interface. For details about other uplink
devices, see the related manuals.
[RouterA]
acl number 3002
[RouterA-acl-adv-3002]
rule 5 permit ip source 192.168.100.0 0.0.0.255
[RouterA-acl-adv-3002]
quit
[RouterA]
interface virtual-template 10
[RouterA-Virtual-Template10]
ip address ppp-negotiate
[RouterA-Virtual-Template10]
nat outbound 3002
[RouterA-Virtual-Template10]
quit
[RouterA]
interface atm 3/0/0
[RouterA-Atm3/0/0]
pvc voip 1/35
[RouterA-atm-pvc-Atm3/0/0-1/35-voip]
map ppp virtual-template 10
[RouterA-atm-pvc-Atm3/0/0-1/35-voip]
quit
[RouterA-Atm3/0/0]
standby interface Cellular 0/0/0
[RouterA-Atm3/0/0]
standby timer delay 10 10
[RouterA-Atm3/0/0]
quit
Step 3
Configure the uplink backup interface of RouterA.
In this example, the connected 3G network is a WCDMA network. To connect to the PS region
of the WCDMA network, set the dial string to *99#.
The APN name must be the same as that of the carrier. In this example, the name of the connected
APN is wcdma.
NOTE
Before configuring interface backup, ensure that a 3G modem and the SIM/UIM card are properly installed.
This example describes only the configuration of the uplink backup interface. For details about other uplink
devices, see the related manuals.
[RouterA]
dialer-rule
[RouterA-dialer-rule]
dialer-rule 1 ip permit
[RouterA-dialer-rule]
quit
[RouterA]
interface Cellular 0/0/0
[RouterA-Cellular0/0/0]
profile create 1 static wcdma
[RouterA-Cellular0/0/0]
link-protocol ppp
[RouterA-Cellular0/0/0]
ip address ppp-negotiate
[RouterA-Cellular0/0/0]
dialer enable-circular
[RouterA-Cellular0/0/0]
dialer-group 1
[RouterA-Cellular0/0/0]
dialer timer idle 0
Info: The configuration will take effect for the next call.
[RouterA-Cellular0/0/0]
dialer number *99#
[RouterA-Cellular0/0/0]
nat outbound 3002
[RouterA-Cellular0/0/0]
quit
Step 4
Configure a static route.
[RouterA]
ip route-static 0.0.0.0 0.0.0.0 virtual-template 10
[RouterA]
ip route-static 0.0.0.0 0.0.0.0 cellular 0/0/0
----End
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
1 Interface Backup Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
28