Table Of Contents
Frame Relay Service Configuration Commands on Cisco IOS XR Software
encap (PVC)
encapsulation frame-relay
frame-relay intf-type
frame-relay lmi disable
frame-relay lmi-n391dte
frame-relay lmi-n392dce
frame-relay lmi-n392dte
frame-relay lmi-n393dce
frame-relay lmi-n393dte
frame-relay lmi-t391dte
frame-relay lmi-t392dce
frame-relay lmi-type
match frame-relay dlci
pvc (frame relay)
show frame-relay lmi
show frame-relay pvc
show interfaces (frame relay)
snmp-server traps frame-relay pvc
Frame Relay Service Configuration Commands on Cisco IOS XR Software
This chapter describes the commands used to configure Frame Relay service on Packet-over-SONET/SDH (POS) and serial interfaces for the Cisco XR 12000 Series Router running Cisco IOS XR software.
encap (PVC)
To change the encapsulation for a Frame Relay permanent virtual circuit (PVC), use the encap command in PVC configuration mode. To restore default encapsulation from the Frame Relay main interface, use the no form of this command.
encap [cisco | ietf]
no encap [cisco | ietf]
Syntax Description
cisco
|
(Optional) Uses Cisco encapsulation, which is a 4-byte header, with 2 bytes to identify the data-link connection identifier (DLCI) and 2 bytes to identify the packet type.
|
ietf
|
(Optional) Sets the encapsulation method to comply with the Internet Engineering Task Force (IETF) standard (RFC 1490). Use this keyword when connecting to equipment that belongs to a vendor other than Cisco across a Frame Relay network.
|
Defaults
The default encapsulation keyword is Cisco.
When this command is not configured, encapsulation is inherited from the Frame Relay main interface.
Command Modes
PVC configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Use the encap command to configure encapsulation for a Frame Relay PVC. If this command is not configured, encapsulation is inherited from the Frame Relay subinterface.
This command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set encapsulation on PVC data-link connection identifier (DLCI) 16 for Packet-over-SONET/SDH (POS) subinterface 0/4/0/1.1:
RP/0/0/CPU0:router(config)# interface POS 0/4/0/1.1
RP/0/0/CPU0:router(config-subif)# pvc 16
RP/0/0/CPU0:router(config-fr-vc)# encap
Related Commands
encapsulation frame-relay
To enable Frame Relay encapsulation, use the encapsulation frame-relay command in interface configuration mode. To disable Frame Relay encapsulation, use the no form of this command.
encapsulation frame-relay [ietf]
no encapsulation frame-relay [ietf]
Syntax Description
ietf
|
(Optional) Sets the encapsulation method to comply with the Internet Engineering Task Force (IETF) standard (RFC 1490). Use this keyword when connecting to another vendor's equipment across a Frame Relay network.
|
Defaults
The default encapsulation method is Cisco.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Use the encapsulation frame-relay command to connect an interface to a Frame Relay network. When this command is configured, incoming packets to the interface are encapsulated and outgoing packets are encapsulated with a Frame Relay header.
A Cisco or IETF encapsulation method controls the Network Layer Protocol Identifier (NLPID) that is added to outgoing packets on the interface. The encapsulation method enabled for an outgoing packet can be changed for each data-link connection identifier (DLCI) per subinterface by using the encap (PVC) command in PVC configuration mode.
When the encapsulation frame-relay command is configured, LMI is enabled by default. To disable LMI use the frame-relay lmi disable command.
The following restrictions apply to the encapsulation frame-relay command upon configuration or removal of the command on an interface:
•
When configuring this command, Layer 3 and Layer 2 configurations are not allowed on the interface.
•
Before removing this command, all Frame Relay subinterfaces and LMI configuration should be deleted from the interface.
The encapsulation frame-relay command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
interface
|
read, write
|
fr
|
read, write
|
Examples
The following example shows Frame Relay encapsulation configured on Packet-over-SONET/SDH (POS) 0/3/0/1:
RP/0/0/CPU0:router(config)# interface POS 0/3/0/1
RP/0/0/CPU0:router(config-if)# encapsulation frame-relay ietf
Related Commands
frame-relay intf-type
To configure the interface type of the User-Network Interface (UNI), use the frame-relay intf-type command in interface configuration mode. To change the configuration, use the no form of this command.
frame-relay intf-type [dce | dte]
no frame-relay intf-type [dce | dte]
Syntax Description
dce
|
(Optional) Router functions as a switch connected to a router.
|
dte
|
(Optional) Router is connected to a Frame Relay network.
|
Defaults
DTE
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The frame-relay intf-type command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to configure a DCE switch type on the interface:
RP/0/0/CPU0:router(config)# interface pos 0/4/0/0
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dce
frame-relay lmi disable
To disable the Frame Relay Local Management Interface (LMI), use the frame-relay lmi disable command in interface configuration mode. To reenable LMI, use the no form of this command.
frame-relay lmi disable
no frame-relay lmi disable
Syntax Description
No default behavior or values
Defaults
LMI is enabled.
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The frame-relay lmi disable command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to configure a DCE switch type on the interface:
RP/0/0/CPU0:router(config)# interface pos 0/4/0/0
RP/0/0/CPU0:router(config-if)# frame-relay lmi disable
frame-relay lmi-n391dte
To set the full status polling interval, use the frame-relay lmi-n391dte command in interface configuration mode. To restore the default interval value, use the no form of this command.
frame-relay lmi-n391dte polling-cycles
no frame-relay lmi-n391dte polling-cycles
Syntax Description
polling-cycles
|
Number of Line Integrity Verification (LIV) exchanges performed before requesting a full status message. Range is from 1 to 255.
|
Defaults
polling-cycles: 6
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Use the frame-relay lmi-n391dte command as a means of setting the full status message polling interval. This command is relevant only when the interface type is data terminal equipment (DTE).
Two message types are supported: status inquiry and status. Status inquiry messages are sent from DTE to DCE. Status messages are sent from DCE to DTE (in response to a status inquiry). The Status (Full) and LIV report types are contained within these messages, and typically there is one status transaction for every five LIV transactions.
This command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows that one out of every four status inquiries generated requests a full status response from the DCE on the interface:
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dte
RP/0/0/CPU0:router(config-if)# frame-relay lmi-n391dte 4
frame-relay lmi-n392dce
To set the error threshold on a DCE interface, use the frame-relay lmi-n392dce command in interface configuration mode. To restore the default setting, use the no form of this command.
frame-relay lmi-n392dce threshold
no frame-relay lmi-n392dce threshold
Syntax Description
threshold
|
Error threshold value. Range is from 1 to 10.
|
Defaults
errors: 3
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
N392 errors must occur within the number defined by the N393 event count for the link to be declared down. Therefore, the threshold value for this command must be less than the count value defined in the frame-relay lmi-n393dce command.
The frame-relay lmi-n392dce command is relevant only when the interface type is data computer equipment (DCE).
This command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the Local Management Interface (LMI) failure threshold to 4. The router acts as a Frame Relay DCE switch.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dce
RP/0/0/CPU0:router(config-if)# frame-relay lmi-n392dce 4
Related Commands
frame-relay lmi-n392dte
To set the error threshold on a DTE interface, use the frame-relay lmi-n392dte command in interface configuration mode. To restore the default setting, use the no form of this command.
frame-relay lmi-n392dte threshold
no frame-relay lmi-n392dte threshold
Syntax Description
threshold
|
Error threshold value. Range is from 1 to 10.
|
Defaults
errors: 3
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The frame-relay lmi-n392dte command is relevant only when the interface type is data terminal equipment (DTE).
This command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the Local Management Interface (LMI) failure threshold to 4. The router acts as a Frame Relay DTE switch.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dte
RP/0/0/CPU0:router(config-if)# frame-relay lmi-n392dte 4
frame-relay lmi-n393dce
To set the DCE monitored events count, use the frame-relay lmi-n393dce command in interface configuration mode. To restore the default setting, use the no form of this command.
frame-relay lmi-n393dce events
no frame-relay lmi-n393dce events
Syntax Description
events
|
Monitored events count. Range is from 1 to 10.
|
Defaults
events: 4
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The frame-relay lmi-n393dce command is used along with the frame-relay lmi-n392dce command to define the condition that causes the link to be declared down.
N392 errors must occur within the events argument count in order for the link to be declared down. Therefore, the events value defined in this command must be greater than the threshold value defined in the frame-relay lmi-n392 dce command.
The frame-relay lmi-n393dce command is relevant only when the interface type is data computer equipment (DCE).
This frame-relay lmi-n393dce command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the Local Management Interface (LMI) monitored events count to 5.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dce
RP/0/0/CPU0:router(config-if)# frame-relay lmi-n393dce 5
Related Commands
frame-relay lmi-n393dte
To set the monitored event count on a DTE interface, use the frame-relay lmi-n393dte command in interface configuration mode. To restore the default setting, use the no form of this command.
frame-relay lmi-n393dte events
no frame-relay lmi-n393dte events
Syntax Description
events
|
Monitored events count. Range is from 1 to 10.
|
Defaults
events: 4
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The frame-relay lmi-n393dte command is relevant only when the interface type is data terminal equipment (DTE).
This frame-relay lmi-n393dte command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the Local Management Interface (LMI) monitored events count to 5.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dte
RP/0/0/CPU0:router(config-if)# frame-relay lmi-n393dte 5
frame-relay lmi-t391dte
To set the Local Management Interface (LMI) polling interval, use the frame-relay lmi-t391dte command in interface configuration mode. To restore the default interval value, use the no form of this command.
frame-relay lmi-t391dte seconds
no frame-relay lmi-t391dte seconds
Syntax Description
seconds
|
Polling interval (in seconds) between each status inquiry from the DTE end. Range is from 5 to 30.
|
Defaults
10 seconds
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This frame-relay lmi-t391dte command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
The seconds value defined in this command must be less than the polling verification timer defined in the frame-relay lmi-t392 dce command.
The frame-relay lmi-t391dte command is relevant only when the interface type is data terminal equipment (DCE).
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the LMI polling timer interval to 15 seconds.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dte
RP/0/0/CPU0:router(config-if)# frame-relay lmi-t391dte 15
frame-relay lmi-t392dce
To set the Local Management Interface (LMI) polling verification timer on the DCE, use the frame-relay lmi-t392dce command in interface configuration mode. To restore the default setting, use the no form of this command.
frame-relay lmi-t392dce seconds
no frame-relay lmi-t392dce seconds
Syntax Description
seconds
|
Polling verification timer in seconds. Range is from 5 to 30.
|
Defaults
seconds:15
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The frame-relay lmi-t392dce command is used along with the frame-relay lmi-t391dte command to define the condition that causes the link to be declared down.
The seconds value defined in this command must be greater than the polling verification timer defined in the frame-relay lmi-t391 dte command.
This frame-relay lmi-n392dce command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the Local Management Interface (LMI) polling timer interval to 30 seconds.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay intf-type dce
RP/0/0/CPU0:router(config-if)# frame-relay lmi-t392dce 30
frame-relay lmi-type
To select the Local Management Interface (LMI) type, use the frame-relay lmi-type command in interface configuration mode. To restore the default setting, use the no form of this command.
frame-relay lmi-type {ansi | ccitt | cisco}
no frame-relay lmi-type {ansi | ccitt | cisco}
Syntax Description
ansi
|
Uses LMI as defined by ANSI T1.617a-1994 Annex D.
|
ccitt
|
Uses LMI as defined by ITU-T Q.933 (02/2003) Annex A.
|
cisco
|
Uses LMI as defined by Cisco (not standard).
|
Defaults
Cisco
Command Modes
Interface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
If the DTE is not explicitly configured or the no form is not used after explicit configuration, then the DTE automatically senses the LMI type of the DCE and use that type of LMI.
This frame-relay lmi-type command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to set the Local Management Interface (LMI) type to CCITT.
RP/0/0/CPU0:router(config)# interface serial 0/1/0/1
RP/0/0/CPU0:router(config-if)# frame-relay lmi-type ccitt
match frame-relay dlci
To specify the Frame Relay data-link connection identifier (DLCI) number or number range as a match criterion in a class map, use the match frame-relay dlci command in class-map configuration mode. To remove a previously specified DLCI number as a match criterion, use the no form of this command.
match frame-relay dlci [Dlci | StartDlci-EndDlci]
no match frame-relay dlci [Dlci | StartDlci-EndDlci]
Syntax Description
Dlci
|
A DLCI number associated with the packet. Range is from 16 to 1007.
|
StartDlci-EndDlci
|
A DLCI number range from 16 to 1007. Numbers are separated by a hyphen.
|
Defaults
No DLCI number is specified.
Command Modes
Class-map configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
The match criterion for the match frame-relay dlci command can be used only on hierarchical policy maps.
Task ID
Task ID
|
Operations
|
qos
|
read, write
|
Examples
The following example shows how to create the fr-dlci class map, and the Frame Relay DLCI number range 100-200 is specified as a match criterion. Packets matching this criterion are placed in fr-dlci:
RP/0/0/CPU0:router(config)# class-map fr-dlci
RP/0/0/CPU0:router(config-cmap)# match frame relay dlci 100-200
RP/0/0/CPU0:router(config-cmap)# end
pvc (frame relay)
To associate a data-link connection identifier (DLCI) number to a permanent virtual circuit (PVC), and to enter PVC configuration mode, use the pvc command in subinterface configuration mode. To delete the PVC, use the no form of this command.
pvc dlci-number
no pvc dlci-number
Syntax Description
dlci-number
|
DLCI number used to identify the PVC. Range is from 16 to 1007.
|
Defaults
No PVC is defined.
Command Modes
Subinterface configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
Commands available in PVC configuration mode are:
RP/0/0/CPU0:router(config-fr-vc)#?
commit Commit the configuration changes to running
describe Describe a command without taking real actions
encap Set the Encapsulation of this PVC
exit Exit from this submode
no Negate a command or set its defaults
show Show contents of configuration
RP/0/0/CPU0:router(config-fr-vc)#
The pvc command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following example shows how to create a PVC with DLCI 16:
RP/0/0/CPU0:router(config)# interface pos 0/4/0/0.1
RP/0/0/CPU0:router(config-subif)# pvc 16
RP/0/0/CPU0:router(config-fr-vc)#
show frame-relay lmi
To display Frame Relay statistics about the Local Management Interface (LMI), use the show frame-relay lmi EXEC command.
show frame-relay lmi [interface type instance | location node-id]
Syntax Description
interface type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
instance
|
(Optional) Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Clears hardware resource counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
This command is used to check the status enquiry and status message between DCE and DTE.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following is sample output from the show frame-relay lmi command:
RP/0/0/CPU0:router# show frame-relay lmi
LMI Statistics for interface POS0/1/0/0/ (Frame Relay DCE) LMI TYPE = ANSI
Invalid Unnumbered Info 0 Invalid Prot Disc 0
Invalid Dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 9
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Rcvd 9444 Num Status Msgs Sent 9444
Num Full Status Sent 1578 Num St Enq. Timeouts 41
LMI Statistics for interface POS0/1/0/1/ (Frame Relay DCE) LMI TYPE = CISCO
Invalid Unnumbered Info 0 Invalid Prot Disc 0
Invalid Dummy Call Ref 0 Invalid Msg Type 0
Invalid Status Message 0 Invalid Lock Shift 0
Invalid Information ID 0 Invalid Report IE Len 0
Invalid Report Request 0 Invalid Keep IE Len 0
Num Status Enq. Rcvd 9481 Num Status Msgs Sent 9481
Num Full Status Sent 1588 Num St Enq. Timeouts 16
Table 113 describes the significant fields shown in the display.
Table 113 show frame-relay lmi Field Descriptions
Field
|
Description
|
LMI Statistics
|
Signalling or LMI specification: CISCO, ANSI, or CCITT.
|
Invalid Unnumbered Info
|
Number of received LMI messages with invalid unnumbered information field.
|
Invalid Dummy Call
|
Number of received LMI messages with invalid dummy calls.
|
Invalid Status Message
|
Number of received LMI messages with invalid status message.
|
Invalid Information ID
|
Number of received LMI messages with invalid information identifier.
|
Invalid Report Request
|
Number of received LMI messages with invalid Report Request.
|
Num Status Enq. Rcvd
|
Number of LMI status enquiry messages received.
|
Num Link Timeouts
|
Number of link timeouts.
|
Invalid Prot Disc
|
Number of received LMI messages with invalid protocol discriminator.
|
Invalid Msg Type
|
Number or received LMI messages with invalid message type.
|
Invalid Lock Shift
|
Number of received LMI messages with invalid lock shift type.
|
Invalid Report IE Len
|
Number of received LMI messages with invalid Report IE Length.
|
Invalid Keep IE Len
|
Number of received LMI messages with invalid Report Request.
|
Num Status Msgs Sent
|
Number of LMI status enquiry messages sent.
|
Num St Enq. Timeouts
|
Number of times the status enquiry message was not received within the T392 DCE timer value.
|
show frame-relay pvc
To display statistics about Frame Relay permanent virtual circuits (PVCs), use the show frame-relay pvc command in EXEC mode.
show frame-relay pvc [interface type instance | location node-id] [dlci-number]
Syntax Description
interface type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
instance
|
(Optional) Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) Clears hardware resource counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
dlci-number
|
(Optional) DLCI number used to identify the PVC. Range is from 16 to 1007.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.
This command is available on Packet-over-SONET/SDH (POS) and serial interfaces for this Cisco IOS XR software release.
This command is used to check the status of PVCs on interfaces.
Task ID
Task ID
|
Operations
|
fr
|
read, write
|
Examples
The following is sample output from the show frame-relay pvc command:
RP/0/0/CPU0:router# show frame-relay pvc
PVC Statistics for interface Serial0/3/2/0 (Frame Relay DCE)
Active Inactive Deleted Static
DLCI = 612, DLCI USAGE = LOCAL, ENCAP = CISCO, INHERIT = TRUE, PVC STATUS = ACT
VE, INTERFACE = Serial0/3/2/0.1
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in FECN packets 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
pvc create time 00:00:00 last time pvc status changed 00:00:00
DLCI = 613, DLCI USAGE = LOCAL, ENCAP = CISCO, INHERIT = TRUE, PVC STATUS = ACT
VE, INTERFACE = Serial0/3/2/0.2
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in FECN packets 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
pvc create time 00:00:00 last time pvc status changed 00:00:00
DLCI = 614, DLCI USAGE = LOCAL, ENCAP = CISCO, INHERIT = TRUE, PVC STATUS = ACT
VE, INTERFACE = Serial0/3/2/0.3
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in FECN packets 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
pvc create time 00:00:00 last time pvc status changed 00:00:00
DLCI = 615, DLCI USAGE = LOCAL, ENCAP = CISCO, INHERIT = TRUE, PVC STATUS = ACT
VE, INTERFACE = Serial0/3/2/0.4
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in FECN packets 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
pvc create time 00:00:00 last time pvc status changed 00:00:00
The following is sample output for a specific frame-relay PVC:
RP/0/0/CPU0:router# show frame-relay pvc 613
DLCI = 613, DLCI USAGE = LOCAL, ENCAP = CISCO, INHERIT = TRUE, PVC STATUS = ACTI
VE, INTERFACE = Serial0/3/2/0.2
input pkts 0 output pkts 0 in bytes 0
out bytes 0 dropped pkts 0 in FECN packets 0
in BECN pkts 0 out FECN pkts 0 out BECN pkts 0
in DE pkts 0 out DE pkts 0
out bcast pkts 0 out bcast bytes 0
pvc create time 00:00:00 last time pvc status changed 00:00:00
Table 114 describes the significant fields shown in the displays.
Table 114 show frame-relay pvc Field Descriptions
Field
|
Description
|
DLCI
|
One of the DLCI numbers for the PVC.
|
DLCI USAGE
|
Lists SWITCHED when the router or access server is used as a switch, or LOCAL when the router or access server is used as a DTE device.
|
ENCAP
|
Type of encapsulation.
|
INHERIT
|
Encapsulation type for the PVC is inherited from the main interface.
|
PVC STATUS
|
Status of the PVC: ACTIVE, INACTIVE, or DELETED.
|
INTERFACE
|
Specific subinterface associated with this DLCI.
|
input pkts
|
Number of packets received on this PVC.
|
output pkts
|
Number of packets sent on this PVC.
|
in bytes
|
Number of bytes received on this PVC.
|
out bytes
|
Number of bytes sent on this PVC.
|
dropped pkts
|
Number of incoming and outgoing packets dropped by the router at the Frame Relay level.
|
in FECN pkts
|
Number of packets received with the FECN bit set.
|
in BECN pkts
|
Number of packets received with the BECN bit set.
|
out FECN pkts
|
Number of packets sent with the FECN bit set.
|
out BECN pkts
|
Number of packets sent with the BECN bit set.
|
in DE pkts
|
Number of DE packets received.
|
out DE pkts
|
Number of DE packets sent.
|
out bcast pkts
|
Number of output broadcast packets.
|
out bcast bytes
|
Number of output broadcast bytes.
|
pvc create time
|
Time at which the PVC was created.
|
last time pvc status changed
|
Time at which the PVC changed status.
|
shaping drops
|
Number of packets dropped by the traffic-shaping process.
|
show interfaces (frame relay)
To display statistics about Frame Relay interfaces, use the show interfaces command in EXEC mode.
show interfaces [type instance | all | local | location node-id] [accounting | brief | detail |
summary]
Syntax Description
type
|
(Optional) Interface type. For more information, use the question mark (?) online help function.
|
instance
|
(Optional) Either a physical interface instance or a virtual interface instance as follows:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the modular services card or line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a route processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
all
|
(Optional) Displays interface information for all interfaces. This is the default.
|
local
|
(Optional) Displays interface information for all interfaces in the local card.
|
location node-id
|
(Optional) Clears hardware resource counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
account |