Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Layer 2 Protocol Tunneling and BPDU Protection (NSM Procedure)

    Layer 2 protocol tunneling allows Layer 2 protocol data units (PDUs) to be tunneled through a network. This is useful to provide a single Spanning Tree Protocol (STP) domain for subscribers across a service provider network. On the MX Series routers only, you can configure Bridge Protocol Data Unit (BPDU) protection to ignore BPDUs received on interfaces where none should be expected (for example, a LAN interface on a network edge with no other bridges present). If a BPDU is received on a blocked interface, the interface is disabled and stops forwarding frames. By default, all BPDUs are accepted and processed on all interfaces.

    To configure layer 2 protocol tunneling and BPDU protection in NSM:

    1. In the NSM navigation tree, select Device Manager > Devices.
    2. Click the Device Tree tab, and then double-click the device to select it.
    3. Click the Configuration tab. In the configuration tree, expand Protocols > Layer2 Control.
    4. Add or modify settings as specified in Table 1.
    5. Click one:
      • OK—Saves the changes.
      • Cancel—Cancels the modifications.

    Table 1: Layer2 Circuit Configuration Details

    TaskYour Action

    Enable BPDU blocking on an interface.

    1. Click Bpdu Block next to Layer2 Control.
    2. In the Comment box, enter the comment.
    3. From the Disable Timeout list, select the disable timeout value.

      Range: 10 through 3600

      Default: If this option is not configured, the interface is not periodically checked and remains disabled

    4. Click Interface next to Bpdu Block.
    5. Click Add new entry next to Interface.
    6. In the Name box, enter the interface name.
    7. In the Comment box, enter the comment.

    Enable rewriting of the MAC address for Layer 2 protocol tunneling.

    1. Click mac Rewrite next to Layer2 Control.
    2. In the Comment box, enter the comment.
    3. Click Interface next to Bpdu Block.
    4. Click Add new entry next to Interface.
    5. In the Name box, enter the interface name.
    6. In the Comment box, enter the comment.
    7. Click Protocol next to interface.
    8. In the Comment box, enter the comment.
    9. Click Cdp next to Protocol.
    10. In the Comment box, enter the comment.
    11. Click Stp next to Protocol.
    12. In the Comment box, enter the comment.
    13. Click Vtp next to Protocol.
    14. In the Comment box, enter the comment.

    Define tracing options.

    1. Click Traceoptions next to Layer2 Control.
    2. In the Comment box, enter the comment for the traceoptions.
    3. Click File next to Traceoptions.
    4. In the Comment box, enter the comment for the file.
    5. In the Filename box, enter the name of the file to receive the output of the tracing operation.
    6. In the Size box, enter the maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB).
    7. From the Files list, select the maximum number of trace files.

      Range: 2 through 1000.

    8. Select one of the following:
      • world-readable—To enable unrestricted file access.
      • no-world-readable—To restrict file access to owner. This is the default setting.
    9. In the Match box, enter the regular expression.
    10. Click Add new entry next to Flag.
    11. From the Name list, select the flag.
    12. Select the Disable check box to disable the tracing operation.

    Published: 2013-01-02