Cisco Systems A9014CFD Router User Manual


 
10-60
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 10 Configuring Ethernet OAM
Understanding Ethernet Loopback
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
Step 7
default | exit | inner-cos | inner-vlan | no |
outer-cos | outer-vlan | packet-size |
src-mac-addr
Example:
Router(config-ip-sla-service-performance-packet
)# src-mac-addr 4055.3989.7b56
Specifies the packet type. The following are the options:
default—Set a command to its defaults
inner-cos—Specify the class of service (CoS) value for
the inner VLAN tag of the interface from which the
message will be sent.
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}
Example:
Router(config-ip-sla-service-performance)# prof
ile traffic direction external
Specifies the direction of the profile traffic. The options are
external and internal.
Step 10
default
or
exit
or
no
or
rate-step
Example:
Router(config-ip-sla-service-performance-traffi
c)# rate-step kbps 1000
Specifies the traffic type. The following are the options:
default—Set a command to its defaults
rate-step—Specifies the transmission rate in kbps. The
rate-step range is from 1-1000000 (1 Kbps to 1Gbps).
Step 11
exit
Exits the traffic mode.
Command or Action Purpose