04-22-2012 01:40 PM - edited 03-07-2019 06:16 AM
I am a fairly basic configs that I just can’t figure out what I am doing wrong. I have what I would consider a fairly basic config that I just can’t seem to get to work and I am sure it is something I am just not doing or grasping. Basically I have two 3560 switches that I would like to connect together with four 1Gb ports and trunk four vlans across said port-channel, I created the port-channel and set it to switchport trunk encapsulation dot1q I then set all four ports to channel-group # mode on. With that setup I can’t ping from switch to switch on the nonnative vlan.
Any help would be appreciated
Thanks
Solved! Go to Solution.
04-22-2012 09:13 PM
interface Port-channel1
switchport trunk encapsulation dot1q
Something is missing in this line interface. Can you please add "switchport mode trunk"?
04-22-2012 01:44 PM
The first thing I would do is reload the switches, no kidding. I've configured etherchannel before and just couldn't get it working and then I reloaded the switches and everything is workring fine.
If it doesn't work, post your configs.
04-22-2012 03:15 PM
Please post the config.
04-22-2012 09:05 PM
dc01-sw02#show run
Building configuration...
Current configuration : 2383 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log datetime
service password-encryption
service sequence-numbers
!
hostname dc01-sw02
!
no aaa new-model
ip subnet-zero
!
!
!
!
port-channel load-balance src-dst-ip
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Port-channel1
switchport trunk encapsulation dot1q
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
switchport access vlan 128
!
interface GigabitEthernet0/7
switchport access vlan 128
!
interface GigabitEthernet0/8
switchport access vlan 128
!
interface GigabitEthernet0/9
switchport access vlan 128
!
interface GigabitEthernet0/10
switchport access vlan 128
!
interface GigabitEthernet0/11
switchport access vlan 128
!
interface GigabitEthernet0/12
switchport access vlan 128
!
interface GigabitEthernet0/13
switchport access vlan 128
!
interface GigabitEthernet0/14
switchport access vlan 240
!
interface GigabitEthernet0/15
switchport access vlan 240
!
interface GigabitEthernet0/16
switchport access vlan 240
!
interface GigabitEthernet0/17
switchport access vlan 240
!
interface GigabitEthernet0/18
switchport access vlan 240
!
interface GigabitEthernet0/19
switchport access vlan 240
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
switchport access vlan 128
!
interface GigabitEthernet0/23
switchport trunk encapsulation dot1q
channel-group 1 mode on
!
interface GigabitEthernet0/24
switchport trunk encapsulation dot1q
channel-group 1 mode on
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
no ip address
!
interface Vlan128
ip address ###.#.#.### 255.255.255.0
!
ip default-gateway ###.#.#.###
ip classless
ip http server
!
end
dc01-sw02#
04-22-2012 09:13 PM
interface Port-channel1
switchport trunk encapsulation dot1q
Something is missing in this line interface. Can you please add "switchport mode trunk"?
04-22-2012 09:26 PM
That worked, it is always seems to be and issue with just one line.
Thanks
04-22-2012 09:32 PM
Glad to be of some assistance.
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