![]() |
Table Of Contents
Prerequisites for ATM OAM Ping
Information About ATM OAM Ping
Testing Network Connectivity Using ATM Interface Ping (Normal Mode)
Testing Network Connectivity Using ATM Interface Ping (Interactive Mode)
Configuration Examples for ATM OAM Ping
Verifying the Connectivity of a Specific PVC: Example
Normal Mode ping atm interface atm Command: Example
Interactive ping Command: Example
ATM OAM Ping
First Published: 12.0(21)SLast Updated: February 28, 2006The ATM OAM Ping feature sends an ATM Operation, Administration, and Maintenance (OAM) packet to confirm the connectivity of a specific permanent virtual circuit (PVC). The status of the PVC is displayed when a response to the OAM packet is received. The ATM OAM Ping feature allows the network administrator to verify PVC integrity and facilitates ATM network troubleshooting.
History for the ATM OAM Ping Feature
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for ATM OAM Ping
•
Restrictions for ATM OAM Ping
•
Information About ATM OAM Ping
•
Configuration Examples for ATM OAM Ping
Prerequisites for ATM OAM Ping
A PVC corresponding to the virtual path identifier (VPI) and virtual channel identifier (VCI) values entered with the ping command should already exist. (For Cisco 827 series routers, the virtual circuit need not exist.)
For information about how to configure ATM PVCs, see the section "Configuring PVCs" in the chapter "Configuring ATM" in the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.3.
Restrictions for ATM OAM Ping
The ATM OAM Ping feature does not support pings based on the following:
•
Network service access point (NSAP) addresses
•
Multiple-hop loopbacks
•
Loopback location identification
Information About ATM OAM Ping
To use the ATM OAM Ping, you must understand the following concept:
•
Uses for ATM OAM Ping Command
Uses for ATM OAM Ping Command
The ATM OAM Ping feature modifies the ping command, which can be used to send an OAM packet to verify the PVC connectivity. The status of the PVC is displayed when a response to the OAM packet is received. This is a common method for testing the accessibility of the devices.
The ping atm interface atm command provides two ATM OAM ping options:
•
End loopback—Verifies end-to-end PVC integrity.
•
Segment loopback—Verifies PVC integrity to the immediate neighboring ATM device.
The ping atm interface atm command is used to determine the following:
•
Whether a remote host is active or inactive.
•
The round-trip delay in communicating with the host.
•
Packet loss.
The simpler ping command provides an interactive mode for testing ATM network connectivity. The ping command first sends an OAM command loopback cell to the destination and then waits for an OAM response loopback cell. The ping is successful only when the following criteria are met:
•
The OAM command loopback cell reaches the destination.
•
The destination is able to send an OAM loopback response cell back to the source within a predetermined time called a timeout. The default value of the timeout is 2 seconds on Cisco routers.
How to Use ATM OAM Ping
See the following sections for tasks that use ping commands to test network connectivity in an ATM network. The tasks in this list are optional.
•
Testing Network Connectivity Using ATM Interface Ping (Normal Mode)
•
Testing Network Connectivity Using ATM Interface Ping (Interactive Mode)
Testing Network Connectivity Using ATM Interface Ping (Normal Mode)
The task in this section tests network connectivity using the ping atm interface atm command in normal mode; that is, by entering all values for the ping test on the command line.
SUMMARY STEPS
1.
enable
2.
ping atm interface atm interface-number vpi-value vci-value [end-loopback [repeat [timeout]] | seg-loopback [repeat [timeout]]]
DETAILED STEPS
Testing Network Connectivity Using ATM Interface Ping (Interactive Mode)
The task in this section tests network connectivity using the ping command by providing inputs in the interactive mode; that is, by providing values for the ping test by typing the value after the prompts displayed and pressing the Enter key. Press the Enter key without supplying a value to use the default.
SUMMARY STEPS
1.
enable
2.
ping
DETAILED STEPS
Aborting a Ping Session
To terminate a ping session, type the escape sequence—by default, Ctrl-Shift-6.
Configuration Examples for ATM OAM Ping
This section provides the following configuration examples:
•
Verifying the Connectivity of a Specific PVC: Example
•
Normal Mode ping atm interface atm Command: Example
•
Interactive ping Command: Example
Verifying the Connectivity of a Specific PVC: Example
The following example helps verify the connectivity of a specific PVC by sending an ATM OAM packet and confirms the connectivity when it is successful:
Router# show atm pvc 0/500
VC 0/500 doesn't exist on interface ATM1/0 - cannot displayATM1/1.1: VCD: 2, VPI: 0, VCI: 500UBR, PeakRate: N/A (UBR VC)AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0OAM frequency: 10 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM END CC Activate retry count: 3, OAM END CC Deactivate retry count: 3OAM END CC retry frequency: 30 second(s),OAM SEGMENT CC Activate retry count: 3, OAM SEGMENT CC Deactivate retry count: 3OAM SEGMENT CC retry frequency: 30 second(s),OAM Loopback status: OAM ReceivedOAM VC state: VerifiedILMI VC state: Not ManagedOAM END CC status: OAM CC ReadyOAM END CC VC state: VerifiedOAM SEGMENT CC status: OAM CC ReadyOAM SEGMENT CC VC state: VerifiedVC is managed by OAM.InARP frequency: 15 minutes(s)InPkts: 289035, OutPkts: 217088, InBytes: 21165546, OutBytes: 17367793InPRoc: 289039, OutPRoc: 289274InFast: 0, OutFast: 0, InAS: 1, OutAS: 2Out CLP=1 Pkts: 0OAM cells received: 119900F5 InEndloop: 119809, F5 InSegloop: 0,F5 InEndcc: 0, F5 InSegcc: 0, F5 InAIS: 92, F5 InRDI: 0OAM cells sent: 119902F5 OutEndloop: 119810, F5 OutSegloop: 0,F5 OutEndcc: 0, F5 OutSegcc: 0, F5 OutAIS: 0, F5 OutRDI: 92OAM cell drops: 0Status: UPNormal Mode ping atm interface atm Command: Example
The following example shows sample output for the ping atm interface atm command in normal mode:
Router# ping atm interface atm1/1.1 0 500Type escape sequence to abort.Sending 5, 53-byte end-to-end OAM echoes, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/16/52 msRouter# ping atm interface atm1/1.1 0 500 seg-loopbackType escape sequence to abort.Sending 5, 53-byte segment OAM echoes, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 msRouter# ping atm interface atm1/1.1 0 500 end-loopback 100 25Type escape sequence to abort.Sending 100, 53-byte end-to-end OAM echoes, timeout is 25 seconds:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Success rate is 100 percent (100/100), round-trip min/avg/max = 4/13/180 msRouter# ping atm interface atm1/1.1 0 500 seg-loopback 50 20Type escape sequence to abort.Sending 50, 53-byte segment OAM echoes, timeout is 20 seconds:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Success rate is 100 percent (50/50), round-trip min/avg/max = 1/1/4 msRouter# show atm pvc 0/500VC 0/500 doesn't exist on interface ATM1/0 - cannot displayATM1/1.1: VCD: 2, VPI: 0, VCI: 500UBR, PeakRate: N/A (UBR VC)AAL5-LLC/SNAP, etype:0x0, Flags: 0xC20, VCmode: 0x0OAM frequency: 10 second(s), OAM retry frequency: 1 second(s)OAM up retry count: 3, OAM down retry count: 5OAM END CC Activate retry count: 3, OAM END CC Deactivate retry count: 3OAM END CC retry frequency: 30 second(s),OAM SEGMENT CC Activate retry count: 3, OAM SEGMENT CC Deactivate retry count: 3OAM SEGMENT CC retry frequency: 30 second(s),OAM Loopback status: OAM ReceivedOAM VC state: VerifiedILMI VC state: Not ManagedOAM END CC status: OAM CC ReadyOAM END CC VC state: VerifiedOAM SEGMENT CC status: OAM CC ReadyOAM SEGMENT CC VC state: VerifiedVC is managed by OAM.InARP frequency: 15 minutes(s)InPkts: 290975, OutPkts: 219031, InBytes: 21306632, OutBytes: 17509085InPRoc: 290979, OutPRoc: 291219InFast: 0, OutFast: 0, InAS: 1, OutAS: 2Out CLP=1 Pkts: 0OAM cells received: 120881F5 InEndloop: 120734, F5 InSegloop: 55,F5 InEndcc: 0, F5 InSegcc: 0, F5 InAIS: 92, F5 InRDI: 0OAM cells sent: 120882F5 OutEndloop: 120735, F5 OutSegloop: 55,F5 OutEndcc: 0, F5 OutSegcc: 0, F5 OutAIS: 0, F5 OutRDI: 92OAM cell drops: 0Status: UPInteractive ping Command: Example
The following is sample output for the ping command in the interactive mode:
Router# pingProtocol [ip]: atmATM Interface: atm1/1.1VPI value [0]: 0VCI value [1]: 500Loopback - End(0), Segment(1) [0]:Repeat Count [5]:Timeout [2]:Type escape sequence to abort.Sending 5, 53-byte end-to-end OAM echoes, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/9/12 msAdditional References
The following sections provide references related to the ATM OAM Ping.
Related Documents
Related Topic Document TitleConfiguring PVCs and mapping a protocol address to a PVC while configuring ATM
"Creating PVCs" chapter in the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.3
Configuring ATM
"Configuring ATM" chapter in the Cisco IOS Wide-Area Networking Configuration Guide, Release 12.3
WAN commands, complete command syntax, command mode, command history, defaults, usage guidelines, and examples
Cisco IOS Wide-Area Networking Command Reference, Release 12.3
Configuring ATM OAM traffic reduction
ATM OAM Traffic Reduction feature module
Configuring PVCs with or without OAM
Using OAM for PVC Management sample configuration
Detecting failures when using OAM cells and PVC management
Troubleshooting PVC Failures When Using OAM Cells and PVC Management technical note
Standards
MIBs
MIBs MIBs LinkNone
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
Technical Assistance
Command Reference
This section documents a modified command only.
ping atm interface atm
To perform an ATM Operation Administration Maintenance (OAM) ping on a specific permanent virtual circuit (PVC), use the ping atm interface atm command in privileged EXEC mode.
ping atm interface atm interface-number vpi-value vci-value [end-loopback [repeat [timeout]] | seg-loopback [repeat [timeout]]]
Syntax Description
Command Default
End loopback
Repeats: 5
Timeout interval: 2 secondsCommand Modes
Privileged EXEC
Command History
Usage Guidelines
The ping atm interface atm command sends an OAM packet and indicates when a response is received. It can be used either in normal mode or in interactive mode. The ping atm interface atm command provides two ATM OAM ping options:
•
End loopback—Verifies end-to-end PVC integrity.
•
Segment loopback—Verifies PVC integrity to the neighboring ATM device.
Examples
In the following example, an ATM OAM ping with a 15-second timeout verifies end-to-end connectivity for PVC 0/500 in the normal mode:
Router# ping atm interface atm 1/1.1 0 500 end-loopback 30 15Type escape sequence to abort.Sending 30, 53-byte end-to-end OAM echoes, timeout is 15 seconds:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Success rate is 100 percent (30/30), round-trip min/avg/max = 1/1/4 msIn the following example, an ATM OAM ping verifies connectivity to the first-hop ATM switch on PVC 1/100 in the normal mode:
Router# ping atm interface atm 1/1.1 0 500 seg-loopback 30 10Type escape sequence to abort.Sending 30, 53-byte segment OAM echoes, timeout is 10 seconds:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Success rate is 100 percent (30/30), round-trip min/avg/max = 1/1/4 msTable 1 describes the significant fields shown in the display.
The following example verifies connectivity to the neighboring ATM device for the ATM PVC with the virtual path identifier (VPI)/virtual channel identifier (VCI) value 0/500 in the interactive mode:
Router# pingProtocol [ip]:atmATM Interface:atm1/1.1VPI value [0]:0VCI value [1]:500Loopback - End(0), Segment(1) [0]:1Repeat Count [5]:Timeout [2]:Type escape sequence to abort.Sending 5, 53-byte segment OAM echoes, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 msTable 2 describes the ping fields shown in the display.
Related Commands
Command Descriptiondebug atm oam
Displays information about ATM OAM events.
show atm pvc
Displays the OAM status information.
show atm oam auto-detect
Displays ATM OAM autodetect statistics.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2002-2006 Cisco Systems, Inc. All rights reserved.