Technical Documentation

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:

  1. Enable MAC address rewriting for Layer 2 protocol tunneling:

    [edit ... ]
    user@host# edit protocols layer2-control mac-rewrite
  2. Configure the Layer 2 protocol tunnel interface:

    [edit ... protocols layer2-control mac-rewrite]
    user@host# edit interface ge-fpc/pic/port
  3. 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)
  4. Verify the configuration:

    user@host> show ... protocols protocols {layer2-control {mac-rewrite {interface ge-fpc/pic/port {protocol (cdp | stp | vtp);}}}}

Published: 2010-05-11