Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 404
  • Last Modified:

configuring trunk on a cisco port

Hi Experts,

I was reading on a lab scenario and I see 2 ways . I am not sure which one is the correct one.

SWA(CONFIG)# interface fa0/1
SwA(config-if)# switchport trunk encapsulation dot1q
SwA(config-if)#Switchport mode trunk

or

SwA(config)# interface fa0/1
SwA(config-if)#Switchport encapsulation dot1q
SwA(config-if)#Switchport mode trunk

can you please tell me which one is correct ?
0
Zak Z
Asked:
Zak Z
3 Solutions
 
agonza07Commented:
1st one, you need the trunk command before you set the encapsulation on it.
0
 
fgasimzadeCommented:
First one is correct
0
 
stilldmoneyCommented:
3rd to agree.. 1 is correct. Is there anything else you need help with?
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now