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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 3550-12G?

Status
Not open for further replies.

Prologix

Technical User
Apr 23, 2003
4
0
0
US
How do you assign ip addresses to individual ports on a Cisco 3550-12G? The IOS is Version 12.1(13) EA1aVersion 12.1(13) EA1a. I have attempted the following:
Core_Switch(config)#int gi0/1
Core_Switch(config-if)#ip address 199.100.10.1 255.255.255.0
And get an error:
% IP addresses may not be configured on L2 links.

I have enabled ip routing at the global and am stumped.
 
you need to create VLANs for each network you require, assign the IP address to the VLAN and then place the port in the VLAN. The following assumes a single VLAN per interface and therefore no trunking protocol is required.

interface vlan 100
ip address 192.168.100.1 255.255.255.0
no shut

interface vlan 200
ip address 192.168.200.1 255.255.255.0
no shut

interface vlan 300
ip address 192.168.300.1 255.255.255.0
no shut

interface gig0/1
switchport mode access
switchport access vlan 100

interface gig0/2
switchport mode access
switchport access vlan 200

interface gig0/3
switchport mode access
switchport access vlan 300
 
int g 0/1
no switchport
ip address 192.168.1.1 255.255.255.0




*J*
 
Thank you both very much. I am attempting the second piece of advice because I was all ready kind of doing the first. I need two and ony two vlans per port for 10 of the 12 ports. I would like to use the vlan solution but I am failing at appling two vlans to each port.
 
You need to set up the port as a trunk to be able to assign more than one VLAN to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top