Assigning The In-Band (Sc0 And Sc1) Interface Ip Address - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 3
Configuring the Switch IP Address and Default Gateway

Assigning the In-Band (sc0 and sc1) Interface IP Address

Before you can use Telnet to access the switch or use SNMP to manage the switch, you must assign an
IP address to one of the in-band (sc0 or sc1) logical interfaces.
Use the set interface {sc0 | sc1} 0.0.0.0 command to set (clear) the sc1 or sc0 interfaces back to their
Tip
default address of 0.0.0.0.
If you configure two inband interfaces, sc0 and sc1, the switch is directly accessible from two different
Tip
VLANs at the same time.
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 or sc1) management interface, perform
this task in privileged mode (in this example, the sc0 interface is configured):
Task
Step 1
Assign an IP address, subnet mask (or number of
subnet bits), and (optional) broadcast address to
an in-band (sc0 or sc1) interface.
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).
Step 3
If necessary, bring the interface up.
Step 4
Verify the interface configuration.
This example shows how to assign an IP address, specify the number of subnet bits, and specify the
VLAN assignment for the in-band sc0 interface:
Console> (enable) set interface sc0 172.20.52.124/29
Interface sc0 IP address and netmask set.
Console> (enable) set interface sc0 5
Interface sc0 vlan set.
Console> (enable)
This example shows how to specify the VLAN assignment, assign an IP address, specify the subnet mask
in dotted decimal format, and verify the configuration. In this example, the sc0 interface is configured (the
sc1 and sl0 interfaces have not been configured):
Console> (enable) set interface sc0 5 172.20.52.124/255.255.255.248
Interface sc0 vlan set, IP address and netmask set.
Console> (enable) show interface
sl0: flags=51<UP,POINTOPOINT,RUNNING>
sc0: flags=63<UP,BROADCAST,RUNNING>
sc1: flags=62<DOWN,BROADCAST,RUNNING>
OL-8978-04
slip 0.0.0.0 dest 0.0.0.0
vlan 5 inet 172.20.52.124 netmask 255.255.255.248 broadcast 172.20.52.17
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Assigning the In-Band (sc0 and sc1) Interface IP Address
Command
set interface {sc0 | sc1} [ip_addr [netmask
[broadcast]]]
or
set interface {sc0 | sc1} [ip_addr/netmask
[broadcast]]
set interface {sc0 | sc1} [vlan]
set interface {sc0 | sc1} up
show interface
3-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents