Configuring Layer 2 Protocol Tunneling
You can configure Layer 2 protocol tunneling under the following hierarchy levels:
- [edit ]
- [edit routing-instances routing-instance-name]
To configure Layer 2 protocol tunneling:
- Enable MAC address rewriting for Layer 2 protocol
tunneling:
[edit ... ]
user@host# edit protocols layer2-control mac-rewrite - Configure the Layer 2 protocol tunnel interface:
[edit ... protocols layer2-control mac-rewrite]
user@host# edit interface ge-fpc/pic/port - Configure the Layer 2 protocol to be tunneled:
[edit ... protocols layer2-control mac-rewrite interface ge-fpc/pic/port]
user@host# set protocol (cdp | stp | vtp) Verify the configuration:
user@host> show ... protocols protocols {layer2-control {mac-rewrite {interface ge-fpc/pic/port {protocol (cdp | stp | vtp);}}}}