
3-5
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 3 Configuring the Switch IP Address and Default Gateway
Default IP Address and Default Gateway Configuration
–
Out-of-band management Ethernet (me1) interface
Configure this interface when assigning an IP address and subnet mask to the out-of-band
management Ethernet interface on the switch.
–
SLIP (sl0) interface
Configure this interface when setting up a point-to-point SLIP connection between a terminal
and the switch.
Default IP Address and Default Gateway Configuration
Table 3-2
shows the default IP address and default gateway configuration.
Setting the In-Band (sc0) Interface IP Address
Before you can Telnet to the switch or use Simple Network Management Protocol (SNMP) to manage
the switch, you must assign an IP address to either the in-band (sc0) logical interface or the management
Ethernet (me1) interface.
You can specify the subnet mask (netmask) using the number of subnet bits or using the subnet mask in
dotted decimal format.
To set the IP address and VLAN membership of the in-band (sc0) management interface, perform this
task in privileged mode:
Table 3-2
Switch IP Address and Default Gateway Default Configuration
Feature
Default Value
In-band (sc0) interface
•
IP address, subnet mask, and broadcast address set to
0.0.0.0
•
Assigned to VLAN 1
Management Ethernet (me1) interface
•
IP address, subnet mask, and broadcast address set to
0.0.0.0
Default gateway address
•
Set to 0.0.0.0 with a metric of 0
SLIP (sl0) interface
•
IP address and SLIP destination address set to 0.0.0.0
•
SLIP for the console port is not active (set to detach)
Task
Command
Step 1
Assign an IP address, subnet mask (or number of
subnet bits), and (optional) broadcast address to
the in-band (sc0) interface.
set interface sc0 [ip_addr[/netmask] [broadcast]]
Step 2
Assign the in-band interface to the proper VLAN
(make sure that the VLAN is associated with the
network to which the IP address belongs).
set interface sc0 [vlan]
Step 3
If necessary, bring the interface up.
set interface sc0 up
Step 4
Verify the interface configuration.
show interface