- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-Frame Relay Commands | 144.14 KB |
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 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 Pos3/1/1(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 Pos3/1/1 (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
Pos3/1/1, multi-point, protocol up
# Display information about a specified Frame Relay subinterface.
<Sysname> display fr interface Pos3/1/2.100
Pos3/1/2.100, point-to-point, DCE, physical up, protocol up
Table 2 Output description
Field |
Description |
Pos3/1/1 |
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 interface or all 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 Pos3/1/1(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 Pos3/1/2 (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 Pos3/1/1 (DTE, Q933) |
Terminal type and LMI protocol type for the Frame Relay interface POS 3/1/1 |
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 Pos3/1/2 (DCE, Q933) |
POS 3/1/2 (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 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 Pos3/1/1(DTE)
DLCI = 100, IP INARP 100:100.1.1, Pos3/1/1
create time = 2010/10/21 14:48:44, status = ACTIVE
encapsulation = ietf, vlink = 14, broadcast
DLCI = 200, IP INARP 100:100.1.1, Pos3/1/1
create time = 2010/10/21 14:34:42, status = ACTIVE
encapsulation = ietf, vlink = 0, broadcast
DLCI = 300, IP 1.1.1.1, Pos3/1/1
create time = 2010/10/21 15:03:35, status = ACTIVE
encapsulation = ietf, vlink = 15
Table 4 Output description
Field |
Description |
Map Statistics for interface Pos3/1/1 (DTE) |
Display Frame Relay address mappings. The interface operates in DTE mode. |
DLCI = 100, IP INARP 100.100.1.1, Pos3/1/1 |
The PVC with DLCI 100 is mapped to remote IP address 100.100.1.1 through InARP. The PVC is configured on interface POS 3/1/1. 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 map entry in the route-to-frame relay address mapping table. The value of 0 indicates that the route is invalid. When the value is not 0, the system uses the value to look up the corresponding map entry, and then look up the corresponding 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 Pos3/1/1 (DCE, physical UP)
DLCI = 104, USAGE = LOCAL (0010), Pos3/1/1
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 Pos3/1/1 (DCE, physical UP) |
Display information about PVCs on Frame Relay interface POS 3/1/1. The interface operates in DTE mode. The physical state of the interface is up. |
DLCI = 1001, USAGE = LOCAL (0010), Pos3/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 POS 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 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 Pos3/1/1 (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 Pos3/1/1 (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 Pos3/1/1 (DTE) |
Display Frame Relay packet statistics for the interface POS 3/1/1 (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 POS 3/1/1.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] fr dlci 100
[Sysname-fr-dlci-Pos3/1/1-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 POS 3/1/1.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] 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 POS 3/1/1 to DCE.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] 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 N391 parameter at the DTE side.
Use the undo fr lmi n391dte command to restore the default.
By default, its value 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 link Status-Enquiry messages. N391 defines that the ratio of sent link Status-Enquiry messages to sent link integrity verification messages is 1:N391–1.
Examples
# Set DTE as the operating mode of Frame Relay interface POS 3/1/1, and the counter value of the PVC status to 10.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dte
[Sysname-Pos3/1/1] 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 POS 3/1/1 to operate in DCE mode and set N392 to 5 and N393 to 6.
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dce
[Sysname-Pos3/1/1] fr lmi n392dce 5
[Sysname-Pos3/1/1] 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 POS 3/1/1 as the DTE mode and set N392 to 5 and N393 to 6.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dte
[Sysname-Pos3/1/1] fr lmi n392dte 5
[Sysname-Pos3/1/1] 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 POS 3/1/1 as DCE mode and set N392 to 5 and N393 to 6.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dce
[Sysname-Pos3/1/1] fr lmi n392dce 5
[Sysname-Pos3/1/1] 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 POS 3/1/1 as the DTE mode and set N392 to 5 and N393 to 6.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dte
[Sysname-Pos3/1/1] fr lmi n392dte 5
[Sysname-Pos3/1/1] 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 POS 3/1/1 to operate in DCE mode and set T392 to 10 seconds.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dce
[Sysname-Pos3/1/1] 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 authenticating 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 POS 3/1/1 to nonstandard compatible protocol.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] 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 POS 3/1/1, mapping DLCI 50 to the peer IP address 202.38.163.252.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] fr map ip 202.38.163.252 50
interface pos
Syntax
interface pos interface-number.subnumber [ p2mp | p2p ]
undo interface pos interface-number.subnumber
View
System view
Default level
2: System level
Parameters
interface-number.subnumber: 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 pos command to create a POS subinterface and enter the POS subinterface view.
Use the undo interface pos command to delete a POS subinterface.
By default, no POS subinterface exists. POS subinterfaces are in p2mp mode by default.
Examples
# Create a point-to-point POS subinterface POS 3/1/1.10.
<Sysname> system-view
[Sysname] interface Pos 3/1/1.10 p2p
[Sysname-Pos3/1/1.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 POS 3/1/1 and select the nonstandard encapsulation compatible format.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] 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 pos interface-number [ dlci dlci-number ]
View
User view
Default level
2: Monitor 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 POS 3/1/1.
<Sysname> reset fr pvc interface Pos 3/1/1
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 POS 3/1/1 to operate in DTE mode, and set the value of T391 parameter to 15 seconds.
<Sysname> system-view
[Sysname] interface Pos 3/1/1
[Sysname-Pos3/1/1] link-protocol fr
[Sysname-Pos3/1/1] fr interface-type dte
[Sysname-Pos3/1/1] timer hold 15