background image
606
Appendix B
Configuring the Catalyst 1900 Switch
Name server 2: 0.0.0.0
HTTP server : Enabled
HTTP port : 80
RIP : Enabled
Todd1900EN#
To change the IP address and default gateway on the switch, you can
either type in new addresses or remove the IP information with the no ip
address
and no ip default-gateway commands.
Configuring Switch Interfaces
It is important to understand how to access switch ports. The 1900 switch
uses the type slot/port command. For example, Ethernet 0/3 is 10BaseT
port 3. Another example would be Fast Ethernet 0/26. This is the first of the
two Fast Ethernet ports available on the 1900 switch.
The 1900 switch type slot/port command can be used with either the
interface
command or the show command. The interface command
allows you to set interface-specific configurations. The 1900 switch has only
one slot: zero (0).
The help screens, for configuring interfaces, are only moderately helpful.
The help screens will show you that the ports are 1­24 for Ethernet, and ports
26 and 27 are available for Fast Ethernet only. Since this is a 1912, it really
only has ports 1­12. However, there is a port 25 on the back of the switch.
This is an Attachment Unit Interface (AUI) adapter for connecting switches
together, or even for connecting the 1900 switch to a coax Ethernet network.
Configuring the 10BaseT Interfaces
To configure an interface on a 1900 switch, go to global configuration mode
and use the interface command. The following help screens describe the
type
slot/port configuration method. From global configuration, use the
interface
command and the type, either Ethernet or Fast Ethernet inter-
face. I am going to demonstrate the Ethernet interface configuration first.
Todd1900EN#config t
Enter configuration commands, one per line. End with CNTL/Z
Todd1900EN(config)#int ethernet ?
<0-0> IEEE 802.3
The output asks for the slot. Since the 1900 switch is not modular, there
is only one slot. The next output gives us a slash (/) to separate the slot/port
configuration.
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com