Dell PowerEdge M420 Dell Converged Enhanced Ethernet Administrator's Guide - Page 77

Enabling a port (interface) as an edge port, Enabling the guard root,

Page 77 highlights

Configuring STP, RSTP, or MSTP on CEE interface ports 6 To configure the path cost for spanning tree calculations on the CEE interface, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to access global configuration mode. 2. Enter the interface command to specify the CEE interface type and slot/port number. switch(config)#interface intengigabitethernet 0/1 3. Enter the no shutdown command to enable the CEE interface. 4. Enter the spanning-tree command to configure the path cost for spanning tree calculations on the CEE interface. switch(conf-if-te-0/1)#spanning-tree cost cost Enabling a port (interface) as an edge port From the CEE interface, use this command to enable the port as an edge port to allow the port to quickly transition to the forwarding state. To configure a port as an edge port, follow these guidelines: • A port can become an edge port if no BPDU is received. • When an edge port receives a BPDU, it becomes a normal spanning tree port and is no longer an edge port. • Because ports that are directly connected to end stations cannot create bridging loops in the network, edge ports transition directly to the forwarding state and skip the listening and learning states. • This command is only for RSTP and MSTP. Use the spanning-tree portfast command for STP (see "Enabling port fast (STP)" on page 61). To enable the CEE interface as an edge port, perform the following steps from Privileged EXEC mode. 1. Enter the configure terminal command to access global configuration mode. 2. Enter the interface command to specify the CEE interface type and slot/port number. switch(config)#interface intengigabitethernet 0/1 3. Enter the no shutdown command to enable the CEE interface. 4. 5. Enter the spanning-tree command to enable the CEE interface as an edge port. switch(conf-if-te-0/1)#spanning-tree edgeport 6. Enter the spanning tree command again to assign a BPDU filter or BPDU guard. switch(conf-if-te-0/1)#spanning-tree edgeport bpdu-filter Enabling the guard root From the CEE interface, use this command to enable the guard root on the switch. The guard root feature provides a way to enforce the root bridge placement in the network. With the guard root enabled on an interface, the switch is able to restrict which interface is allowed to be the spanning tree root port or the path to the root for the switch. The root port provides the best path from the switch to the root switch. By default, guard root is disabled. Dell Converged Enhanced Ethernet Administrator's Guide 59 53-1002116-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

Dell Converged Enhanced Ethernet Administrator’s Guide
59
53-1002116-01
Configuring STP, RSTP, or MSTP on CEE interface ports
6
To configure the path cost for spanning tree calculations on the CEE interface, perform the
following steps from Privileged EXEC mode.
1.
Enter the
configure terminal
command to access global configuration mode.
2.
Enter the
interface
command to specify the CEE interface type and slot/port number.
switch(config)#
interface intengigabitethernet 0/1
3.
Enter the
no shutdown
command to enable the CEE interface.
4.
Enter the
spanning-tree
command to configure the path cost for spanning tree calculations on
the CEE interface.
switch(conf-if-te-0/1)#
spanning-tree cost cost
Enabling a port (interface) as an edge port
From the CEE interface, use this command to enable the port as an edge port to allow the port to
quickly transition to the forwarding state. To configure a port as an edge port, follow these
guidelines:
A port can become an edge port if no BPDU is received.
When an edge port receives a BPDU, it becomes a normal spanning tree port and is no longer
an edge port.
Because ports that are directly connected to end stations cannot create bridging loops in the
network, edge ports transition directly to the forwarding state and skip the listening and
learning states.
This command is only for RSTP and MSTP. Use the
spanning-tree portfast
command for STP
(see
“Enabling port fast (STP)”
on page 61).
To enable the CEE interface as an edge port, perform the following steps from Privileged EXEC
mode.
1.
Enter the
configure terminal
command to access global configuration mode.
2.
Enter the
interface
command to specify the CEE interface type and slot/port number.
switch(config)#
interface intengigabitethernet 0/1
3.
Enter the
no shutdown
command to enable the CEE interface.
4.
5.
Enter the
spanning-tree
command to enable the CEE interface as an edge port.
switch(conf-if-te-0/1)#
spanning-tree edgeport
6.
Enter the
spanning tree
command again to assign a BPDU filter or BPDU guard.
switch(conf-if-te-0/1)#
spanning-tree edgeport bpdu-filter
Enabling the guard root
From the CEE interface, use this command to enable the guard root on the switch. The guard root
feature provides a way to enforce the root bridge placement in the network. With the guard root
enabled on an interface, the switch is able to restrict which interface is allowed to be the spanning
tree root port or the path to the root for the switch. The root port provides the best path from the
switch to the root switch. By default, guard root is disabled.