Cisco NM-16ESW - EtherSwitch Switch Manuel d'utilisateur Page 32

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 90
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 31
Configuring the Cisco Gigabit EtherSwitch EHWIC
How to Configure Gigabit EtherSwitch EHWICs
32
Configuring the Cisco Gigabit EtherSwitch EHWIC
OL-23155-01
3. spanning-tree vlan vlan_ID cost port_cost
4. end
DETAILED STEPS
Calculating Port Cost
Port cost value calculations are based on the bandwidth of the port. There are two classes of values. Short
(16-bit) values are specified by the IEEE 802.1D specification, and range in value from 1 to 65535. Long
(32-bit) values are specified by the IEEE 802.1t specification, and range in value from1 to 200,000,000.
Assigning Short Port Cost Values
You can manually assign short port costs in the range of 1 to 65535. Table 3 lists the default short port
cost values.
Command Purpose
Step 1
interface gigabitethernet 0/slot/port
Example:
Router(config)#interface gigabitethernet 0/1/2
Selects an interface to configure.
Step 2
spanning-tree cost port_cost
Example:
Router(config-if)#spanning-tree cost 50
Configures the port cost for an interface. The value of
port_cost can be from 1 to 65535.
Use the no form of this command to restore the defaults.
Step 3
spanning-tree vlan vlan_ID cost port_cost
Example:
Router(config-if)#spanning-tree vlan 1 cost 50
Configures the VLAN port cost for an interface. The value
of port_cost can be from 1 to 65535.
Use the no form of this command to restore the defaults.
Step 4
end
Example:
Router(config-if)#end
Exits configuration mode.
Table 3 Default Short Port Cost Values
Port Speed Default Cost Value
10 Mbps 100
100 Mbps 19
1000 Mbps 4
Vue de la page 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 89 90

Commentaires sur ces manuels

Pas de commentaire