R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - WAN Command Reference Guide

22
Syntax
map ppp virtual-template vt-number
undo map ppp
Default
No mapping is configured.
Views
PVC view, ATM class view
Default command level
2: System level
Parameters
vt-number: Specifies the number of the VT interface corresponding to a PPPoA mapping.
Usage guidelines
Before using this command, make sure that the VT has been created.
Examples
The following example demonstrates a complete process of PPPoA configuration.
# Create a VT interface numbered 10, and assign it an IP address.
<Sysname> system-view
[Sysname] interface virtual-template 10
[Sysname-Virtual-Template10] ip address 202.38.160.1 255.255.255.0
[Sysname-Virtual-Template10] quit
# Create PVC 1/101 on interface ATM 1/0/1.
[Sysname] interface atm 1/0/1
[Sysname-Atm1/0/1] pvc 1/101
# Create a PPPoA map using the VT interface created.
[Sysname-atm-pvc-Atm1/0/1-1/101] map ppp virtual-template 10
mtu
Use mtu to set the MTU on an ATM interface.
Use undo mtu to restore the default.
Syntax
mtu mtu-number
undo mtu
Default
The MTU for ATM interfaces is 1500 bytes.
Views
ATM interface view
Default command level
2: System level