R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

152
Usage guidelines
To collect statistics spanning a specific period for an interface, you must clear statistics of the interface
before starting statistics collection.
If you do not specify mfr, this command clears the statistics of all interfaces.
If you specify the mfr but not an interface number, this command clears the statistics of all MFR
interfaces.
If you specify both mfr and an interface number, this command clears the statistics of the specified
MFR interface.
Examples
# Clear statistics of interface MFR 4.
<Sysname> reset counters interface mfr 4
PPPoFR and MPoFR configuration commands
display fr map-info pppofr
Use display fr map-info pppofr to display current PPPoFR mappings and their states for the specified or
all interfaces.
Syntax
display fr map-info pppofr [ interface interface-type { interface-number | interface-number.subnumber } ]
[ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its
type and number. It can be a main interface or subinterface. The interface-number argument is a main
interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
|: 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 information about current PPPoFR mappings and their states.
<Sysname> display fr map-info pppofr
Fr Interface DLCI Fr State PPP Interface PPP Phase
Serial2/0 100 down Virtual-Template1 Phase:0
Serial2/1 200 down Virtual-Template2 Phase:0