[c-nsp] Question - VLAN tagging Catalyst 6500 to Linux Host

Jon Lewis jlewis at lewis.org
Mon Apr 5 13:51:37 EDT 2010


On Mon, 5 Apr 2010, Security Team wrote:

> interface Port-channel32
> desc LACP bonded 3 GigE interfaces
> switchport
> switchport access vlan 309
> switchport trunk encapsulation dot1q
> switchport trunk allowed vlan 309,999,1000,1001

AFAIK, "switchport access vlan" is only applicable when the port is an 
access port.  i.e. "switchport mode access".  You want "switchport mode 
trunk".  If you like, you can "switchport trunk native vlan 309" to make 
309 (and not 1) the native vlan for the port.  Traffic for the native vlan 
won't be tagged, so both ends need to expect that behavior if you set a 
non-default native vlan.

----------------------------------------------------------------------
  Jon Lewis                   |  I route
  Senior Network Engineer     |  therefore you are
  Atlantic Net                |
_________ http://www.lewis.org/~jlewis/pgp for PGP public key_________


More information about the cisco-nsp mailing list