24-chapter 24 ipoa&pppoa service application
DESCRIPTION
24-Chapter 24 IPoA&PPPoA Service ApplicationTRANSCRIPT
Operation Manual – IPM Volume UA5000 Universal Access Unit Table of Contents
Huawei Technologies Proprietary
i
Table of Contents
Chapter 24 IPoA/PPPoA Service Application ........................................................................... 24-1 24.1 Overview of the IPoA/PPPoA Service ........................................................................... 24-1 24.2 IPoA/PPPoA Configuration Procedure .......................................................................... 24-2 24.3 IPoA/PPPoA Configuration Example............................................................................. 24-2
24.3.1 Networking .......................................................................................................... 24-2 24.3.2 Configuration Procedure ..................................................................................... 24-3
Operation Manual – IPM Volume UA5000 Universal Access Unit Chapter 24 IPoA/PPPoA Service Application
Huawei Technologies Proprietary
24-1
Chapter 24 IPoA/PPPoA Service Application
This chapter includes the following:
Overview of the IPoA/PPPoA Service IPoA/PPPoA Configuration Procedure IPoA/PPPoA Configuration Example
24.1 Overview of the IPoA/PPPoA Service
The UA5000 supports conversion between IPoA/PPPoA and IPoE/PPPoE. With this function, IPoA/PPPoA subscribers can access the IP network at the upper layer. This enhances the access ability and network compatibility of the UA5000.
Table 24–1 shows the commands for IPoA/PPPoA protocol conversion.
Table 24–1 Commands for IPoA/PPPoA protocol conversion
To… Use… In…
Configure the switch for IPoA protocol conversion ipoa enable/disable Global config mode
Configure the switch for PPPoA protocol conversion pppoa enable/disable Global config mode
Configure the expire time of the IPoA subscriber transfer entry ipoa expire-time Global config mode
Configure the encapsulation type of subscriber data encapsulation Global config mode
Configure the default gateway of IPoA subscribers
[undo] ipoa default gateway Global config mode
Query the encapsulation type of subscriber data
display encapsulation type Global config mode
Query the IPoA configurations display ipoa config Global config mode
Query the PPPoA configurations display pppoa config Global config mode
Query the IPoA subscriber transfer entry display ipoa user Global config mode
Query the PPPoA subscriber transfer entry display pppoa user Global config mode
Operation Manual – IPM Volume UA5000 Universal Access Unit Chapter 24 IPoA/PPPoA Service Application
Huawei Technologies Proprietary
24-2
When configuring the IPoA/PPPoA access services, you need to configure MAC address pools. The MAC address pools are used in conversion of the IPoA/PPPoA packet format.
Table 24–2 shows the commands for configuring MAC address pools.
Table 24–2 command for configuring MAC address pools
To… Use… In…
Add a MAC address pool mac-pool Global config mode
Delete a MAC address pool undo mac-pool Global config mode
Query MAC address pool information display mac-pool Global config mode
24.2 IPoA/PPPoA Configuration Procedure
The procedure for configuring IPoA/PPPoA access services is as follows.
1) Configure xDSL ports for accessing IPoA/PPPoA services. 2) Create a VLAN and configure an upstream port and a virtual service port for the
VLAN. 3) Configure a MAC address pool. 4) Enable the switch for IPoA/PPPoA protocol conversion. 5) Configure a default gateway for IPoA subscribers. 6) Configure the encapsulation type for IPoA/PPPoA access services. 7) Save the data.
24.3 IPoA/PPPoA Configuration Example
This section gives an example to show how to configure IPoA and PPPoA services.
24.3.1 Networking
Figure 24–1 shows the networking of IPoA/PPPoA access services.
Operation Manual – IPM Volume UA5000 Universal Access Unit Chapter 24 IPoA/PPPoA Service Application
Huawei Technologies Proprietary
24-3
UA5000
IPM
ADL
PPPoAsubscriber
ADL
0/7/0 0/9/0
0/3/0
ModemModem
IP
IPoAsubscriber
Gateway
Figure 24–1 Networking of IPoA/PPPoA access services
In the networking, the service data is planned as follows:
IPoA/PPPoA services access the UA5000 through the ADSL ports 0/7/0 and 0/9/0 respectively, and then go upstream to the IP network through the IP port 0/3/0.
The IPoA services go upstream from VLAN 20, which is a Smart VLAN. The PPPoA services go upstream from VLAN 30, which is a MUX VLAN. The default gateway of the IPoA services is 10.1.1.1. The start MAC address in the MAC address pool is 1000-0000-0000.
24.3.2 Configuration Procedure
I. Configuring an ADSL port
All ADSL ports in this example use the default settings. When the line and the opposite Modems are normal, the ADSL port is in the active state.
II. Creating a VLAN and configure an upstream port and a virtual service port for the VLAN
The VLAN can be a MUX VLAN or a Smart VLAN.
huawei(config)#vlan 20 smart
huawei(config)#vlan 30 mux
huawei(config)#port vlan 20 0/3 0
huawei(config)#port vlan 30 0/3 0
huawei(config)#service-port vlan 20 adsl 0/7/0 vpi 0 vci 35 rx-cttr 2 tx-cttr
2
huawei(config)#service-port vlan 30 adsl 0/9/0 vpi 0 vci 35 rx-cttr 2 tx-cttr
2
Operation Manual – IPM Volume UA5000 Universal Access Unit Chapter 24 IPoA/PPPoA Service Application
Huawei Technologies Proprietary
24-4
III. Configuring a MAC address pool
Configure a MAC address pool with the number of 0, and set its start MAC address as 1000-0000-0000.
huawei(config)#mac-pool 0 1000-0000-0000
IV. Configuring IPoA access services
1) Enable the switch for IPoA protocol conversion. huawei(config)#ipoa enable
2) Configure a default gateway for the IPoA service. huawei(config)#ipoa default gateway 10.1.1.1
3) Configure the encapsulation type for IPoA services of the ADSL port 0/7/0 as logical link control (LLC). huawei(config)#encapsulation
{ frame/slot/port<S><1,15>|frame/slot<S><1,15> }:0/7/0
{ vpi<K> }:vpi
{ vpi<U><0,4095> }:0
{ vci<K> }:vci
{ vci<U><32,65535> }:35
{ type<K> }:type
{ bridge<K>|ipoa<K>|pppoa<K> }:ipoa
{ llc<K>|vc-mux<K> }:llc
{ srcIP<K>}:srcIP
{ srcIP<x.x.x.x><I><X.X.X.X> }:10.1.1.20
{ <cr>|dstIP<K> }:
Note:
You must set the source and destination IP addresses for the IPoA subscriber when setting the encapsulation type.
You need not configure the destination IP address for the IPoA subscriber if a default gateway has been configured for the IPoA service.
You need not configure the source IP address if the Modem can automatically report the IP address.
After you successfully configure IPoA service encapsulation for the specified xDSL port, you must change the encapsulation type to LLC bridge. Otherwise, you cannot delete the virtual service port.
V. Configuring the PPPoA access service
1) Enable the switch for PPPoA protocol conversion.
Operation Manual – IPM Volume UA5000 Universal Access Unit Chapter 24 IPoA/PPPoA Service Application
Huawei Technologies Proprietary
24-5
huawei(config)#pppoa enable
2) Set the encapsulation type for PPPoA services on the ADSL port 0/9/0 as LLC. huawei(config)#encapsulation
{ frame/slot/port<S><1,15>|frame/slot<S><1,15> }:0/9/0
{ vpi<K> }:vpi
{ vpi<U><0,4095> }:0
{ vci<K> }:vci
{ vci<U><32,65535> }:35
{ type<K> }:type
{ bridge<K>|ipoa<K>|pppoa<K> }:pppoa
{ llc<K>|vc-mux<K> }:llc
Note:
After you successfully configure PPPoA service encapsulation for the specified xDSL port, you must change the encapsulation type to LLC bridge. Otherwise, you cannot to delete the virtual service port.
VI. Saving the data
huawei(config)#save
After the services are successfully configured, you can query all IPoA/PPPoA online subscribers.
huawei(config)#display ipoa user all
----------------------------------------------------------------------
F/S/P VPI VCI ENCAP SRCMAC DSTMAC SESSIONID
----------------------------------------------------------------------
0/7 /0 0 35 llc_ip 1000-0000-0000 00e0-fc36-0000 -
----------------------------------------------------------------------
Total: 1
Note : F--Frame, S--Slot, P--Port(or Virtual Port, such as IMA GROUP,
VLAN ID etc.), The vpi is access-end VLAN ID in adsl port
huawei(config)#display pppoa user all
----------------------------------------------------------------------
F/S/P VPI VCI ENCAP SRCMAC DSTMAC SESSIONID
----------------------------------------------------------------------
0/9 /0 0 35 llc_ppp 1000-0000-0001 00be-fc36-ac87 0
----------------------------------------------------------------------
Total: 1
Operation Manual – IPM Volume UA5000 Universal Access Unit Chapter 24 IPoA/PPPoA Service Application
Huawei Technologies Proprietary
24-6
Note : F--Frame, S--Slot, P--Port(or Virtual Port, such as IMA GROUP,
VLAN ID etc.), The vpi is access-end VLAN ID in adsl port