NetEngine AR600 AR6000 Series Routers WAN Access Typical Configuration

Download as pdf or txt
Download as pdf or txt
You are on page 1of 24

Security Level: Internal

NetEngine AR600,AR6000
WAN Access Typical
Configuration
(E1/Serial/PPPoE/LTE)
www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


Contents

• E1-M
• E1-F
• Serial
• PPPoE
• VDSL+LTE
Interface Management - CE1/PRI
Introduction
CE1/PRI interface can work in either E1 mode (unchannelized mode) or
CE1/PRI mode (channelized mode).
 In E1 mode, a CE1/PRI interface works at a rate of 2.048 Mbit/s without timeslot division.
 In CE1/PRI mode, the 2 Mbit/s transmission line of a CE1/PRI interface is divided into 32
timeslots at a rate of 64 kbit/s. The 32 timeslots are numbered 0 to 31, and timeslot 0
transmits synchronization signals.
 When the CE1/PRI interface functions as a CE1 interface, timeslots except timeslot 0 can be
randomly bundled to form multiple channel sets. Each channel set corresponds to a channel.
 When the CE1/PRI interface functions as a PRI interface, timeslot 16 functions as the D channel to
transmit signals. Therefore, only one group of timeslots except timeslots 0 and 16 can be randomly
selected to function as B channels, and then these B channels are bundled with timeslot 16 to form
a PRI set.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 3


Interface Management– Configure a CE1/PRI
interface works in E1 mode
 Run the system-view command to enter the system view.
 Run the controller e1 interface-number to enter the CE1/PRI interface view。
 Run the using e1 command to make CE1/PRI interface work in E1 mode.
By default, a CE1/PRI interface works in CE1/PRI mode.
After a CE1/PRI interface is configured to work in E1 mode, a serial interface is created
automatically. The number format of a serial interface is "serial interface-number:0".
interface-number specifies the number of a CE1/PRI interface. User can configure more
configuration on this Serial interface, including IP address, ppp, frame-relay and other link
layer protocol parameters, NAT etc.
 (Optional)Run the line-termination { 75-ohm | 120-ohm } command,
By default, a CE1/PRI interface connects to a 120 ohm balanced cable (twisted pair).
 (Optional)Run the clock { master | slave } command,you can set the clock
mode for a CE1/PRI interface.
By default, a CE1/PRI interface works in slave clock mode and uses line clock signals.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 4


Interface Management – Configure a CE1/PRI
interface works in CE1 mode
 Run the system-view command to enter the system view.
 Run the controller e1 interface-number to enter the CE1/PRI interface view.
 (Optional)Run the using ce1 command to configure a CE1/PRI interface work in CE1 mode.
By default, a CE1/PRI interface works in CE1/PRI mode.
Using the channel-set set-number timeslot-list list command,you can bundle timeslots of a
CE1/PRI interface to form a channel set.
After the channel-set command is run, a serial interface is created automatically. It has the same
logical features as a synchronous serial interface. The number format of a serial interface is
"serial interface-number:set-number".
 (Optional)Run the line-termination { 75-ohm | 120-ohm } command
By default, a CE1/PRI interface connects to a 120 ohm balanced cable (twisted pair).
(Optional)Run the clock { master | slave } command, you can set the clock mode for a
CE1/PRI interface.
 (Optional)Run the frame-format { crc4 | no-crc4 } command, you can set the frame format
for a CE1/PRI interface.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 5


Interface Management – Configure a CE1/PRI
interface works in PRI mode
 Run the system-view command to enter the system view.
 Run the controller e1 interface-number command to enter the CE1/PRI interface view.
 (Optional)Run the using ce1 command to configure a CE1/PRI interface work in CE1 mode.
By default, a CE1/PRI interface works in CE1/PRI mode.
 Using the pri-set [ timeslot-list list ] command, you can bundle timeslots of a CE1/PRI interface to form a PRI
set.
After the pri-set command is run, a serial interface is created automatically. It has the same logical features as an
ISDN PRI interface. The number format of a serial interface is "serial interface-number:15". interface-number
specifies the number of a CE1/PRI interface. User can do more configuration on this ISDN PRI interface,
including DCC work parameters, PPP and its authentication parameters, NAT etc.
 (Optional)Run the line-termination { 75-ohm | 120-ohm } command
By default, a CE1/PRI interface connects to a 120 ohm balanced cable (twisted pair).
(Optional)Run the clock { master | slave } command, you can set the clock mode for a CE1/PRI
interface.
 (Optional)Run the frame-format { crc4 | no-crc4 } command, you can set the frame format for a CE1/PRI
interface.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 6


CE1 Interface Configuration-Unchannelized Mode
Networking Requirements
Each of RouterA and RouterB connects to an IP network, and they are interconnected by E1 interfaces. The E1
interface of RouterA is a DTE interface, and the E1 interface of RouterB is a DCE interface. E1 interfaces need
to be configured unchannelized mode so that the two IP networks can communicate.

Serial 1/0/0:0

Serial 1/0/0:0
RouterA RouterB

RouterA’s configuration files: RouterB’s configuration files:


# #
sysname RouterA sysname RouterB
# #
controller e1 1/0/0 // Enter the E1 interface view controller e1 1/0/0 // Enter the E1 interface view
using e1 // Configure unchannelized E1 mode using e1 // Configure unchannelized E1 mode
# clock master // Set clock mode as master
interface Serial1/0/0:0 #
link-protocol ppp interface Serial1/0/0:0
ip address 192.168.1.1 255.255.255.252 link-protocol ppp
# ip address 192.168.1.2 255.255.255.252
#

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


CE1 Interface Configuration-Channelized Mode
Networking Requirements
Each of RouterA and RouterB connects to an IP network, and they are interconnected by E1 interfaces. The E1
interface of RouterA is a DTE interface, and the E1 interface of RouterB is a DCE interface. E1 interfaces need
to be configured channelized mode so that the two IP networks can communicate.

Serial 1/0/0:0

Serial 1/0/0:0
RouterA RouterB

RouterA’s configuration files: RouterB’s configuration files:


# #
sysname RouterA sysname RouterB
# #
controller e1 1/0/0 // Enter the E1 interface view controller e1 1/0/0 // Enter the E1 interface view
using ce1 // Configure channelized E1 mode using ce1 // Configure channelized E1 mode
channel-set 0 tiemslot-list 1-31 // Configure channel-set 0, channel-set 0 tiemslot-list 1-31 // Configure channel-set 0, include
include 1-31 all timeslots 1-31 all timeslots
# clock master // Set clock mode as master
interface Serial1/0/0:0 #
link-protocol ppp interface Serial1/0/0:0
ip address 192.168.1.1 255.255.255.252 link-protocol ppp
# ip address 192.168.1.2 255.255.255.252
#

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


Contents

• E1-M
• E1-F
• Serial
• PPPoE
• VDSL+LTE
List of the function difference between E1/T1-F and
E1/T1-M

List of the function difference between E1/T1-F and E1/T1-M


Board name Work mode which FE1 can support Support PRI or not
1E1T1-F/2E1T1-F Only can be bundled one time, and can No
be bundled into a channel, the rate is
n×64K,n=1~31
1E1T1-M/2E1T1-M 31 timeslots can be bundled randomly Yes
to form multiple channel sets.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


Interface Management –Configure an E1-F
interface works in framed mode
 Configuration Roadmap
 Run the system-view command to enter the system view.
 Run the interface serial interface-number command to enter the E1-F interface view.
 (Optional)Using the undo fe1 unframed command,you can configure an E1-F interface
to work in framed mode.
By default, an E1-F interface works in framed mode.
 When using display fe1 serial interface-number command to view E1-F interface which is
working in unframed mode, you need to execute this process.
 (Optional)Using the fe1 timeslot-list list command,you can bundle timeslots on an E1-
F interface into a channel.
By default, all timeslots of an E1-F interface are bundled, and the rate of the E1-F interface
is 1984 kbit/s.
When need to change the rate of an E1-F interface, you should execute this process.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 11


Interface Management–Configure an E1-F
interface works in unframed mode
 Configuration Roadmap
 Run the system-view command to enter the system view.
 Run the interface serial interface-number command to enter the E1-F interface view.
 Using the fe1 unframed command,you can configure an E1-F interface to work in
unframed mode.
 By default, an E1-F interface works in framed mode.
 (Optional)Using the fe1 line-termination { 75-ohm | 120-ohm } command, you can
set the cable type for an E1-F interface.
 By default, the cable type applicable to an E1-F interface is 120 ohm balanced cable
(twisted pair).
 This command is required when the type of the cable connected to an E1-F interface
changes.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 12


E1-F interface configuration
Networking Requirements
Each of RouterA and RouterB connects to an IP network, and they are interconnected by E1-F interfaces(framed
mode). The E1-F interface of RouterA is a DTE interface, and the E1-F interface of RouterB is a DCE interface.
E1-F interfaces need to be configured so that the two IP networks can communicate.

Serial 1/0/0

Serial 1/0/0
RouterA RouterB

RouterA’s configuration files: RouterB’s configuration files:


# #
sysname RouterA sysname RouterB
# #
interface Serial1/0/0 interface Serial1/0/0
link-protocol ppp link-protocol ppp
ip address 192.168.1.1 255.255.255.252 ip address 192.168.1.2 255.255.255.252
# fe1 clock master
#

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


Contents

• E1-M
• E1-F
• Serial
• PPPoE
• VDSL+LTE
Serial interface configuration
Networking Requirements
Each of RouterA and RouterB connects to an IP network, and they are interconnected by synchronous serial
interfaces. The synchronous serial interface of RouterA is a DTE interface, and the synchronous serial interface
of RouterB is a DCE interface. Synchronous serial interfaces need to be configured so that the two IP networks
can communicate.

RouterA’s configuration files RouterB’s configuration files


# #
sysname RouterA sysname RouterB
# #
interface Serial1/0/0 interface Serial1/0/0
link-protocol ppp link-protocol ppp
clock rc baudrate 72000
Virtualbaudrate 72000 mtu 1400
mtu 1400 ip address 10.1.1.2 255.255.255.252
ip address 10.1.1.1 255.255.255.252 #
#

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 15


Contents

• E1-M
• E1-F
• Serial
• PPPoE
• VDSL+LTE
Example for Configuring the PPPoE Server
Networking Requirements
Hosts on an enterprise network need to dial in to the Internet using PPPoE. An AR router needs to be configured as
the PPPoE server to provide the PPPoE service for users on the enterprise network. Each user host sets up a PPPoE
session with the PPPoE server and is allocated a user account.
The PPPoE server performs local authentication and allocates IP addresses to user hosts from an IP address pool.

PPPoE Server Configuration Files


#
ip pool pool1
network 192.168.10.10 mask 255.255.255.0
gateway-list 192.168.10.1
#
aaa
authentication-scheme system_a
domain system
authentication-scheme system_a
Configuration Roadmap local-user user1@system password simple huawei
The configuration roadmap is as follows: local-user user1@system service-type ppp
1. Configure a local address pool. #
2. Configure a virtual template interface interface Virtual-Template1
and set PPP parameters on the virtual ppp authentication-mode chap domain system
template interface. remote address pool pool1
3. Bind the virtual template interface to a ip address 192.168.10.10 255.255.255.0
physical interface. #
4. Configure a PPPoE local user for interface Ethernet1/0/0
authentication and accounting. pppoe-server bind Virtual-Template 1

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 17


Example for Configuring the PPPoE Client
Networking Requirements
Router works as PPPoE client and make these hosts connect to PPPoE server. If no data is
transmitted for a long period of time, the PPPoE client disconnects from the PPPoE server.
When data needs to be transmitted, the PPPoE client re-establishes a PPPoE session with
the PPPoE server.
PPPoE Client configuration files
#
dialer-rule
dialer-rule 1 ip permit
#
interface Dialer0
link-protocol ppp
ip address ppp-negotiate
ppp chap user client
Configuration Roadmap ppp chap password cipher client
1. Create a dialer interface and set dialer user server
parameters of the dialer interface. dialer bundle 1
2. Create a PPPoE session. dialer-group 1
3. Configure a static route from the #
local end to the PPPoE server. interface Ethernet2/0/0
pppoe-client dial-bundle-number 1 on-demand
#
ip route-static 0.0.0.0 0 Dialer0

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential Page 18


Contents

• E1-M
• E1-F
• Serial
• PPPoE
• VDSL+LTE
Configuring VDSL+LTE link backup
 Networking Requirements
Router is the egress gateway of the enterprise, and the VDSL interface functions as the primary interface to connect
to the Internet.
To ensure reliable access, the enterprise requires that the LTE cellular interface should function as a backup interface
to connect enterprise users to the Internet when the primary interface is faulty.
 Configuration Roadmap
1.Configure the enterprise intranet and configure the Router as the enterprise's egress gateway to assign IP addresses
to enterprise intranet users.
2.Configure the VDSL interface as the uplink primary interface.
3.Configure the LTE cellular interface as the uplink backup interface.
4.Configure a default route so that traffic from the enterprise intranet is transmitted to the Internet through the VDSL
or LTE cellular interface.

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


vlan batch 10 //Configure user VLAN 10
#
dhcp enable //Open DHCP function
#
ip pool lan //Configure DHCP address pool,used for LAN user’s IP address allocation
gateway-list 192.168.100.1
network 192.168.100.0 mask 255.255.255.0
#
interface Vlanif10 //Configure the gateway for LAN user
ip address 192.168.100.1 255.255.255.0
dhcp select global
#
interface Ethernet2/0/0 //Configure the LAN interface
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


acl number 3002 //Define ACL, matching the LAN user IP address range
rule 5 permit ip source 192.168.100.0 0.0.0.255
#
interface Atm1/0/0 // ATM interface connecting VDSL
pvc voip 1/35 //Creat PVC, and VPI is 1, VCI is 35
map ppp Virtual-Template10 //Create PPPoA mapping
standby interface Cellular0/0/0
#
interface Virtual-Template10 //Create virtual interface,used by ATM interface
ip address ppp-negotiate
nat outbound 3002

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


apn profile ltenet //Use the APN specified by the carrier. In this example, set the APN to ltenet.
#
interface Cellular0/0/0 //Configure LTE uplink inteface
dialer enable-circular
dialer-group 1
apn-profile ltenet
dialer timer idle 50 //set the maximum link idle time as 50s
dialer number *99# autodial // In this example, set the dialer number to *99#.
nat outbound 3002
ip address negotiate
#
dialer-rule
dialer-rule 1 ip permit
# //Configure 2 default routes, set the LTE link as backup by setting higher preference number
ip route-static 0.0.0.0 0.0.0.0 Virtual-template10 preference 40
ip route-static 0.0.0.0 0.0.0.0 Cellular0/0/0 preference 80
#

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential


Thank You!
www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD. Huawei Confidential

You might also like