R3303-HP HSR6800 Routers Layer 2 - WAN Command Reference

80
PPPoE server configuration commands
Support for the commands in this chapter depends on the device model.
Cross-card Layer 3 aggregate interfaces do not support the commands in this chapter.
display pppoe-server session
Use display pppoe-server session to display the information for PPPoE sessions.
Syntax
display pppoe-server session all [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Displays all the information about PPPoE sessions.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display all the information about PPPoE sessions.
<Sysname> display pppoe-server session all
Total PPPoE Session(s): 2
SID Intf State OIntf RemMAC LocMAC
1 Virtual-Template1:0 UP GE1/0/1 00e015004100 00e014004300
2 Virtual-Template2:0 UP GE1/0/2 00e016004100 00e015004300
Table 15 Command output
Field Descri
p
tion
SID PPPoE session ID.
Intf Virtual-template interface.
State PPPoE session state.
OIntf Corresponding Ethernet interface.
RemMAC Peer MAC address.