Chapter 10 Configuring Ethernet OAM

Understanding Ethernet Loopback

 

Command or Action

Purpose

Step 7

 

 

default exit inner-cos inner-vlan no

Specifies the packet type. The following are the options:

 

outer-cos outer-vlan packet-size

default—Set a command to its defaults

 

src-mac-addr

 

 

inner-cos—Specify the class of service (CoS) value for

 

Example:

the inner VLAN tag of the interface from which the

 

message will be sent.

 

Router(config-ip-sla-service-performance-packet

 

)# src-mac-addr 4055.3989.7b56

inner-vlan—Specify the VLAN ID for the inner vlan

 

 

 

 

tag of the interface from which the message will be

 

 

sent.

 

 

outer-cos—Specify the CoS value which will be filled

 

 

in the outer VLAN tag of the packet.

 

 

outer-vlan—Specify the VLAN ID which will be filled

 

 

in the outer VLAN tag of the packet.

 

 

packet-size—Specify the packet size; the default size

 

 

is 64 bytes. The supported packet size are 64 bytes, 128

 

 

bytes, 256 bytes, 512 bytes, 1280 bytes, and 1518 bytes.

 

 

src-mac-addr—Specifies the source MAC address in

 

 

H.H.H format.

Step 8

 

 

exit

Exits the packet mode.

Step 9

 

 

direction {external internal}

Specifies the direction of the profile traffic. The options are

 

 

external and internal.

 

Example:

 

 

Router(config-ip-sla-service-performance)# prof

 

 

ile traffic direction external

 

Step 10

 

 

default

Specifies the traffic type. The following are the options:

 

or

default—Set a command to its defaults

 

exit

 

or

rate-step—Specifies the transmission rate in kbps. The

 

no

 

rate-step range is from 1-1000000 (1 Kbps to 1Gbps).

 

or

 

 

 

rate-step

 

 

Example:

 

 

Router(config-ip-sla-service-performance-traffi

 

 

c)# rate-step kbps 1000

 

Step 11

 

 

exit

Exits the traffic mode.

 

 

 

Configuration Examples

This section shows sample configuration examples for traffic generation on Cisco ASR 901 Router:

ip sla 10

service-performance type ethernet dest-mac-addr 0001.0001.0001 interface

 

 

 

TenGigabitEthernet0/0 service instance 30

 

 

 

measurement-type direction external

 

 

 

loss

 

 

 

throughput

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

10-60

 

OL-23826-09

 

 

 

 

Page 230
Image 230
Cisco Systems A9014CFD manual 10-60