R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)
214
Usage guidelines
Before using this command, make sure that the VE has been created.
Examples
The following example demonstrates a complete process of IPoEoA configuration.
# Establish a VE interface numbered 1.
<Sysname> system-view
[Sysname] interface virtual-ethernet 1
# Assign IP address 10.1.1.1/16 to the VE interface.
[Sysname-Virtual-Ethernet1] ip address 10.1.1.1 255.255.0.0
[Sysname-Virtual-Ethernet1] quit
# Create PVC 1/102 on the ATM interface ATM2/0.
[Sysname] interface atm 2/0
[Sysname-Atm2/0] pvc 1/102
# Establish the IPoEoA mapping using the established VE interface in PVC view.
[Sysname-atm-pvc-Atm2/0-1/102] map bridge virtual-ethernet 1
map ip
Use map ip to create an IPoA mapping for the PVC.
Use undo map ip to delete the mapping.
Syntax
In PVC view:
map ip { ip-address [ ip-mask ] | default | inarp [ minutes ] } [ broadcast ]
undo map ip { ip-address | default | inarp }
In ATM class view:
map ip inarp [ minutes ] [ broadcast ]
undo map ip inarp
Default
No mapping is configured. If a mapping is configured, pseudo-broadcast is not supported by default.
Views
PVC view, ATM class view
Default command level
2: System level
Parameters
ip-address: Remote IP address mapped to the current PVC.
ip-mask: IP address mask. It specifies a network segment together with the ip-address argument. This
allows the device to forward an IP packet out of the PVC as long as a next-hop address in the specified
network segment is found for the packet.
default: Sets the default PVC mapping. If no PVC mapping can be found for the next hop address of a
packet, the packet will be sent from the PVC in the default PVC mapping.










