Parameter
Description
Example
map ip
Syntax
View
Parameter
interface-number: Virtual Ethernet (VE) interface number.
Use the
command to establish the IPoEoA mapping or PPPoEoA
map bridge
mapping on the PVC.
Use the
undo map bridge
By default, no mapping is configured.
Before using this command, make sure that the VE has been created.
The following example demonstrates a complete process of IPoEoA configuration.
# Establish a VE interface virtual-Ethernet 1.
<Sysname> system-view
[Sysname] interface virtual-ethernet 1
# Configure an IP address 10.1.1.1/16 for 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
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
PVC view, ATM class view
ip-address: Remote IP address mapped to 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
command to delete the mapping.
301