06-01-2010 03:37 PM - edited 03-04-2019 08:39 AM
Hello All,
I having a interface which is configured right now as
interface gigabitethernet x/x/x
swicthport acess vlan xx
swicthport mode acess
spanning - tree portfast
And I want it to change to the following
interface gigabitethernet x/x/x
swicthport trunk encapsulation dot1q
swicthport trunk native vlan xx ( same vlan number as above )
swicthport mode trunk
speed 1000
duplex full
spanning - tree portfast
Thanks in advance
Soofi,
Solved! Go to Solution.
06-01-2010 03:42 PM
Try the following method:
default interface Gig a/b/c
interface Gig a/b/c
copy-n-paste the commands.
06-01-2010 03:42 PM
Try the following method:
default interface Gig a/b/c
interface Gig a/b/c
copy-n-paste the commands.
06-01-2010 03:51 PM
Copy and paste which commands ?
06-01-2010 03:58 PM
Copy and paste which commands ?
These:swicthport trunk encapsulation dot1q
swicthport trunk native vlan xx ( same vlan number as above )
swicthport mode trunk
speed 1000
duplex full
spanning - tree portfast
06-01-2010 04:10 PM
Thanks seems like it worked. however I got this error message is it some thing critical ?
%Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
%Portfast has been configured on GigabitEthernetx/x/x but will only
have effect when the interface is in a non-trunking mode.
06-01-2010 04:36 PM
Hi
Since this is trunk port you need to turn off portfast
no spanning - tree portfast
HTH
Reza
06-02-2010 03:37 PM
Hi Reza.
Thanks for the reply... It is connected to hpyer v terminal and it is Dell who has recomended the port fast.. Even thoug it is not recomemended by Cisco.
I have another issue ...
Even Thought the above mentioned port is been trunkated for some reason I am still unable to talk to other VLAN that includes the default VLAN on the swicth.
-> Command to check as to which VLANs are allowed on a certain PORT
-> How to add a specific VLAN on certain PORTS.
-> Or any better suggestion are welcomed
Thanks,
Soofi
06-02-2010 03:50 PM
Hi Reza.
Thanks for the reply... It is connected to hpyer v terminal and it is Dell who has recomended the port fast.. Even thoug it is not recomemended by Cisco.
I have another issue ...
Even Thought the above mentioned port is been trunkated for some reason I am still unable to talk to other VLAN that includes the default VLAN on the swicth.
-> Command to check as to which VLANs are allowed on a certain PORT
-> How to add a specific VLAN on certain PORTS.
-> Or any better suggestion are welcomed
Thanks,
Soofi
Hi Soofi,
Do a "show vlan" or "sh spanning-tree vlan x" to see the ports in a specific vlan.
You don't add vlans to ports. You add physical ports to vlans.
You should not run portfast if you are connecting to another switch. Portfast is for end user PCs, printer,etc,....
HTH
Reza
06-01-2010 04:53 PM
Don't forget to rate useful posts. Thanks.
06-02-2010 03:17 PM
Even Thought the above mentioned port is been trunkated for some reason I am still unable to talk to other VLAN that includes the default VLAN on the swicth.
-> Command to check as to which VLANs are allowed on a certain PORT
-> How to add a specific VLAN on certain PORTS.
-> Or any better suggestion are welcomed
Thanks,
Soofi
06-02-2010 05:02 PM
Command to check as to which VLANs are allowed on a certain PORT
show vlan [brief] will show you which ports are assigned to which VLANs.
show interface trunk will show you which ports are configured as trunk and what VLANs are allowed on the trunk (among the outputs).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide