
Cisco Catalyst 3750 and 2970 Switches: Using Switches with a PS Series Group
7
Cisco Switch Interfaces
For Cisco Catalyst 3750 and 2970 switches, an interface name is composed of three parts that are
formatted as follows:
slot_number/interface_module_number/port_number
The variables are as follows:
•
slot_number - The switch slot in which the interface module is installed. Module slots are
numbered 0 to 12, from top to bottom. In the case of the Cisco 3750 switch, the first switch in
a stack is slot number 1; then, the slot numbers increase by one for each switch added to the
stack. In the case of the Cisco 2970 switch, the slot number is always 1. If not specified in a
command, the default value will be the slot or switch to which you are currently connected.
•
interface_module_number - The number of the interface module for this port. When the
module consists of a single card or, in the case of the Cisco 3750 and 2970, this number is
always 0.
•
port_number - The port number on the interface module or, in the case of the Cisco 3750 and
2970, the port number on the switch. Also, keep in mind that, for some commands, you can
assign several ports at once by using wildcards, such as
1/0/1-12 for the first twelve ports on
module 0, switch 1.
Enabling the PortFast Option to Configure STP Edge Ports
To configure STP edge ports on Cisco Catalyst 3750 and 2970 switches, you must enable the
PortFast option. PortFast minimizes the time that ports must wait for Spanning-Tree to converge
and should only be used on ports connected to end nodes (end stations), including iSCSI initiators
and storage array network interfaces.
Caution: Connecting hubs, concentrators, switches, or bridges to a port that has PortFast enabled
can cause temporary spanning-tree loops. You should not enable PortFast on these
ports.
The following example shows how to enable PortFast on Gigabit Ethernet interface 0/1 on
switch 1:
Switch> enable
Switch# config t
Switch(config)# int gigabit 1/0/1
Switch(config-if)# spanning-tree portfast
Switch(config-if)# exit
Switch(config)# exit
Switch# copy running-config startup-config
To view or confirm Port Fast status on a port, use the following command.
Switch# show spanning-tree interface gigabitethernet0/1
Comentarios a estos manuales