02-25-2009 04:28 PM - edited 03-06-2019 04:15 AM
I was hoping to be able to connect the Etherswitch to another switch via the gig port. But if I try to turn it into a switchport and/or a trunk port I am told this is not possible. I don't see anything in the doc http://www.cisco.com/en/US/products/hw/modules/ps2797/products_configuration_example09186a0080810449.shtml
..about how to make use of the gig port on the outside of the module. Any way to permit this? Or can it only serve as a router port or other? Thanks.
interface GigabitEthernet1/0/1
no switchport
ip address 10.1.1.1 255.255.255.252
spanning-tree portfast
PoE2811(config-if)#switchport mode trunk
Command rejected: Gi1/0/1 not a switching port.
PoE2811(config-if)#switchport trunk encap dot1q
Command rejected: Gi1/0/1 not a switching port.
Solved! Go to Solution.
02-25-2009 05:18 PM
How about typing switchport under G1/0/1 before setting the interface to trunk?
__
Edison.
02-25-2009 05:08 PM
Try the following sequence:
int g 1/0/1
no switchport
switchport trunk encap dot
switchport mode trunk
end
Hope this helps.
02-25-2009 05:19 PM
Thanks for the reply. But same result:
PoE2811(config-if)#int gig 1/0/1
PoE2811(config-if)#no switchport
PoE2811(config-if)#switchport trunk encap dot
Command rejected: Gi1/0/1 not a switching port.
PoE2811(config-if)#switchport mode trunk
Command rejected: Gi1/0/1 not a switching port.
PoE2811(config-if)#
02-25-2009 05:18 PM
How about typing switchport under G1/0/1 before setting the interface to trunk?
__
Edison.
02-25-2009 05:21 PM
Cool - there we go:
PoE2811(config-if)#int gig 1/0/1
PoE2811(config-if)#switchport
PoE2811(config-if)#switchport trunk encap dot
PoE2811(config-if)#switchport mode trunk
PoE2811(config-if)#do show run int gig 1/0/1
Building configuration...
Current configuration : 123 bytes
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
02-26-2009 06:06 AM
Glad my suggestion worked, make sure to rate helpful posts.
__
Edison.
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: