R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

24
# Create the VE interface to encapsulate the PPP protocol.
[RouterC] interface virtual-ethernet 1/0/1
[RouterC-virtual-ethernet 1/0/1] pppoe-server bind virtual-template 10
[RouterC-virtual-ethernet 1/0/1] quit
[RouterC] interface virtual-ethernet 2/0/1
[RouterC-Virtual-Ethernet2/0/1] pppoe-server bind virtual-template 11
[RouterC-Virtual-Ethernet2/0/1] quit
# Establish a PVC and specify it to carry PPPoE.
[RouterC] interface atm 1/0/1.1
[RouterC-Atm1/0/1.1] pvc to_adsl_a 0/60
[RouterC-atm-pvc-Atm1/0/1.1-0/60-to_adsl_a] map bridge virtual-ethernet 1/0/1
[RouterC-atm-pvc-Atm1/0/1.1-0/60-to_adsl_a] quit
[RouterC-Atm1/0/1.1] pvc to_adsl_b 0/61
[RouterC-atm-pvc-Atm1/0/1.1-0/61-to_adsl_b] map bridge virtual-ethernet 2/0/1
For more information about configuring a RADIUS scheme, see Security Configuration Guide.
ATM PVC transmit priority configuration example
Network requirements
As shown in Figure 9, 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.
Figure 9 Network diagram
Configuration procedure
Configure Router A:
# Configure the ATM interface.
<RouterA> system-view
[RouterA] interface atm 1/0/1
[RouterA-Atm1/0/1] ip address 202.38.160.1 255.255.255.0
# Create two PVCs and assign them different transmission priority values.
[RouterA-Atm1/0/1] pvc 1 0/33
[RouterA-atm-pvc-Atm1/0/1-0/33-1] map ip 202.38.160.2
[RouterA-atm-pvc-Atm1/0/1-0/33-1] service ubr 100000
[RouterA-atm-pvc-Atm1/0/1-0/33-1] transmit-priority 1
Router A
Router B
PVC1
PVC2
ATM1/0/1
202.38.160.1/24
ATM1/0/1
202.38.160.2/24
Router C
ATM1/0/1
202.38.160.3/24