Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to add switchports into a VLAN on 877

Hi all. I've got a Cisco 877 to replace our old shoddy ADSL router.

I want to connect it to our internal network so the PC's and server can use it as the Internet gateway.

Now obviously i'll need to configure an IP address for them to look at, but when I try to conigure an IP address on E0, I get the 'go away, you can give a switchport and IP address fool' message...

I can rememeber something about needing to create a VLAN, give it an IP address and assign the switch port to that VLAN, but, alas, I cant remember how to do it.

Can someone help?

Thanks!!

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: how to add switchports into a VLAN on 877

If you use VLAN 1 as your interface VLAN, then you shouldn't have to do anything special to the access port. It should by default be a member of VLAN 1.

Make sure the port is a member of VLAN 1 by using 'switchport access vlan 1'

7 REPLIES
New Member

Re: how to add switchports into a VLAN on 877

you'll need to issue the 'no switchport' command prior to attempting to put an IP address on that switchport.

New Member

Re: how to add switchports into a VLAN on 877

Ah OK, they then become 'normal' interfaces then?

New Member

Re: how to add switchports into a VLAN on 877

the 'no switchport' command makes the port a routed interface.

New Member

Re: how to add switchports into a VLAN on 877

Ok, I get these choices, any reccomendations?

inetrtr(config-if)#no switchport ?

access Set access mode characteristics of the interface

mode Set trunking mode of the interface

priority Set 802.1p priorities

trunk Set trunking characteristics of the interface

voice Voice appliance attributes

Re: how to add switchports into a VLAN on 877

Not on a 877 it doesn't.... The FastEthernet interfaces on the 877 are ONLY Layer-2 switchports - they can be trunks and Voice VLAN enabled access ports but they CAN'T be routed interfaces.

By default they are all assigned as access ports attached to VLAN 1 so you would need to create the VLAN SVI and assign an IP address to this:

interface VLAN 1

ip address 10.1.1.1 255.255.255.0

HTH

Andy

New Member

Re: how to add switchports into a VLAN on 877

Right and then simply make the relevant port (E0) a member of VLAN 1

New Member

Re: how to add switchports into a VLAN on 877

If you use VLAN 1 as your interface VLAN, then you shouldn't have to do anything special to the access port. It should by default be a member of VLAN 1.

Make sure the port is a member of VLAN 1 by using 'switchport access vlan 1'

242
Views
0
Helpful
7
Replies
CreatePlease login to create content