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

1811 8-port switch

Hey all. I usually use 1750 routers and connect E0 to the WAN link and FA0 to the LAN ip.

Now, I have an 181 with 2 FA ports and an 8 port built in switch. How can I put all 8 ports into a vlan sharing the same ip range so that I don't have to use an external switch directly plugged into fa1?

Assume that fa1 is ip 192.168.1.2/24.

Thanks

2 REPLIES
Hall of Fame Super Blue

Re: 1811 8-port switch

Hi

router(config)# vlan database

router(vlan)# vlan 10 media ethernet name vlan10

router(vlan)# exit

This will create your vlan.

Create your layer 3 interface for vlan 10

int vlan 10

ip address 192.168.1.2 255.255.255.0

no shut

to add ports to that vlan

int fa2

switchport mode access

switchport access vlan 10

spanning-tree portfast

HTH

Jon

Bronze

Re: 1811 8-port switch

All the switch ports are in VLAN1 by default, but this is a more secure method.

And FYI, in global config mode, you can do "int range fa2 - 9" and edit all 8 switch ports at once.

Saves a little time. And only use the portfast command if you're sure no one will be plugging in any switches downstream.

139
Views
0
Helpful
2
Replies
CreatePlease login to create content