- IP SLAs Overview
- Configuring IP SLAs Metro-Ethernet 3.0 (ITU-T Y.1731) Operations
- IPSLA Y1731 On-Demand and Concurrent Operations
- IP SLAs TWAMP Responder
- ITU-T Y.1731 Performance Monitoring in a Service Provider Network
- Configuring an SLM
- Configuring DMM over VPLS
- Configuring Loss Measurement Management
- IP SLA—Service Performance Testing
- Finding Feature Information
- Information About Service Performance Operations
- Information About Configure Y.1564 to Generate and Measure Ethernet Traffic
- Prerequisites for IP SLA - Service Performance Testing
- Scale and Limitations for Configuring IP SLA - Service Performance Operation
- Restrictions for IP SLA - Service Performance Operation
- Generating Traffic Using Y.1564
- How to Configure IP SLA - Service Performance Testing
- Configuring Ethernet Target Two-Way Color Blind Session
- Configuring Ethernet Target Color-Aware Traffic Generation
- Configuring Ethernet Target Two-Way Color-Aware Session
- Configuring Ethernet Target Passive Color-Aware Measurement
- Configuring Ethernet Target for Color-Aware Traffic Generation with IMIX
- Configuration Examples for Configuring Y.1564 to Generate and Measure Ethernet Traffic
- Example: Traffic Generation — Target Service Instance
- Example: Traffic Generation — Target Bridge Domain
- Example: Two-Way Session—Target Service Instance
- Example: Two-Way Session — Target Bridge Domain
- Example: Passive Measurement Mode — Target Service Instance
- Example: Passive Measurement Mode — Target Bridge Domain
- Example: Traffic Generation Mode — Color Aware
- Example: Traffic Generation Mode with IMIX — Color Aware
- Example: Two-way Color-Aware Measurement Session
- Example: Passive Color-Aware Measurement Session
- Example: Two-Way Session
- Example: 10G Ethernet Two-Way Color Blind Session
- How to Configure Y.1564 to Generate and Measure IP Traffic
- Configuration Examples for Configuring Y.1564 t o Generate and Measure IP Traffic
- How to Configure IP (Layer 3) Loopback on Responder
- Additional References for IP SLA - Service Performance Testing
IP SLA—Service
Performance Testing
This module describes how to configure the ITU-T Y.1564 Ethernet service performance test methodology that measures the ability of a network device to enable movement of traffic at the configured data rate.
- Finding Feature Information
- Information About Service Performance Operations
- Information About Configure Y.1564 to Generate and Measure Ethernet Traffic
- Prerequisites for IP SLA - Service Performance Testing
- Scale and Limitations for Configuring IP SLA - Service Performance Operation
- Restrictions for IP SLA - Service Performance Operation
- Generating Traffic Using Y.1564
- How to Configure IP SLA - Service Performance Testing
- Configuration Examples for Configuring Y.1564 to Generate and Measure Ethernet Traffic
- How to Configure Y.1564 to Generate and Measure IP Traffic
- Configuration Examples for Configuring Y.1564 t o Generate and Measure IP Traffic
- How to Configure IP (Layer 3) Loopback on Responder
- Additional References for IP SLA - Service Performance Testing
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About Service Performance Operations
Y.1564 is an Ethernet service activation test methodology and is the standard for turning up, installing, and troubleshooting Ethernet and IP based services. Y.1564 is the only standard test methodology that allows a complete validation of Ethernet service-level agreements (SLAs) in a single test.
Service performance testing is designed to measure the ability of a Device Under Test (DUT) or a network under test to properly forward traffic in different states.
Effective with Cisco IOS XE Everest Release 16.5.1, 10 Gigabit (10G) SAT session is supported. Any SAT session with a rate-step greater than or equal to 1 Gbps is considered as 10G SAT session.
Cisco implementation of ITU-T Y.1564 has three key objectives:
-
To serve as a network SLA validation tool, ensuring that a service meets its guaranteed performance settings in a controlled test time.
-
To ensure that all services carried by the network meet their SLA objectives at their maximum committed rate, thus proving that under maximum load, network devices and paths can support all traffic as designed.
-
To perform medium-term and long-term service testing, confirming that network elements can properly carry all services while under stress during a soaking period.
The following Key Performance Indicators (KPI) metrics are collected to ensure that the configured SLAs are met for the service or stream. These are service acceptance criteria metrics.
-
Information Rate (IR) or throughput—Measures the maximum rate at which none of the offered frames are dropped by the device under test (DUT). This measurement translates into the available bandwidth of the Ethernet virtual connection (EVC).
-
Frame Transfer Delay (FTD) or latency—Measures the round-trip time (RTT) taken by a test frame to travel through a network device, or across the network and back to the test port.
Note
If the delay is more than 4.2 sec, then the software is not capable of capturing it in SADT statistics. -
Frame Loss Ratio (FLR)—Measures the number of packets lost from the total number of packets sent. Frame loss can be due to a number of issues such as network congestion or errors during transmissions.
-
Frame Delay Variation (FDV) or jitter—Measures the variations in the time delays between packet deliveries.
Because they interconnect segments, forwarding devices (switches and routers) and network interface units are the basis of any network. If a service is not correctly configured on any one of these devices within the end-to-end path, network performance can be greatly affected, leading to potential service outages and network-wide issues such as congestion and link failures. Service performance testing is designed to measure the ability of DUT or network under test, to correctly forward traffic in different states. The Cisco implementation of ITU-T Y.1564 includes the following service performance tests:
-
Minimum data rate to CIR—Bandwidth is generated from the minimum data rate to the committed information rate (CIR) for the test stream. KPI for Y.1564 are then measured to ensure that the configured service acceptance criteria (SAC) are met.
-
CIR to EIR—Bandwidth is ramped up from the CIR to the excess information rate (EIR) for the test stream. Because EIR is not guaranteed, only the transfer rate is measured to ensure that CIR is the minimum bandwidth up to the maximum EIR. Other KPI is not measured.
Note
When SADT is configured, rate higher than CIR + EIR, then above EIR is not measured and hence stats for Above EIR remains 0 in show ip sla statistics.
Service performance supports four operational modes: two-way statistics collection, one-way statistics collection, passive measurement mode, and traffic generator mode. Statistics are calculated, collected, and reported to the IP SLAs module. The statistics database stores historical statistics pertaining to the operations that have been executed.
-
One-way statistics collection—Both the passive measurement mode and the traffic generator mode are used in conjunction with each other. One device sends traffic as the generator and another device receives traffic in the passive mode and records the statistics. The passive mode is distinct from the two-way mode, where the remote device records statistics instead of looping back the traffic and the sending device records only the transmit statistics.
-
Two-way statistics collection—All the measurements are collected by the sender. The remote target must be in the loopback mode for the two-way statistics to work. Loopback mode enables the traffic from the sender to reach the target and be returned to the sender.
-
Passive measurement mode—This mode is enabled by excluding a configured traffic profile. A passive measurement operation does not generate live traffic. The operation collects only statistics for the target configured for the operation.
-
Traffic generator mode—This mode records transmit statistics for the number of packets and bytes sent.
Information About Configure Y.1564 to Generate and Measure Ethernet Traffic
Y.1564 is an ethernet service activation or performance test methodology for turning up, installing, and troubleshooting ethernet and IP based services. This test methodology allows for complete validation of ethernet service-level agreements (SLAs) in a single test. Using the traffic generator performance profile, you can create the traffic based on your requirements. Network performance indicators like throughput, loss, and availability are analyzed using layer 2 traffic with various bandwidth profiles. Availability is inversely proportional to frame loss ratio.
The figure below shows the Traffic Generator topology describing the traffic flow in the external and internal modes. The traffic is generated at the wire-side of Network-to-Network Interface (NNI) and is transmitted to the responder through the same interface for the external mode. The traffic is generated at the User-to-Network Interface (UNI) and transmitted to the responder through NNI respectively for the internal mode. The external mode is used to measure the throughput and loss at the NNI port whereas internal mode is used to measure the throughput and loss at the UNI port. During traffic generation, traffic at other ports is not affected by the generated traffic and can continue to switch network traffic.
The following table provides details of the different service types and traffic directions supported for each service type.
Service Type | Traffic Direction for IP Target SLA |
---|---|
Service Instance | Internal |
Interface (Physical) | Internal |
Bridge Domain | Internal |
VRF | Internal |
Service Type | Traffic Direction for Ethernet Target SLA |
---|---|
Service Instance | Internal and External |
Bridge Domain | Internal |
Prerequisites for IP SLA - Service Performance Testing
Ensure that the direction configured for the measurement-type direction {internal | external} and the profile traffic direction {internal | external} commands is the same.
Scale and Limitations for Configuring IP SLA - Service Performance Operation
IP SLA |
1G Scaling Numbers Supported |
|
---|---|---|
IP Target Color Aware SLA |
5 |
|
IP Target Color Blind SLA |
15 |
|
Ethernet Target Color-Aware SLA |
1 |
|
Ethernet Target Color Blind SLA |
8 (4 Internal SLA + 4 External SLA) |
|
IP Target Loopback SLA |
4 |
Note | The scale limit with the combination of Color-Aware and Color Blind IP SLA depends on the number of TCAM entries that the combination of SAT sessions consume. The Color-Aware session takes 3 entries for each session and the Color Blind consumes 1 entry for each session. Hence, the maximum scale for Color-Aware sessions is 15 ( 3 * 5 = 15 entries) and that for the Color Blind sessions is 15 (15 * 1 = 15 entries). Combination of Color-Aware and Color Blind depends on the number of TCAM entries consumed by the SAT profile and it is limited to entries. |
The following table lists the Y.1564 two-way throughput measurement.
Packet Size (Bytes) |
1G Max Rate (kbps) |
10G Max Rate (kbps) |
---|---|---|
64 |
469848 |
4698480 |
128 |
638061 |
6380610 |
256 |
775123 |
7751230 |
512 |
867758 |
8677580 |
1024 |
922728 |
9227280 |
1280 |
934554 |
9345540 |
1518 |
942124 |
9421240 |
9216 |
977675 |
9776750 |
IMIX |
788000 |
7880000 |
Note | The Max Rate mentioned in the table above is the maximum SLA rate supported by router and it is independent of SLA sessions. Max Rate can be achieved in a single SLA session or combination of two or more SLA sessions. Exceeding the supported Max Rate might impact other services. |
Restrictions for IP SLA - Service Performance Operation
-
The IP SLA sender egress and ingress VLAN should match. Ensure to configure VLAN translation in the same context.
-
Layer 3 IP SLA is not supported on external traffic direction.
-
Only DSCP-based marking is supported for IP Target operations.
-
The session duration is limited to multiples of 10; user input is rounded down to the nearest multiple of 10.
-
Layer 2 Color-Aware IP SLA is not supported for external traffic direction.
-
The bridge-domain target type is not supported for external traffic direction.
-
Color-Aware SLA for bridge-domain target type is not supported.
-
Since SAT traffic is intrusive, any other traffic is dropped for a particular EFP.
-
IPv6 address is not supported as a destination address.
-
Layer 3 SLA Loopback is not supported for labelled incoming packets.
-
For layer 3 Loopback, if the target type is service instance, the core and access side EFP should have the same encapsulation.
-
For layer 3 Loopback, if the target type is VRF, only encapsulation untagged is supported. The loopback session is not supported for the VRF target types even for same encapsulation on access and core EFPs.
-
For layer 3 Loopback, if the target type is bridge domain, only encapsulation untagged is supported. The loopback session is not supported for the bridge domain target types, even for the same encapsulation on access and core EFPs.
-
For two-way mode, the Multicast destination support is not available for IP SLA (layer 3 SLA).
-
IP SLA does not support enabling a signature.
-
SLA on the target with Custom Ethertype encapsulation is not supported.
-
SLA on the target with 802.1ad enabled is not supported.
-
Quality of Service (QOS) on any target type with IP SLA is not supported on layer 2 and layer 3 routers.
-
Simultaneous terminal SAT session and terminal loopback session cannot be performed on the same Ethernet EFP.
-
Multiple active sessions are not supported on the same Ethernet EFP.
-
For operations with passive measurement mode and target type EFP, the same destination MAC address cannot be used for any other traffic on a port as the loopback MAC Address Tables (CAM) tables contain the channel numbers and the destination MAC address. As a result, multiple SLAs with the same destination MAC address, on the same port active at the same time, are not supported for passive measurement mode.
-
For operations with two-way measurements, any one of the parameters, namely, port, destination MAC address, and encapsulation VLANs, should be different for SLA sessions that are simultaneously active.
-
Scaling is dependent on the availability of the terminal SAT session, terminal loopback session, and egress Span session.
-
For layer 2 virtual forwarding instance (VFI) or Switched Virtual Interface (SVI), only target type EFP and generator or measurement type terminal sessions should be used.
-
For operations with EFP using XConnect, only the target type EFP and terminal sessions for Tx and Rx statistics are supported.
-
Terminal and facility loopback sessions use different entries in the MAC Address tables (CAM) tables.
-
For layer 2 internal sessions with Rx statistics, either only four non-color-aware sessions, or one color-aware session and one non-color-aware session are supported.
-
When an internal SAT session is active, at the same time and on the same Ethernet EFP, an internal loopback session cannot be started.
-
For IMIX traffic, packet sizes of 64 bytes, 512 bytes, and 1518 bytes are supported. These packet sizes are forwarded in the ratio 7:4:1.
-
For operations with a port channel as target type, only one member link is supported.
-
When the source MAC address is not configured on layer 2 SLA, any one system reserved MAC of 16 MAC addresses is used.
-
For operations with SLA in PPS mode, an additional packet is forwarded.
-
For operations with layer 2 and layer 3 SLA on Trunk EFP, outer VLAN tag of the packet is mandatory.
-
While a SLA session is in progress, dynamic addition of MAC access lists (ACLs) does not affect the SLA traffic.
-
Priority tag SLA in external direction is supported only when the inner tag and outer tag are marked as priority tags.
-
Facility loopback session cannot be started on a port configured as a SPAN source.
-
Terminal SLA session cannot be started on a port configured as a SPAN destination.
-
Facility SLA session cannot be started on a port configured as a SPAN source.
-
Source MAC address should not be configured as multicast or broadcast MAC address.
-
PIM Sparse mode is not supported for traffic generator mode and passive mode.
-
SAT session fails with proper syslog messages for the following reasons:
-
Facility session cannot be started on a port configured as a Span source.
-
Terminal session cannot be started on a port configured as a Span destination.
-
Source MAC address should not be multicast or broadcast MAC address.
-
Only interface or service instance is supported for external session.
-
VLAN or Bridge-domain service types are not supported for facility Traffic Generator.
-
VLAN or Bridge-domain service types are not supported for facility Traffic Measurement.
-
EFP or Trunk EFP or bridge-domain is shut.
-
-
The following table shows the supported egress and ingress QOS on the sender side core interface for Ethernet and IP target SLA.
Table 5 IP SLA and Type of QOS supported IP SLA
Type of QOS
Supported on sender side core interface
IP Target SLA
Egress
Yes
IP Target SLA
Ingress
No
Ethernet Target SLA
Egress
No
Ethernet Target SLA
Ingress
Yes
-
The following table shows how Ethernet Target SLA with multicast or broadcast source MAC address is supported on different operational modes.
Table 6 Multicast or Broadcast MAC support criteria for SLA Source or destination MAC address
Operational mode
Support for Ethernet Target SLA
Multicast or broadcast source MAC address
Traffic generator mode
Not supported
Passive measurement mode
Two-way statistics collection mode
Multicast or broadcast destination MAC address
Traffic generator mode
SLA generates the traffic
Passive measurement mode
SLA receives the traffic
Two-way statistics collection mode
Not supported
-
Service Activation layer 3 Loopback is not supported with the target interface belonging to ASIC 1 in RSP2.
-
Generation of burst traffic is not supported; therefore, configuration of CBS and EBS is not supported.
-
IP SLAs configured with start-time now keyword need to be restarted after reload.
-
The minimum supported value for rate step is 1024 pps.
-
PPS mode is not supported with IMIX packet size.
-
When the pseudowire control-word is switched off, the Frame Transfer Delay (FTD) could not be calculated. By default, the control-word is switched on.
Restrictions for 10G SAT
-
10G service activation test (SAT) is supported only for Layer 2 traffic in external direction.
-
10G SAT is not supported in internal direction.
-
Only color blind configurations are supported and color-aware configurations are not supported.
-
Since 10G SAT is color blind, configuration of CIR, EIR and other color aware parameters is not supported.
-
10G SAT can only run in two-way mode.
-
With 10G SAT, only throughput and frame loss can be measured. Delay and jitter measurements are not supported.
-
10G SAT target type supported is only on access EFP.
-
A combination of 1G and 10G SAT sessions cannot be run in parallel. Also, two 10G SAT sessions cannot be run in parallel.
-
At SLA run time, SAT statistics may not match. Statistics need to be validated only after SLA completes. While SAT SLA is running, there might be instances where Rx might be greater than Tx. This is because of slow retrieval of statistics from the hardware. Statistics should be verified only after SAT operation is complete.
-
10G SAT traffic can be ethernet looped back (ELB) using facility mode. 10G SAT cannot be looped back using terminal loopback.
-
Duration time is rounded off in multiples of 10.
-
Layer 3 packets for Layer 2 facility SAT 10G session is not supported.
-
Overall throughput in the system is slightly lesser than the rate-step mentioned value.
-
Multiple rate-steps mentioned in a single command can only be mentioned in incremental order.
-
With 10G SAT running in external mode, while QoS egress shaper policy is applied on the same SAT interface, SAT traffic generation is being affected based on the shaper value. SAT rate-step is adjusted by shaper policy. However, when policer based policy is applied inbound, there is no impact with regards to SAT traffic being policed. Despite the policer value configured, no policing happens for the return traffic on SAT interface. This is due to the configured internal ACL to handle the SAT statistics.
-
Broadcast and multicast destination MAC is not supported.
-
If a 10G SLA SAT session is running (with a rate-step greater than or equal to 1 Gbps), a second 1G or 10G SLA SAT session should not be run. That is, parallel SLA execution is not supported with 10G SAT.
-
The SAT rate-step upper limits should be defined in such a way that BFD has some bandwidth for itself and ensures that the OSPF flaps does not occur. The upper limit for FPGA traffic generation for SAT is same in both SAT 1G and 10G. So, the upper limit of SAT 1G x 10 are applicable for SAT 10G to avoid the OSPF flaps.
-
OIR and SSO are not supported with SAT. SLA is to be stopped and re-started manually after these triggers.
-
SAT SLA session and ethernet loopback (ELB) on the same service instance of an interface is not supported.
-
10G SAT with 802.1ad is not supported.
-
A delay of 10 seconds is recommended between two 10G SAT iterations or between two SLA runs (serial run).
-
A combination of untagged and default should never be configured on an interface for launching 10G SLA session. 10G SAT on encapsulation default does not work when encapsulation untagged is configured on the interface.
-
Even with 10G SAT, maximum FPGA available is 1G. 10G SAT rate is achieved by generating the packets in FPGA (upto 1 Gbps) and multiplying it by 10 on the hardware. Hence, a maximum of 1G FPGA is only available for all processes including BFD, SAT, netflow, etc. So, crossing the 1G cumulative threshold in FPGA causes flaps on the various interfaces that involve FPGA.
-
10G SAT is not supported over VRF and Port-Channel interfaces.
Restrictions for SAT Two-Way Sessions on EFP Xconnect
-
For operations with EFP using XConnect, the rewrite ingress tag pop 1 symmetric command is not supported for two-way sessions when Class of Service (COS) value is a part of the packet profile.
-
For operations with EFP using XConnect, the rewrite command is not supported when Class of Service (COS) value is configured for the SLA.
-
For EVC with XConnect targets, CoS marking based on color for the color-aware cases is performed on the outer layer 2 header VLAN tags (if applicable). As a result, this marking should be retained across the network so that it is available on the packet, which is received at the remote end (passive measurement mode) or the same end after loopback at the remote end (two-way mode). If this CoS marking is not retained, there is no way identifying the color of the different packets and perform color-aware measurement.
-
Color-aware two-way sessions measurement is not supported for the restrictions listed above.
Generating Traffic Using Y.1564
1. Configure Ethernet Virtual Circuits (EVC).
2. Configure Traffic Generator on the transmitter.
3. Configure Ethernet Loopback at the remote end.
4. Start the IP SLA session by using the following command:
DETAILED STEPS
How to Configure IP SLA - Service Performance Testing
Configuring Ethernet Target Two-Way Color Blind Session
Perform the following steps to configure ethernet target color blind traffic generation.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ethernet dest-mac-addr
dest-mac { service instance | bridge}
5.
aggregation |
default |
description |
duration |
exit
|
frequency |
no |
profile
6.
measurement-type
direction {internal |
external}
7.
default |
exit
|
loss
|
no |
throughput |
receive |
delay |
jitter
8.
exit
9.
profile packet
10.
default |
exit
|
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
11.
exit
12.
profile traffic
direction{external |
internal}
13.
default or
exit
or
no
or
rate step
kbps | pps
14.
exit
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
Enables privileged EXEC mode. | ||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||
Step 4 | service-performance type ethernet dest-mac-addr
dest-mac { service instance | bridge}
Example: Device(config-ip-sla))#service-performance type ethernet dest-mac-addr 0001.0001.0001 interface gigabitEthernet0/10 service instance 10 |
Specifies the service performance type as Ethernet and the destination MAC address in H.H.H format. Specifies the target for the SLA session. The options are: Only service instance is supported as target-type on 10G SAT. | ||
Step 5 | aggregation |
default |
description |
duration |
exit
|
frequency |
no |
profile
Example: Device(config-ip-sla-service-performance)# duration time 60 |
Specifies the type of service performance. The options are:
| ||
Step 6 | measurement-type
direction {internal |
external}
Example: Device(config-ip-sla-service-performance)# measurement-type direction |
Specifies the statistics to measure traffic. The options available are external or internal; the default option is internal. Only external measurement-type direction is supported for 10G. | ||
Step 7 | default |
exit
|
loss
|
no |
throughput |
receive |
delay |
jitter
Example: Device(config-ip-sla-service-performance-measurement)# throughput |
Specifies the measurement type based on the service performance is calculated. The options are:
| ||
Step 8 | exit
|
Exits the measurement mode. | ||
Step 9 | profile packet
Example: Device(config-ip-sla-service-performance)#profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||
Step 10 | default |
exit
|
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
Example: Device(config-ip-sla-service-performance-packet)#src-mac-addr 4055.3989.7b56 |
Specifies the packet type. The options are:
| ||
Step 11 | exit
Example: Device(config-ip-sla-service-performance-packet)# exit |
Exits the packet mode. | ||
Step 12 | profile traffic
direction{external |
internal}
Example: Device(config-ip-sla-service-performance)#profile traffic direction external |
Specifies the direction of the profile traffic. The options are external and internal. Only external profile traffic direction is supported for 10G.
| ||
Step 13 | default or
exit
or
no
or
rate step
kbps | pps
Example: Device(config-ip-sla-service-performance-traffic)#rate-step kbps 1000 |
Specifies the traffic type. The options are:
| ||
Step 14 | exit
|
Exits the traffic mode. |
Configuring Ethernet Target Color-Aware Traffic Generation
Perform the following steps to configure ethernet target color-aware traffic generation.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ethernet dest-mac-addr
dest-mac-addr {bridge-domain
domain_id |
interface
interface [service instance
efp-id]}
5.
frequency iteration
number
delay
number
6.
duration time
seconds
7.
profile packet
8.
default |
exit
|
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
9.
exit
10.
profile traffic
direction [internal |
external]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-cos-transmit
cos_value
or
exceed-color set-cos-transmit
cos_value or
default or
exit
or
no
or
rate step
kbps | pps
number
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||||
Step 4 | service-performance type ethernet dest-mac-addr
dest-mac-addr {bridge-domain
domain_id |
interface
interface [service instance
efp-id]}
Example: Device(config-ip-sla))#service-performance type ethernet dest-mac-addr 0001.0001.0001 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as Ethernet and the destination MAC address in H.H.H format. | ||||
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iteration. | ||||
Step 6 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||||
Step 7 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||||
Step 8 | default |
exit
|
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
Example: Device(config-ip-sla-service-performance-packet)#src-mac-addr 4055.3989.7b56 |
| ||||
Step 9 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the profile packet mode. | ||||
Step 10 | profile traffic
direction [internal |
external]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-cos-transmit
cos_value
or
exceed-color set-cos-transmit
cos_value or
default or
exit
or
no
or
rate step
kbps | pps
number
Example: Device(config-ip-sla-service-performance)# profile traffic direction internal Device(config-ip-sla-service-performance-traffi c)# cir 45000 Device(config-ip-sla-service-performance-traffi c)# eir 45000 Device(config-ip-sla-service-performance-traffi c)# cbs 45000 Device(config-ip-sla-service-performance-traffi c)# ebs 45000 Device(config-ip-sla-service-performance-traffic)# conform-color set-cos-transmit 4 Device(config-ip-sla-service-performance-traffi c)# exceed-color set-cos-transmit 5 Device(config-ip-sla-service-performance-traffi c)# rate-step kbps 5000 9000 |
|
Example
Device(config-ip-sla-service-performance)#profile packet Device(config-ip-sla-service-performance-packet)#outer-vlan 100 Device(config-ip-sla-service-performance-packet)#outer-cos 5 Device(config-ip-sla-service-performance-packet)#exit Device(config-ip-sla-service-performance)#profile traffic direction internal Device(config-ip-sla-service-performance-traffi c)# cir 45000 Device(config-ip-sla-service-performance-traffi c)# eir 45000 Device(config-ip-sla-service-performance-traffi c)# cbs 45000 Device(config-ip-sla-service-performance-traffi c)# ebs 45000 Device(config-ip-sla-service-performance-traffic)# conform-color set-cos-transmit 4 Device(config-ip-sla-service-performance-traffic)# exceed-color set-cos-transmit 5 Device(config-ip-sla-service-performance-traffic)# rate-step kbps 1000 Device(config-ip-sla)# duration time 15 Device(config-ip-sla)# frequency iteration 4 delay 1
Configuring Ethernet Target Two-Way Color-Aware Session
Note | The default frequency iteration command value may cause the duration command to be rejected for higher values. In this case, the frequency iteration command is recommended before the execution of duration command. |
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ethernet dest-mac-addr
dest-mac-addr |interface
interface [service instance
efp-id]
5.
duration time
seconds
6.
profile packet
7.
default |
exit
|
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
8.
exit
9.
profile traffic
direction [internal |external]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-cos-transmit
cos_value
or
exceed-color set-cos-transmit
cos_value or
default or
exit
or
no
or
rate step
kbps | pps
number
10.
measurement-type
direction [internal |external]
conform-color cos
cos_value
exceed-color cos
cos
value
11.
default |
exit
|
loss
|
throughput |
receive |
delay |
jitter
12.
frequency iteration
number
delay
number
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||||
Step 4 | service-performance type ethernet dest-mac-addr
dest-mac-addr |interface
interface [service instance
efp-id]
Example: Device(config-ip-sla))#service-performance type ethernet dest-mac-addr 0001.0001.0001 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as Ethernet and the destination MAC address in H.H.H format. | ||||
Step 5 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||||
Step 6 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. It also defines the filter for incoming packets to be measured. | ||||
Step 7 | default |
exit
|
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
Example: Device(config-ip-sla-service-performance-packet)#src-mac-addr 4055.3989.7b56 |
| ||||
Step 8 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the profile packet mode. | ||||
Step 9 | profile traffic
direction [internal |external]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-cos-transmit
cos_value
or
exceed-color set-cos-transmit
cos_value or
default or
exit
or
no
or
rate step
kbps | pps
number
Example: Device(config-ip-sla-service-performance)# profile traffic direction internal Device(config-ip-sla-service-performance-traffi c)# cir 45000 Device(config-ip-sla-service-performance-traffi c)# eir 45000 Device(config-ip-sla-service-performance-traffi c)# cbs 45000 Device(config-ip-sla-service-performance-traffi c)# ebs 45000 Device(config-ip-sla-service-performance-traffic)# conform-color set-cos-transmit 4 Device(config-ip-sla-service-performance-traffi c)# exceed-color set-cos-transmit 5 Device(config-ip-sla-service-performance-traffi c)# rate-step kbps 1000 |
| ||||
Step 10 | measurement-type
direction [internal |external]
conform-color cos
cos_value
exceed-color cos
cos
value
Example: Device(config-ip-sla)# measurement-type direction internal cos 7 |
Specifies the direction of measurement. | ||||
Step 11 | default |
exit
|
loss
|
throughput |
receive |
delay |
jitter
Example: Device(config-ip-sla-service-performance-measurement)# throughput |
| ||||
Step 12 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iterations. |
Example
ip sla 3 service-performance type ether des 0033.3333.3333 interface gig 0/0/3 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size 128 ethertype ipv4 exit profile traffic direction internal cir 45000 eir 45000 cbs 45000 ebs 45000 conform-color set-cos-transmit 7 exceed-color set-cos-transmit 5 rate-step kbps 30000 45000 65000 90000 exit measurement-type direction internal conform-color cos 7 exceed-color cos 5 receive throughput loss delay jitter duration time 20 frequency iteration 1 delay 2
Configuring Ethernet Target Passive Color-Aware Measurement
Perform the following steps to configure ethernet target passive color-aware measurement.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ethernet dest-mac-addr
dest_mac_addr {bridge-domain
domain_id |
interface
interface [
service
instance
efp-id]}
5.
duration time
seconds
6.
profile packet
7.
default |
exit |
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
8.
exit
9.
measurement-type
direction [internal |external]
conforn-color cos
cos_value
exceed-color cos
cos_value
10.
default |
exit
|
loss
|
throughput |
receive
11.
frequency iteration
number
delay
number
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||
Step 4 | service-performance type ethernet dest-mac-addr
dest_mac_addr {bridge-domain
domain_id |
interface
interface [
service
instance
efp-id]}
Example: Device(config-ip-sla))#service-performance type ethernet dest-mac-addr 0001.0001.0001 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as Ethernet and the destination MAC address in H.H.H format. | ||
Step 5 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||
Step 6 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the filter for incoming packets to be measured. | ||
Step 7 | default |
exit |
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size |
src-mac-addr
Example: Device(config-ip-sla-service-performance-packet)#src-mac-addr 4055.3989.7b56 |
| ||
Step 8 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the profile packet mode. | ||
Step 9 | measurement-type
direction [internal |external]
conforn-color cos
cos_value
exceed-color cos
cos_value
Example: Device(config-ip-sla)# measurement-type direction internal cos 7 |
Specifies the direction of measurement. | ||
Step 10 | default |
exit
|
loss
|
throughput |
receive
Example: Device(config-ip-sla-service-performance-measurement)# throughput |
| ||
Step 11 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iterations. |
Example
ip sla 3 service-performance type ether des 0033.3333.3333 interface gig 0/0/3 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size 128 ethertype ipv4 exit measure direction internal conform-color cos 7 exceed-color cos 5 receive throughput loss duration time 20 frequency iteration 1 delay 2
Configuring Ethernet Target for Color-Aware Traffic Generation with IMIX
Perform the following steps to configure ethernet target for color-aware traffic generation with IMIX.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ethernet dest-mac-addr
dest_mac_addr {bridge-domain
domain_id |
interface
interface [
service
instance
efp-id]}
5.
duration time
seconds
6.
profile packet
7.
default |
exit |
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size
imix |
src-mac-addr
8.
exit
9.
profile packet
direction [internal |
external]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-cos-transmit
cos_value or
exceed-color set-cos-transmit
cos_value or
default or
exit
or
no
or
rate step
kbps
10.
frequency iteration
number
delay
number
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||||
Step 4 | service-performance type ethernet dest-mac-addr
dest_mac_addr {bridge-domain
domain_id |
interface
interface [
service
instance
efp-id]}
Example: Device(config-ip-sla))#service-performance type ethernet dest-mac-addr 0001.0001.0001 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as Ethernet and the destination MAC address in H.H.H format. | ||||
Step 5 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||||
Step 6 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||||
Step 7 | default |
exit |
inner-cos |
inner-vlan |
no |
outer-cos |
outer-vlan |
packet-size
imix |
src-mac-addr
Example: Device(config-ip-sla-service-performance-packet)#packet-size imix |
| ||||
Step 8 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the profile packet mode. | ||||
Step 9 | profile packet
direction [internal |
external]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-cos-transmit
cos_value or
exceed-color set-cos-transmit
cos_value or
default or
exit
or
no
or
rate step
kbps
Example: Device(config-ip-sla-service-performance)# profile traffic direction internal Device(config-ip-sla-service-performance-traffic)# cir 45000 Device(config-ip-sla-service-performance-traffic)# eir 45000 Device(config-ip-sla-service-performance-traffic)# cbs 45000 Device(config-ip-sla-service-performance-traffic)# ebs 45000 Device(config-ip-sla-service-performance-traffic)# conform-color set-cos-transmit 4 Device(config-ip-sla-service-performance-traffic)# exceed-color set-cos-transmit 5 Device(config-ip-sla-service-performance-traffic)# rate-step kbps 1000 |
| ||||
Step 10 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iterations. |
Example
ip sla 3 service-performance type ether des 0033.3333.3333 interface gig 0/0/3 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size mix ethertype ipv4 exit profile traffic direction internal cir 45000 eir 45000 cbs 45000 ebs 45000 conform-color set-cos-transmit 7 exceed-color set-cos-transmit 5 rate-step kbps 30000 45000 65000 90000 exit duration time 20 frequency iteration 1 delay 2
Configuration Examples for Configuring Y.1564 to Generate and Measure Ethernet Traffic
This section shows sample configurations for traffic generation.
- Example: Traffic Generation — Target Service Instance
- Example: Traffic Generation — Target Bridge Domain
- Example: Two-Way Session—Target Service Instance
- Example: Two-Way Session — Target Bridge Domain
- Example: Passive Measurement Mode — Target Service Instance
- Example: Passive Measurement Mode — Target Bridge Domain
- Example: Traffic Generation Mode — Color Aware
- Example: Traffic Generation Mode with IMIX — Color Aware
- Example: Two-way Color-Aware Measurement Session
- Example: Passive Color-Aware Measurement Session
- Example: Two-Way Session
- Example: 10G Ethernet Two-Way Color Blind Session
Example: Traffic Generation — Target Service Instance
ip sla 100 service-performance type ethernet dest-mac-addr 0001.0002.0003 interface TenGigabitEthernet0/0/4 service instance 100 profile packet packet-size 256 outer-vlan 100 profile traffic direction internal rate-step kbps 1000 aggregation interval buckets 2 frequency iteration 2 delay 10 end
Example: Traffic Generation — Target Bridge Domain
ip sla 100 service-performance type ethernet dest-mac-addr 0001.0002.0003 bridge-domain 100 profile packet packet-size 256 outer-vlan 100 aggregation interval buckets 2 frequency iteration 2 delay 10 end
Example: Two-Way Session—Target Service Instance
ip sla 100 service-performance type ethernet dest-mac-addr 0001.0002.0003 interface TenGigabitEthernet0/0/2 service instance 100 measurement-type direction internal loss throughput delay jitter profile packet packet-size 64 outer-vlan 100 inner-vlan 200 profile traffic direction internal rate-step kbps 1000 aggregation interval buckets 2 frequency iteration 2 delay 10 end
Example: Two-Way Session — Target Bridge Domain
ip sla 100 service-performance type ethernet dest-mac-addr 0001.0002.0003 bridge-domain 100 measurement-type direction internal loss throughput delay jitter profile packet packet-size 64 outer-vlan 100 inner-vlan 200 profile traffic direction internal rate-step kbps 1000 aggregation interval buckets 2 frequency iteration 2 delay 10 end
Example: Passive Measurement Mode — Target Service Instance
ip sla 100 service-performance type ethernet dest-mac-addr 0001.0002.0003 interface TenGigabitEthernet0/0/4 service instance 100 measurement-type direction internal loss throughput aggregation interval buckets 2 frequency iteration 2 delay 10 end
Example: Passive Measurement Mode — Target Bridge Domain
ip sla 100 service-performance type ethernet dest-mac-addr 0001.0002.0003 bridge-domain 100 measurement-type direction internal loss throughput aggregation interval buckets 2 frequency iteration 2 delay 10 end
Example: Traffic Generation Mode — Color Aware
ip sla 3 service-performance type ether des 0033.3333.3333 int gig 0/0/7 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size 128 ethertype ipv4 exit profile traffic dir int cir 45000 eir 45000 cbs 45000 ebs 45000 conform-color set-cos-transmit 7 exceed-color set-cos-transmit 5 rate-step kbps 30000 45000 65000 90000 exit duration time 20 frequency iteration 1 delay 2
Example: Traffic Generation Mode with IMIX — Color Aware
ip sla 3 service-performance type ether des 0033.3333.3333 int gig 0/0/7 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size imix ethertype ipv4 exit profile traffic dir int cir 45000 eir 45000 cbs 45000 ebs 45000 conform-color set-cos-transmit 7 exceed-color set-cos-transmit 5 rate-step kbps 30000 45000 65000 90000 exit duration time 20 frequency iteration 1 delay 2
Example: Two-way Color-Aware Measurement Session
ip sla 3 service-performance type ether des 0033.3333.3333 int gig 0/0/7 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size 128 ethertype ipv4 exit profile traffic dir int cir 45000 eir 45000 cbs 45000 ebs 45000 conform-color set-cos-transmit 7 exceed-color set-cos-transmit 5 rate-step kbps 30000 45000 65000 90000 exit measure dir internal conform-color cos 7 exceed-color cos 5 receive throughput loss delay jitter duration time 20 frequency iteration 1 delay 2
Example: Passive Color-Aware Measurement Session
ip sla 3 service-performance type ether des 0033.3333.3333 int gig 0/0/7 service instance 1 profile packet outer-vlan 100 outer-cos 5 packet-size 128 ethertype ipv4 exit measure dir internal conform-color cos 7 exceed-color cos 5 receive throughput loss duration time 20 frequency iteration 1 delay 2
Example: Two-Way Session
show ip sla statistics 12345 IPSLAs Latest Operation Statistics IPSLA operation id: 12345 Type of operation: Ethernet Service Performance Test mode: Two-way Measurement Steps Tested (kbps): 10000 20000 25000 Test duration: 20 seconds Latest measurement: *15:54:44.007 IST Mon May 18 2015 Latest return code: Oper End of Life Overall Throughput: 24850 kbps Step 1 (10000 kbps): Stats: IR(kbps) FL FLR Avail FTD Min/Avg/Max FDV Min/Avg/Max 9944 0 0.00% 100.00% 41.44us/46.06us/77.68us 0ns/12.08us/34.52us Tx Packets: 16377 Tx Bytes: 24860286 Rx Packets: 16377 Rx Bytes: 24860286 Step Duration: 20 seconds
Example: 10G Ethernet Two-Way Color Blind Session
The following is a sample configuration for a 10G ethernet two-way color blind session:
router#show run | sec ip sla 200 ip sla 200 service-performance type ethernet dest-mac-addr 0000.0000.2200 interface TenGigabitEthernet0/0/2 service instance 200 frequency iteration 2 delay 10 aggregation interval buckets 2 measurement-type direction external loss receive throughput profile packet outer-cos 2 outer-vlan 200 packet-size 1024 src-mac-addr 0000.0000.4400 profile traffic direction external rate-step kbps 9000000 duration time 60
The following is the sample output for the 10G ethernet two-way color blind session:
router#show ip sla statistics 200 IPSLAs Latest Operation Statistics IPSLA operation id: 200 Type of operation: Ethernet Service Performance Test mode: Two-way Measurement Steps Tested (kbps): 9000000 Test duration: 60 seconds Latest measurement: *18:04:34.975 IST Wed Mar 29 2017 Latest return code: Oper End of Life Overall Throughput: 8943460 kbps Step 1 (9000000 kbps): Stats: IR(kbps) FL FLR Avail 8943460 0 0.00% 100.00% Tx Packets: 65503860 Tx Bytes: 67075952640 Rx Packets: 65503860 Rx Bytes: 67075952640 Step Duration: 60 seconds
How to Configure Y.1564 to Generate and Measure IP Traffic
This section shows how to configure Y.1564 to generate and measure IP traffic.
Effective Cisco IOS XE Release 3.16, the following features are supported on the routers:
-
IP flow parameters (DA/SA) Generation
-
IP flow parameters (DA/SA) Measurement
-
Color-Blind IP flow Generation and Measurement
-
Color-Aware IP flow Generation: Differentiated services code point (DSCP) based
-
Color-Aware IP flow Measurement: DSCP based
-
IMIX Traffic Generation type (combination of 64, 512, and 1518 byte packets)
Note | For vrf targets, the vrf-id specified in the SLA configuration should be the VRF Id derived from the output of the show vrf detail | include VRF Id STR #sh vrf det | i VRF Id VRF Mgmt-intf (VRF Id = 1); default RD <not set>; default VPNID <not set> VRF SAT (VRF Id = 2); default RD 100:1; default VPNID <not set> |
- Configuring IP Target Color-Aware Traffic Generation
- Configuring IP Target Color Blind Traffic Generation
- Configuring IP Target Color Blind Passive Measurement
- Configuring IP Target Two-Way Color-Aware Session
- Configuring IP Target Color-Aware IMIX Traffic Generation
Configuring IP Target Color-Aware Traffic Generation
Perform the following steps to configure IP target color-aware traffic generation.
Note | The default frequency iteration command value may cause the duration command to be rejected for higher values. In this case, the frequency iteration command is recommended before the execution of the duration command. |
Note | Configuring source-ip-addr is mandatory for layer 3 IP SLA. |
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ip dest-ip-addr
dest-ip-addr {interface
interface |
interface
interface [
service
instance
efp-id |
vrf
vrf_id}
5.
frequency iteration
number
delay
number
6.
duration time
seconds
7.
profile packet
8.
default |
exit |
no |
outer-vlan |
packet-size |
source-ip-addr
9.
exit
10.
profile traffic
direction [internal]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-dscp-transmit
dscp_value
or
exceed-color set-dscp-transmit
dscp_value or
default or
exit
or
no
or
rate step
kbps | pps
number
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||||
Step 4 | service-performance type ip dest-ip-addr
dest-ip-addr {interface
interface |
interface
interface [
service
instance
efp-id |
vrf
vrf_id}
Example: Device(config-ip-sla))# service-performance type ip dest-ip-addr 194.168.1.1 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as IP and the destination IP address. | ||||
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iteration. | ||||
Step 6 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||||
Step 7 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||||
Step 8 | default |
exit |
no |
outer-vlan |
packet-size |
source-ip-addr
Example: Device(config-ip-sla-service-performance-packet)#src-ip-addr 193.168.1.1 |
| ||||
Step 9 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the IP SLA Service Performance packet mode. | ||||
Step 10 | profile traffic
direction [internal]
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-dscp-transmit
dscp_value
or
exceed-color set-dscp-transmit
dscp_value or
default or
exit
or
no
or
rate step
kbps | pps
number
Example: Device(config-ip-sla-service-performance)# profile traffic direction internal Device(config-ip-sla-service-performance-traffi c)# cir 45000 Device(config-ip-sla-service-performance-traffi c)# eir 45000 Device(config-ip-sla-service-performance-traffi c)# cbs 45000 Device(config-ip-sla-service-performance-traffi c)# ebs 45000 Device(config-ip-sla-service-performance-traffic)# conform-color set-dscp-transmit af43 Device(config-ip-sla-service-performance-traffi c)# exceed-color set-dscp-transmit af41 Device(config-ip-sla-service-performance-traffi c)# rate-step kbps 1000 |
|
Example
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 vrf 2 frequency iteration 1 delay 1 duration time 50 profile packet source-ip-addr 193.168.1.1 packet-size 512 profile traffic direction internal cir 45000 eir 45000 cbs 45000 ebs 45000 rate-step kbps 50000 90000 conform-color set-dscp-transmit af43 exceed-color set-dscp-transmit af41
Configuring IP Target Color Blind Traffic Generation
Perform the following steps to configure IP target color blind traffic generation.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ip dest-ip-addr
dest-ip-addr {interface
interface |
bridge
domain
domain_id |
interface
interface [
service
instance
efp-id |
vrf
vrf_id}
5.
frequency iteration
number
delay
number
6.
duration time
seconds
7.
profile packet
8.
default |
exit |
no |
outer-vlan |
packet-size |
source-ip-addr
9.
exit
10.
profile traffic direction
internal
11.
default or
exit
or
no
or
rate step
kbps | pps
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||
Step 4 | service-performance type ip dest-ip-addr
dest-ip-addr {interface
interface |
bridge
domain
domain_id |
interface
interface [
service
instance
efp-id |
vrf
vrf_id}
Example: Device(config-ip-sla)# service-performance type ip dest-ip-addr 194.168.1.1 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as IP and the destination IP address. | ||
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iteration. | ||
Step 6 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Sets the service performance duration configuration. | ||
Step 7 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||
Step 8 | default |
exit |
no |
outer-vlan |
packet-size |
source-ip-addr
Example: Device(config-ip-sla-service-performance-packet)#src-ip-addr 193.168.1.1 |
| ||
Step 9 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the IP SLA Service Performance packet mode. | ||
Step 10 | profile traffic direction
internal
Example: Device(config-ip-sla-service-performance)# profile traffic direction internal |
Specifies the in-line traffic profile or selection of a pre-configured traffic profile. A traffic profile defines an upper bound on the volume of the expected service frames belonging to a particular service instance. If a traffic profile is not specified, the Service Performance probe is in passive measurement mode. | ||
Step 11 | default or
exit
or
no
or
rate step
kbps | pps
Example: Device(config-ip-sla-service-performance-traffi c)# rate-step kbps 1000 |
Specifies the traffic type. The options are:
|
Example
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 vrf 2 frequency iteration 1 delay 1 duration time 50 profile packet source-ip-addr 193.168.1.1 packet-size 512 profile traffic direction internal rate-step kbps 50000 90000
Configuring IP Target Color Blind Passive Measurement
Perform the following steps to configure IP target color blind passive measurement.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ip dest-ip-addr
dest_ip_addr {interface
interface |
bridge
domain
domain_id |
interface
interface [service instance
efp-id] |
vrf
vrf_id}
5.
frequency iteration
number
delay
number
6.
duration time
seconds
7.
profile packet
8.
default |
exit
|
no |
packet-size |
source-ip-addr
9.
measurement-type direction internal
10.
default |
exit
|
loss
|
throughput |
receive
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 | enable
Example: Device> enable |
|
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. |
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. |
Step 4 | service-performance type ip dest-ip-addr
dest_ip_addr {interface
interface |
bridge
domain
domain_id |
interface
interface [service instance
efp-id] |
vrf
vrf_id}
Example: Device(config-ip-sla)# service-performance type ip dest-ip-addr 194.168.1.1 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as IP and the destination IP address. |
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iteration. |
Step 6 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Sets the service performance duration configuration. |
Step 7 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. |
Step 8 | default |
exit
|
no |
packet-size |
source-ip-addr
Example: Device(config-ip-sla-service-performance-measur ement)# throughput |
Specifies the measurement type based on which the service performance is calculated. The options are:
|
Step 9 | measurement-type direction internal
Example: config-ip-sla-service-performance)#measurement-type direction internal |
Specifies the direction of measurement. |
Step 10 | default |
exit
|
loss
|
throughput |
receive
Example: Device(config-ip-sla-service-performance-measur ement)# throughput |
Specifies the measurement type based on which the service performance is calculated. The options are: |
Example
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 vrf 2 frequency iteration 1 delay 1 duration time 50 measurement-type direction internal receive profile packet source-ip-addr 193.168.1.1 packet-size 512
Configuring IP Target Two-Way Color-Aware Session
Note | The default frequency iteration command value may cause the duration command to be rejected for higher values. In this case, the frequency iteration command is recommended before the execution of the duration command. |
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ip dest-ip-addr
dest-ip-addr {interface
interface |
interface
interface [service instance
efp-id |
vrf
vrf_id}
5.
frequency iteration
number
delay
number
6.
duration time
seconds
7.
profile packet
8.
deafult |
exit
|
no |
outer
vlan |
packet-size |
source-ip-addr
9.
exit
10.
profile traffic
direction
internal
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-dscp-transmit
dscp_value
or
exceed-color set-dscp-transmit
dscp_value or
default or
exit
or
no
or
rate step
kbps | pps
number
11.
measurement-type direction internal conform-color dscp
dscp_value
exceed-color dscp
dscp_value
12.
default |
exit
|
loss
|
no |
throughput |
receive |
delay |
jitter
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||||
Step 4 | service-performance type ip dest-ip-addr
dest-ip-addr {interface
interface |
interface
interface [service instance
efp-id |
vrf
vrf_id}
Example: Device(config-ip-sla)# service-performance type ip dest-ip 194.168.1.1 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as IP and the destination IP address. | ||||
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iteration. | ||||
Step 6 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Sets the service performance duration configuration. | ||||
Step 7 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||||
Step 8 | deafult |
exit
|
no |
outer
vlan |
packet-size |
source-ip-addr
Example: Device(config-ip-sla-service-performance-packet)# src-ip-addr 193.168.1.1 |
| ||||
Step 9 | exit
Example: Device(config-ip-sla)# exit |
Exists the IP SLA Service Performance packet mode. | ||||
Step 10 | profile traffic
direction
internal
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-dscp-transmit
dscp_value
or
exceed-color set-dscp-transmit
dscp_value or
default or
exit
or
no
or
rate step
kbps | pps
number
Example: Device(config-ip-sla-service-performance)# profile traffic direction internal Device(config-ip-sla-service-performance-traffi c)# cir 45000 Device(config-ip-sla-service-performance-traffi c)# eir 45000 Device(config-ip-sla-service-performance-traffi c)# cbs 45000 Device(config-ip-sla-service-performance-traffi c)# ebs 45000 Device(config-ip-sla-service-performance-traffic)# conform-color set-dscp-transmit af434 Device(config-ip-sla-service-performance-traffi c)# exceed-color set-dscp-transmit af41 Device(config-ip-sla-service-performance-traffi c)# rate-step kbps 1000 |
| ||||
Step 11 | measurement-type direction internal conform-color dscp
dscp_value
exceed-color dscp
dscp_value
Example: Device(config-ip-sla-service-performance)# measurement-type direction internal conform-color dscp af43 exceed-color dscp af41 |
Specifies the direction of measurement. | ||||
Step 12 | default |
exit
|
loss
|
no |
throughput |
receive |
delay |
jitter
|
|
Example
ip sla 1 service-performance type ip dest-ip-addr 150.1.1.2 interface TenGigabitEthernet0/0/3 service instance 1 frequency iteration 1 delay 1 measurement-type direction internal conform-color dscp af11 exceed-color dscp af12 loss receive throughput delay jitter profile packet source-ip-addr 2.2.1.2 packet-size 512 outer-vlan 10 profile traffic direction internal cir 100000 eir 100000 rate-step kbps 200000 conform-color set-dscp-transmit af11 exceed-color set-dscp-transmit af12 duration time 1200
Configuring IP Target Color-Aware IMIX Traffic Generation
Perform the following steps to configure IP target color-aware IMIX traffic generation session.
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ip dest-mac-addr
dest_ip_addr {interface
interface |
interface
interface [service instance
efp-id] |
vrf
vrf_id}
5.
frequency iteration
number
delay
number
6.
duration time
seconds
7.
profile packet
8.
default |
exit |
no |
packet-size
imix |
source-ip-addr
9.
exit
10.
profile packet
direction
internal
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-dscp-transmit
dscp_value or
exceed-color set-dscp-transmit
dscp_value or
default or
exit
or
no
or
rate step
kbps
11.
default or
exit
or
no
or
rate step
kbps
DETAILED STEPS
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||||
Step 4 | service-performance type ip dest-mac-addr
dest_ip_addr {interface
interface |
interface
interface [service instance
efp-id] |
vrf
vrf_id}
Example: Device(config-ip-sla))#service-performance type ip dest-ip-addr 194.168.1.1 interface gigabitEthernet0/0/10 service instance 10 |
Specifies the service performance type as IPt and the destination IP address. | ||||
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iterations. | ||||
Step 6 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||||
Step 7 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||||
Step 8 | default |
exit |
no |
packet-size
imix |
source-ip-addr
Example: Device(config-ip-sla-service-performance-packet)#packet-size imix |
| ||||
Step 9 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the profile packet mode. | ||||
Step 10 | profile packet
direction
internal
cir
number or
eir
number or
cbs
number or
ebs
number or
conform-color set-dscp-transmit
dscp_value or
exceed-color set-dscp-transmit
dscp_value or
default or
exit
or
no
or
rate step
kbps
Example: Device(config-ip-sla-service-performance)#profile traffic direction internal Device(config-ip-sla-service-performance-traffi c)# cir 45000 Device(config-ip-sla-service-performance-traffic)# eir 45000 Device(config-ip-sla-service-performance-traffi c)# cbs 45000 Device(config-ip-sla-service-performance-traffi c)# ebs 45000 Device(config-ip-sla-service-performance-traffi c)# conform-color set-dscp-transmit af43 Device(config-ip-sla-service-performance-traffi c)# exceed-color set-dscp-transmit af41 Device(config-ip-sla-service-performance-traffic)# rate-step kbps 1000 |
| ||||
Step 11 | default or
exit
or
no
or
rate step
kbps
|
|
Example
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 vrf 2 frequency iteration 1 delay 1 duration time 50 profile packet source-ip-addr 193.168.1.1 packet-size imix profile traffic direction internal cir 45000 eir 45000 cbs 45000 ebs 45000 rate-step kbps 50000 90000 conform-color set-dscp-transmit af43 exceed-color set-dscp-transmit af41
Configuration Examples for Configuring Y.1564 t o Generate and Measure IP Traffic
This section shows sample configurations for IP traffic generation and measurement.
- Example: Passive Color-Aware Measurement Session
- Example: Color-Aware IMIX — Traffic Generation
- Example: Color-Aware — Traffic Generation
- Example: Color Blind — Traffic Generation
- Example: Color Blind — Passive Measurement
- Example: Color-Aware — Two Way
- Example: Color Blind — Two Way
Example: Passive Color-Aware Measurement Session
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 interface TenGigabitEthernet0/0/3 service instance 1 frequency iteration 1 delay 1 duration time 50 measurement-type direction internal conform-color dscp af43 exceed-color dscp af41 receive profile packet source-ip-addr 193.168.1.1 packet-size 512
Example: Color-Aware IMIX — Traffic Generation
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 interface TenGigabitEthernet0/0/3 service instance 1 frequency iteration 1 delay 1 duration time 50 profile packet source-ip-addr 193.168.1.1 packet-size imix profile traffic direction internal cir 45000 eir 45000 cbs 45000 ebs 45000 rate-step kbps 50000 90000 conform-color set-dscp-transmit af43 exceed-color set-dscp-transmit af41
Example: Color-Aware — Traffic Generation
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 interface TenGigabitEthernet0/0/3 frequency iteration 1 delay 1 duration time 50 profile packet source-ip-addr 193.168.1.1 packet-size 512 profile traffic direction internal cir 45000 eir 45000 cbs 45000 ebs 45000 rate-step kbps 50000 90000 conform-color set-dscp-transmit af43 exceed-color set-dscp-transmit af41
Example: Color Blind — Traffic Generation
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 bridge-domain 100 frequency iteration 1 delay 1 duration time 50 profile packet source-ip-addr 193.168.1.1 packet-size 512 profile traffic direction internal rate-step kbps 50000 90000
Example: Color Blind — Passive Measurement
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 vrf 2 frequency iteration 1 delay 1 duration time 50 measurement-type direction internal receive profile packet source-ip-addr 193.168.1.1 packet-size 512
Example: Color-Aware — Two Way
ip sla 1 service-performance type ip dest-ip-addr 150.1.1.2 interface TenGigabitEthernet0/0/3 service instance 1 frequency iteration 1 delay 1 measurement-type direction internal conform-color dscp af11 exceed-color dscp af12 loss receive throughput delay jitter profile packet source-ip-addr 2.2.1.2 packet-size 512 outer-vlan 10 profile traffic direction internal cir 100000 eir 100000 rate-step kbps 200000 conform-color set-dscp-transmit af11 exceed-color set-dscp-transmit af12 duration time 100
Example: Color Blind — Two Way
ip sla 1 service-performance type ip dest-ip-addr 150.1.1.2 interface TenGigabitEthernet0/0/3 service instance 1 frequency iteration 1 delay 1 measurement-type direction internal loss receive throughput delay jitter profile packet source-ip-addr 2.2.1.2 packet-size 512 outer-vlan 10 profile traffic direction internal rate-step kbps 200000 duration time 100
How to Configure IP (Layer 3) Loopback on Responder
This section shows how to configure IP (Layer 3) loopback on responder.
Enabling IP SLA Loopback on Responder
Note | For layer 3 Loopback, the parameters dest-ip-addr and src-ip-addr are mandatory, otherwise the configuration fails. Outer-vlan is mandatory only for Trunk EFP and optional for other interface types. |
1.
enable
2.
configure terminal
3.
ip sla
sla_id
4.
service-performance type ip dest-ip-addr
dest-ip-addr
interface
interface
5.
frequency iteration
number
delay
number
6.
loopback direction
{internal}
7.
duration time
seconds
8.
profile packet
9.
source-ip-addr
ip-address |
outer-vlan
vlan-id
10.
exit
DETAILED STEPS
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | enable
Example: Device> enable |
| ||
Step 2 | configure terminal
Example: Device# configure terminal |
Enters global configuration mode. | ||
Step 3 | ip sla
sla_id
Example: Device(config)# ip sla 100 |
Specifies the SLA ID to start the IP SLA session. | ||
Step 4 | service-performance type ip dest-ip-addr
dest-ip-addr
interface
interface
Example: Device(config-ip-sla))#service-performance type ip dest-ip-addr 194.168.1.1 interface gigabitEthernet0/0/1 |
Specifies the service performance type as IP and the destination IP address. | ||
Step 5 | frequency iteration
number
delay
number
Example: Device(config-ip-sla)# frequency iteration 1 delay 2 |
Specifies the number of interactions and delay between the iteration. | ||
Step 6 | loopback direction
{internal}
Example: Device(config-ip-sla)# loopback direction internal |
Configures loopback direction. | ||
Step 7 | duration time
seconds
Example: Device(config-ip-sla)# duration time 30 |
Specifies the time period to send packets. | ||
Step 8 | profile packet
Example: Device(config-ip-sla-service-performance)# profile packet |
Specifies the packet profile. A packet profile defines the packets to be generated. | ||
Step 9 | source-ip-addr
ip-address |
outer-vlan
vlan-id
Example: Device(config-ip-sla-service-performance-packet)# source-ip-addr 51.1.1.1 Device(config-ip-sla-service-performance-packet)# outer-vlan 301 |
| ||
Step 10 | exit
Example: Device(config-ip-sla-service-performance-packet)#exit |
Exits the profile packet mode. |
Example
ip sla 1 service-performance type ip dest-ip-addr 194.168.1.1 interface gi0/0/0 service instance 1 frequency iteration 1 delay 1 loopback direction internal profile packet source-ip-addr 193.168.1.1 outer-vlan 301 duration time 30000
Additional References for IP SLA - Service Performance Testing
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Cisco IOS IP SLAs commands |
Standards and RFCs
Standard/RFC |
Title |
---|---|
ITU-T Y.1564 |
Ethernet service activation test methodology |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |