This module provides
command line interface (CLI) commands for configuring Packet-over-SONET/SDH
(POS) on the
Cisco NCS 6000 Series Router.
This module
describes the Cisco IOS XR commands used to configure, monitor, and
troubleshoot Packet-over-SONET/SDH (POS).
POS provides a
method for efficiently carrying data packets in SONET or Synchronous Digital
Hierarchy (SDH) frames. High-bandwidth capacity and efficient link utilization
are characteristics that make POS largely preferred for building the core of
data networks. POS uses PPP in High-Level Data Link Control (HDLC)-like framing
for data encapsulation at Layer 2 (data link) of the Open System
Interconnection (OSI) stack. This method provides efficient packet delineation
and error control.
In addition to
high-bandwidth efficiency, POS offers secure and reliable transmission for
data. Reliable data transfer depends on timing integrity.
The real-time POS
functionality is performed in hardware, according to the hardware configuration
setup. Configured hardware events are detected by the framer
application-specific integrated circuits (ASICs) and the control is passed to
the software. The generic POS driver is responsible for providing a mechanism
to configure the hardware on a per-interface basis, to handle interface state
transitions, and to collect POS-related statistics.
To set the length of
the cyclic redundancy check (CRC) on a Packet-over-SONET/SDH (POS) interface,
use the
crc command in
POS configuration mode. To return the CRC setting on a POS interface to the
32-bit default setting, use the
no form of this
command.
crc
{ 16 | 32 }
nocrc
[ 16 | 32 ]
Syntax Description
16
Sets 16-bit
CRC mode.
32
Sets 32-bit
CRC mode. The default is 32 bits.
Command Default
The default CRC mode
is 32 bits.
Command Modes
POS configuration
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
CRC is an
error-checking technique that uses a calculated numeric value to detect errors
in transmitted data. The designators 16 and 32 indicate the length (in bits) of
the frame check sequence (FCS). A CRC of 32 bits provides more powerful error
detection, but adds overhead. Both the sender and receiver must use the same
setting.
CRC-16, the most
widely used error checking method throughout the United States and Europe, is
used extensively with WANs. CRC-32 is specified by IEEE standard 802 and as an
option by some point-to-point transmission standards. It is often used on
Switched Multimegabit Data Service (SMDS) networks and LANs.
Task ID
Task ID
Operations
pos-dpt
read, write
Examples
In this example, the
32-bit CRC on POS interface 0/1/0/2 is enabled:
Specifies a number of flag sequences to be inserted between the packets.
encapsulation
(POS)
To set the Layer 2
encapsulation of an interface, use the
encapsulation
command in interface configuration mode. To restore the system to the default
encapsulation, use the
no form of this
command.
encapsulation
{ hdlc | ppp }
noencapsulation
[ hdlc | ppp ]
Syntax Description
hdlc
Enables
Cisco High-Level Data Link Control (cHDLC) encapsulation on the interface. This
is the default encapsulation type.
ppp
Enables
Point-to-Point Protocol (PPP) encapsulation on the interface.
frame-relay
Enables
Frame Relay encapsuation on the interface.
ietf
(Optional)
Enables RFC1490/RFC2427 encapsulation.
Command Default
For
Packet-over-SONET/SDH (POS) interfaces, the default encapsulation is HDLC.
Command Modes
Interface configuration
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
The task ID hdlc
(r,w) is required for use of the keyword
hdlc. The task
ID ppp(r,w) is required for use of the keyword
ppp. The task
ID fr(r,w) is required for use of the keyword
frame-relay.
Task ID
Task ID
Operations
hdlc OR
ppp OR fr
read,
write
interface
read,
write
Examples
In this example,
PPP encapsulation is set on POS interface 0/3/0/1:
To enter interface
or subinterface configuration mode for a POS interface or subinterface, use the
interfacepos command in
XR config mode. To
delete a POS configuration, use the
no form of this
command.
no interface posinterface-path-id [ .subinterface [point-to-point] ]
Syntax Description
interface-path-id
[.subinterface]
Physical
interface or virtual interface followed by the optional subinterface path ID.
Naming notation is
interface-path-id.subinterface. The period in
front of the subinterface value is required as part of the notation.
For more
information about the syntax for the router, use the question mark (?) online
help function.
point-to-point
(Optional)
Configures interface to function as one endpoint of a point-to-point link.
Command Default
No default behavior
or values
Command Modes
XR config
Command History
Release
Modification
Release 5.0.0
This
command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
For the
interface-path-id argument, use the following
guidelines:
If specifying a physical
interface, the naming notation is
rack/slot/module/port. The slash between
values is required as part of the notation. An explanation of each component of
the naming notation is as follows:
rack: Chassis number of the rack.
slot: Physical slot number of the line card.
module: Module number. A physical layer interface
module (PLIM) is always 0.
port: Physical port number of the interface.
f specifying a
virtual interface, the number range varies, depending on interface type.
Task ID
Task ID
Operations
interface
read,
write
Examples
The following
example shows how to enter interface configuration mode for a POS interface:
To set the keepalive
timer for a specific interface, use the
keepalive
command in interface configuration mode. To reset the keepalive timer to the
default of 10 seconds, use the
no form of this
command.
keepalive
{ interval [retry] | disable }
nokeepalive
Syntax Description
interval
Number of
seconds (from 1 to 30) between keepalive messages. The default is 10.
retry
(Optional)
Number of keepalive messages (from 1 to 255) that can be sent to a peer without
a response before transitioning the link to the down state. The default is 5
for interfaces with PPP encapsulation, and 3 for interfaces with HDLC
encapsulation.
disable
Turns off
the keepalive timer.
Command Default
The default interval
is 10 seconds between keepalive messages. The default number of retry keepalive
messages that can be sent without a response is 5 for interfaces with PPP
encapsulation, and 3 for interfaces with HDLC encapsulation. However, when more
than 5 (or 3) keepalive messages are sent to a peer without a response, the
link transitions to the down state.
Command Modes
Interface configuration
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
cHDLC keepalives
require that the
keepalive
command is configured the same way on both routers. The two connected routers
have no way of negotiating the keepalive value, because there is no way for the
routers to tell each other what their configured values are. The keepalive
value configured on each router (local and partner) sets the rate at which the
Cisco IOS XR software sends packets. It also sets the rate at which the local
end expects to receive incoming packets.
To set the keepalive
value to the default value, use the
keepalive
command without specifying a value for the
seconds
argument.
If three keepalives
are sent to the peer and no response is received from the peer, then the link
makes the transition to the down state.
Task ID
Task ID
Operations
hdlc
read, write
ppp
read,write
Examples
This example shows
how to configure keepalives for 3 seconds on POS interface 0/7/0/1:
To access the POS
configuration submode, use the
pos command in
interface configuration mode.
pos
Command Default
No default behavior
or values
Command Modes
Interface configuration
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
When you issue the
pos command in
interface configuration mode for a POS interface, the CLI prompt changes to
“config-if-pos,” indicating that you have entered POS configuration submode. In
the following sample output, the question mark (?) online help function displays all the commands
available under POS configuration submode:
RP/0/RP0/CPU0:router(config)# interface POS 0/1/0/2RP/0/RP0/CPU0:router(config-if)# POSRP/0/RP0/CPU0:router(config-if-pos)# ?
commit Commit the configuration changes to running
crc Set the CRC on a POS interface
describe Describe a command without taking real actions
do Run an exec command
exit Exit from this submode
no Negate a command or set its defaults
show Show contents of configuration
transmit-delay Set POS transmit delay on an interface
Task ID
Task ID
Operations
pos-dpt
read, write
Examples
The following
example shows how to access the POS configuration submode from the POS
configuration mode:
(Optional)
Physical interface or virtual interface.
Note
Use the
showinterfaces command to see a list of all interfaces
currently configured on the router.
For more
information about the syntax for the router, use the question mark (?) online help function.
accounting
(Optional)
Displays accounting information for all POS interfaces on the router, for a
specific POS interface instance, or for all POS interfaces on a specific node.
rates
(Optional)
Displays interface accounting rates for all POS interfaces on the router, for a
specific POS interface instance, or for all POS interfaces on a specific node.
brief
(Optional)
Displays brief output for all POS interfaces on the router, for a specific POS
interface instance, or for all POS interfaces on a specific node.
description
Displays
descriptive output for all POS interfaces on the router, for a specific POS
interface instance, or for all POS interfaces on a specific node.
detail
(Optional)
Displays detailed output for all POS interfaces on the router, for a specific
POS interface instance, or for all POS interfaces on a specific node.
locationnode-id
(Optional)
Displays detailed POS information for the designated node. The
node-id
argument is entered in the
rack/slot/module notation.
Command Default
Enter the
show interfaces
pos command without including any of the optional keywords or
arguments to display detailed information about all POS interfaces configured
on the router.
Command Modes
XR EXEC
Command History
Release
Modification
Release 5.0.0
This command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
For the
interface-path-id argument, use the following
guidelines:
If specifying a physical
interface, the naming notation is
rack/slot/module/port. The slash between
values is required as part of the notation. An explanation of each component of
the naming notation is as follows:
rack: Chassis number of the rack.
slot: Physical slot number of the line card.
module: Module number. A physical layer interface
module (PLIM) is always 0.
port: Physical port number of the interface.
If specifying a virtual
interface, the number range varies, depending on interface type.
Task ID
Task ID
Operations
interface
read
Examples
The following
example shows how to display summarized information for a POS interface on a
specific node:
RP/0/RP0/CPU0:router# show interfaces pos summary location 0/1/CPU0
Interface Type Total UP Down Admin Down
-------------- ----- -- ---- ----------
ALL TYPES 4 1 1 2
--------------
IFT_POS 4 1 1 2
Table 1 show
interfaces pos summary Field Descriptions
Field
Description
Intf Type
Type of
interface described in the display.
Total
Total
number of configured interfaces of the specified type.
Up
Number of
interfaces of the specified type that are in the “Up” state.
Down
Number of
interfaces of the specified type that are in the “Down” state.
Admin Down
Number of
interfaces of the specified type that are in the “Admin Down” state.
The following
example shows how to display brief information for a specific POS interface:
RP/0/RP0/CPU0:router# show interfaces pos 0/2/0/0 brief
Intf Intf LineP Encap MTU BW
Name State State Type (byte) (Kbps)
-------------------------------------------------------------------------------
PO0/2/0/0 admin-down admin-down HDLC 4474 2488320
Table 2 show
interfaces pos Field Descriptions
Field
Description
Intf Name
Interface
identifier, in the
type*rack/slot/module/port notation.
Intf State
Indicates
whether the interface is in the admin-up or admin down state.
LineP
State
Line
protocol state.
Encap Type
Encapsulation type for the specified interface. Can be HDLC or
PPP.
MTU (byte)
Maximum
transmission unit (MTU) value configured for the specified interface, in bytes.
Displays information about the operational status of SONET layers.
transmit-delay
To specify a number
of flag sequences to be inserted between the packets, use the
transmit-delay
command in POS configuration mode. To restore the default, use the
no form of this
command.
transmit-delaymicroseconds
notransmit-delaymicroseconds
Syntax Description
microseconds
Number of
microseconds of minimum delay after sending a packet. Range is from 0 to 1023.
Default is 0 (disabled).
Command Default
microseconds = 0 (disabled)
Command Modes
POS configuration
Command History
Releases
Modifications
Release 5.0.0
This command was introduced.
Usage Guidelines
To use this command,
you must be in a user group associated with a task group that includes
appropriate task IDs. If the user group assignment is preventing you from using
a command, contact your AAA administrator for assistance.
Task ID
Task ID
Operations
pos-dpt
read, write
Examples
In the following
example, a delay of 2 microseconds is specified on POS interface 0/1/0/2: