08-14-2007 01:04 PM - edited 03-05-2019 05:54 PM
I am trying to configure a HWIC-1GE-SFP on a 2821 as a 802.1q trunk to connect to a 3508 switch.
If i try a show int gig x/x/x I get "gig x/x/x is not a switchable port"
I read the documentation that these modules do support dot1q VLAN's so what am I missing?
SW version is c2800nm-ipvoicek9-mz.124-16.bin
08-14-2007 01:12 PM
Are you trying to make this a trunk port and create sub-interfaces? If so try the no switchport command, then create your sub's.
Not sure if you can do this with the HWIC's though.
08-14-2007 01:13 PM
Is the gig interface configured as a router port (no switchport). Can you try configuring the command 'switchport' under the interface?
08-14-2007 01:22 PM
the switchport command is not listed if I use a "?"
08-14-2007 03:22 PM
It appears HWIC-1GE-SFP is purely a layer 3 (router) interface. That makes sense as it doesn't support the 'switchport' command and the 'show int' command reveals it's not a switchable port. Moreover the product documentation shows 802.1q trunking is supported on this card.
In that case you should configure 802.1q subinterfaces on the router. This feature is called router-on-a-stick. The router can route all inter-vlan traffic with this feature. Configure the port on the switch that's connected to the 2800's router interface as 802.1q trunk.
Here's a sample configuration.
int g0/1.1
encapsulation dot1q 1 --> where 1 is the vlan #
int g0/1.2
encapsulation dot1q 2
HTH
Sundar
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: