Port Priority And Cost; Port Type; Bpdu Filter - Mellanox Technologies Mellanox SX1018 User Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

host, is to converge quickly, while the required behavior of a port connected to a switch entity is
to converge based on the RSTP parameters.
Additionally, it adds security issues on a port and switch basis, allowing the operator to deter-
mine the state and role of a port or the entire switch should an abnormal event occur. For exam-
ple: If a port is configured to be root-guard, the operator will not allow it to become a root-port
under any circumstances, regardless of any BPDU that will have been received on the port.
5.5.1

Port Priority and Cost

When two ports on a switch are part of a loop, the STP port priority and port path cost configura-
tion determine which port on the switch is put in the forwarding state and which port is put in the
blocking state.
To configure port priority use the following command:
switch (config interface etherent <inf>)# spanning-tree port-priority <0-240>
To configure port path cost use the following command:
switch (config interface etherent <inf>)# spanning-tree cost <1-200000000>
5.5.2

Port Type

Port type has the following configuration options:
• edge – is not assumed to be converged by the RSTP learning/forwarding mechanism. It
converges to forwarding quickly.
It is recommended to configure the port type for all ports connected to hosts as edge
ports.
• normal – is assumed to be connected to a switch, thus it tries to be converged by the
RSTP learning/forwarding. However, if it does not receive any BPDUs, it is operation-
ally moved to be edge.
• network – is assumed to be connected to a switch. If it does not receive any BPDUs, it
is moved to discarding state.
Each of these configuration options is mutually exclusive.
Port type is configured using the command spanning-tree port type. It may be applied globally on
the switch (Config) level, which configures all switch interfaces. Another option is to configure
ports individually by entering the interface's configuration mode.
• Global configuration:
switch (config)# spanning-tree port type {edge , normal , network} default
• Interface configuration:
switch (config interface etherent <inf>)# spanning-tree port type {edge , normal, net-
work}
5.5.3

BPDU Filter

Using BPDU filter prevents the CPU from sending/receiving BPDUs on specific ports.
Mellanox Technologies Confidential
Mellanox Technologies
71
Rev 1.6.9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents