This example shows internal (terminal) loopback on Gigabit Ethernet 0/0/0 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
!
end
Verifying Ethernet Data Plane Loopback
Example: Verifying Ethernet Dataplane Loopback
Use the
show ethernet loopback
{
active
|
permitted
} [
interface interface numbe
r] command.
•
The following example displays the loopback capabilities per interface. The output shows internal
(terminal) loopback has been permitted on Ten Gigabit Ethernet 0/0/0 interface and external (facility)
loopback has been permitted on Gigabit Ethernet 0/4/1 interface.
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
•
This example shows all active sessions on the router.
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
•
This example shows how to stop the sessions on the router.
Router#
ethernet loopback stop local interface GigabitEthernet
0/4/1 id 1
Layer 2 Configuration Guide for Cisco NCS 4200 Series
5
Configuring Ethernet Dataplane Loopback
Verifying Ethernet Data Plane Loopback