Configuring Loop Protection for a Spanning-Tree Instance Interface
Before you begin, you must fully configure the spanning-tree protocol, including instance
interfaces. You can configure RSTP, MSTP, or VSTP at the following hierarchy levels:
•
[edit protocols]
•
[edit routing-instances routing-instance-name protocols]
To configure enhanced loop protection:
1. Include the bpdu-timeout-action statement with either the block or log option for the
spanning-tree protocol interface.
•
For the STP or RSTP instance on a physical interface:
[edit]
protocols {
rstp {
interface interface-name {
bpdu-timeout-action (log | block);
}
}
}
•
For all MSTP instances on a physical interface:
[edit]
protocols {
mstp {
interface interface-name {
bpdu-timeout-action (log | block);
}
}
}
•
For all VSTP instances on a physical interface configured at the global level or a
the VLAN level:
[edit]
protocols {
vstp {
interface interface-name {
bpdu-timeout-action (log | block);
}
vlan vlan-id {
interface interface-name {
bpdu-timeout-action (log | block);
}
}
}
}
2. To display the spanning-tree protocol loop protection characteristics on an interface,
use the show spanning-tree interface operational command.
Copyright © 2017, Juniper Networks, Inc.428
ACX Series Universal Access Router Configuration Guide