Cisco Systems A9014CFD Router User Manual


 
10-61
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 10 Configuring Ethernet OAM
Understanding Ethernet Loopback
profile packet
outer-vlan 30
packet-size 512
src-mac-addr d48c.b544.93dd
profile traffic direction external
rate-step kbps 1000
frequency time 35
Example: Two-Way Measurement
The following is a sample configuration for two-way measurement to measure throughput, loss, tx, rx,
txbytes, and rxbytes.
INTERNAL: (to test UNI scenario)
ip sla 2
service-performance type ethernet dest-mac-addr aaaa.bbbb.cccc interface
GigabitEthernet0/0 service instance 2
measurement-type direction internal
loss
throughput
profile packet
outer-vlan 10
packet-size 512
src-mac-addr d48c.b544.9600
profile traffic direction internal
rate-step kbps 1000 2000 3000
frequency time 95
EXTERNAL: (to test NNI scenario)
ip sla 2
service-performance type ethernet dest-mac-addr aaaa.bbbb.cccc interface
gigabitEthernet0/7 service instance 2
measurement-type direction external
loss
throughput
profile packet
outer-vlan 10
packet-size 512
src-mac-addr d48c.b544.9600
profile traffic direction external
rate-step kbps 1000 2000 3000
frequency time 95
Example: Traffic Generation Mode
The following is a sample configuration for traffic generation mode to measure tx and txbytes.
INTERNAL: (to test UNI scenario)
ip sla 2
service-performance type ethernet dest-mac-addr aaaa.bbbb.cccc interface
GigabitEthernet0/0 service instance 2
measurement-type direction internal
profile packet
outer-vlan 10
packet-size 512
src-mac-addr d48c.b544.9600
profile traffic direction internal
rate-step kbps 1000 2000 3000
frequency time 95