The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Ethernet data plane loopback provides a means for remotely testing the throughput of an Ethernet port.
Feature | Description | Changed in Release | Where Documented |
---|---|---|---|
Ethernet data plane loopback. QoS for Ethernet loopback |
This feature provides a means for remotely testing the throughput of an Ethernet port on the Cisco ASR 903 router. |
Cisco IOS XE Release 3.11 |
The Ethernet data plane loopback feature provides a means for remotely testing the throughput of an Ethernet port. You can verify the maximum rate of frame transmission with no frame loss. This feature allows for bidirectional or unidirectional throughput measurement, and on-demand/out-of-service (intrusive) operation during service turn-up. Two types of Ethernet loopback is supported:
1. enable
2. configure terminal
3. interface gigabitethernet slot/subslot/port
4. service instance number ethernet [name]
5. encapsulation{dot1q|second-dot1q}
6. bridge-domain bridge-id
7. ethernet loopback permit {external|permit}
8. end
Note |
By default the session would be running for 300 seconds unless explicitly specified by the user and automatically stopped after the session time expiry. |
1. enable
2. ethernet loopback start local interface interface-id{service instance id}{external |internal }{dot1q vlan-id}[second-dot1q inner-vlan-id][cos cos-value][destination mac-address mac-address][timeout {seconds |none}]
This example shows how to configure external (facility) loopback.
Router(config)# interface gigabitEthernet 0/2/1 Router(config-if)# service instance 1 ethernet Router(config-if-srv)# encapsulation dot1q 120 Router(config-if-srv)# bridge-domain 120 Router(config-if-srv)# ethernet loopback permit external
This example shows external (facility) loopback on the Gigabit Ethernet 0/4/1 interface:
interface GigabitEthernet0/4/1 no ip address negotiation auto service instance 10 ethernet encapsulation dot1q 10 rewrite ingress tag pop 1 symmetric bridge-domain 10 ethernet loopback permit external ===? For facility loopback ! end
This example below shows how to start external (facility) loopback on the router. A warning message is displayed. Type yes to continue.
Router# ethernet loopback start local interface gigabitEthernet 0/4/1 service instance 10 external dot1q 10 cos 1 destination mac-address 0000.0000.0001 timeout none This is an intrusive loopback and the packets matched with the service will not be able to pass through. Continue? (yes/[no]): yes
This example shows internal (terminal) loopback on Gigabit Ethernet 0/4/1 interface:
interface TenGigabitEthernet0/0/0 no ip address service instance 10 ethernet encapsulation dot1q 10 rewrite ingress tag pop 1 symmetric bridge-domain 10 ethernet loopback permit internal ===? For Terminal Loopback ! end
Use the show ethernet loopback {active | permitted} [interface interface number] command.
Router# show ethernet loopback permitted -------------------------------------------------------------------------------- Interface SrvcInst Direction Dot1q/Dot1ad(s) Second-Dot1q(s) -------------------------------------------------------------------------------- Te0/0/0 10 Internal 10 Gi0/4/1 10 External 10
Router# show ethernet loopback active ============================================================ Loopback Session ID : 1 Interface : GigabitEthernet0/4/1 Service Instance :10 Direction : External Time out(sec) : none Status : on Start time : 10:31:09.539 IST Mon Aug 26 2013 Time left : N/A Dot1q/Dot1ad(s) : 10 Second-dot1q(s) : Source Mac Address : Any Destination Mac Address : 0000.0000.0001 Ether Type : Any Class of service : 1 Llc-oui : Any Total Active Session(s): 1 Total Internal Session(s): 0 Total External Session(s): 1