dot1q 10 cos 1 destination mac-address 0000.0000.0001 timeout none
end
This is an intrusive loopback and the packets matched with the service will not be able
to pass through.
Continue? (yes/[no]): yes
Stopping an Active Session
Use the
ethernet loopback stop
command to stop an active session on an interface or to stop all sessions
based on the session id.
Router#
ethernet loopback stop local interface gigabitEthernet 0/4/1 id 1
Configuration Examples
Example: Configuring External Loopback
This example shows how to configure external (facility) loopback.
Router(config)#
interface gigabitEthernet 0/4/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
Example: Configuring Terminal Loopback
This example shows how to configure internal (terminal) loopback.
Router(config)#
interface gigabitEthernet 0/0/0
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 internal
Layer 2 Configuration Guide for Cisco NCS 4200 Series
4
Configuring Ethernet Dataplane Loopback
Stopping an Active Session