SAA Commands

saa

Syntax

saa

Context

config

Description

This command enables the context to configure the SAA tests.

test

Syntax

[no] test test-name [owner test-owner]

Context

config>saa

Description

This command identifies a test and creates or modifies the context to provide the test parameters for the named test. Subsequent to the creation of the test instance, the test can be started in the OAM context.

A test must be shut down before it can be modified or removed from the configuration.

The no form of this command removes the test from the configuration.

Parameters

test-name

identifies the SAA test name to be created or edited

test-owner

specifies the owner of an SAA operation, up to 32 characters in length

Values

if a test-owner value is not specified, tests created by the CLI have a default owner "TiMOS CLI"

accounting-policy

Syntax

accounting-policy acct-policy-id]

no accounting-policy

Context

config>saa>test

Description

This command associates an accounting policy to the SAA test. The accounting policy must already be defined before it can be associated or else an error message is generated.

A notification (trap) is issued when a test is completed.

The no form of this command removes the accounting policy association.

Parameters

acct-policy-id

specifies the accounting acct-policy-id as configured in the config>log>accounting-policy context

Values

1 to 99

description

Syntax

description description-string

no description

Context

config>saa>test

Description

This command creates a text description stored in the configuration file for a configuration context.

The no form of this command removes the string from the configuration.

Default

no description

Parameters

description-string

the description character string. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, or spaces), the entire string must be enclosed within double quotes.

continuous

Syntax

[no] continuous

Context

config>saa>test

Description

This command specifies whether the SAA test is continuous. Once you have configured a test as continuous, you cannot start or stop it by using the oam saa test-name {start | stop} command. This option is not applicable to all SAA test types.

The no form of the command disables the continuous execution of the test.

jitter-event

Syntax

jitter-event rising-threshold threshold[falling-threshold threshold][direction]

no jitter-event

Context

config>saa>test

Description

This command specifies that at the termination of an SAA test probe, the calculated jitter value is evaluated against the configured rising and falling jitter thresholds. SAA threshold events are generated as required.

After the threshold (rising/falling) is crossed, it is disabled from generating additional events until the opposite threshold is crossed. If a falling threshold is not supplied, the rising threshold will be re-enabled when it falls below the threshold after the initial crossing that generated the event.

The configuration of jitter event thresholds is optional.

Parameters

rising-threshold threshold

specifies a rising threshold jitter value. When the test run is completed, the calculated jitter value is compared to the configured jitter rising threshold. If the test run jitter value is greater than the configured rising threshold value, then an SAA threshold event is generated. The SAA threshold event is tmnxOamSaaThreshold, logger application OAM, event #2101.

Values

0 to 2147483 ms

Default

0

falling-threshold threshold

specifies a falling threshold jitter value. When the test run is completed, the calculated jitter value is compared to the configured jitter falling threshold. If the test run jitter value is greater than the configured falling threshold value, then an SAA threshold event is generated. The SAA threshold event is tmnxOamSaaThreshold, logger application OAM, event #2101.

Values

0 to 2147483 ms

Default

0

direction

specifies the direction for OAM ping responses received for an OAM ping test run

Values

inbound — monitors the jitter value calculated for the inbound, one-way, OAM ping responses received for an OAM ping test run

outbound — monitors the jitter value calculated for the outbound, one-way, OAM ping requests sent for an OAM ping test run

roundtrip — monitors the jitter value calculated for the round-trip, two-way, OAM ping requests and replies for an OAM ping test run

Default

roundtrip

latency-event

Syntax

latency-event rising-threshold threshold [falling-threshold threshold] [direction]

no latency-event

Context

config>saa>test

Description

This command specifies that at the termination of an SAA test probe, the calculated latency event value is evaluated against the configured rising and falling latency event thresholds. SAA threshold events are generated as required.

The configuration of latency event thresholds is optional.

Parameters

rising-threshold threshold

specifies a rising threshold latency value. When the test run is completed, the calculated latency value is compared to the configured latency rising threshold. If the test run latency value is greater than the configured rising threshold value, then an SAA threshold event is generated. The SAA threshold event is tmnxOamSaaThreshold, logger application OAM, event #2101.

Values

0 to 2147483647 ms

Default

0

falling-threshold threshold

specifies a falling threshold latency value. When the test run is completed, the calculated latency value is compared to the configured latency falling threshold. If the test run latency value is greater than the configured falling threshold value, then an SAA threshold event is generated. The SAA threshold event is tmnxOamSaaThreshold, logger application OAM, event #2101.

Values

0 to 2147483647 ms

Default

0

direction

specifies the direction for OAM ping responses received for an OAM ping test run

Values

inbound — monitors the latency value calculated for the inbound, one-way, OAM ping responses received for an OAM ping test run

outbound — monitors the latency value calculated for the outbound, one-way, OAM ping requests sent for an OAM ping test run

roundtrip — monitors the latency value calculated for the round-trip, two-way, OAM ping requests and replies for an OAM ping test run

Default

roundtrip

loss-event

Syntax

loss-event rising-threshold threshold [falling-threshold threshold] [direction]

no loss-event

Context

config>saa>test

Description

This command specifies that at the termination of an SAA test run, the calculated loss event value is evaluated against the configured rising and falling loss event thresholds. SAA threshold events are generated as required.

The configuration of loss event thresholds is optional.

Parameters

rising-threshold threshold

specifies a rising threshold loss event value. When the test run is completed, the calculated loss event value is compared to the configured loss event rising threshold. If the test run loss event value is greater than the configured rising threshold value, then an SAA threshold event is generated. The SAA threshold event is tmnxOamSaaThreshold, logger application OAM, event #2101.

Values

0 to 2147483647 packets

Default

0

falling-threshold threshold

specifies a falling threshold loss event value. When the test run is completed, the calculated loss event value is compared to the configured loss event falling threshold. If the test run loss event value is greater than the configured falling threshold value, then an SAA threshold event is generated. The SAA threshold event is tmnxOamSaaThreshold, logger application OAM, event #2101.

Values

0 to 2147483647 packets

Default

0

direction

specifies the direction for OAM ping responses received for an OAM ping test run

Values

inbound — monitors the loss value calculated for the inbound, one-way, OAM ping responses received for an OAM ping test run

outbound — monitors the loss value calculated for the outbound, one-way, OAM ping requests sent for an OAM ping test run

roundtrip — monitors the loss value calculated for the round-trip, two-way, OAM ping requests and replies for an OAM ping test run

Default

roundtrip

trap-gen

Syntax

trap-gen

Context

config>saa>test

Description

This command enables the context to configure SNMP trap generation for the SAA test.

probe-fail-enable

Syntax

[no] probe-fail-enable

Context

config>saa>test>trap-gen

Description

This command works in conjunction with the probe-fail-threshold command. The command enables the generation of an SNMP trap after threshold consecutive probe failures during the execution of the SAA ping test. This command is not applicable to SAA trace route tests.

The no form of the command disables the generation of an SNMP trap.

probe-fail-threshold

Syntax

probe-fail-threshold threshold

no probe-fail-threshold

Context

config>saa>test>trap-gen

Description

This command works in conjunction with the probe-fail-enable command. When the probe-fail-enable command is enabled, the generation of an SNMP trap occurs after threshold consecutive probe failures during the execution of the SAA ping test. This command is not applicable to SAA trace route tests.

This command has no effect when the probe-fail-enable command is disabled.

The no form of the command returns the threshold value to the default.

Default

1

Parameters

threshold

specifies the number of consecutive SAA ping probe failures before an SNMP trap is generated

Values

0 to 15

test-completion-enable

Syntax

[no] test-completion-enable

Context

config>saa>test>trap-gen

Description

This command enables the generation of an SNMP trap when an SAA test completes.

The no form of the command disables the trap generation.

test-fail-enable

Syntax

[no] test-fail-enable

Context

config>saa>test>trap-gen

Description

This command enables the generation of an SNMP trap when a test fails. In the case of a ping test, the test is considered failed—for the purpose of trap generation—if the number of failed probes is at least the value of the test-fail-threshold threshold parameter.

The no form of the command disables the trap generation.

test-fail-threshold

Syntax

test-fail-threshold threshold

no test-fail-threshold

Context

config>saa>test>trap-gen

Description

This command configures the threshold for SNMP trap generation on test failure. This command is not applicable to SAA trace route tests.

This command has no effect when the test-fail-enable command is disabled.

The no form of the command returns the threshold value to the default.

Default

1

Parameters

threshold

specifies the number of consecutive test failures before an SNMP trap is generated

Values

0 to 15

type

Syntax

[no] type

Context

config>saa>test

Description

This command enables the context to provide the test type for the named test. Only a single test type can be configured.

A test can only be modified while the test is in shutdown mode.

When a test type has been configured, the command can be modified by re-entering the command. The test type must be the same as the previously entered test type.

To change the test type, the old command must be removed using the config>saa>test>no type command.

cpe-ping

Syntax

cpe-ping service service-id destination ip-address source ip-address[source-mac ieee-address][fc fc-name[profile {in | out}]][ttl vc-label-ttl][count send-count][send-control][return-control][timeout timeout][interval interval]

Context

oam

config>saa>test>type

Description

This ping utility determines the IP connectivity to a CPE within a specified VPLS service.

Parameters

service-id

specifies the service ID or name of the service to diagnose or manage

Values

1 to 2147483647 or service-name

destination ip-address

specifies the IP address to be used as the destination for performing an OAM ping operation

source ip-address

specifies an unused IP address in the same network that is associated with the VPLS

profile {in | out}

specifies the profile state of the MPLS echo request encapsulation

Default

out

ieee-address

specifies the source MAC address that will be sent to the CPE. If not specified or set to 0, the MAC address configured for the CSM is used.

fc-name

specifies the forwarding class of the MPLS echo request encapsulation

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

vc-label-ttl

specifies the TTL value in the VC label for the OAM MAC request, expressed as a decimal integer

Values

1 to 255

Default

255

send-count

specifies the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 255

Default

1

send-control

specifies the MAC OAM request be sent using the control plane instead of the data plane

Default

 MAC OAM request sent using the data plane

return-control

specifies that the MAC OAM reply to a data plane MAC OAM request is sent using the control plane instead of the data plane

Default

 MAC OAM reply sent using the data plane

timeout

specifies the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout parameter overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

interval

specifies the interval parameter in seconds, expressed as a decimal integer. This parameter is used to override the default request message send interval and defines the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 s and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 10

Default

1

eth-cfm-linktrace

Syntax

eth-cfm-linktrace mac-address mep mep-id domain md-index association ma-index[ttl ttl-value][fc fc-name [profile {in | out}]][count send-count][timeout timeout][interval interval]

Context

config>saa>test>type

Description

This command configures an Ethernet CFM linktrace test in SAA.

Parameters

mac-address

specifies a unicast destination MAC address

Values

xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx, where xx is a hexadecimal number

mep-id

specifies the target MEP ID

Values

1 to 8191

md-index

specifies the MD index

Values

1 to 4294967295

ma-index

specifies the MA index

Values

1 to 4294967295

ttl-value

specifies the number of hops to use in a linktrace test

Values

0 to 255

fc-name

specifies the forwarding class for CFM test traffic. The fc-name is mapped to the dot1p priority that is set in the CFM frame forwarding class. See Table: Priority Mapping Based on Message Type and MEP Direction for the Dot1p Priority-to-FC mapping.

Values

be, l2, af, l1, ef, h1, nc

Default

nc

profile {in | out}

specifies the profile state for CFM test traffic; this parameter is not used

send-count

specifies the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 10

Default

1

timeout

specifies the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout parameter overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

interval

specifies the minimum amount of time, in seconds, that must expire before the next message request is sent. The interval parameter is used to override the default request message send interval. If the interval is set to 1 s, and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

eth-cfm-loopback

Syntax

eth-cfm-loopback mac-address mep mep-id domain md-index association ma-index[size data-size][fc fc-name [profile {in | out}]][count send-count][timeout timeout][interval interval]

Context

config>saa>test>type

Description

This command configures an Ethernet CFM loopback test in SAA.

Parameters

mac-address

specifies a unicast destination MAC address

Values

xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx, where xx is a hexadecimal number

mep-id

specifies the target MEP ID

Values

1 to 8191

md-index

specifies the MD index

Values

1 to 4294967295

ma-index

specifies the MA index

Values

1 to 4294967295

data-size

specifies the packet size in bytes, expressed as a decimal integer

Values

0 to 1500

Default

0

fc-name

specifies the forwarding class for CFM test traffic. The fc-name is mapped to the dot1p priority that is set in the CFM frame forwarding class. See Table: Priority Mapping Based on Message Type and MEP Direction for the Dot1p Priority-to-FC mapping.

Values

be, l2, af, l1, ef, h1, nc

Default

nc

profile {in | out}

specifies the profile state for CFM test traffic; this parameter is not used

send-count

specifies the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

timeout

specifies the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout parameter overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

interval

specifies the minimum amount of time, in seconds, that must expire before the next message request is sent. The interval parameter is used to override the default request message send interval. If the interval is set to 1 s, and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

eth-cfm-two-way-delay

Syntax

eth-cfm-two-way-delay mac-address mep mep-id domain md-index association ma-index [fc {fc-name}[profile {in | out}]][count send-count][size data-size][timeout timeout][interval interval]

Context

config>saa>test>type

Description

This command configures an Ethernet CFM two-way delay test in SAA.

Parameters

mac-address

specifies a unicast MAC address

Values

xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx, where xx is a hexadecimal number

mep-id

specifies the target MEP ID

Values

1 to 8191

md-index

specifies the MD index

Values

1 to 4294967295

ma-index

specifies the MA index

Values

1 to 4294967295

fc-name

specifies the forwarding class for CFM test traffic. The fc-name is mapped to the dot1p priority that is set in the CFM frame forwarding class. See Table: Priority Mapping Based on Message Type and MEP Direction for the Dot1p Priority-to-FC mapping.

Values

be, l2, af, l1, ef, h1, nc

Default

nc

profile {in | out}

specifies the profile state for CFM test traffic; this parameter is not used

send-count

specifies the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

timeout

specifies the maximum amount of time, in seconds, that the router will wait for a message reply after sending the message request. The timeout parameter overrides the default timeout value. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

interval

specifies the minimum amount of time, in seconds, that must expire before the next message request is sent. The interval parameter is used to override the default request message send interval. If the interval is set to 1 s, and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. The timeout value must be less than the interval value.

Values

1 to 10

Default

5

eth-cfm-two-way-slm

Syntax

eth-two-way-slm mac-address mep mep-id domain md-index association ma-index[fc fc-name[profile {in |out}]] [count send-count] [size data-size] [timeout timeout] [interval interval]

Context

config>saa>test>type

Description

This command specifies an Ethernet CFM two-way SLM test in SAA.

Parameters

mac-address

specifies a unicast MAC address

Values

xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xx, where xx is a hexadecimal number

mep-id

specifies the target MEP ID

Values

1 to 8191

md-index

specifies the MD index

Values

1 to 4294967295

ma-index

specifies the MA index

Values

1 to 4294967295

fc-name

specifies the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

nc

profile in | out

specifies the profile state of the MPLS echo request encapsulation

Default

in

send-count

the number of messages to send, expressed as a decimal integer. The message interval value must be expired before the next message request is sent.

Values

1 to 1000

Default

1

data-size

the size of the data portion of the data TLV. If 0 is specified, no data TLV is added to the packet.

Values

0 to 1500

Default

0

timeout

the timeout parameter in seconds. This value is the length of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded. The timeout value must be less than or equal to the interval.

Values

1 to 10

Default

5

interval

the time, in seconds between probes within a test run

Values

1 to 10

Default

5

icmp-ping

Syntax

icmp-ping ip-address | dns-name [rapid] [ttl time-to-live] [tos type-of-service] [size bytes] [pattern pattern] [source ip-address] [interval seconds] [{next-hop ip-address}| {interface interface-name} | bypass-routing] [count requests] [do-not-fragment] [router router-instance | service-name service-name] [timeout timeout] [fc fc-name [profile {in | out}]]

Context

config>saa>test>type

Description

This command configures an ICMP ping test.

Parameters

ip-address

identifies the far-end IP address to which to send the icmp-ping request message in dotted-decimal notation

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x[-interface]

                              x:x:x:x:x:x:d.d.d.d[-interface]

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

                              interface: 32 chars max, mandatory

                              for link local addresses

dns-name

identifies the DNS name of the far-end device to which to send the icmp-ping request message, expressed as a character string up to 63 characters

Values

63 characters maximum

rapid

changes the units for the interval from seconds to hundredths of seconds

time-to-live

specifies the TTL value for the MPLS label, expressed as a decimal integer

Values

1 to 128

Default

64

type-of-service

specifies the service type

Values

0 to 255

Default

0

bytes

specifies the request packet size in bytes, expressed as a decimal integer

Values

0 to 16384

Default

56

pattern

specifies the pattern that will be used to fill the date portion in a ping packet. If no pattern is specified, position information will be filled instead.

Values

0 to 65535

source ip-address

specifies the IP address to be used

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

seconds

defines the minimum amount of time, expressed as a decimal integer, that must expire before the next message request is sent

This parameter is used to override the default request message send interval. If the interval is set to 1 s, and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 10000

Default

1

next-hop ip-address

displays only the static routes with the specified next-hop IP address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

interface-name

specifies the name of an IP interface. The name must already exist in the config>router>interface context.

bypass-routing

specifies whether to send the ping request to a host on a directly attached network bypassing the routing table

requests

specifies the number of times to perform an OAM ping probe operation. Each OAM echo message request must either time out or receive a reply before the next message request is sent.

Values

1 to 100000

Default

5

do-not-fragment

sets the DF (Do not fragment) bit in the ICMP ping packet

router-instance

specifies the router name or service ID

Values

router-name:      Base, management

service-id:           1 to 2147483647

Default

Base

service-name

the service name, up to 64 characters

timeout

specifies the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. A "request timeout" message is displayed by the CLI for each message request sent that expires. Any response received after the request times out will be silently discarded.

This value is used to override the default timeout value.

Values

1 to 10

Default

5

fc fc-name

specifies the forwarding class for ICMP echo-request packets, which controls the marking of packets based on the configured SAP egress or network QoS policy. The packets use the egress data queue for the specified forwarding class. If the fc option is not specified, the ICMP echo-request packets use the nc forwarding class by default.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

nc

profile {in | out}

specifies the profile state of packets assigned to the specified forwarding class

Default

in

icmp-trace

Syntax

icmp-trace [ip-address|dns-name] [ttl time-to-live] [wait milli-seconds] [source ip-address] [tos type-of-service] [router router-instance | service-name service-name]

Context

config>saa>test>type

Description

This command configures an ICMP traceroute test.

Parameters

ip-address

the far-end IP address to which to send the icmp-trace request message in dotted-decimal notation

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

dns-name

the DNS name of the far-end device to which to send the icmp-trace request message, expressed as a character string

Values

63 characters maximum

time-to-live

the TTL value for the MPLS label, expressed as a decimal integer

Values

1 to 255

milli-seconds

the time, in milliseconds, to wait for a response to a probe, expressed as a decimal integer

Values

1 to 60000

Default

5000

source ip-address

specifies the IP address to be used

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

type-of-service

specifies the service type

Values

0 to 255

router-instance

specifies the router name or service ID

Values

router-name:      Base, management

service-id:           1 to 2147483647

Default

Base

service-name

the service name, up to 64 characters

lsp-ping

Syntax

lsp-ping lsp-name [path path-name]

lsp-ping bgp-label prefix ip-prefix/prefix-length [path-destination ip-address [interface if-name | next-hop ip-address]]

lsp-ping prefix ip-prefix/prefix-length [path-destination ip-address [interface if-name | next-hop ip-address]]

lsp-ping sr-isis prefix ip-prefix/prefix-length [igp-instance igp-instance] [path-destination ip-address [interface if-name | next-hop ip-address]]

lsp-ping sr-ospf prefix ip-prefix/prefix-length [igp-instance igp-instance] [path-destination ip-address [interface if-name | next-hop ip-address]]

lsp-ping sr-te lsp-name[path path-name] [path-destination ip-address [interface if-name| next-hop ip-address]]

- options common to all lsp-ping cases:[fc fc-name [profile {in | out}]] [interval interval] [send-count send-count] [size octets] [src-ip-address ip-address] [timeout timeout] [ttl label-ttl]

Context

oam

config>saa>test>type

Description

This command performs in-band LSP connectivity tests using the protocol and data structures defined in RFC 4379, Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures.

The LSP ping operation is modeled after the IP ping utility, which uses ICMP echo request and reply packets to determine IP connectivity.

In an LSP ping, the originating device creates an MPLS echo request packet for the LSP and path to be tested. The MPLS echo request packet is sent through the data plane and waits for an MPLS echo reply packet from the device terminating the LSP. The status of the LSP is displayed when the MPLS echo reply packet is received.

The detail parameter is available only from the oam context.

Parameters

lsp-name

specifies a unique LSP name, up to 64 characters

path-name

specifies the name for the LSP path, up to 32 characters

bgp-label prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the target BGP IPv4 label route

Values

ipv4-prefix:

a.b.c.d

ipv4 prefix-length:

32

path-destination ip-address

specifies the IP address of the path destination from the range 127/8. When the LDP FEC prefix is IPv6, the user must enter a 127/8 IPv4 mapped IPv6 address, that is, in the range ::ffff:127/104.

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

if-name

specifies the name of an IP interface. The name must already exist in the config>router>interface context.

next-hop ip-address

specifies the next-hop IP address to send the MPLS echo request message to

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

lsp-ping prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the destination node

Values

ipv4-prefix:

a.b.c.d

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

   x: [0 to FFFF]H

   d: [0 to 255]D

prefix-length:

ipv4: 32

ipv6: 128

sr-isis prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the target node SID of the SR-ISIS tunnel

Values

ipv4-prefix

a.b.c.d

ipv6-prefix

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x:

[0 to FFFF]H

d:

[0 to 255]D

prefix-length

ipv4:

32

ipv6:

128

igp-instance

specifies the IGP instance

Values

0 to 31

sr-ospf prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the target node SID of the SR-OSPF tunnel

Values

ipv4-prefix

a.b.c.d

prefix-length

32

fc-name

indicates the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

The LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end 7705 SAR that receives the message request. The egress mappings of the egress network interface on the far-end 7705 SAR control the forwarding class markings on the return reply message.

The LSP-EXP mappings on the receive network interface control the mapping of the message reply back at the originating 7705 SAR.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

specifies the profile state of the MPLS echo request encapsulation

Default

out

interval

specifies the minimum amount of time that must expire before the next message request is sent

If the interval is set to 1 s, and the timeout value is set to 10 s, the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

This parameter is used to override the default request message send interval.

Values

1 to 10

Default

1

send-count

the number of messages to send, expressed as a decimal integer. The send-count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

size octets

specifies the MPLS echo request packet size in octets, expressed as a decimal integer. The request payload is padded with zeros to the specified size.

Values

1 to 9702

Default

1

src-ip-address ip-address

specifies the IP address to be used when an OAM packet must be generated from an address other than the node system interface address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

timeout

specifies the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. A "request timeout" message is displayed by the CLI for each message request sent that expires. Any response received after the request times out will be silently discarded.

This value is used to override the default timeout value.

Values

1 to 10

Default

5

label-ttl

specifies the TTL value for the MPLS label, expressed as a decimal integer

Values

1 to 255

Default

255

detail

displays detailed information

lsp-trace

Syntax

lsp-trace lsp-name[path path-name]

lsp-trace bgp-label prefix ip-prefix/prefix-length[path-destination ip-address[interface if-name| next-hop ip-address]]

lsp-trace prefix ip-prefix/prefix-length[path-destination ip-address[interface if-name| next-hop ip-address]]

lsp-trace sr-isis prefix ip-prefix/prefix-length[igp-instance igp-instance] [path-destination ip-address[{interface if-name| next-hop ip-address}]]

lsp-trace sr-ospf prefix ip-prefix/prefix-length[igp-instance igp-instance] [path-destination ip-address[{interface if-name| next-hop ip-address}]]

lsp-trace sr-te lsp-name [path path-name] [path-destination ip-address[{interface if-name | next-hop ip-address}]]

- options common to all lsp-trace cases: [detail] [downstream-map-tlv downstream-map-tlv][fc fc-name [profile {in | out}]] [interval interval][max-fail no-response-count] [max-ttl max-label-ttl] [min-ttl min-label-ttl] [probe-count probes-per-hop] [size octets] [src-ip-address ip-address] [timeout timeout]

Context

oam

config>saa>test>type

Description

This command displays the hop-by-hop path for an LSP traceroute using the protocol and data structures defined in RFC 4379, Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures.

The LSP traceroute operation is modeled after the IP traceroute utility, which uses ICMP echo request and reply packets with increasing TTL values to determine the hop-by-hop route to a destination IP.

In an LSP traceroute, the originating device creates an MPLS echo request packet for the LSP to be tested with increasing values of the TTL in the outermost label. The MPLS echo request packet is sent through the data plane and waits for a TTL exceeded response or the MPLS echo reply packet from the device terminating the LSP. The devices that reply to the MPLS echo request packets with the TTL exceeded and the MPLS echo reply are displayed.

The downstream mapping TLV allows the sender and responder nodes to exchange and validate interface and label stack information for each downstream hop in an LDP FEC path, an RSVP LSP, a BGP-labeled IPv4 route, an SR-ISIS node SID, or an SR-OSPF node SID. If the responder node has multiple equal-cost next hops for the LDP FEC, BGP-labeled IPv4 prefix, SR-ISIS node SID, or SR-OSPF node SID, it replies in the downstream mapping TLV with the downstream information of each outgoing interface that is part of the ECMP next hop set for the prefix. The downstream mapping TLV can be further used to exercise a specific path of the ECMP set using the path-destination option.

The detail parameter is available only from the oam context.

Parameters

lsp-name

specifies a unique LSP name, up to 64 characters

path-name

specifies the name for the LSP path, up to 32 characters

bgp-label prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the target BGP IPv4 label route

Values

ipv4-prefix:

a.b.c.d

ipv4 prefix-length:

32

path-destination ip-address

specifies the IP address of the path destination from the range 127/8. When the LDP FEC prefix is IPv6, the user must enter a 127/8 IPv4 mapped IPv6 address, that is, in the range ::ffff:127/104.

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

if-name

specifies the name of an IP interface. The name must already exist in the config>router>interface context.

next-hop ip-address

specifies the next-hop IP address to send the MPLS echo request message to

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

lsp-trace prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the destination node

Values

ipv4-prefix:

a.b.c.d

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

   x: [0 to FFFF]H

   d: [0 to 255]D

prefix-length:

ipv4: 32

ipv6: 128

sr-isis prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the target node SID of the SR-ISIS tunnel

Values

ipv4-prefix:

a.b.c.d

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

   x: [0 to FFFF]H

   d: [0 to 255]D

prefix-length:

ipv4: 32

ipv6: 128

sr-ospf prefix ip-prefix/prefix-length

specifies the address prefix and prefix length of the target node SID of the SR-OSPF tunnel

Values

ipv4-prefix

a.b.c.d

prefix-length

32

igp-instance

specifies the IGP instance, 0 to 31

downstream-map-tlv

specifies which format of the downstream mapping TLV to use in the LSP trace packet

Values

ddmap: sends a detailed downstream map TLV for the enhanced TLV format specified in RFC 6424

dsmap: sends a downstream map TLV for the original target FEC stack TLV for BGP-labeled IPv4/32 prefixes as defined in RFC 4379

none: no map TLV is sent

Default

inherited from the global configuration of the downstream mapping TLV in the mpls-echo-request-downstream-map command

fc-name

indicates the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

The LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end 7705 SAR that receives the message request. The egress mappings of the egress network interface on the far-end 7705 SAR control the forwarding class markings on the return reply message.

The LSP-EXP mappings on the receive network interface control the mapping of the message reply back at the originating 7705 SAR.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

specifies the profile state of the MPLS echo request encapsulation

Default

out

interval

specifies the minimum amount of time that must expire before the next message request is sent

If the interval is set to 1 s, and the timeout value is set to 10 s, the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

This parameter is used to override the default request message send interval.

Values

1 to 10

Default

1

max-label-ttl

specifies the maximum TTL value in the MPLS label for the LSP trace test, expressed as a decimal integer

Values

1 to 255

Default

30

min-label-ttl

specifies the minimum TTL value in the MPLS label for the LSP trace test, expressed as a decimal integer

Values

1 to 255

Default

1

no-response-count

specifies the maximum number of consecutive MPLS echo requests, expressed as a decimal integer, that do not receive a reply before the trace operation fails for a particular TTL

Values

1 to 255

Default

5

probes-per-hop

specifies the number of OAM requests sent for a particular TTL value, expressed as a decimal integer

Values

1 to 10

Default

1

size octets

specifies the MPLS echo request packet size in octets, expressed as a decimal integer. The request payload is padded with zeros to the specified size.

Values

1 to 9702

Default

1 — the system sends the minimum packet size, depending on the type of LSP. No padding is added.

src-ip-address ip-address

specifies the IP address to be used when an OAM packet must be generated from an address other than the node system interface address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

timeout

specifies the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. A "request timeout" message is displayed by the CLI for each message request sent that expires. Any response received after the request times out will be silently discarded.

This value is used to override the default timeout value.

Values

1 to 60

Default

3

detail

displays detailed information

mac-ping

Syntax

mac-ping service service-id destination dst-ieee-address [source src-ieee-address] [fc fc-name [profile {in | out}]] [size octets] [ttl vc-label-ttl] [count send-count] [send-control] [return-control] [interval interval] [timeout timeout]

Context

oam

config>saa>test>type

Description

The MAC ping utility is used to determine the existence of an egress SAP binding of a given MAC within a VPLS service.

A MAC ping packet can be sent via the control plane or the data plane. The send-control option specifies the request be sent using the control plane. If send-control is not specified, the request is sent using the data plane.

A MAC ping is forwarded along the flooding domain if no MAC address bindings exist. If MAC address bindings exist, then the packet is forwarded along those paths, provided they are active. A response is generated only when there is an egress SAP binding for that MAC address or if the MAC address is a "local" OAM MAC address associated with the device's control plane.

A MAC ping reply can be sent using the control plane or the data plane. The return-control option specifies the reply be sent using the control plane. If return-control is not specified, the request is sent using the data plane.

A MAC ping with data plane reply can only be initiated on nodes that can have an egress MAC address binding. A node without an FDB and without any SAPs cannot have an egress MAC address binding, so it is not a node where replies in the data plane will be trapped and sent up to the control plane.

A control plane request is responded to via a control plane reply only.

By default, MAC OAM requests are sent with the system or chassis MAC address as the source MAC. The source option allows overriding of the default source MAC for the request with a specific MAC address.

When a source ieee-address value is specified and the source MAC address is locally registered within a split horizon group (SHG), then this SHG membership will be used as if the packet originated from this SHG. In all other cases, SHG 0 (zero) will be used. If the MAC trace originated from a non-zero SHG, the packets will not go out to the same SHG.

Parameters

service-id

the service ID or name of the service to diagnose or manage

Values

 1 to 2147483647 or service-name

dst-ieee-address

the destination MAC address for the OAM MAC request

src-ieee-address

the source MAC address from which the OAM MAC request originates. By default, the system MAC address for the chassis is used.

Values

Any unicast MAC value

Default

The system MAC address

fc-name

the fc parameter is used to test the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

Values

 be, l2, af, l1, h2, ef, h1, nc

octets

the MAC OAM request packet size in octets, expressed as a decimal integer. The request payload is padded to the specified size with a 6-byte PAD header and a byte payload of 0xAA as necessary. If the octet size specified is less than the minimum packet, the minimum size packet necessary to send the request is used.

Values

1 to 9702

Default

No OAM packet padding

vc-label-ttl

the TTL value in the VC label for the OAM MAC request, expressed as a decimal integer

Values

1 to 255

Default

255

send-count

the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

send-control

specifies the MAC OAM request be sent using the control plane instead of the data plane

Default

 MAC OAM request sent using the data plane

return-control

specifies the MAC OAM reply to a data plane MAC OAM request be sent using the control plane instead of the data plane

Default

 MAC OAM reply sent using the data plane

interval

the interval parameter in seconds, expressed as a decimal integer. This parameter is used to override the default request message send interval and defines the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 s and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 10

Default

1

timeout

the timeout parameter in seconds, expressed as a decimal integer. This value is used to override the default timeout value and is the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.

Values

1 to 10

Default

5

mac-populate

Syntax

mac-populate service-id mac ieee-address [flood] [age seconds] [force] [target-sap sap-id] [send-control]

Context

oam

Description

This command populates the FDB with an OAM-type MAC entry indicating the node is the egress node for the MAC address, and it optionally floods the OAM MAC association throughout the service. The MAC address can be bound to a particular SAP (the target-sap) or can be associated with the control plane in that any data destined for the MAC address is forwarded to the control plane (CSM). As a result, if the service on the node has neither an FDB nor an egress SAP, then it is not allowed to initiate a mac-populate command.

The MAC address that is populated in the FDB in the provider network is given a type OAM, so that it can be treated distinctly from regular dynamically learned or statically configured MACs. OAM MAC addresses are operational MAC addresses and are not saved in the device configuration. An exec file can be used to define OAM MACs after system initialization.

The force option in the mac-populate command forces the MAC in the table to be type OAM in case it already exists as a dynamic, static, or an OAM-induced learned MAC with some other type of binding. An OAM-type MAC cannot be overwritten by dynamic learning and allows customer packets with the MAC to either ingress or egress the network while still using the OAM MAC entry.

The flood option causes each upstream node to learn the MAC (that is, populate the local FDB with an OAM MAC entry) and to flood the request along the data plane using the flooding domain. The flooded mac-populate request can be sent via the data plane or the control plane. The send-control option specifies the request be sent using the control plane. If send-control is not specified, the request is sent using the data plane.

An age can be provided to age a particular OAM MAC using a specific interval. By default, OAM MAC addresses are not aged and can be removed with a mac-purge command or with an FDB clear operation.

When a split horizon group (SHG) is configured, the flooding domain depends on which SHG the packet originates from. The target-sap sap-id value dictates the originating SHG information.

Parameters

service-id

the service ID or name of the service to diagnose or manage

Values

1 to 2147483647 or service-name

ieee-address

the MAC address to be populated

flood

sends the OAM MAC populate to all upstream nodes

Default

MAC populate only the local FDB

seconds

the age for the OAM MAC, expressed as a decimal integer

Values

1 to 65535

Default

No OAM packet padding

force

converts the MAC to an OAM MAC even if it currently is another type of MAC

Default

do not overwrite type

sap-id

the local target SAP bound to a service on which to associate the OAM MAC. By default, the OAM MAC is associated with the control plane; that is, it is associated with the CPU on the router.

When the target-sap sap-id value is not specified, the MAC is bound to the CSM. The originating SHG is 0 (zero). When the target-sap sap-id value is specified, the originating SHG is the SHG of the target-sap.

Default

associate OAM MAC with the control plane (CPU)

send-control

specifies the MAC OAM request be sent using the control plane instead of the data plane

Default

 MAC OAM request sent using the data plane

mac-purge

Syntax

mac-purge service-id target ieee-address [flood ][send-control] [register] [force]

Context

oam

Description

This command removes an OAM-type MAC entry from the FDB and optionally floods the OAM MAC removal throughout the service. A mac-purge command can be sent via the forwarding path or via the control plane. When sending the MAC purge using the data plane, the TTL in the VC label is set to 1. When sending the MAC purge using the control plane, the packet is sent directly to the system IP address of the next hop.

A MAC address is purged only if it is marked as OAM. A mac-purge request is a packet with the following fields: the Reply Flags is set to 0 (since no reply is expected), and the Reply Mode and Reserved fields are set to 0. The Ethernet header has the source set to the (system) MAC address and the destination set to the broadcast MAC address. There is a VPN TLV in the FEC Stack TLV to identify the service domain.

If the register option is provided, the R bit in the Address Delete flags is turned on.

The flood option causes each upstream node to be sent the OAM MAC delete request and to flood the request along the data plane using the flooding domain. The flooded mac-purge request can be sent via the data plane or the control plane. The send-control option specifies that the request be sent using the control plane. If send-control is not specified, the request is sent using the data plane.

The register option reserves the MAC for OAM testing where it is no longer an active MAC in the FDB for forwarding, but it is retained in the FDB as a registered OAM MAC. Registering an OAM MAC prevents relearns for the MAC based on customer packets. Relearning a registered MAC can only be done through a mac-populate request. The originating SHG is always 0 (zero).

The force option causes the specified OAM-type MAC entry to be purged from the FDB even if the entry was created by another node.

Parameters

service-id

the service ID or name of the service to diagnose or manage

Values

1 to 2147483647 or service-name

ieee-address

the MAC address to be purged (all zeros and multicast not allowed)

flood

sends the OAM MAC purge to all upstream nodes

Default

MAC purge only the local FDB

send-control

send the mac-purge request using the control plane

Default

request is sent using the data plane

register

reserve the MAC for OAM testing

Default

do not register OAM MAC

force

force the specified MAC entry to be purged, regardless of where the entry originated

mac-trace

Syntax

mac-trace service service-id destination ieee-address [source ieee-address][fc fc-name [profile {in | out}]] [size octets] [min-ttl vc-label-ttl] [max-ttl vc-label-ttl] [probe-count send-count] [send-control] [return-control] [interval interval][timeout timeout]

Context

oam

config>saa>test>type

Description

This command displays the hop-by-hop path for a destination MAC address within a VPLS. The MAC trace operation is modeled after the IP traceroute utility, which uses ICMP echo request and reply packets with increasing TTL values to determine the hop-by-hop route to a destination IP address. The MAC trace command uses Nokia OAM packets with increasing TTL values to determine the hop-by-hop route to a destination MAC.

In a MAC trace, the originating device creates a MAC ping echo request packet for the MAC to be tested with increasing values of the TTL. The echo request packet is sent through the control plane or data plane and waits for a TTL exceeded response or the echo reply packet from the device with the destination MAC. The devices that reply to the echo request packets with the TTL exceeded and the echo reply are displayed.

When a source ieee-address value is specified and the source MAC address is locally registered within a split horizon group (SHG), then this SHG membership will be used as if the packet originated from this SHG. In all other cases, SHG 0 (zero) will be used. If the MAC ping originated from a non-zero SHG, the packets will not go out to the same SHG.

Parameters

service-id

the service ID or name of the service to diagnose or manage

Values

 1 to 2147483647 or service-name

ieee-address

the destination MAC address to be traced (all zeros not allowed)

fc-name

the fc parameter is used to test the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

octets

the MAC OAM request packet size in octets, expressed as a decimal integer. The request payload is padded to the specified size with a 6-byte PAD header and a byte payload of 0xAA as necessary. If the octet size specified is less than the minimum packet, the minimum size packet necessary to send the request is used.

Values

1 to 9702

Default

no OAM packet padding

min-ttl vc-label-ttl

the minimum TTL value in the VC label for the MAC trace test, expressed as a decimal integer

Values

1 to 255

Default

1

max-ttl vc-label-ttl

the maximum TTL value in the VC label for the MAC trace test, expressed as a decimal integer

Values

1 to 255

Default

4

send-control

specifies the MAC OAM request be sent using the control plane instead of the data plane

Default

MAC OAM request sent using the data plane

return-control

specifies the MAC OAM reply to a data plane MAC OAM request be sent using the control plane instead of the data plane

Default

 MAC OAM reply sent using the data plane

send-count

the number of MAC OAM requests sent for a particular TTL value, expressed as a decimal integer

Values

1 to 100

Default

1

interval

the interval parameter in seconds, expressed as a decimal integer. This parameter is used to override the default request message send interval and defines the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 s, and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 10

Default

1

timeout

the timeout parameter in seconds, expressed as a decimal integer. This value is used to override the default timeout value and is the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.

Values

1 to 10

Default

5

p2mp-lsp-ping

Syntax

p2mp-lsp-ping {ldp p2mp-identifier[sender-addr ip-address] [leaf-addr ip-address [...up to 5 max]]} [fc fc-name [profile {in | out}]] [size octets] [timeout timeout] [detail]

Context

oam

Description

This command performs an in-band connectivity test for an LDP point-to-multipoint LSP. An echo request message is sent on the active point-to-multipoint instance and is replicated in the data path over all branches of the point-to-multipoint LSP instance. By default, all egress LER nodes that are leaves of the point-to-multipoint LSP instance will reply to the echo request message.

An LDP point-to-multipoint generic identifier that includes the source IP address of the root node can be used to uniquely identify an LDP point-to-multipoint LSP in a network. The LDP p2mp-identifier is a mandatory parameter needed for the LSP ping test. The LDP P2MP ID specified when configuring a tunnel interface on the root node must be used as the p2mp-identifier to test a particular LSP.

The user can reduce the scope of the echo reply messages by explicitly entering a list of addresses for the egress LER nodes that are required to reply. A maximum of five addresses can be specified in a single run of the p2mp-lsp-ping command. An LER node parses the list of egress LER addresses, and if its address is included in the list, it will send back an echo reply message.

Without the detail option, the output of the command provides a high-level summary of error codes and success codes received. With the detail option, the output of the command shows a line for each replying node (similar to the output of the LSP ping for a point-to-point LSP).

The output display is delayed until all responses are received or the timer configured for the timeout parameter has expired. No other CLI commands can be entered while waiting for the display. The CLI break sequence <Ctrl-C> aborts the ping operation.

Parameters

fc-name

the fc and profile parameters are used to indicate the forwarding class and profile of the MPLS echo request packet.

When an MPLS echo request packet is generated in the CSM and is forwarded to the outgoing interface, the packet is queued in the egress network queue corresponding to the specified fc and profile parameter values. The marking of the packet EXP bits is dictated by the LSP-to-EXP mappings on the outgoing interface.

When the MPLS echo request packet is received on the responding node, the fc and profile parameter values are dictated by the LSP-to-EXP mappings of the incoming interface.

When an MPLS echo reply packet is generated in the CSM and is forwarded to the outgoing interface, the packet is queued in the egress network queue corresponding to the fc and profile parameter values determined by the classification of the echo request packet, which is being replied to, at the incoming interface. The marking of the packet EXP bits is dictated by the LSP-to-EXP mappings on the outgoing interface. The ToS byte is not modified. The following table summarizes this behavior.

Table: P2MP-LSP-Ping Request Packet and Behavior

CSM (sender node)

Echo request packet:

  • packet {tos=1, fc1, profile1}

  • fc1 and profile1 are as entered by the user in the oam command or are default values

  • tos1 as per mapping of {fc1, profile1} to IP precedence in network egress QoS policy of outgoing interface

Outgoing interface (sender node)

Echo request packet:

  • packet queued as {fc1, profile1}

  • ToS field=tos1 not re-marked

  • EXP=exp1, as per mapping of {fc1, profile1} to EXP in the network egress QoS policy of the outgoing interface

Incoming interface (responder node)

Echo request packet:

  • packet {tos1, exp1}

  • exp1 mapped to {fc2, profile2} as per classification in the network QoS policy of the incoming interface

CSM (responder node)

Echo reply packet:

  • packet {tos=1, fc2, profile2}

Outgoing interface (responder node)

Echo reply packet:

  • packet queued as {fc2, profile2}

  • ToS field= tos1 not re-marked (reply in-band or out-of-band)

  • EXP=exp2, if reply is in-band, re-marked as per mapping of {fc2, profile2} to EXP in the network egress QoS policy of the outgoing interface

Incoming interface (sender node)

Echo reply packet:

  • packet {tos1, exp2}

  • exp2 mapped to {fc1, profile1} as per classification in the network QoS policy of the incoming interface

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

p2mp-identifier

identifier of an LDP point-to-multipoint LSP to ping

Values

1 to 4294967295

ip-address

specifies the list of egress LER system addresses that are required to reply to an LSP ping echo request message

Values

ipv4-address: a.b.c.d

profile {in | out}

the profile of the LSP ping echo request message

Default

out

sender-addr ip-address

specifies any local IP sender address for the mLDP

octets

the size in octets, expressed as a decimal integer, of the MPLS echo request packet, including the IP header but not the label stack. An oam command does not fail if the size entered is lower than the minimum number of octets required to build the packet for the echo request message. The payload is automatically padded with zeros to meet the minimum size.

Values

1 to 9702

Default

1

timeout

the timeout parameter, in seconds. This value is used to override the default timeout value and is the length of time that the router will wait for an echo reply message from all leaves of the point-to-multipoint LSP after sending the echo request message. When the timeout expires, the requesting router assumes that the missing replies will not be received. Any echo reply message received after the request times out will be silently discarded.

Values

1 to 120

Default

10

detail

displays detailed information the connectivity test for an LDP point-to-multipoint LS P

sdp-ping

Syntax

sdp-ping orig-sdp-id [resp-sdp resp-sdp-id] [fc fc-name [profile {in | out}]] [size octets] [count send-count] [timeout timeout] [interval interval]

Context

oam

config>saa>test>type

Description

This command tests SDPs for unidirectional or round-trip connectivity and performs SDP MTU path tests.

The sdp-ping command accepts an originating SDP-ID and an optional responding SDP-ID. The size, number of requests sent, message time out and message send interval can be specified. All sdp-ping requests and replies are sent with PLP OAM-Label encapsulation, as a service-id is not specified.

For round-trip connectivity testing, the resp-sdp keyword must be specified. If resp-sdp is not specified, a unidirectional SDP test is performed.

To terminate an sdp-ping in progress, use the CLI break sequence Ctrl-c.

An sdp-ping response message indicates the result of the sdp-ping message request. When multiple response messages apply to a single SDP Echo Request/Reply sequence, the response message with the highest precedence will be displayed. Table: SDP Ping Response Messages displays the response messages sorted by precedence.

Table: SDP Ping Response Messages

Result of Request

Displayed Response Message

Precedence

Request timeout without reply

Request Timeout

1

Request not sent due to non-existent orig-sdp-id

Orig-SDP Non-Existent

2

Request not sent due to administratively down orig-sdp-id

Orig-SDP Admin-Down

3

Request not sent due to operationally down orig-sdp-id

Orig-SDP Oper-Down

4

Request terminated by user before reply or timeout

Request Terminated

5

Reply received, invalid origination-id

Far End: Originator-ID Invalid

6

Reply received, invalid responder-id

Far End: Responder-ID Error

7

Reply received, non-existent resp-sdp-id

Far End: Resp-SDP Non-Existent

8

Reply received, invalid resp-sdp-id

Far End: Resp-SDP Invalid

9

Reply received, resp-sdp-id down (admin or oper)

Far-end: Resp-SDP Down

10

Reply received, No Error

Success

11

Special Cases

Single Response Connectivity Tests

a single response sdp-ping test provides detailed test results. Upon request timeout, message response, request termination, or request error, the local and remote information described in Table: Single Response Connectivity will be displayed. Local and remote information is dependent upon SDP-ID existence and reception of reply.

Table: Single Response Connectivity

Field

Description

Values

Request Result

The result of the sdp-ping request message

Sent - Request Timeout

Sent - Request Terminated

Sent - Reply Received

Not Sent - Non-Existent Local SDP-ID

Not Sent - Local SDP-ID Down

Originating SDP-ID

The originating SDP-ID specified by orig-sdp

orig-sdp-id

Originating SDP-ID Administrative State

The local administrative state of the originating SDP-ID. If the SDP-ID has been shut down, Admin-Down is displayed. If the originating SDP-ID is in the no shutdown state, Admin-Up is displayed. If the orig-sdp-id does not exist, Non-Existent is displayed.

Admin-Up

Admin-Down

Non-Existent

Originating SDP-ID Operating State

The local operational state of the originating SDP-ID. If orig-sdp-id does not exist, N/A will be displayed.

Oper-Up

Oper-Down

N/A

Originating SDP-ID Path MTU

The local path-mtu for orig-sdp-id. If orig-sdp-id does not exist locally, N/A is displayed.

orig-path-mtu

N/A

Responding SDP-ID

The SDP-ID requested as the far-end path to respond to the sdp-ping request. If resp-sdp is not specified, the responding 7705 SAR will not use an SDP-ID as the return path and N/A will be displayed.

resp-sdp-id

N/A

Responding SDP-ID Path Used

Displays whether the responding 7705 SAR used the responding SDP-ID to respond to the sdp-ping request. If resp-sdp-id is a valid, operational SDP-ID, it must be used for the SDP Echo Reply message. If the far end uses the responding SDP-ID as the return path, Yes will be displayed. If the far end does not use the responding SDP-ID as the return path, No will be displayed. If resp-sdp is not specified, N/A will be displayed.

Yes

No

N/A

Responding SDP-ID Administrative State

The administrative state of the responding SDP-ID. When resp-sdp-id is administratively down, Admin-Down will be displayed. When resp-sdp-id is administratively up, Admin-Up will be displayed. When resp-sdp-idexists on the far-end 7705 SAR but is not valid for the originating 7705 SAR, Invalid is displayed. When resp-sdp-iddoes not exist on the far-end 7705 SAR, Non-Existent is displayed. When resp-sdp is not specified, N/A is displayed.

Admin-Down

Admin-Up

Invalid

Non-Existent

N/A

Responding SDP-ID Operational State

The operational state of the far-end SDP-ID associated with the return path for service-id. When a return path is operationally down, Oper-Down is displayed. If the return SDP-ID is operationally up, Oper-Up is displayed. If the responding SDP-ID is non-existent, N/A is displayed.

Oper-Up

Oper-Down

N/A

Responding SDP-ID Path MTU

The remote path-mtu for resp-sdp-id. If resp-sdp-id does not exist remotely, N/A is displayed.

resp-path-mtu

N/A

Local Service IP Address

The local system IP address used to terminate remotely configured SDP-IDs (as the SDP-ID far-end address). If an IP address has not been configured to be the system IP address, N/A is displayed.

system-ip-addr

N/A

Local Service IP Interface Name

The name of the local system IP interface. If the local system IP interface has not been created, N/A is displayed.

system-interface-name

N/A

Local Service IP Interface State

The state of the local system IP interface. If the local system IP interface has not been created, Non-Existent is displayed.

Up

Down

Non-Existent

Expected Far End Address

The expected IP address for the remote system IP interface. This must be the far-end address configured for the orig-sdp-id.

orig-sdp-far-end-addr

dest-ip-addr

N/A

Actual Far End Address

The returned remote IP address. If a response is not received, the displayed value is N/A. If the far-end service IP interface is down or non-existent, a message reply is not expected.

resp-ip-addr

N/A

Responders Expected Far End Address

The expected source of the originator's SDP-ID from the perspective of the remote 7705 SAR terminating the SDP-ID. If the far end cannot detect the expected source of the ingress SDP-ID, N/A is displayed.

resp-rec-tunnel-far-end-addr

N/A

Round Trip Time

The round-trip time between SDP Echo Request and the SDP Echo Reply. If the request is not sent, times out or is terminated, N/A is displayed.

delta-request-reply

N/A

Multiple Response Connectivity Tests

When the connectivity test count is greater than one (1), a single line is displayed per SDP echo request send attempt.

The request number is a sequential number starting with 1 and ending with the last request sent, incrementing by 1 for each request. This should not be confused with the message-id contained in each request and reply message.

A response message indicates the result of the message request. Following the response message is the round-trip time value. If any reply is received, the round-trip time is displayed.

After the last reply has been received or response timed out, a total is displayed for all messages sent and all replies received. A maximum, minimum and average round-trip time is also displayed. Error response and timed-out requests do not apply toward the average round-trip time.

Parameters

orig-sdp-id

the SDP-ID to be used by sdp-ping, expressed as a decimal integer. The far-end address of the specified SDP-ID is the expected responder-id within each reply received. The specified SDP-ID defines the SDP tunnel encapsulation used to reach the far end — GRE, IP, or MPLS. If orig-sdp-id is invalid or administratively down or unavailable for some reason, the SDP echo request message is not sent and an appropriate error message is displayed (once the interval timer expires, sdp-ping will attempt to send the next request if required).

Values

1 to 17407

resp-sdp-id

specifies the return SDP-ID to be used by the far-end 7705 SAR for the message reply for round-trip SDP connectivity testing. If resp-sdp-id does not exist on the far-end 7705 SAR, terminates on another 7705 SAR different from the originating 7705 SAR, or another issue prevents the far-end 7705 SAR from using resp-sdp-id, the SDP echo reply will be sent using generic OAM encapsulation. The received forwarding class (as mapped on the ingress network interface for the far end) defines the forwarding class encapsulation for the reply message.

This is an optional parameter.

Values

1 to 17407

Default

null – use the non-SDP return path for message reply

fc-name

indicates the forwarding class of the SDP encapsulation. The actual forwarding class encoding is controlled by the network egress DSCP or LSP-EXP mappings.

The DSCP or LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end 7705 SAR that receives the message request. The egress mappings of the egress network interface on the far-end 7705 SAR control the forwarding class markings on the return reply message.

The DSCP or LSP-EXP mappings on the receive network interface control the mapping of the message reply back at the originating 7705 SAR. This is displayed in the response message output upon receipt of the message reply.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

specifies the profile state of the SDP encapsulation

Default

out

octets

the size of the packet in octets, expressed as a decimal integer. This parameter is used to override the default message size for the sdp-ping request. Changing the message size is a method of checking the ability of an SDP to support a path-mtu. The size of the message does not include the SDP encapsulation, VC-Label (if applied) or any DLC headers or trailers.

When the OAM message request is encapsulated in an SDP, the IP DF (Do not fragment) bit is set. If any segment of the path between the sender and receiver cannot handle the message size, the message is discarded. MPLS LSPs are not expected to fragment the message either, as the message contained in the LSP is not an IP packet.

Values

72 to 9702

Default

40

send-count

the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

timeout

specifies the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. A "request timeout" message is displayed by the CLI for each message request sent that expires. Any response received after the request times out will be silently discarded.

This value is used to override the default timeout value.

Values

1 to 10

Default

5

interval

specifies the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 second, and the timeout value is set to 10 seconds, then the maximum time between message requests is 10 seconds and the minimum is 1 second. This depends upon the receipt of a message reply corresponding to the outstanding message request.

This parameter is used to override the default request message send interval.

Values

1 to 10

Default

1

Output

The following outputs are examples of SDP ping information.

Single Response Round-trip Connectivity Test Output Example
A:router1> oam sdp-ping 10 resp-sdp 22 fc ef
Err SDP-ID Info             Local           Remote
--------------------------------------------------
    SDP-ID:                 10              22
    Administrative State:   Up              Up
    Operative State:        Up              Up
    Path MTU:               4470            4470
    Response SDP Used:                      Yes

==> IP Interface State:     Up
    Actual IP Address:      10.10.10.11     10.10.10.10
    Expected Peer IP:       10.10.10.10     10.10.10.11

    Forwarding Class        ef              ef
    Profile                 Out             Out

Request Result: Sent - Reply Received
RTT: 30ms
Multiple Response Round-trip Connectivity Test Output Example
A:router1> oam sdp-ping 6 resp-sdp 101 size 1514 count 5
Request        Response       RTT
----------     ----------     -------
     1         Success        10ms
     2         Success        15ms
     3         Success        10ms
     4         Success        20ms
     5         Success        5ms
Sent:    5    Received:    5
Min: 5ms       Max: 20ms      Avg: 12ms

vccv-ping

Syntax

vccv-ping sdp-id:vc-id [src-ip-address ip-addr dst-ip-address ip-addr pw-id pw-id] [reply-mode {ip-routed | control-channel}] [fc fc-name [profile {in | out}]] [size octets] [count send-count] [timeout timeout] [interval interval] [ttl vc-label-ttl]

Context

oam

config>saa>test>type

Description

This command configures a virtual circuit connectivity verification (VCCV) ping test. A VCCV ping test checks connectivity of a VLL in-band. It checks to verify that the destination (target) PE is the egress for the Layer 2 FEC. It provides for a cross-check between the data plane and the control plane. The test is in-band, which means that the VCCV ping message is sent using the same encapsulation and along the same path as user packets in that VLL. The VCCV ping test is the equivalent of the LSP ping test for a VLL service. VCCV ping reuses an LSP ping message format and can be used to test a VLL configured over an MPLS, GRE, or IP SDP.

VCCV ping can be initiated on the terminating provider edge (T-PE) router or the switching provider edge (S-PE) router. The 7705 SAR can function as an S-PE or T-PE. If initiated on the S-PE, the reply-mode parameter must be used with the ip-routed value. The ping from the T-PE can have values or the values can be omitted.

VCCV ping can be initiated on a node with MC-LAG or MC-APS configured on it. If the node is in standby mode, and ICB is configured on the service, the reply-mode parameter must be used with the ip-routed value.

If a VCCV ping is initiated from a T-PE to a neighboring S-PE (one segment only), only the sdp-id:vc-id parameter must be used. However, if the ping is across two or more segments, the sdp-id:vc-id, src-ip-address ip-addr, dst-ip-address ip-addr, ttl vc-label-ttl and pw-id pw-id parameters must be used, where:

  • the src-ip-address is the system IP address of the router preceding the destination router

  • the pw-id is the VC ID of the last pseudowire segment

  • the vc-label-ttl must have a value equal to or greater than the number of pseudowire segments

VCCV ping on multi-segment pseudowires require that the control word be enabled in all segments of the VLL. If the control word is not enabled on spoke SDP it will not be signaled peer VCCV CC bits to the far end, consequently VCCV ping cannot be successfully initiated on that specific spoke SDP.

Parameters

sdp-id:vc-id

identifies the virtual circuit of the pseudowire being tested. The VC ID must exist on the local router and the far-end peer must indicate that it supports VCCV to allow the user to send a vccv-ping message.

This is a mandatory parameter.

Values

sdp-id:       1 to 17407

vc-id:         1 to 2147483647

src-ip-address ip-addr

specifies the source IP address

Values

ipv4-address:      a.b.c.d

dst-ip-address ip-addr

specifies the destination IP address

Values

ipv4-address:      a.b.c.d

pw-id

specifies the pseudowire ID to be used for performing a vccv-ping operation. The pseudowire ID is a non-zero, 32-bit connection ID required by the FEC 128, as defined in RFC 4379, Detecting Multi-Protocol Label Switched (MPLS) Data Plane Failures.

Values

0 to 4294967295

reply-mode {ip-routed | control-channel}

specifies the method for sending the reply message to the far-end 7705 SAR

This is a mandatory parameter.

Values

ip-routed — indicates a reply mode out-of-band using UDP IPv4

control-channel — indicates a reply mode in-band using VCCV control channel

Default

control-channel

fc-name

indicates the forwarding class of the MPLS echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

The LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end 7705 SAR that receives the message request. The egress mappings of the egress network interface on the far-end router control the forwarding class markings on the return reply message.

The LSP-EXP mappings on the receive network interface control the mapping of the message reply back at the originating SAR.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

specifies the profile state of the MPLS echo request encapsulation

Default

out

octets

specifies the VCCV ping echo request packet size in octets, expressed as a decimal integer. The request payload is padded with zeros to the specified size.

Values

88 to 9702

Default

88

send-count

the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

timeout

specifies the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. A "request timeout" message is displayed by the CLI for each message request sent that expires. Any response received after the request times out will be silently discarded.

This value is used to override the default timeout value.

Values

1 to 10

Default

5

interval

specifies the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 second, and the timeout value is set to 10 seconds, then the maximum time between message requests is 10 seconds and the minimum is 1 second. This depends upon the receipt of a message reply corresponding to the outstanding message request.

This parameter is used to override the default request message send interval.

Values

1 to 10

Default

1

vc-label-ttl

specifies the time-to-live value for the vc-label of the echo request message. The outer label TTL is still set to the default of 255 regardless of this value.

Values

1 to 255

Output

The following outputs are examples of VCCV ping information.

Output Example

Ping from T-PE to T-PE:

*A:ALU-dutb_a# oam vccv-ping 1:1 src-ip-address 192.0.2.0 dst-ip-address 192.0.2.1  
pw-id 1
 ttl 3
VCCV-PING 1:1 88 bytes MPLS payload
Seq=1, reply from 192.0.2.3 via Control Channel
       udp-data-len=32 rtt=10ms rc=3 (EgressRtr)

---- VCCV PING 1:1 Statistics ----
1 packets sent, 1 packets received, 0.00% packet loss
round-trip min = 10.0ms, avg = 10.0ms, max = 10.0ms, stddev < 10ms

Ping from T-PE to S-PE:

*A:ALU-dut-b_a# oam vccv-ping 1:1
VCCV-PING 1:1 88 bytes MPLS payload
Seq=1, reply from 192.0.2.4 via Control Channel
       udp-data-len=32 rtt<10ms rc=8 (DSRtrMatchLabel)

---- VCCV PING 1:1 Statistics ----
1 packets sent, 1 packets received, 0.00% packet loss
round-trip min < 10ms, avg < 10ms, max < 10ms, stddev < 10ms

*A:ALU-dut-b_a#
oam vccv ping 1:1 src-ip-address 192.0.2.5 dst-ip-address  192.0.2.6  ttl 2 pw-
id 200
VCCV-PING 1:1 88 bytes MPLS payload
Seq=1, reply from 192.0.2.7 via Control Channel
       udp-data-len=32 rtt<10ms rc=8 (DSRtrMatchLabel)

---- VCCV PING 1:1 Statistics ----
1 packets sent, 1 packets received, 0.00% packet loss
round-trip min < 10ms, avg < 10ms, max < 10ms, stddev < 10ms

Ping from S-PE (on single or multi-segment):

*A:ALU-dut-b_a# oam vccv-ping 4:200 reply-mode ip-routed 
VCCV-PING 4:200 88 bytes MPLS payload
Seq=1, reply from 192.0.2.7 via IP
       udp-data-len=32 rtt<10ms rc=8 (DSRtrMatchLabel)

---- VCCV PING 4:200 Statistics ----
1 packets sent, 1 packets received, 0.00% packet loss
round-trip min < 10ms, avg < 10ms, max < 10ms, stddev < 10ms

*A:ALU-dut-b_a# oam vccv-ping 4:200 reply-mode ip-routed src-
ip address 192.0.2.8  dst ip-address 192.0.2.9 ttl 2 pw-id 1 
VCCV-PING 4:200 88 bytes MPLS payload
Seq=1, reply from 192.0.2.10 via IP
       udp-data-len=32 rtt<10ms rc=3 (EgressRtr)

---- VCCV PING 4:200 Statistics ----
1 packets sent, 1 packets received, 0.00% packet loss
round-trip min < 10ms, avg < 10ms, max < 10ms, stddev < 10ms

vccv-trace

Syntax

vccv-trace sdp-id:vc-id [size octets] [min-ttl min-vc-label-ttl] [max-ttl max-vc-label-ttl] [max-fail no-response-count] [probe-count probe-count] [reply-mode {ip-routed | control-channel}] [timeout timeout-value] [interval interval-value][fc fc-name[profile {in |out}]][detail]

Context

oam

config>saa>test>type

Description

This command configures a Virtual Circuit Connectivity Verification (VCCV) automated trace test. The automated VCCV trace can trace the entire path of a PW with a single command issued at the terminating PE (T-PE) or at a switching PE (S-PE). VCCV trace is equivalent to LSP trace and is an iterative process by which the source T-PE or S-PE node sends successive VCCV ping messages with incrementing TTL values, starting from TTL=1.

In each iteration, the T-PE builds the MPLS echo request message in a way similar to VCCV ping. The first message (with TTL=1) includes the next-hop S-PE targeted LDP session source address in the Remote PE Address field of the PW FEC TLV. Each S-PE that terminates and processes the message will include the FEC 128 TLV corresponding to the PW segment to its downstream node in the MPLS echo reply message. The source T-PE or S-PE node can then build the next echo reply message with TTL=2 to test the next-next hop for the MS-PW. It will copy the FEC TLV it received in the echo reply message into the new echo request message. The process is terminated when the reply is from the egress T-PE or when a timeout occurs.

VCCV trace can be initiated on a node with MC-LAG or MC-APS configured on it. If the node is in standby mode, and ICB is configured on the service, the reply-mode parameter must be used with the ip-routed value.

The user can specify to display the result of the VCCV trace for a fewer number of PW segments of the end-to-end MS-PW path. In this case, the min-ttl and max-ttl parameters should be configured accordingly. However, the T-PE or S-PE node will still probe all hops up to min-ttl in order to correctly build the FEC of the desired subset of segments.

Parameters

sdp-id:vc-id

specifies the VC ID of the pseudowire being tested. The VC ID must exist on the local 7705 SAR and the far-end peer must indicate that it supports VCCV to allow the user to send a VCCV ping message.

Values

sdp-id: 1 to 17407

vc-id: 1 to 4294967295

octets

specifies the VCCV ping echo request packet size, in octets, expressed as a decimal integer. The request payload is padded with zeros to the specified size.

Values

88 to 9702

Default

88

min-vc-label-ttl

specifies the TTL value for the VC label of the echo request message for the first hop of the MS-PW for which the results are to be displayed. This is expressed as a decimal integer. The outer label TTL is still set to the default of 255 regardless of the value of the VC label.

Values

1 to 255

Default

1

max-vc-label-tt

specifies the TTL value for the VC label of the echo request message for the last hop of the MS-PW for which the results are to be displayed. This is expressed as a decimal integer. The outer label TTL is still set to the default of 255 regardless of the value of the VC label.

Values

1 to 255

Default

8

no-response-count

specifies the maximum number of consecutive VCCV trace echo requests, expressed as a decimal integer, that do not receive a reply before the trace operation fails for a given TTL value.

Values

1 to 255

Default

5

probe-count

specifies the number of VCCV trace echo request messages to send per TTL value

Values

1 to 10

Default

1

reply-mode {ip-routed | control-channel}

specifies the method for sending the reply message to the far-end 7705 SAR. This is a mandatory parameter.

Values

ip-routed — indicates a reply mode out-of-band using UDP IPv4

control-channel — indicates a reply mode in-band using the VCCV control channel

When a VCCV-trace message is originated from an S-PE node, the user should use the IPv4 reply mode because the replying node does not know how to set the TTL to reach the sending SPE node. If the user attempts this, a warning is issued to use the IPv4 reply mode.

Default

control-channel

timeout-value

specifies the timeout parameter, in seconds, expressed as a decimal integer. This value is used to override the default timeout value and is the amount of time that the 7705 SAR will wait for a message reply after sending the message request. If the timeout expires, the requesting 7705 SAR assumes that the message response will not be received. A request timeout message is displayed by the CLI for each message request sent that expires. Any response received after the request times out will be silently discarded.

Values

1 to 60

Default

3

interval-value

specifies the interval parameter, in seconds, expressed as a decimal integer. This parameter is used to override the default request message send interval and defines the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 s and the timeout value is set to 10 s, then the maximum time between message requests is 10 s and the minimum is 1 s. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 255

Default

1

fc-name

specifies the forwarding class of the VCCV trace echo request encapsulation. The fc and profile parameters are used to indicate the forwarding class of the VCCV trace echo request packets. The actual forwarding class encoding is controlled by the network egress LSP-EXP mappings.

The LSP-EXP mappings on the receive network interface control the mapping back to the internal forwarding class used by the far-end router that receives the message request. The egress mappings of the egress network interface on the far-end router control the forwarding class markings on the return reply message. The LSP-EXP mappings on the receive network interface control the mapping of the message reply back at the originating router.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

specifies the profile state of the VCCV trace echo request encapsulation

Default

out

detail

displays detailed information

Output

The following outputs are examples of VCCV trace information.

Output Example
*A:138.120.214.60# oam vccv-trace 1:33
VCCV-TRACE 1:33 with 88 bytes of MPLS payload
1 1.1.63.63 rtt<10ms rc=8(DSRtrMatchLabel)
2 1.1.62.62 rtt<10ms rc=8(DSRtrMatchLabel)
3 1.1.61.61 rtt<10ms rc=3(EgressRtr)

Trace with detail:

*A:ALU2>oam vccv-trace 1:33 detail
VCCV-TRACE 1:33 with 88 bytes of MPLS payload
1 1.1.63.63 rtt<10ms rc=8(DSRtrMatchLabel)
Next segment: VcId=34 VcType=AAL5SDU Source=1.1.63.63 Remote=1.1.62.62
2 1.1.62.62 rtt<10ms rc=8(DSRtrMatchLabel)
Next segment: VcId=35 VcType=AAL5SDU Source=1.1.62.62 Remote=1.1.61.61
3 1.1.61.61 rtt<10ms rc=3(EgressRtr)
----------------------------------------------
*A:ALU2>oam vccv-trace#

vprn-ping

Syntax

vprn-ping [service-id| service service-name] source ip-address destination ip-address [fc fc-name [profile [in | out]] [size size] [ttl vc-label-ttl ][count send-count] [return-control][ timeout timeout ][interval seconds]

Context

oam

config>saa>test>type

Description

This command performs a VPRN ping.

Parameters

service-id

the VPRN service ID to diagnose or manage

Values

1 to 2147483647

service-name

the service name, up to 64 characters

source ip-address

the IP prefix for the source IP address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

destination ip-address

the IP prefix for the destination IP address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

size

the OAM request packet size in octets, expressed as a decimal integer

Values

1 to 9702

vc-label-ttl

the TTL value in the VC label for the OAM request, expressed as a decimal integer

Values

1 to 255

Default

255

return-control

specifies the response to come on the control plane.

seconds

the interval parameter in seconds, expressed as a decimal integer. This parameter is used to override the default request message send interval and defines the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 second where the timeout value is set to 10 seconds, then the maximum time between message requests is 10 seconds and the minimum is 1 second. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 10

Default

1

send-count

the number of messages to send, expressed as a decimal integer. The count parameter is used to override the default number of message requests sent. Each message request must either time out or receive a reply before the next message request is sent. The message interval value must be expired before the next message request is sent.

Values

1 to 100

Default

1

timeout

the timeout parameter in seconds, expressed as a decimal integer. This value is used to override the default timeout value and is the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.

Values

1 to 100

Default

5

fc-name

the forwarding class of the MPLS echo request encapsulation

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

the profile state of the MPLS echo request encapsulation

Default

out

Output

The following output is an example of VPRN ping information.

Output Example
A:PE_1# oam vprn-ping 25 source 10.4.128.1 destination 10.16.128.0
Sequence Node-id Reply-Path Size RTT
----------------------------------------------------------------------------
[Send request Seq. 1.]
1 10.128.0.3:cpm In-Band 100 0ms
----------------------------------------------------------------------------
...
A:PE_1#

vprn-trace

Syntax

vprn-trace [service-id| service service-name] source ip-address destination ip-address[fc fc-name [profile [in | out]][size size][min-ttl vc-label-ttl][max-ttl vc-label-ttl][probe-count send-count][return-control][timeout timeout][interval seconds]

Context

oam

config>saa>test>type

Description

This command performs a VPRN trace.

Parameters

service-id

the VPRN service ID to diagnose or manage

Values

1 to 2147483647

service-name

the service name, up to 64 characters

source ip-address

the IP prefix for the source IP address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

destination ip-address

the IP prefix for the destination IP address

Values

ipv4-address         a.b.c.d

ipv6-address         x:x:x:x:x:x:x:x (eight 16-bit pieces)

                              x:x:x:x:x:x:d.d.d.d

                              x:   [0 to FFFF]H

                              d:   [0 to 255]D

size

the OAM request packet size in octets, expressed as a decimal integer

Values

1 to 9702

min-ttl vc-label-ttl

the minimum TTL value in the VC label for the trace test, expressed as a decimal integer

Values

1 to 255

Default

1

max-ttl vc-label-ttl

the maximum TTL value in the VC label for the trace test, expressed as a decimal integer

Values

1 to 255

Default

4

return-control

specifies the OAM reply to a data plane OAM request be sent using the control plane instead of the data plane

Default

OAM reply sent using the data plane.

send-count

the number of OAM requests sent for a particular TTL value, expressed as a decimal integer

Values

1 to 10

Default

1

seconds

the interval parameter in seconds, expressed as a decimal integer. This parameter is used to override the default request message send interval and defines the minimum amount of time that must expire before the next message request is sent.

If the interval is set to 1 second where the timeout value is set to 10 seconds, then the maximum time between message requests is 10 seconds and the minimum is 1 second. This depends upon the receipt of a message reply corresponding to the outstanding message request.

Values

1 to 10

Default

1

timeout

the timeout parameter in seconds, expressed as a decimal integer. This value is used to override the default timeout value and is the amount of time that the router will wait for a message reply after sending the message request. If the timeout expires, the requesting router assumes that the message response will not be received. Any response received after the request times out will be silently discarded.

Values

1 to 10

Default

3

fc-name

the forwarding class of the MPLS echo request encapsulation

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

the profile state of the MPLS echo request encapsulation

Default

out

Output

The following output is an example of VPRN trace information.

Output Example
A:PE_1# oam vprn-trace 25 source 10.4.128.1 destination 10.16.128.0
TTL   Seq    Reply    Node-id       Rcvd-on    Reply-Path   RTT
----------------------------------------------------------------------------
[Send request TTL: 1, Seq. 1.]
1     1      1        10.128.0.4    cpm        In-Band      0ms
Requestor 10.128.0.1     Route: 0.0.0.0/0
Vpn Label: 131071        Metrics 0   Pref 170    Owner bgpVpn
Next Hops: [1] ldp tunnel
Route Targets: [1]: target:65100:1
Responder 10.128.0.4     Route: 10.16.128.0/24
Vpn Label: 131071        Metrics 0    Pref 170    Owner bgpVpn
Next Hops: [1] ldp tunnel
Route Targets: [1]: target:65001:100

[Send request TTL: 2, Seq. 1.]
2 1 1 10.128.0.3 cpm In-Band 0ms
Requestor 10.128.0.1     Route: 0.0.0.0/0
Vpn Label: 131071        Metrics 0    Pref 170 O   wner bgpVpn
Next Hops: [1] ldp tunnel
Route Targets: [1]: target:65100:1
Responder 10.128.0.3     Route: 10.16.128.0/24
Vpn Label: 0             Metrics 0    Pref 0    Owner local
Next Hops: [1] ifIdx 2 nextHopIp 10.16.128.0
[Send request TTL: 3, Seq. 1.]
[Send request TTL: 4, Seq. 1.]
...

enable-icmp-vse

Syntax

[no] enable-icmp-vse

Context

config>system

Description

This command is a global command that enables and disables one-way timestamping of outbound SAA ICMP ping packets. Enabling one-way timestamping on a 7705 SAR node requires enable-icmp-vse to be set on both the near-end and far-end nodes. The current status can be seen on the show>system>information CLI display.

The -vse part of the command means vendor-specific extension.

The no form of this command disables one-way timestamping.

Default

no enable-icmp-vse