212
2. If the PPPoEoA Server is of the same type of router, its PPPoEoA can be configured as follow:
# Configure user features.
<Sysname> system-view
[Sysname] local-user user1
[Sysname-luser-user1] password simple hello
[Sysname-luser-user1] service-type ppp
# Create a virtual-template, set the authentication mode to CHAP, and configure the IP
address.
[Sysname] interface virtual-template 0
[Sysname-Virtual-Template0] ppp authentication-mode chap
[Sysname-Virtual-Template0] ppp chap user Sysname
[Sysname-Virtual-Template0] ip address 10.1.1.1 255.255.0.0
[Sysname-Virtual-Template0] remote address pool 80
[Sysname-Virtual-Template0] quit
# Configure the users in the domain to use the local authentication scheme, and create a local
IP address pool.
[Sysname] domain system
[Sysname-isp-system] scheme local
[Sysname-isp-system] ip pool 80 10.1.1.2 10.1.1.100
# Configure a VE interface.
[Sysname] interface virtual-ethernet 1
# Enable PPPoE Server on the VT specified on the virtual Ethernet interface.
[Sysname-Virtual-Ethernet1] pppoe-server bind virtual-template 0
[Sysname-Virtual-Ethernet1] mac-address 0022-0022-00C1
[Sysname-Virtual-Ethernet1] quit
# Configure ATM interface 1/0.
[Sysname] interface atm1/0
[Sysname-Atm1/0] pvc 0/32
[Sysname-atm-pvc-Atm1/0-0/32] map bridge virtual-ethernet 1
After the configuration, the link layer is capable of working correctly, and the PCs can communicate
with the server through the ATM upper layer protocols.
ATM PVC transmit priority configuration example
Network requirements
As shown in Figure 72, create PVC 1 and PVC 2 on the same ATM 155 Mbps interface, each
assigned 100 Mbps of bandwidth and associated with the UBR service. Set the transmission priority
of PVC 1 to 1 and that of PVC 2 to 3.
Configure Router A to distribute equal amount of traffic to Router B and Router C on two PVCs and
observe the statistics about received/sent/dropped packets.