307
Task Command Remarks
Clear the statistics about the EtoPPP
translation mapping entry for an
interface or all EtoPPP translation
mapping entries if no interface is
specified.
reset
etoppp
translate
[
interface
interface-type interface-number ]
Available in user
view.
Display EtoFR translation mapping
entries and translation statistics.
display
etofr
translate
[
interface
interface-type interface-number ] [
|
{
begin
|
exclude
|
include
}
regular-expression ]
Available in any
view.
Clear the translation statistics for the
EtoFR translation mapping entry for an
interface or all EtoFR translation entries
if no interface is specified.
reset
etofr
translate
[
interface
interface-type interface-number ]
Available in user
view.
EtoPPP and EtoFR configuration examples
EtoPPP configuration example
Network requirements
As shown in Figure 118 , Router A (the CE) is the gateway for a LAN and is connected to Router B (the
EtoPPP device) through an Ethernet interface. Router B is connected to Router C (the PE) through a
PPP-encapsulated serial interface formed by bundling timeslots on a T1 line.
Map the Ethernet interface to the PPP interface on Router B through EtoPPP to forward traffic
between the two interfaces at Layer 2.
Figure 118 Network diagram
Configuration procedure
1. Configure the CE (Router A):
# Configure the IP address of interface Ethernet 1/1 on Router A.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 1.1.1.1 24
2. Configure the PE (Router C):
Internet
Router CRouter B
Router A
Eth1/1
Eth1/1
1.1.1.1/24
Serial 2/0:0
1.1.1.2/24
Serial 2/0:0
PECE
EtoPPP device
Host B
Host A