<｜begin▁of▁sentence｜>
### Instruction:
How to configure an L2VPN service instance on an interface?
### Response:
To configure an L2VPN service instance on an interface, use the 'service instance' command within the interface configuration mode. interface GigabitEthernet0/0/0
service instance 100 ethernet
encapsulation dot1q 100
xconnect 10.1.1.2 100 encapsulation mpls
<|EOT|>
