Ip Addressing And Services - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

This is Core_Switch1 for the XYZ corporation.
You have accessed a restricted device, unauthorized logins are prohibited.
*
Core_Switch1(config)# end
Core_Switch1# copy running-config startup-config

3-2: IP Addressing and Services

Switches use IP addresses and services for management purposes.
IP addresses can be set or obtained using Dynamic Host Configuration Protocol
(DHCP), BOOTstrap Protocol (BOOTP), or Reverse Address Resolution
Protocol (RARP).
Gateways, routes to networks, and default routes are established to allow communi-
cations with devices that are not local to the management network.
Static entries or DNS servers can be used to resolve computer names.
HTTP services are available for some switches to provide a configuration interface.
Simple Network Management Protocol (SNMP) service allows for switch configu-
ration and management.
Configuring an IP Management Address
IP addresses are used in Layer 2 switches for management purposes only. This step is not
required to make the switch operational. If you do not configure an IP address, however,
the only way to manage the switch is by using the console connection.
(Optional; recommended) Configure the IP address.
1.
a. Configure the IP address manually:
(global) interface vlan vlannumber
(interface or subinterface) ip address address mask
(interface or subinterface) management
Catalyst switches can have an active management address in only one VLAN.
The management command on the Layer 2 IOS switches specifies which VLAN
is active. VLAN 1 is the default management VLAN for IOS. On a Layer 2 IOS
switch, if VLAN 1 is not the management VLAN, the prompt reads "subinter-
face."
To view the IP configuration, use the show interface vlan n (where n is your
VLAN number) command.
Note This addressing section deals exclusively with Layer 2 management addresses and
interfaces only. Layer 3 interfaces are discussed in Chapter 5, "Layer 3 Interface
Configuration."
Chapter 3: Supervisor Engine Configuration 27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents