router on a stick trunking
ako4130
Member Posts: 2 ■□□□□□□□□□
in CCNA & CCENT
I am seeking advice on what to do regarding a scenario based on the ICND exam. Which configuration do I use when using trunking on a router on a stick?
I have the following configuration given in Odom's Self Study book ICND Exam certification guide, pg. 309.
interface fastethernet 0
ip address 10.1.1.1 255.255.255.0
interface fasthethernet 0.2
ip address 10.1.2.1 255.255.255.0
encapsulation dot1q 2
interface fastethernet 0.3
ip address 10.1.3.1 255.255.255.0
encapsulation dot1q 3
I also have the following configuration in CCNA Portable Command Guide by Scott Empson pg.129 to be used on subinterfaces:
int fa 0
no shut
int fa 0.1
encapsulation dot1q 1 native
ip address 10.1.1.1 255.255.255.0
int fa 0.2
encapsulation dot1q 2
ip address 10.1.2.1 255.255.255.0
I tried both configurations on a simulation called packet tracer 4.1 and the second configuration worked but the command switchport access vlan 1 did not show up on the running configuration.
I tried the first configuration on the simulation and it worked and the configuration displayed all commands on the running config. My question is which one should I use when studying for the exam?
I have the following configuration given in Odom's Self Study book ICND Exam certification guide, pg. 309.
interface fastethernet 0
ip address 10.1.1.1 255.255.255.0
interface fasthethernet 0.2
ip address 10.1.2.1 255.255.255.0
encapsulation dot1q 2
interface fastethernet 0.3
ip address 10.1.3.1 255.255.255.0
encapsulation dot1q 3
I also have the following configuration in CCNA Portable Command Guide by Scott Empson pg.129 to be used on subinterfaces:
int fa 0
no shut
int fa 0.1
encapsulation dot1q 1 native
ip address 10.1.1.1 255.255.255.0
int fa 0.2
encapsulation dot1q 2
ip address 10.1.2.1 255.255.255.0
I tried both configurations on a simulation called packet tracer 4.1 and the second configuration worked but the command switchport access vlan 1 did not show up on the running configuration.
I tried the first configuration on the simulation and it worked and the configuration displayed all commands on the running config. My question is which one should I use when studying for the exam?
Comments
-
dtlokee Member Posts: 2,378 ■■■■□□□□□□They are both valid configs, in the first one the physical interface is going to catch all the traffic on the native VLAN (untagged). Some people like the second example because it seems to be more consistent.The only easy day was yesterday!
-
networker050184 Mod Posts: 11,962 ModI tried both configurations on a simulation called packet tracer 4.1 and the second configuration worked but the command switchport access vlan 1 did not show up on the running configuration.
This is because it is a routed port and not a switchport.An expert is a man who has made all the mistakes which can be made. -
Plazma Member Posts: 503gotta have a trunk port between the router and the switchportCCIE - COMPLETED!