Port type and link type, Edge port, Link type – Juniper Networks EX2500 User Manual

Page 52: Rstp configuration guidelines, Rstp configuration example, Edge port link type

Advertising
background image

EX2500 Ethernet Switch Configuration Guide

38

„

Rapid Spanning Tree Protocol

Port Type and Link Type

Spanning tree configuration includes the following parameters to support RSTP and
MSTP: edge port and link type.

Edge Port

A port that does not connect to a bridge is called an edge port. Edge ports can start
forwarding as soon as the link is up.

Edge ports do not take part in Spanning Tree, and should not receive BPDUs. A port
with edge enabled is intended to be connected directly to a host. If a port with edge
enabled does receive a BPDU, it immediately begins working as a normal port, and
participates in Spanning Tree.

Link Type

The link type determines how the port behaves in regard to Rapid Spanning Tree.
The link type corresponds to the duplex mode of the port. A full-duplex link is
point-to-point (

p2p

), while a half-duplex link should be configured as

shared

. If you

select

auto

as the link type, the port dynamically configures the link type.

RSTP Configuration Guidelines

This section provides important information about configuring Rapid Spanning
Tree Groups:

„

When RSTP is turned on, STP parameters apply only to Spanning Tree Group 1.

„

When RSTP is turned on, Spanning Tree Groups 2 through 128 are turned off.

„

When RSTP is turned on, all VLANs are moved to Spanning Tree Group 1.

RSTP Configuration Example

This section provides steps to configure Rapid Spanning Tree on the EX2500
switch, using the command-line interface (CLI).

Rapid Spanning Tree Protocol is the default setting on the EX2500 switch.

Use the following procedure to configure Rapid Spanning Tree.

1.

Configure port and VLAN membership on the switch.

2.

Set the spanning-tree mode to Rapid Spanning Tree.

ex2500(config)# spanning-tree mode rstp

Advertising