Unsolved

This post is more than 5 years old

9 Posts

33839

April 25th, 2008 01:00

LAG and VLAN Help

Hello, all.

 

I have a 4-port LAG connecting two 5448 switches that i'm trying to isolate on VLAN 1000.  Here is my config, that doesn't currently seem to be working:

 

on switch A

vlan database

vlan 1000

exit

int range eth g(1-4)

switchport access vlan 1000

int range eth g(41-44)

channel-group 1 mode auto

int port-channel 1

switchport mode general

switchport general allowed vlan add 1000

 

on Switch B

vlan database

vlan 1000

exit

int range eth g(5-8)

switchport access vlan 1000

int range eth g(41-44)

channel-group 1 mode auto

int port-channel 1

switchport mode general

switchport general allowed vlan add 1000

 

Assuming that the LAG is on the same port numbers on both switches (41-44), will ports 1-4 on Switch A be able to communicate with port 5-8 on Switch B?

 

Thanks for your help in advance!

 

Joe

909 Posts

April 25th, 2008 14:00

Set the pvid on the port-channel to 1000.

9 Posts

April 25th, 2008 15:00

Thanks, bh1633.

 

I added that setting, but it didn't help.  I think i may be having a Spanning Tree problem.  On one switch, the STP status is "Forwarding".  On the other switch, the STP status is "Blocking".

 

Here's the running-config if it helps; note the actual ports in the port-channel are slightly different than the original hypothetical.

 

Thanks a lot in advance!

 

 

spanning-tree bpdu filtering
interface port-channel 1
spanning-tree cost 4
exit
interface range ethernet g(1-40)
spanning-tree disable
exit
interface port-channel 2
shutdown
exit
interface port-channel 3
shutdown
exit
interface port-channel 4
shutdown
exit
interface port-channel 5
shutdown
exit
interface port-channel 6
shutdown
exit
interface port-channel 7
shutdown
exit
interface port-channel 8
shutdown
exit
interface range ethernet g(5-45)
shutdown
exit
interface port-channel 1
switchport mode general
exit
vlan database
vlan 1000
exit
interface port-channel 1
switchport general pvid 1000
exit
interface range ethernet g(1-4)
switchport access vlan 1000
exit
interface port-channel 1
switchport general allowed vlan add 1000
exit
interface vlan 1000
name iSCSI
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
interface range ethernet g(41-44)
channel-group 1 mode auto
exit
iscsi target port 860 address 0.0.0.0
iscsi target port 3260 address 0.0.0.0
interface vlan 1
ip address 10.0.0.94 255.255.254.0
exit
username admin password level 15 encrypted
snmp-server community Dell_Network_Manager rw view DefaultSuper
Message Edited by joe.cruz on 04-25-2008 12:00 PM

9 Posts

April 25th, 2008 15:00

Here you go.  Thanks for having a look. 

console# show spanning-tree

Spanning tree enabled mode RSTP
Default port cost method:  short

  Root ID    Priority    32768
             Address     00:04:96:18:5e:7b
             Cost        6
             Port        g46
             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32768
             Address     00:1e:4f:0e:45:6c
             Hello Time  2 sec  Max Age 20 sec  Forward Delay 15 sec

  Number of topology changes 10 last change occurred 00:02:26 ago
  Times:  hold 1, topology change 35, notification 2
          hello 2, max age 20, forward delay 15

Interfaces
 Name   State   Prio.Nbr   Cost     Sts   Role PortFast       Type
------ -------- -------- --------- ------ ---- -------- ----------------
  g1   disabled  128.1      100     DSBL  Dsbl    No            -
  g2   disabled  128.2      100     DSBL  Dsbl    No            -
  g3   disabled  128.3       4      DSBL  Dsbl    No            -
  g4   disabled  128.4      100     DSBL  Dsbl    No            -
  g5   disabled  128.5      100     DSBL  Dsbl    No            -
  g6   disabled  128.6      100     DSBL  Dsbl    No            -
  g7   disabled  128.7      100     DSBL  Dsbl    No            -
  g8   disabled  128.8      100     DSBL  Dsbl    No            -
  g9   disabled  128.9      100     DSBL  Dsbl    No            -
 g10   disabled  128.10     100     DSBL  Dsbl    No            -
 g11   disabled  128.11     100     DSBL  Dsbl    No            -
 g12   disabled  128.12     100     DSBL  Dsbl    No            -
 g13   disabled  128.13     100     DSBL  Dsbl    No            -
 g14   disabled  128.14     100     DSBL  Dsbl    No            -
 g15   disabled  128.15     100     DSBL  Dsbl    No            -
 g16   disabled  128.16     100     DSBL  Dsbl    No            -
 g17   disabled  128.17     100     DSBL  Dsbl    No            -
 g18   disabled  128.18     100     DSBL  Dsbl    No            -
 g19   disabled  128.19     100     DSBL  Dsbl    No            -
 g20   disabled  128.20     100     DSBL  Dsbl    No            -
 g21   disabled  128.21     100     DSBL  Dsbl    No            -
 g22   disabled  128.22     100     DSBL  Dsbl    No            -
 g23   disabled  128.23     100     DSBL  Dsbl    No            -
 g24   disabled  128.24     100     DSBL  Dsbl    No            -
 g25   disabled  128.25     100     DSBL  Dsbl    No            -
 g26   disabled  128.26     100     DSBL  Dsbl    No            -
 g27   disabled  128.27     100     DSBL  Dsbl    No            -
 g28   disabled  128.28     100     DSBL  Dsbl    No            -
 g29   disabled  128.29     100     DSBL  Dsbl    No            -
 g30   disabled  128.30     100     DSBL  Dsbl    No            -
 g31   disabled  128.31     100     DSBL  Dsbl    No            -
 g32   disabled  128.32     100     DSBL  Dsbl    No            -
 g33   disabled  128.33     100     DSBL  Dsbl    No            -
 g34   disabled  128.34     100     DSBL  Dsbl    No            -
 g35   disabled  128.35     100     DSBL  Dsbl    No            -
 g36   disabled  128.36     100     DSBL  Dsbl    No            -
 g37   disabled  128.37     100     DSBL  Dsbl    No            -
 g38   disabled  128.38     100     DSBL  Dsbl    No            -
 g39   disabled  128.39     100     DSBL  Dsbl    No            -
 g40   disabled  128.40     100     DSBL  Dsbl    No            -
 g45   enabled   128.45     100     DSBL  Dsbl    No            -
 g46   enabled   128.46      4      FRW   Root    No        P2p (STP)
 g47   enabled   128.47     100     DSBL  Dsbl    No            -
 g48   enabled   128.48     100     DSBL  Dsbl    No            -
 ch1   enabled   128.49      4      DSCR  Altn    No       P2p (RSTP)
 ch2   enabled   128.50      4      DSBL  Dsbl    No            -
 ch3   enabled   128.51      4      DSBL  Dsbl    No            -
 ch4   enabled   128.52      4      DSBL  Dsbl    No            -
 ch5   enabled   128.53      4      DSBL  Dsbl    No            -
 ch6   enabled   128.54      4      DSBL  Dsbl    No            -
 ch7   enabled   128.55      4      DSBL  Dsbl    No            -
 ch8   enabled   128.56      4      DSBL  Dsbl    No            -

 

9 Posts

April 25th, 2008 15:00

console# sho interface status
                                             Flow Link          Back   Mdix
Port     Type         Duplex  Speed Neg      ctrl State       Pressure Mode
-------- ------------ ------  ----- -------- ---- ----------- -------- ----
g1       1G-Copper      --      --     --     --  Down           --     --
g2       1G-Copper      --      --     --     --  Down           --     --
g3       1G-Copper    Full    1000  Enabled  Off  Up          Disabled On
g4       1G-Copper      --      --     --     --  Down           --     --
g5       1G-Copper      --      --     --     --  Down           --     --
g6       1G-Copper      --      --     --     --  Down           --     --
g7       1G-Copper      --      --     --     --  Down           --     --
g8       1G-Copper      --      --     --     --  Down           --     --
g9       1G-Copper      --      --     --     --  Down           --     --
g10      1G-Copper      --      --     --     --  Down           --     --
g11      1G-Copper      --      --     --     --  Down           --     --
g12      1G-Copper      --      --     --     --  Down           --     --
g13      1G-Copper      --      --     --     --  Down           --     --
g14      1G-Copper      --      --     --     --  Down           --     --
g15      1G-Copper      --      --     --     --  Down           --     --
g16      1G-Copper      --      --     --     --  Down           --     --
g17      1G-Copper      --      --     --     --  Down           --     --
g18      1G-Copper      --      --     --     --  Down           --     --
g19      1G-Copper      --      --     --     --  Down           --     --
g20      1G-Copper      --      --     --     --  Down           --     --
g21      1G-Copper      --      --     --     --  Down           --     --
g22      1G-Copper      --      --     --     --  Down           --     --
g23      1G-Copper      --      --     --     --  Down           --     --
g24      1G-Copper      --      --     --     --  Down           --     --
g25      1G-Copper      --      --     --     --  Down           --     --
g26      1G-Copper      --      --     --     --  Down           --     --
g27      1G-Copper      --      --     --     --  Down           --     --
g28      1G-Copper      --      --     --     --  Down           --     --
g29      1G-Copper      --      --     --     --  Down           --     --
g30      1G-Copper      --      --     --     --  Down           --     --
g31      1G-Copper      --      --     --     --  Down           --     --
g32      1G-Copper      --      --     --     --  Down           --     --
g33      1G-Copper      --      --     --     --  Down           --     --
g34      1G-Copper      --      --     --     --  Down           --     --
g35      1G-Copper      --      --     --     --  Down           --     --
g36      1G-Copper      --      --     --     --  Down           --     --
g37      1G-Copper      --      --     --     --  Down           --     --
g38      1G-Copper      --      --     --     --  Down           --     --
g39      1G-Copper      --      --     --     --  Down           --     --
g40      1G-Copper      --      --     --     --  Down           --     --
g41      1G-Copper    Full    1000  Enabled  Off  Up          Disabled Off
g42      1G-Copper    Full    1000  Enabled  Off  Up          Disabled On
g43      1G-Copper    Full    1000  Enabled  Off  Up          Disabled On
g44      1G-Copper    Full    1000  Enabled  Off  Up          Disabled Off
g45      1G-Combo-C     --      --     --     --  Down           --     --
g46      1G-Combo-C   Full    1000  Enabled  Off  Up          Disabled On
g47      1G-Combo-C     --      --     --     --  Down           --     --
g48      1G-Combo-C     --      --     --     --  Down           --     --

                                          Flow    Link
Ch       Type    Duplex  Speed  Neg      control  State
-------- ------- ------  -----  -------- -------  -----------
ch1      1G      Full    1000   Enabled  Off      Up
ch2         --     --      --      --       --    Not Present
ch3         --     --      --      --       --    Not Present
ch4         --     --      --      --       --    Not Present
ch5         --     --      --      --       --    Not Present
ch6         --     --      --      --       --    Not Present
ch7         --     --      --      --       --    Not Present
ch8         --     --      --      --       --    Not Present
console#

 

9 Posts

April 25th, 2008 15:00

I don't believe that's what I want.  g1-4 are connected to hosts and shouldn't be part of the LAG.

Message Edited by joe.cruz on 04-25-2008 12:21 PM

909 Posts

April 25th, 2008 15:00

Put some ports in port channel 1.

 

Did you post your whole config?

909 Posts

April 25th, 2008 15:00

add ports g1-g4 to port channel 1.

909 Posts

April 25th, 2008 15:00

Sorry about that.  These Dell config files scatter the information.  I sse that you have ports g41-g44 in port channel 1.

 

Please post out put of "show interface status"  and "show spanning-tree" from both switches.

 

 

9 Posts

April 25th, 2008 16:00

One thing I haven't mention before that is apparently important.  g46 on Switch A is connected to our private management switch.  g46 on Switch B is connected to g47 on Switch A.  If I disabled g47 on Switch A, Ch1 goes right into STP Forwarding status.

 

If I then re-enable g47, this happens:

 

25-Apr-2008 13:01:33 %STP-W-PORTSTATUS: ch1: STP status Blocking
25-Apr-2008 13:01:33 %STP-W-PORTSTATUS: g46: STP status Forwarding

 

So I apparently can't have more than one span or something like that?

909 Posts

April 25th, 2008 17:00

Like most switches, PowerConnects default to a singel spanning tree per switch.  This means that even if ports are in seperate vlans, spanning tree will ignore the vlans and remove physical loops in the network, even if there are no loopsg in the individual vlans.

 

So, in your case, port 46 is in vlan 1 and port channel 1 is in vlan 1000.  You interconnected the switches via the port channels AND via port 46.  Spanning tree detected a loop, and disabled the port channel, even though there was no loop because port 46 and port channel 1 are in different vlans.   Disabling the port channel removed vlan 1000 connectivity to the other switch.

 

If you need vlan 1 connectivity between these switches, I recommend adding vlan 1 to the port channel, making vlan 1000 tagged on the port channel and setting pvid on the port channel to 1.  And then do not connect the switches together via port 46/47.

 

 

 

 

909 Posts

April 25th, 2008 19:00

To be explicit (I am doing this from memory, but you should get the idea):

int port-channel 1

switchport mode general

switchport general pvid 1

switchport general allowed vlan add 1000 tagged

switchport general allowed vlan add 1 untagged

 

Do this on both switches.

 

9 Posts

April 25th, 2008 19:00

Hi, BH.  Thanks for the advice.

 

by way of a string of CLI commands:

 

int port-channel 1

switchport mode general

switchport general pvid 1

switchport general allowed vlan add 1000

 

Is that what you mean?

9 Posts

April 28th, 2008 20:00

Hi, bh1633.

 

Thanks for all of your help.  I ended up calling Dell Tech Support and they confirmed everything you said (as I suspected), but also opened up the option to use MSTP on these switches.  This was it's possible to do a Spanning-tree per VLAN.

 

I'll see if that fits in with the topology we're trying to create, but I think given all of your advice and help, we're going to move ahead with what we have gotten to work now.

 

Thanks, again!

 

Joe

No Events found!

Top