12-9
Catalyst 2928 Switch Software Configuration Guide
OL-23389-01
Chapter 12 Configuring Interface Characteristics
Using Interface Configuration Mode
Connecting Interfaces
Devices within a single VLAN can communicate directly through any switch. Ports in different VLANs
cannot exchange data without going through a routing device. In the configuration shown in
when Host A in VLAN 20 sends data to Host B in VLAN 30, the data must go from Host A to the switch,
to the router, back to the switch, and then to Host B.
Figure 12-1
Connecting VLANs with Layer 2 Switches
Using Interface Configuration Mode
The switch supports these interface types:
•
Physical ports—switch ports
•
VLANs—switch virtual interfaces
•
Port channels—EtherChannel interfaces
You can also configure a range of interfaces (see the
“Configuring a Range of Interfaces” section on
).
To configure a physical interface (port), specify the interface type, module number, and switch port number,
and enter interface configuration mode.
•
Type—Fast Ethernet (fastethernet or fa) for 10/100 Mb/s Ethernet, Gigabit Ethernet (gigabitethernet
or gi) for 10/100/1000 Mb/s Ethernet ports or small form-factor pluggable (SFP) module Gigabit
Ethernet interfaces.
•
Module number—The module or slot number on the switch (always 0 on the Catalyst 2928 switch).
•
Port number—The interface number on the switch. The port numbers always begin at 1, starting with
the far left port when facing the front of the switch, for example, fastethernet0/1 or
gigabitethernet0/1. If there is more than one interface type (for example, 10/100 ports and SFP
module ports, the port numbers restart with the second interface type: gigabitethernet0/1.For a
switch with 10/100/1000 ports and SFP module ports, SFP module ports are numbered
consecutively following the 10/100/1000 ports.
Host A
Switch
Cisco router
VLAN 20
Host B
VLAN 30
46647