cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
157
Views
0
Helpful
1
Replies

Difficulty in making trunk port

alam
Level 1
Level 1

I am making trunk port in already configured switch. port 21/ 23/24 are already trunk ports, I am making 22 as a trunk port,
by following commands,
#int Gi1/0/22
#switchport trunk encapsulation dot1q
#switchport mode trunk
#end
But issue is that for the time being trunk port is up and port status was trunk, but then it comes down and showed in in the default vlan..
So I check for security.. there was enables, so I shut off he security by ollwing command to the particular interface
#no switchport port-security
and again it coes up and down,

the port status show the following configuration already saved. i.e

when I check the port by: #sh run int Gi1/0/22

it shows the following info:

"switchport trunk encapsulation dot1q

 switchport mode trunk

 switchport port-security aging time 2

switchport port-security violation restrict

switchport port security aging type inactivity

macro discription cisco desktop

spanning tree port fast

spannnig-tree bodyguard enabled

end

kindly help me, what commands I should use to make security disable and make it trunk port. 

very thanks to you...

1 Reply 1

Leo Laohoo
Hall of Fame
Hall of Fame

Try this: 

config t
default interface Gi 1/0/22
interface Gi 1/0/22
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk vlan allowed BLAH, BLAH-BLAH
end
wr
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