Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting 6509 to the Network

Status
Not open for further replies.

WanderingSailor

IS-IT--Management
Nov 6, 2001
21
US
I have a really dumb question...I have a 6509 Catalyst Switch, wiht a Supervisor 2 Engine (2 GBICS mods), 2 48-port Ethernet blades...The documentation says to configure the sc0 in-band with a network IP address...I've done that, but....How do I "physically" connect the Switch to the Network?...Do I configure one of the Ethernet ports, or what?...I feel silly asking, but I am in a remote location, so information is hard to come by....Thanks for any and all help!
 
When you say connect to the network, does this mean you have a switched network already.

If you do and it has a GBIC uplink, you can use a fiber to connect from the 6509 GBIC to the Switch GBIC.

If yo do not have a spare GBIC already to connect the 6509 GBIC to, you could use one of the fast ethernet ports or a bunch of them to form an etherchannel. Here you will have to use a cross over cable.

For example, using 4 100MB fast Ethernet ports on your 6509 and then you will get 400MB and conect this to 4 spare ports on the switch network.

Hope this helps.

Cheers
 
Two ways to configure switch management: in-band and out-of-band. Out-of-band is physically connecting a console cable. In-band is accessing the switch by Telnet command. To Telnet to the switch you have to configure an IP address which is done configuring the sc0 interface. This material is from the switch configuration documentation. Let us know if yoy still have any question.

Assigning the In-Band (sc0) Interface IP Address
Before you can Telnet to the switch or use SNMP to manage the switch, you must assign an IP address to the in-band (sc0) logical 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:

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 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




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:

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>
slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 5 inet 172.20.52.124 netmask 255.255.255.248 broadcast 172.20.52.17
Console> (enable)

Configuring Default Gateways
The supervisor engine sends IP packets destined for other IP subnets to the default gateway (typically, a router interface in the same network or subnet as the switch IP address). The switch does not use the IP routing table to forward traffic from connected devices; the switch forwards only IP traffic generated by the switch itself (for example, Telnet, TFTP, and ping).


--------------------------------------------------------------------------------
Note In some cases, you might want to configure static IP routes in addition to default gateways. For information on configuring static routes, see the &quot;Configuring Static Routes&quot; section 20-7.

--------------------------------------------------------------------------------

You can define up to three default IP gateways. Use the primary keyword to make a gateway the primary gateway. If you do not specify a primary default gateway, the first gateway configured is the primary gateway. If more than one gateway is designated as primary, the last primary gateway configured is the primary default gateway.

The switch sends all off-network IP traffic to the primary default gateway. If connectivity to the primary gateway is lost, the switch attempts to use the backup gateways in the order they were configured. The switch sends periodic ping messages to determine whether each default gateway is up or down. If connectivity to the primary gateway is restored, the switch resumes sending traffic to the primary gateway.

To configure one or more default gateways, perform this task in privileged mode:

Task Command
Step 1
Configure a default IP gateway address for the switch.
set ip route default gateway [metric] [primary]

Step 2
(Optional) Configure additional default gateways for the switch.
set ip route default gateway [metric] [primary]

Step 3
Verify that the default gateways appear correctly in the IP routing table.
show ip route




To remove default gateway entries, perform one of these tasks in privileged mode:

Task Command

Clear an individual default gateway entry.
clear ip route default gateway


Clear all default gateways and static routes.
clear ip route all




This example shows how to configure three default gateways on the switch and how to verify the default gateway configuration:

Console> (enable) set ip route default 10.1.1.10

Route added.

Console> (enable) set ip route default 10.1.1.20

Route added.

Console> (enable) set ip route default 10.1.1.1 primary

Route added.

Console> (enable) show ip route

Fragmentation Redirect Unreachable

------------- -------- -----------

enabled enabled enabled


The primary gateway: 10.1.1.1

Destination Gateway RouteMask Flags Use Interface

--------------- --------------- ---------- ----- -------- ---------

default 10.1.1.1 0x0 UG 6 sc0

default 10.1.1.20 0x0 G 0 sc0

default 10.1.1.10 0x0 G 0 sc0

10.0.0.0 10.1.1.100 0xff000000 U 75 sc0

default default 0xff000000 UH 0 sl0

Console> (enable)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top