FAQ-Can an AR Sub-interface Be Bound to a PPPoE Server and How Do I Bind the AR Router Sub-interface to the PPPoE Server

Publication Date:  2015-05-05 Views:  270 Downloads:  0
Issue Description
Can an AR Sub-interface Be Bound to a PPPoE Server and How Do I Bind the AR Router Sub-interface to the PPPoE Server?
Solution
The AR sub-interface can be bound to a PPPoE Server.

To bind an AR sub-interface to a PPPoE server, perform the following operations:

1.  Configuring a Virtual Template Interface

a.Run:
system-viewThe system view is displayed.

b.Run:
interface virtual-template vt-numberA virtual template interface is created and the virtual template interface view is displayed.

c.Run:
ip address ip-address { mask | mask-length }An IP address is allocated to the virtual template interface.

2.  Configuring an Ethernet Sub-interface for Termination

a.Run:system-view
The system view is displayed.

b.Run:
interface { ethernet | gigabitethernet } interface-number.subinterface-numberThe Ethernet sub-interface view is displayed.

c.Run:
control-vid vid dot1q-terminationThe mappings between the control VLAN and the Ethernet sub-interface are specified.

NOTE:
Only V2R1C00, V2R1C01, and V2R2C00 support this command. In later versions of V2R2C00, you do not need to configure this command.

d.Configuring an Ethernet Sub-interface for Termination

NOTE:
VLAN packets are classified into Dot1q packets (one layer of VLAN tag) and QinQ packets (double layers of tags). Accordingly, there are two VLAN tag termination modes. Dot1q termination terminates Dot1q packets and QinQ termination terminates QinQ packets. In V2R3C00 or later versions, PPPoE supports Dot1q packets and QinQ packets. You can use either of the following commands. In earlier versions of V2R3C00, PPPoE does not support QinQ packets. Only Dot1q termination can be configured.
   Run:
dot1q termination vid pe-vidThe allowed VLAN is configured on the Ethernet sub-interface for dot1q VLAN termination.
   Run:
qinq termination  pe-vid pe-vid ce-vid ce-vidThe allowed VLAN is configured on the Ethernet sub-interface for qinq VLAN termination.

e.Run:
arp broadcast enableThe ARP broadcast function is enabled on the Ethernet sub-interface.

NOTE:
When you enable or disable the ARP broadcast function on a sub-interface, the routing status of the sub-interface becomes Down and then Up. This may result in flapping of routes on the entire network, affecting the normal operation of services.

3.  Run:
pppoe-server bind virtual-template vt-numberThe specified virtual template interface is bound to the Ethernet sub-interface and PPPoE is enabled on the Ethernet sub-interface .

By default, PPPoE is disabled.

After the PPPoE server is configured, PPPoE clients dial in to the server.After PPPoE sessions are set up, run the display pppoe-server session { all | packet } command to check the PPPoE session status and statistics about PPPoE packets.

END