beautypg.com

Spanning-tree bpdu – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 524

background image

Spanning Tree Commands

Software Reference for x310 Series Switches

19.34

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

spanning-tree bpdu

Use this command in Global Configuration mode to configure BPDU (Bridge Protocol Data
Unit) discarding or forwarding, with STP (Spanning Tree Protocol) disabled on the switch.

See the

Usage

note about disabling Spanning Tree before using this command, and using

this command to forward unsupported BPDUs unchanged for unsupported STP Protocols.

There is not a no variant for this command. Instead, apply the discard parameter to
reset it back to the default then re-enable STP with spanning-tree enable command.

Syntax

spanning-tree bpdu

{discard|forward|forward-untagged-vlan|forward-vlan}

Default

The discard parameter is enabled by default.

Mode

Global Configuration

Usage

You must first disable Spanning Tree with the

no spanning-tree {mstp|rstp|stp} enable

command before you can use this command to then configure BPDU discarding or
forwarding.

This command enables the switch to forward unsupported BPDUs with an unsupported
Spanning Tree Protocol, such as proprietary STP protocols with unsupported BPDUs, by
forwarding BDPU (Bridge Protocol Data Unit) frames unchanged through the switch.

When you want to revert to default behavior on the switch, issue a spanning-tree bdpu
discard
command and re-enable Spanning Tree with a spanning-tree enable command.

Examples

To enable STP BPDU discard in Global Configuration mode with STP disabled, which
discards all ingress STP BPDU frames, enter the commands:

Parameter

Description

bpdu

A port that has BPDU filtering enabled will not transmit any BPDUs
and will ignore any BPDUs received. This port type has one of the
following parameters (in Global Configuration mode):

discard

Discards all ingress STP BPDU frames.

forward

Forwards any ingress STP BPDU packets to all ports,
regardless of any VLAN membership.

forward-

untagged-

vlan

Forwards any ingress STP BPDU frames to all ports
that are untagged members of the ingress port’s
native VLAN.

forward-

vlan

Forwards any ingress STP BPDU frames to all ports
that are tagged members of the ingress port’s native
VLAN.

awplus#

configure terminal

awplus(config)#

no spanning-tree stp enable

awplus(config)#

spanning-tree bpdu discard