Default
An interface is a PPPoE relay untrusted port.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Usage guidelines
A PPPoE relay-enabled device processes PPPoE protocol packets as follows:
•
When receiving PADI, PADR, and PADT on untrusted ports, the device can forward the packets
out of only the trusted ports.
•
When receiving PADO and PADS packets on untrusted ports, the device directly drops the
packets.
•
When receiving PADO, PADS, and PADT packets on trusted ports, the device can forward the
packets out of any port.
•
When receiving PADI and PADR packets on trusted ports, the device can forward the packets
out of only the trusted ports.
For a PPPoE relay to correctly forward and process PPPoE protocol packets, you must configure the
PPPoE server-facing interfaces on the PPPoE relay as trusted ports, and configure the PPPoE
client-facing interfaces on the PPPoE relay as untrusted ports.
This command is not supported on Layer 2 aggregation group member ports. If a Layer 2 Ethernet
interface is configured with this command before joining a Layer 2 aggregation group, the command
is cleared on the member port after the member ports joins the aggregation group.
Examples
# Configure GigabitEthernet 1/0/1 as a PPPoE relay trusted port.
<Sysname> system-view
[
]
Sysname
[
Sysname-GigabitEthernet1/0/1
Related commands
pppoe-relay server-information vendor-specific strip
reset pppoe-relay statistics
Use
reset pppoe-relay statistics
Syntax
reset pppoe-relay statistics
Views
User view
Predefined user roles
network-admin
Examples
# Clear packet statistics for the PPPoE relay.
<Sysname> reset pppoe-relay statistics
interface GigabitEthernet 1/0/1
]
pppoe-relay trust
to clear packets statistics for the PPPoE relay.
8