- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-Frame Relay Commands | 195.45 KB |
Basic frame relay configuration commands
display fr inarp-info
Syntax
display fr inarp-info [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Default level
1: Monitor level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. It can only be a main interface.
|: 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.
Description
Use the display fr inarp-info command to display statistics about frame relay inverse ARP (InARP) packets, including requests and replies, for the specified or all frame relay main interfaces.
You may use this command to diagnose whether InARP is operating properly.
Related commands: fr inarp.
Examples
# Display the statistics for frame relay InARP packets.
<Sysname> display fr inarp-info
Frame relay InverseARP statistics for interface Serial4/1/8:10(DTE)
In ARP request Out ARP reply Out ARP request In ARP reply
0 0 1 1
Table 1 Output description
Field |
Description |
Frame relay InverseARP statistics for interface Serial4/1/8:10(DTE) |
Display the statistics on frame relay InARP packets for the interface |
In ARP request |
Received ARP requests |
Out ARP reply |
Sent ARP replies |
Out ARP request |
Sent ARP requests |
In ARP reply |
Received ARP replies |
display fr interface
Syntax
display fr interface [ interface-type { interface-number | interface-number.subnumber } ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. 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.
Description
Use the display fr interface command to display information about the specified or all frame relay interfaces.
You can specify a main interface or a subinterface by providing the interface-type { interface-number | interface-number.subnumber } argument combination.
Examples
# Display information about all frame relay interfaces.
<Sysname> display fr interface
Serial4/1/8:10, multi-point, protocol up
# Display information about a specified frame relay subinterface.
<Sysname> display fr interface Serial3/1/3:0.100
Serial3/1/3:0.100, point-to-point, DCE, physical up, protocol up
Table 2 Output description
Field |
Description |
Serial4/1/8:10 |
Frame relay interface (or subinterface) name |
multi-point |
Interface or subinterface type |
DCE |
Terminal type |
physical up |
Physical layer state |
protocol up |
Link layer state |
display fr lmi-info
Syntax
display fr lmi-info [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number.
|: 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.
Description
Use the display fr lmi-info command to display the Local Management Interface (LMI) frame statistics of the specified or all frame relay interfaces.
The LMI protocol maintains current frame relay links by sending Status-Enquiry messages and Status response messages. The displayed information helps you diagnose faults.
Examples
# Display the statistics about LMI protocol frames.
<Sysname> display fr lmi-info
Frame relay LMI statistics for interface Serial4/1/8:10(DTE, Q933)
T391DTE = 10 (hold timer 10)
N391DTE = 6, N392DTE = 3, N393DTE = 4
out status enquiry = 96, in status = 85
status timeout = 3, discarded messages = 3
Frame relay LMI statistics for interface Serial4/1/10:10 (DCE, Q933)
T392DCE = 15, N392DCE = 3, N393DCE = 4
in status enquiry = 0, out status = 0
status enquiry timeout = 0, discarded messages = 0
Table 3 Output description
Field |
Description |
Frame relay LMI statistics for interface Serial4/1/8:10(DTE, Q933) |
Terminal type and LMI protocol type for the frame relay interface |
T391DTE = 10 (hold timer 10) |
DTE-side T.391 setting |
N391DTE = 6, N392DTE = 3, N393DTE = 4 |
DTE-side N.391, N.392, and N.393 settings |
out status enquiry = 96, in status = 85 |
Number of the Status-Enquiry packets sent out through the interface and that of the Status messages received through the interface |
status timeout = 3, discarded messages = 3 |
Number of the Status messages that are timed out and that of the discarded messages |
Frame relay LMI statistics for interface Serial4/1/10:10 (DCE, Q933) |
Serial2/0 (a frame relay interface) is a DCE interface conformed with the standard described in Q.933 appendix A |
T392DCE = 15, N392DCE = 3, N393DCE = 4 |
The T392, N392, and N393 parameters of the DCE interface |
in status enquiry = 0, out status = 0 |
Number of the Status-Enquiry messages received through the interface and that of the Status messages sent out through the interface |
status enquiry timeout = 0, discarded messages = 0 |
Number of the Status-Enquiry messages that are timed out and number of the discarded messages |
display fr map-info
Syntax
display fr map-info [ interface interface-type { interface-number | interface-number.subnumber } ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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 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.
Description
Use the display fr map-info command to display all frame relay address mappings or the one for the specified frame relay interface.
This command displays whether the static address map entries are correct and whether dynamic address mapping operates properly.
Related commands: fr map ip and fr inarp.
Examples
# Display the frame relay address map table.
<Sysname> display fr map-info
Map Statistics for interface Serial4/1/8:10(DTE)
DLCI = 100, IP INARP 100.100.1.1, Serial4/1/8:10
create time = 2010/10/21 14:48:44, status = ACTIVE
encapsulation = ietf, vlink = 14, broadcast
DLCI = 200, IP INARP 100.100.1.1, Serial4/1/8:10
create time = 2010/10/21 14:34:42, status = ACTIVE
encapsulation = ietf, vlink = 0, broadcast
DLCI = 300, IP 1.1.1.1, Serial4/1/8:10
create time = 2010/10/21 15:03:35, status = ACTIVE
encapsulation = ietf, vlink = 15
Table 4 Output description
Field |
Description |
Map Statistics for interface Serial4/1/8:10(DTE) |
Display frame relay address mappings. The interface operates in DTE mode. |
DLCI = 100, IP INARP 100.100.1.1, Serial4/1/8:10 |
The PVC with DLCI 100 is mapped to remote IP address 100.100.1.1 through InARP. The PVC is configured on interface Serial 4/1/8:10. If the INAPP field is not displayed, it means the address mapping is manually configured. |
create time = 2010/10/21 14:48:44 |
Time and date when the map entry was created. |
status = ACTIVE |
State of the map entry. |
encapsulation = ietf |
Encapsulation is set to IETF. |
vlink |
Value of the route-to-frame relay address mapping. A value of 0 indicates that the route is invalid, and a non-zero value means that the route is valid. According to the value, the router can look up the map corresponding to the route, and get the DLCI. |
broadcast |
Broadcasts are permitted. |
display fr pvc-info
Syntax
display fr pvc-info [ interface interface-type { interface-number | interface-number.subnumber } ] [ dlci-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default 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 or subinterface. The interface-number argument is a main interface number. The subnumber argument is a subinterface number, in the range 0 to 1023.
dlci-number: virtual circuit number of frame relay interface. It ranges from 16 to 1007.
|: 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.
Description
Use the display fr pvc-info command to display state information on FR PVCs and statistics about data transmitted and received on them.
If the command is performed with no interface or DLCI specified, the displayed information covers all PVCs; if with an interface (a main interface or subinterface) specified, the displayed information covers only the PVCs on the interface; and if with a DLCI specified, the displayed information covers only the specified PVC.
Related commands: fr dlci.
Examples
# Display the frame relay PVC table.
<Sysname> display fr pvc-info
PVC statistics for interface MFR3/1/1 (DCE, physical UP)
DLCI = 1001, USAGE = LOCAL (0010), MFR3/1/1
create time = 2010/12/11 10:13:40, status = ACTIVE
in BECN = 0, in FECN = 0
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
DLCI = 1002, USAGE = LOCAL (0010), MFR3/1/1
create time = 2010/12/11 10:13:40, status = ACTIVE
in BECN = 0, in FECN = 0
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
DLCI = 1003, USAGE = LOCAL (0010), MFR3/1/1
create time = 2010/12/11 10:13:40, status = ACTIVE
in BECN = 0, in FECN = 0
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
PVC statistics for interface MFR3/1/6 (DCE, physical UP)
DLCI = 100, USAGE = LOCAL (0010), MFR3/1/6
create time = 2010/12/11 10:13:40, status = ACTIVE
in BECN = 0, in FECN = 0
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
PVC statistics for interface MFR3/1/100 (DTE, physical DOWN)
DLCI = 100, USAGE = LOCAL (0010), MFR3/1/100
create time = 2010/12/11 10:13:41, status = INACTIVE
in BECN = 0, in FECN = 0
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
PVC statistics for interface Serial3/1/4:0 (DCE, physical UP)
DLCI = 104, USAGE = LOCAL (0010), Serial3/1/4:0
create time = 2010/12/11 10:13:41, status = ACTIVE
in BECN = 0, in FECN = 0
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
Table 5 Output description
Field |
Description |
PVC statistics for interface MFR3/1/1 (DCE, physical UP) |
Display information about PVCs on frame relay interface MFR 3/1/1. The interface operates in DTE mode. The physical state of the interface is up. |
DLCI = 1001, USAGE = LOCAL (0010), MFR3/1/1 |
DLCI 1001 was assigned to the PVC through negotiation of LMI with DCE end. Its state is local, and it belongs to interface MFR 3/1/1. |
create time = 2010/12/11 10:13:40, status = ACTIVE |
Date and time creating the PVC and the state of the PVC. |
in BECN = 0, in FECN = 0 |
Received BECNs and FECNs. |
in packets = 0, in bytes = 0 |
Received frames and bytes. |
out packets = 0, out bytes = 0 |
Sent frames and bytes. |
display fr statistics
Syntax
display fr statistics [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. This interface must be a main interface.
|: 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.
Description
Use the display fr statistics command to display current frame relay statistics about received and transmitted packets for the specified or all frame relay interfaces.
You may use this command to check frame relay traffic statistics and diagnose problems.
Examples
# Display frame relay statistics about received and transmitted packets.
<Sysname> display fr statistics
Frame relay packet statistics for interface Serial4/1/8:10(DTE)
in packets = 84, in bytes = 1333
out packets = 92, out bytes = 1217
discarded in packets = 13, discarded out packets = 0
Frame relay packet statistics for interface Serial4/1/9:10(DCE)
in packets = 0, in bytes = 0
out packets = 0, out bytes = 0
discarded in packets = 0, discarded out packets = 0
Table 6 Output description
Field |
Description |
Frame relay packet statistics for interface Serial4/1/8:10(DTE) |
Display frame relay packet statistics for the interface Serial 4/1/8:10 (DTE), which operates as a DTE. |
in packets = 84, in bytes = 1333 |
Received packets and bytes. |
out packets = 92, out bytes = 1217 |
Sent packets and bytes. |
discarded in packets = 13, discarded out packets = 0 |
Dropped incoming packets and dropped outgoing packets. |
fr dlci
Syntax
fr dlci dlci-number
undo fr dlci [ dlci-number ]
View
Interface view
Default level
2: System level
Parameters
dlci-number: Virtual circuit number allocated for the frame relay interface, in the range 16 to 1007. The ranges 0 to 15 and 1008 to 1023 are reserved for special purposes.
Description
Use the fr dlci command to configure the virtual circuit for the frame relay interface and enter the virtual circuit view on the frame relay interface.
Use the undo fr dlci command to cancel the configuration. If no virtual circuit is specified, all virtual circuits on the interface are removed.
When the frame relay interface type is DCE, it is necessary to manually configure virtual circuit for interface (either main interface or subinterface).
When the frame relay interface type is DTE, if the interface is a main interface, the system will automatically configure the virtual circuit according to the peer router.
The virtual circuit number on the physical interface is unique.
Examples
# Assign a virtual circuit with DLCI 100 to frame relay interface Serial 4/1/8:10.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] fr dlci 100
[Sysname-fr-dlci-Serial4/1/8:10-100]
fr inarp
Syntax
fr inarp [ ip [ dlci-number ] ]
undo fr inarp [ ip [ dlci-number ] ]
View
Interface view
Default level
2: System level
Parameters
ip: Performs InARP for IP addresses.
dlci-number: Data link connection identifier (DLCI) number, or virtual circuit number, indicating that the inverse address resolution is performed for this DLCI number only, which ranges from 16 to 1007.
Description
Use the fr inarp command to enable InARP for frame relay on the interface.
Use the undo fr inarp command to disable InARP for frame relay on the interface.
By default, InARP for frame relay is enabled on a frame relay interface, as well as on all the PVCs under it.
When frame relay sends data over the interface, it is necessary to map the peer IP address to the local DLCI number. Such a mapping can be specified manually or completed through InARP automatically.
· To enable or disable InARP for all virtual circuits of interfaces, use the command without any parameter.
· To enable or disable InARP for the specified virtual circuit, use the command with the dlci-number argument.
· Enabling InARP on an interface or subinterface also enables InARP on all virtual circuits of the interface or subinterface. In this case, to disable InARP on a specific virtual circuit of the interface or subinterface, use undo fr inarp ip dlci-number command.
· Using the undo fr inarp command to disable InARP on an interface also disables InARP on all the virtual circuits on the interface. In this case, to enable InARP on a specific virtual circuit of the interface, use the fr inarp ip dlci-number command.
· Enabling InARP on an interface also enables InARP on all its subinterfaces.
Examples
# Enable InARP at all PVCs of the frame relay interface Serial 4/1/8:10.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] fr inarp
fr interface-type
Syntax
fr interface-type { dce | dte }
undo fr interface-type
View
Interface view
Default level
2: System level
Parameters
dce: Sets the frame relay interface type to DCE (Data Circuit-terminating Equipment).
dte: Sets the frame relay interface type to DTE (Data Terminal Equipment).
Description
Use the fr interface-type command to set the frame relay interface type.
Use the undo fr interface-type command to restore the default frame relay interface type.
By default, the frame relay interface type is DTE.
In frame relay, two communicating parties, the user side and the network side, exist. The user side is called “Data Terminal Equipment (DTE)”, and the network side is called “Data Communications Equipment (DCE)”. If the router is used for frame relay switching, the frame relay interface should operate in DCE mode.
Examples
# Set the type of the frame relay interface Serial 4/1/8:10 to DCE.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] fr interface-type dce
fr lmi n391dte
Syntax
fr lmi n391dte n391-value
undo fr lmi n391dte
View
Interface view
Default level
2: System level
Parameters
n391-value: Value of counter N391, which ranges from 1 to 255.
Description
Use the fr lmi n391dte command to configure the full status polling interval at the DTE side.
Use the undo fr lmi n391dte command to restore the default.
By default, the full status polling interval is 6.
The DTE sends a Status-Enquiry message at a regular interval set by T391 to the DCE. Status-Enquiry messages fall into the following types: link integrity verification messages and full link status enquiry messages. N391 defines that the ratio of sent link integrity verification messages to sent full link status enquiry messages is (N391–1):1.
Examples
# Set DTE as the operating mode of frame relay interface Serial 4/1/8:10, and the counter value of the PVC status to 10.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dte
[Sysname-Serial4/1/8:10] fr lmi n391dte 10
fr lmi n392dce
Syntax
fr lmi n392dce n392-value
undo fr lmi n392dce
View
Interface view
Default level
2: System level
Parameters
n392-value: The Error threshold, which ranges from 1 to 10.
Description
Use the fr lmi n392dce command to set N392 parameter at the DCE side.
Use the undo fr lmi n392dce command to restore the default.
By default, the parameter value is 3.
The DCE requires the DTE to send a Status-Enquiry message at a regular interval (set by T392). If the DCE does not receive the Status-Enquiry message within a period of time, the error counter on DCE increments by one. If the errors exceed the threshold, the DCE would consider the physical channels and all the DLCIs to be unavailable.
N392 and N393 together define the “error threshold”. N393 defines the number of events observed and N392 defines the error threshold for that number (N393). If the number of errors that occurred to the DCE reaches N392 in N393 events, DCE will consider the errors have reached the threshold and declare the physical channels and all DLCIs to be unavailable.
N392 should be less than N393 at the DCE side.
Examples
# Set frame relay interface Serial 4/1/8:10 to operate in DCE mode and set N392 to 5 and N393 to 6.
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dce
[Sysname-Serial4/1/8:10] fr lmi n392dce 5
[Sysname-Serial4/1/8:10] fr lmi n393dce 6
fr lmi n392dte
Syntax
fr lmi n392dte n392-value
undo fr lmi n392dte
View
Interface view
Default level
2: System level
Parameters
n392-value: The value of N392 parameter at the DTE side. It ranges from 1 to 10.
Description
Use the fr lmi n392dte command to set N392 parameter at the DTE side.
Use the undo fr lmi n392dte command to restore the default.
By default, the parameter is 3.
The DTE sends a Status-Enquiry message at a regular interval to the DCE to inquire the link status. On receiving this packet, the DCE will immediately send a Status-Response packet. If the DTE does not receive the response packet in the specified time, it will record the error by adding 1 to the error count. If the errors exceed the threshold, the DTE will consider that the physical channels and all the DLCIs to be unavailable.
N392 and N393 together define the “error threshold”. N393 indicates the number of events observed and N392 indicates the error threshold for that number (N393). If N392 errors occurred in N393 Status-Enquiry messages in the DTE, the DTE would consider that the error had exceeded the threshold and declare the physical channels and all DLCIs to be unavailable.
N392 at DTE side should be less than N393 at the DTE side.
Examples
# Set the operation of frame relay interface Serial 4/1/8:10 as the DTE mode and set N392 to 5 and N393 to 6.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dte
[Sysname-Serial4/1/8:10] fr lmi n392dte 5
[Sysname-Serial4/1/8:10] fr lmi n393dte 6
fr lmi n393dce
Syntax
fr lmi n393dce n393-value
undo fr lmi n393dce
View
Interface view
Default level
2: System level
Parameters
n393-value: The value of N392 parameter at the DTE side. It ranges from 1 to 10.
Description
Use the fr lmi n393dce command to set the N393 parameter at the DCE side.
Use the undo fr lmi n393dce command to restore the default.
By default, the parameter value is 4.
The DCE requires the DTE to send a Status-Enquiry message at a regular interval (set by T392). If the DCE does not receive the Status-Enquiry message, it will record the error by adding 1 to the error count. If the errors exceed the threshold, the DCE would consider the physical channels and all the DLCIs to be unavailable.
N392 and N393 together define the “error threshold”. N393 defines the number of events observed and N392 defines the error threshold for that number (N393). If the number of errors that occurred to the DCE reach N392 in N393 events, DCE will consider the errors have reached the threshold and declare the physical channels and all DLCIs to be unavailable.
N392 at DCE side should be less than N393 at the DCE side.
Examples
# Set the operation of frame relay interface Serial 4/1/8:10 as DCE mode and set N392 to 5 and N393 to 6.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dce
[Sysname-Serial4/1/8:10] fr lmi n392dce 5
[Sysname-Serial4/1/8:10] fr lmi n393dce 6
fr lmi n393dte
Syntax
fr lmi n393dte n393-value
undo fr lmi n393dte
View
Interface view
Default level
2: System level
Parameters
n393-value: The value of N393 parameter at the DTE side. It ranges from 1 to 10.
Description
Use the fr lmi n393dte command to set N393 parameter at the DTE side.
Use the undo fr lmi n393dte command to restore the default.
By default, the parameter value is 4.
The DTE sends a Status-Enquiry message at a regular interval to the DCE to inquire the link status. On receiving this message, the DCE will immediately send a Status message. If the DTE does not receive the Status message in the specified time, it will record the error by adding 1 to the error count. If the errors exceed the threshold, the DTE will consider that the physical channels and all the DLCIs to be unavailable.
N392 and N393 together define the “error threshold”. N393 indicates the number of events observed and N392 indicates the error threshold for that number (N393). If N392 errors occurred in N393 Status-Enquiry messages in the DTE, the DTE would consider that the error count had exceeded the threshold and declare the physical channels and all DLCIs to be unavailable.
N392 at the DTE side should be less than N393 at the DTE side.
Examples
# Set the operation of frame relay interface Serial 4/1/8:10 as the DTE mode and set N392 to 5 and N393 to 6.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dte
[Sysname-Serial4/1/8:10] fr lmi n392dte 5
[Sysname-Serial4/1/8:10] fr lmi n393dte 6
fr lmi t392dce
Syntax
fr lmi t392dce t392-value
undo fr lmi t392dce
View
Interface view
Default level
2: System level
Parameters
t392-value: Value of T392 at the DCE side. The range of the value is 5 to 30, in seconds.
Description
Use the fr lmi t392dce command to set T392 parameter at the DCE side.
Use the undo fr lmi t392dce command to restore the default.
By default, the parameter value is 15 seconds.
This parameter defines the maximum time for DCE waiting for a Status-Enquiry message.
T392 at the DCE side should be greater than T391 at the DTE side, which is configured by using the timer hold command.
Examples
# Set the frame relay interface Serial 4/1/8:10 to operate in DCE mode and set T392 to 10 seconds.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dce
[Sysname-Serial4/1/8:10] fr lmi t392dce 10
fr lmi type
Syntax
fr lmi type { ansi | nonstandard | q933a }
undo fr lmi type
View
Interface view
Default level
2: System level
Parameters
ansi: Standard LMI protocol type of ANSI T1.617 Appendix D.
nonstandard: Nonstandard compatible LMI protocol type.
q933a: Standard LMI protocol type of Q.933 Appendix A.
Description
Use the fr lmi type command to configure the frame relay LMI protocol type.
Use the undo fr lmi type command to restore the default.
By default, the LMI protocol type is q933a.
The LMI protocol maintains the frame relay protocol PVC table, including notifying PVC increasing, detecting PVC deleting, monitoring PVC status changing, and verifying link integrity. The system usually supports three standard LMI protocols ITU-T Q.933 Appendix A, ANSI T1.617 Appendix D, and nonstandard-compatible LMI protocol.
Examples
# Set the frame relay LMI type of Serial 4/1/8:10 to nonstandard compatible protocol.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] fr lmi type nonstandard
fr map ip
Syntax
fr map ip ip-address dlci-number [ broadcast | [ ietf | nonstandard ] ] *
undo fr map ip ip-address dlci-number
Interface view
Default level
2: System level
Parameters
dlci-number: Local virtual circuit number, in the range 16 to 1007.
broadcast: Specifies that broadcast packets can be sent by using the map.
ietf: Indicates that the map adopts IETF encapsulation format.
nonstandard: Indicates that the map adopts a non-standard compatible encapsulation format.
Description
Use the fr map ip command to add an IP address map entry for frame relay.
Use the undo fr map ip command to remove an IP address map entry for frame relay.
By default, no static address map entry exists and InARP is enabled.
You can create an address map manually or by using InARP. InARP is suitable for a complex network where the remote device also supports InARP. When the number of remote hosts is small or when default routes exist, however, manual map creation is preferred.
Examples
# Create a static address map entry on interface Serial 4/1/8:10, mapping DLCI 50 to the peer IP address 202.38.163.252.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] fr map ip 202.38.163.252 50
interface serial
Syntax
interface serial interface-number.subnumber [ p2mp | p2p ]
undo interface serial interface-number.subnumber
View
System view
Default level
2: System level
Parameters
interface-number: Main interface number.
subnumber: Subinterface number, in the range 0 to 1023..
p2p: Point-to-point subinterface.
p2mp: Point-to-multipoint subinterface.
Description
Use the interface serial command to create a subinterface and enter the subinterface view.
Use the undo interface serial command to delete a subinterface.
By default, no frame relay subinterface exists. Frame relay subinterfaces are in p2mp mode by default.
Examples
# Configure a point-to-point subinterface Serial 4/1/8:10.10.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10.10 p2p
[Sysname-Serial4/1/8:10.10]
link-protocol fr
Syntax
link-protocol fr [ ietf | nonstandard ]
View
Interface view
Default level
2: System level
Parameters
ietf: Default encapsulation format according to the Internet Engineering Task Force (IETF) standard.
nonstandard: Nonstandard compatible encapsulation format.
Description
Use the link-protocol fr command to encapsulate interface link layer protocol as frame relay.
By default, the link-layer protocol encapsulated on the interface is PPP, and the frame relay encapsulation format is IETF.
The frame relay encapsulation can be either ietf or nonstandard. IETF encapsulation conforms to RFC 1490, and it supports the IETF standard and is compatible with dedicated encapsulation format of mainstream routers.
If you encapsulate a frame relay interface using any of these frame relay formats, the packets are encapsulated in the frame relay format before they are forwarded through the interface. Two routers can communicate with each other if the interfaces of both sides can recognize packets in both of the formats even if they are encapsulated using different frame relay formats. If an interface on one side cannot recognize packets of both formats, you need to encapsulate the two interfaces using the same frame relay format.
|
CAUTION: Before switching the link layer protocol of an interface (from PPP/HDLC to FR or the other way around), manually remove all configurations related to QoS and ACL policies on the interface first. |
Examples
# Configure frame relay encapsulation on interface Serial 4/1/8:10 and select the nonstandard encapsulation compatible format.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr nonstandard
reset fr inarp
Syntax
reset fr inarp
View
User view
Default level
2: System level
Parameters
None
Description
Use the reset fr inarp command to clear the address mapping established by inverse ARP.
In some special cases, for example, when the network architecture changes, the dynamic address maps originally established will become invalid. It is necessary to establish them again. Users can use this command to clear all the dynamic address maps.
Related commands: fr inarp.
Examples
# Clear all the frame relay dynamic address maps.
<Sysname> reset fr inarp
reset fr pvc
Syntax
reset fr pvc interface serial interface-number [ dlci dlci-number ]
View
User view
Default level
2: System level
Parameters
interface-number: Interface number.
dlci dlci-number: Specifies the DLCI to be assigned to an FR interface, in the range 16 to 1007. DLCI 0 through 15 and 1008 through 1023 are reserved for special use and are unavailable.
Description
Use the reset fr pvc command to clear the statistics on a PVC.
Examples
# Clear PVC statistics on Serial 4/1/8:10.
<Sysname> reset fr pvc interface Serial 4/1/8:10
timer hold
Syntax
timer hold seconds
undo timer hold
View
Interface view
Default level
2: System level
Parameters
seconds: Value of T391 parameter at DTE side, which ranges from 0 to 32767 in seconds. 0 indicates that the LMI protocol is disabled.
Description
Use the timer hold command to configure T391 parameter at the DTE side.
Use the undo timer hold command to restore the default.
By default, the parameter is 10 seconds.
The parameter is a time variable that defines the interval of Status-Enquiry message sent by DTE.
Related commands: fr lmi t392dce.
Examples
# Configure that frame relay interface Serial 4/1/8:10 to operate in DTE mode, and set the value of T391 parameter to 15 seconds.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr
[Sysname-Serial4/1/8:10] fr interface-type dte
[Sysname-Serial4/1/8:10] timer hold 15
MFR configuration commands
display interface mfr
Syntax
display interface mfr { interface-number | interface-number:subnumber } [ brief ] [ | { begin | exclude | include } regular-expression ]
display interface [ mfr ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface-number: MFR interface number.
interface-number.subnumber: MFR subinterface number, of which, interface-number is the main interface number, and subnumber is the subinterface number. The subnumber argument ranges from 0 to 1023.
brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information.
down: Displays information about interfaces in the DOWN state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states.
|: 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.
Description
Use the display interface mfr command to display the information about an MFR interface or an MFR sub-interface, including configuration, state, and packet statistics.
If you do not specify the mfr keyword, this command displays information about all interfaces on the current router.
If you specify the mfr keyword without any MFR interface number, this command displays information about all MFR interfaces.
Examples
# Display the configuration and status information about interface MFR 3/1/1.
<Sysname> display interface MFR 3/1/1
MFR3/1/1 current state: UP
Line protocol current state: UP
Description: MFR3/1/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet Address is 10.0.35.1/24 Primary
Link layer protocol is FR IETF
LMI DLCI is 0, LMI type is Q.933a, frame relay DCE
LMI status enquiry received 452, LMI status sent 452
LMI status enquiry timeout 0, LMI message discarded 0
Physical is MFR, baudrate: 4096000 bps
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
2263 packets input, 26840 bytes, 0 drops
113305 packets output, 12908653 bytes, 0 drops
# Display brief information about interface MFR 3/1/1.
<Sysname> display interface MFR 3/1/1 brief
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
MFR4 UP UP(s) --
# Display the brief information of all MFR interfaces in the DOWN state.
<Sysname> display interface MFR brief down
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
MFR1 DOWN Not connected
Table 7 Output description
Field |
Description |
MFR3/1/1 current state : UP |
Physical layer state of the MFR interface, which can be: · DOWN (Administratively)—Indicates that the interface has been shut down with the shutdown command. · DOWN—Indicates that the interface is physically down but administratively up. · UP—Indicates that the interface is both administratively and physically up. |
Line protocol current state : UP |
Link layer state of the MFR interface, which can be: · DOWN—Indicates that the link layer of the interface is down. · UP—Indicates that the link layer of the interface is up. |
Description : MFR3/1/1 Interface |
Interface description. |
The Maximum Transmit Unit is 1500 |
MTU. |
Hold timer is 10(sec) |
Value of the T391 parameter at the DTE side, in seconds. |
Internet Address is 10.0.35.1/24 Primary |
IP address and mask. |
link-protocol is FR IETF |
Link layer protocol. |
LMI DLCI is 0, LMI type is Q.933a, frame relay DCE |
DLCI number used by LMI, LMI type, port type and operating mode. |
LMI status enquiry received 452, LMI status sent 452 |
The number of transmitted LMI Status-Enquiry messages and that of the received LMI Status messages. |
LMI status timeout 0, LMI message discarded 0 |
The number of LMI Status messages that timed out and the number of dropped LMI messages. |
Physical is MFR |
Physical interface is MFR. |
baudrate |
Baudrate of the MFR interface. |
Last clearing of counters |
Time when the interface statistics were last cleared The output Never indicates that the interface statistics have never been cleared. |
Last 300 seconds input rate |
Input rate of the interface within the last five minutes. |
Last 300 seconds output rate |
Output rate of the interface within the last five minutes. |
2263 packets input, 26840 bytes, 0 drops |
Number of packets and bytes received on the interface and packets dropped as the result of full receive buffer. |
113305 packets output, 12908653 bytes, 0 drops |
Number of packets and bytes transmitted on the interface and packets dropped as the result of full transmit buffer. |
The brief information of interface(s) under route mode |
Brief information about Layer 3 interfaces. |
Link: ADM - administratively down; Stby - standby |
Link status: · ADM—The interface has been administratively shut down. To recover its physical state, perform the undo shutdown command. · Stby—The interface is operating as a backup interface. |
Protocol: (s) - spoofing |
If the network layer protocol state of an interface is shown as UP, but its link is an on-demand link or not present at all, its protocol attribute includes the spoofing flag (an s in parentheses). |
Interface |
Abbreviated interface name. |
Link |
Physical link state of the interface, which can be: · UP—The link is up. · ADM—The link has been administratively shut down. To recover its physical state, perform the undo shutdown command. |
Protocol |
Protocol connection state of the interface, which can be UP, DOWN, or UP(s). |
Main IP |
The main IP address of the interface. |
Description |
Description of the interface. |
Cause |
The cause of a DOWN physical link. If the port has been shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use the undo shutdown command. |
display mfr
Syntax
display mfr [ interface interface-type interface-number | verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. The specified interface must be a main interface.
verbose: Displays detailed statistics, including the number of controlling packets sent and received.
|: 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.
Description
Use the display mfr command to display configuration and statistics of the specified multilink frame relay bundle and bundle link.
If neither interface nor verbose is specified, this command displays the brief information of all main interfaces.
Examples
# Display configuration and statistics about all multilink frame relay bundles and bundle links.
<Sysname> display mfr
Bundle interface:MFR3/1/1, Bundle state = up, Bundle class = A,
fragment disabled
original packet be assembled/fragmentized (in/out): 2270/113309
droped fragment (in/out): 0/0
Bundle name = MFR3/1/1
Bundle links:
Serial3/1/3:0, PHY state = up, link state = up, Link name : Serial3/1/3:0
Serial3/1/5:0, PHY state = up, link state = up, Link name : Serial3/1/5:0
Table 8 Output description
Field |
Description |
Bundle interface |
Bundle interface. |
Bundle state |
Operating state of the bundle interface. |
Bundle class |
Class A indicates if one bundle link in up state exists, the bundle is flagged as up. Moreover, all bundle links should be tagged as down before the bundle is down. |
fragment disabled |
Indicates whether the fragment is enabled (disabled in this sample output). |
original packet be assembled/fragmentized (in/out) |
Number of assembled packets received on the bundle. interface/number of unfragmented packets before being sent by the bundle interface. |
droped fragment (in/out) |
Number of incoming and outgoing packets dropped on the bundle interface. |
Bundle name |
Name of multilink frame relay bundle. |
Bundle links |
Physical interfaces of the links in the bundle. |
Serial3/1/3:0, PHY state = up, link state = up, Link name : Serial3/1/3:0 |
Physical interface on the bundle link, the operating state of the physical layer interface and link layer interface, the link name of the bundle link (name on the physical interface by default). |
# Display detailed statistics about all multilink frame relay bundles and bundle links.
<Sysname> display mfr verbose
Bundle interface:MFR6/1/12, Bundle state = up, Bundle class = A,
fragment enabled, MFR bundle fragment size = 256
original packet be assembled/fragmentized (in/out): 0/0
droped fragment (in/out): 0/0
Bundle name = MFR6/1/12
Bundle links:
Serial6/1/8:10 LID : Serial6/1/8:10 Peer LID: Serial6/1/8:10
Bound to MFR6/1/12 (BID:MFR6/1/12)
Physical state: up, link state: up,
Bundle link fragment size: 256,
Bundle Link statistics:
Hello(TX/RX): 10/10 Hello_ack(TX/RX): 10/10
Add_link(TX/RX): 4/2 Add_link_ack(TX/RX): 2/1
Add_link_rej(TX/RX): 0/0
Remove_link(TX/RX): 0/0 Remove_link_ack(TX/RX): 0/0
Pkts dropped(in/out): 0/0
Timer: ACK 4, Hello 10
Retry: Max 2, Current 0
Cause code: none
Bundle Link fragment statistics:
Mfr fragment(in/out): 0/0
Table 9 Output description
Field |
Description |
LID |
Identifier of the bundle link (the name of the physical interface by default). |
Peer LID |
Identifier of the peer bundle link (the name of the physical interface by default). |
Bound to MFR6/1/12 (BID:MFR6/1/12) |
The bundle link is bound to MFR interface MFR 6/1/12. |
Physical state |
Operating state of the physical interface. |
link state |
Operating state of the link protocol on the bundle link. |
Bundle Link statistics: |
Statistics about the packets on the bundle link. |
Hello(TX/RX) |
Number of the transmitted and received Hello messages. Hello messages are sent for maintaining link state. |
Hello_ack(TX/RX) |
Number of transmitted and received Hello acknowledgement messages. Hello_ack messages are sent notifying receipt of the Hello messages. |
Add_link(TX/RX) |
Number of transmitted and received Add_link messages. Add_link messages are sent notifying the peer that the local node is ready for processing frames. |
Add_link_ack(TX/RX) |
Number of transmitted and received Add_link acknowledgment messages. Add_link_ack messages are sent notifying receipt of the Add_link messages. |
Add_link_rej(TX/RX) |
Number of transmitted and received Add_link reject messages. Add_link_rej messages are sent notifying reject of the Add_link messages. |
Remove_link(TX/RX) |
Number of transmitted and received Remove_link messages. Remove_link messages are sent notifying removal of a link from the bundle. |
Remove_link_ack(TX/RX) |
Number of transmitted and received Remove_link_ack messages. Remove_link_ack messages are sent notifying receipt of the Remove_link messages. |
Pkts dropped(in/out) |
Number of dropped incoming and outgoing packets. |
Timer: Ack 4 |
Time waiting for a Hello_ack message before a Hello message or an Add_link message (for initial synchronization) is retransmitted on the bundle link. |
Hello 10 |
Intervals for sending Hello messages. |
Retry: max 2 |
Maximum number of Hello or Add_link sending retries made when no Hello_ack or Add_link_ack is received on the bundle link. |
Current 0 |
Number of retries. |
Cause code |
Cause resulting in the current state of the bundle link. |
Bundle Link fragment statistics |
Fragment statistics on the bundle link. |
Mfr fragment(in/out) |
The number of fragments sent/received by the bundle link. |
interface mfr
Syntax
interface mfr { interface-number | interface-number.subnumber [ p2mp | p2p ] }
undo interface mfr { interface-number | interface-number.subnumber }
View
System view
Default level
2: System level
Parameters
interface-number: MFR interface number.
interface-number.subnumber: MFR subinterface number, of which, interface-number is the main interface number, and subnumber is the subinterface number. The value range for the subnumber argument is 0 to 1023.
p2mp: Point-to-multipoint subinterface.
p2p: Point-to-point subinterface.
Description
Use the interface mfr command to create a multilink frame relay bundle interface or subinterface and enter the interface view.
Use the undo interface mfr command to delete a specified multilink frame relay bundle interface or subinterface.
By default, no multilink frame relay interface or subinterface exists. On creation, the type of an MFR subinterface is p2mp by default.
To create an MFR subinterface successfully, make sure the MFR interface already exists.
To use the undo interface mfr command to delete an MFR interface, delete all physical interfaces from the MFR interface.
For MFR interface, if one bundle link in up state exists, the MFR physical state is up. Moreover, all bundle links should be tagged as down before the bundle is down. The link layer protocol on MFR interface is determined by LMI packet negotiation.
Examples
# Create a multilink frame relay bundle interface MFR 6/1/12 with a point-to-multipoint subinterface.
<Sysname> system-view
[Sysname] interface MFR 6/1/12
[Sysname-MFR6/1/12] quit
[Sysname] interface MFR 6/1/12.1
[Sysname-MFR6/1/12.1]
link-protocol fr mfr
Syntax
link-protocol fr mfr interface-number
View
Interface view
Default level
2: System level
Parameters
interface-number: MFR interface number.
Description
Use the link-protocol fr mfr command to configure the current physical interface as an MFR bundle link and bind it to an MFR interface.
By default, an interface is not bound to any MFR interface.
When this command is configured, the specified MFR interface must exist. A maximum of 16 physical interfaces can be bundled onto an MFR interface, but only 12 of them stay up at the same time.
To delete a physical interface from an MFR interface, use the link-protocol command to apply a link layer protocol of non-frame relay MFR to the interface.
After a physical interface is encapsulated as MFR format, the interface belongs to MFR and is not allowed to be configured using the commands related to FR except MFR.
Examples
# Configure Serial 6/1/8:10 as a bundle link and add it onto the Frame Relay bundle interface MFR6/1/12.
<Sysname> system-view
[Sysname] interface Serial 6/1/8:10
[Sysname-Serial6/1/8:10] link-protocol fr MFR 6/1/12
mfr bundle-name
Syntax
mfr bundle-name [ name ]
undo mfr bundle-name
View
MFR interface view
Default level
2: System level
Parameters
name: Bundle identification, which is a string of 1 to 49 characters.
Description
Use the mfr bundle-name command to set frame relay bundle identifier (BID).
Use the undo mfr bundle-name command to restore the default.
By default, the BID of an MFR bundle is represented by MFR plus frame relay interface number, for example, MFR6/1/12.
You cannot configure a BID as a string in the form of MFR + number.
Each MFR bundle has a BID, and the peer router can identify an MFR bundle by BID. Different BIDs can be used at the two ends of a link.
Examples
# Set the BID of MFR interface MFR 6/1/12 to bundle1.
<Sysname> system-view
[Sysname] interface MFR 6/1/12
[Sysname-MFR6/1/12] mfr bundle-name bundle1
mfr fragment
Syntax
mfr fragment
undo mfr fragment
View
MFR interface view
Default level
2: System level
Parameters
None
Description
Use the mfr fragment command to enable fragmentation on the MFR bundle.
Use the undo mfr fragment command to disable the function.
By default, fragmentation is disabled on the MFR bundle.
Examples
# Enable fragmentation on interface MFR 6/1/12.
<Sysname> system-view
[Sysname] interface MFR 6/1/12
[Sysname-MFR6/1/12] mfr fragment
mfr fragment-size
Syntax
mfr fragment-size bytes
undo mfr fragment-size
View
MFR interface view
Default level
2: System level
Parameters
bytes: Fragment size, ranging from 60 to 1,500 in bytes. The fragment size that actually takes effect can only be one of these values: 128, 256, and 512.
Description
Use the mfr fragment-size command to configure the maximum fragment size allowed on a frame relay bundle link.
Use the undo mfr fragment-size command to restore the default.
By default, the maximum fragment size allowed on a frame relay bundle link is of 300 bytes.
Examples
# Configure the maximum fragment size allowed on interface MFR 6/1/12 to be 128 bytes.
<Sysname> system-view
[Sysname] interface MFR 6/1/12
[Sysname-MFR6/1/12] mfr fragment-size 128
mfr link-name
Syntax
mfr link-name [ name ]
undo mfr link-name
View
Frame relay interface view
Default level
2: System level
Parameters
name: Name of a bundle link identification, which is a string of 1 to 49 characters.
Description
Use the mfr link-name command to set the frame relay bundle link identification (LID).
Use the undo mfr link-name command to restore the default.
By default, the LID is the name of the physical interface.
Use the link-protocol fr mfr command to configure the current physical interface as a multilink frame relay bundle link before using the mfr link-name command to configure.
The peer equipment identifies a frame relay bundle link via LID or associates the bundle link with a frame relay bundle by using LID. A LID is locally valid, and the LIDs at the two ends of a link can be the same.
Examples
# Set the bundle LID of the multilink frame relay bundle link Serial 4/1/8:10 to be bl1.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr MFR 4/1/6
[Sysname-Serial4/1/8:10] mfr link-name bl1
mfr retry
Syntax
mfr retry number
undo mfr retry
View
Frame relay interface view
Default level
2: System level
Parameters
number: The maximum times that a bundle link can resend hello messages, in the range 1 to 5.
Description
Use the mfr retry command to set the maximum times that a frame relay bundle link can resend hello message when waiting for a hello acknowledgement message.
Use the undo mfr retry command to restore the default.
By default, the maximum times that a frame relay bundle link can resend hello message is twice.
The bundle link sustains link status by periodically sending hello message to the peer end. If the times that a bundle link resends hello message reach the maximum without receiving acknowledgement from the peer, the system will regard the link protocol on the bundle link to be malfunctioning.
You can configure this command only after the link-protocol fr mfr command is used to associate a frame relay bundle link interface with a frame relay bundle.
Examples
# Configure the bundle link Serial 4/1/8:10 to resend hello message for 3 times at most.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr MFR 4/1/6
[Sysname-Serial4/1/8:10] mfr retry 3
mfr timer ack
Syntax
mfr timer ack seconds
undo mfr timer ack
View
Frame relay interface view
Default level
2: System level
Parameters
seconds: Time (in seconds) of waiting for hello acknowledgment message before resending hello message, in the range 1 to 10.
Description
Use the mfr timer ack command to set the time of waiting for hello acknowledgment message before frame relay bundle link resends hello message.
Use the undo mfr timer ack command to restore the default.
By default, time of waiting for hello acknowledgment message before resending hello message is 4 seconds.
The bundle link sustains link status by periodically sending hello message to the peer end. If the times that a bundle link resends hello message reach the maximum without receiving acknowledgement from the peer, the system will regard the link protocol on the bundle link to be malfunctioning.
You can configure this command only after the link-protocol fr mfr command is used to associate a frame relay bundle link interface with a frame relay bundle.
Related commands: mfr timer hello and mfr retry.
Examples
# Configure the frame relay bundle link Serial 4/1/8:10 to wait for six seconds before re-sending a hello message.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr MFR 4/1/6
[Sysname-Serial4/1/8:10] mfr timer ack 6
mfr timer hello
Syntax
mfr timer hello seconds
undo mfr timer hello
View
Frame relay interface view
Default level
2: System level
Parameters
seconds: Interval (in seconds) for a bundle link to send hello message, in the range 1 to 180.
Description
Use the mfr timer hello command to set the interval for a frame relay bundle link to send hello message.
Use the undo mfr timer hello command to restore the default.
By default, the interval for a frame relay bundle link to send hello message is 10 seconds.
You can configure this command only after the link-protocol fr mfr command is used to associate a frame relay bundle link interface with a frame relay bundle.
Examples
# Set the bundle link Serial 4/1/8:10 to send hello message once every 15 seconds.
<Sysname> system-view
[Sysname] interface Serial 4/1/8:10
[Sysname-Serial4/1/8:10] link-protocol fr MFR 4/1/6
[Sysname-Serial4/1/8:10] mfr timer hello 15
reset counters interface
Syntax
reset counters interface [ mfr [ interface-number | interface-number.subnumber ] ]
View
User view
Default level
2: System level
Parameters
interface-number: MFR interface number.
interface-number.subnumber: MFR subinterface number. The interface-number argument is the main interface number, and the subnumber argument is the subinterface number, ranging from 0 to 1023.
Description
Use the reset counters interface command to clear statistics of the specified or all MFR interfaces.
To collect statistics spanning a specific period for an interface, you need to 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 MFR4/1/6.
<Sysname> reset counters interface MFR 4/1/6