diallodjeri
08-07-2011, 01:07 AM
Hi Folks,
I'm bit confused :confused:about the Vlan configuration and the router on the stick in the figure 11.10 on the page 584 ,in my understanding every ports by default are on the vlan 1. But in order to configure a router on stick with 3 vlans: vlan 1,vlan 2 and vlan 3, Todd wrote as followed:
switch#conf t
switch(config)#int f0/2
switch(config-if)#switchport access vlan 1
switch(config)#int f0/4
switch(config-if)#switchport access vlan 1 etc...
If every ports are on the vlan 1 by default I don't see the need to try to put on vlan 1 the're already there.
Please help me here:confused:
I guess I should say that I'm comfortable with vlan and router on the stick configuration but what I don't get is why Todd wrote:
switch(config-if)#switchport access vlan 1. Like I said every port are on vlan 1 already by default.
I'm bit confused :confused:about the Vlan configuration and the router on the stick in the figure 11.10 on the page 584 ,in my understanding every ports by default are on the vlan 1. But in order to configure a router on stick with 3 vlans: vlan 1,vlan 2 and vlan 3, Todd wrote as followed:
switch#conf t
switch(config)#int f0/2
switch(config-if)#switchport access vlan 1
switch(config)#int f0/4
switch(config-if)#switchport access vlan 1 etc...
If every ports are on the vlan 1 by default I don't see the need to try to put on vlan 1 the're already there.
Please help me here:confused:
I guess I should say that I'm comfortable with vlan and router on the stick configuration but what I don't get is why Todd wrote:
switch(config-if)#switchport access vlan 1. Like I said every port are on vlan 1 already by default.