cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
426
Views
0
Helpful
2
Replies

switchport, switchport mode trunk

sarahr202
Level 5
Level 5

HI every body!

Let say we have a multilayer switch.We want to configure f0/1 as trunk.

Please consider the following configuration :

switch(config) int f0/1

Switch(config-if) switchport mode trunk

will setting the trunk mode on fo/1 automatically set the port for layer 2 operation or we need to configure the command" switchport"?

thanks a lot!

2 Replies 2

Jerry Ye
Cisco Employee
Cisco Employee

Hi Sarah,

If your port is configured with no switchport, it will not take the switchport mode trunk command. In another word, switchport mode trunk is L2 only.

HTH,

jerry

Roberto Salazar
Level 8
Level 8

You need to do the following:

switch(config) int f0/1

switch(config) switchport

Switch(config-if) switchport mode trunk

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card