Debian Linux Bonding and Cisco Catalyst 3750 - best practise?

Hello everybody,
I would like to know what's best practice to do this:
The two NICs of a Debian Linux server wants to be connected with two Switchports of a Cisco Catalyst 3750 switch(stack). My goal is to have load-balancing and failover.
My /etc/network/interfaces looks like this:
iface bond0 inet static
       address 192.168.0.30
       netmask 255.255.255.0
       network 192.168.0.0
       broadcast 192.168.0.255
       gateway 192.168.0.1
       dns-nameservers 192.168.0.10 192.168.0.20
       dns-search xyz.mycompany.com
       slaves eth0 eth1
       bond_mode ???
       bond_miimon 100
       bond_downdelay 200
       bond-updelay 200
First question: What bond mode should I use?
The switchports looks like this:
interface GigabitEthernet3/0/4
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
What changes are necessery here? Something like this?
interface GigabitEthernet3/0/4
 switchport trunk encapsulation dot1q
 switchport mode trunk
 spanning-tree portfast
Thanks a lot for suggestions, hints, etc.! :-)
Greets
Stephan

Hi Michael,
thanks a lot for your answer - and sorry for my late reply!
I like to show you my solution - I hope that it is a solution. ;-)
My config on the switch(stack):
switch#show etherchannel summary
Group  Port-channel  Protocol    Ports
------+-------------+-----------+-----------------------------------------------
2      Po2(SU)         LACP      Gi3/0/3(P)  Gi4/0/3(P)
switch#show running-config interface GigabitEthernet 3/0/3
Building configuration...
Current configuration : 172 bytes
interface GigabitEthernet3/0/3
 description myserver, eth0
 switchport access vlan 20
 switchport mode access
 channel-group 2 mode active
 spanning-tree portfast
end
lansw01#show running-config interface GigabitEthernet 4/0/3
Building configuration...
Current configuration : 172 bytes
interface GigabitEthernet4/0/3
 description myserver, eth1
 switchport access vlan 20
 switchport mode access
 channel-group 2 mode active
 spanning-tree portfast
end
switch#show running-config interface port-channel 2
Building configuration...
Current configuration : 82 bytes
interface Port-channel2
 switchport access vlan 20
 switchport mode access
end
The /etc/network/interfaces of my Debian machine looks like this:
auto lo
iface lo inet loopback
auto bond0
        iface bond0 inet static
        address 192.168.1.xxx
        netmask 255.255.255.0
        gateway 192.168.1.xxx
        dns-nameservers 192.168.1.xxx
        dns-search xxx.xxx.xxx
        bond-mode 4
        bond-miimon 100
        bond-downdelay 200
        bond-updelay 200
        bond-lacp-rate 1
        slaves eth0 eth1
This setup seems to work well. But I'm wondering that there is nothing with "trunking" in my setup. Would you like to give me your opinion about this?
Thanks a lot and many greets
Stephan

Similar Messages

  • Trunking between Huawei S3900 and Cisco catalyst 3750

    One of my edge Huawei S3700  switches  is dead, I am going to replace it with a Cisco switch Catalyst 3750 series PoE-48 via a trunk link  with GE fiber port on both ends, please see the diagram below.
                                      trunk                     trunk
       Core switchrouter<----------S3700<--------------->Cisco Catlyst 3750
    I haven’t touch Cisco switch for many years, I would like to ask the following questions:
    1.)      Do I need to take any precaution before connecting this Cisco switch into my Huawei network? Only one link between S3700 and C3750, so I don't need worry anout STP? Do I need to worry about Default vlan regarding trunking port?
    2.)      I need to use different trucking protocol e.g. 802.1Q etc to interconnect these two switches (S3700-28TP-SI-AC and Catalyst 3750), please see the following configuration:
    For C3750:
    switchport trunk encapsulation dot1q
    switchport trunk native vlan (What you want)
    switchport trunk allowed vlan (VLANs required)
    switchport mode trunk
    spanning-tree portfast trunk
    For S3700:
     port link-type trunk
     port trunk permit vlan all
    Do you think the configurations above are right?
    Do I need to manually enter Duplex and speed options ?       
    3.)If the configurations are not right, then what are the commands for trucking port/link should I use on the Cisco switch (it uses IOS software) and Huawei switch?  Procedures of the commands would be really helpful !
    Any information and help would be much appreciated.
    Thanks
    Regards

    Hello
     3750 - basic config
     ================
    See as you are using this switch as an host switch you need to make sure ip routing isn't enabled ( it isn't by default)
    Also it looks like the s3700 Huawei switch is permitting all vlans and I assuming the default native vlan is 1 ( as is cisco) so no need to specify the native either.
    If you are requiring the access ports on this new cisco 3750 to be in multiple vlans then usually cisco to cisco interconnect would ultise VTP for vlan propagation however this wont occur between the Huawei switch, so you will need to manually add the vlans on the switch also.
    so to summarize below is a basic host switch config for 3750.
    conf t
    no ip routing
    hostname XXXXXX
    username xxxx privilege 15 secret xxxxxxx
    service password-encryption
    enable secret xxxxx
    security passwords min-length xx
    security authentication failure rate xx log
    aaa new-model aaa authentication login default local
    logging buffered 4096
    no service udp-small-servers
    no service tcp-small-servers
    service timestamps debug datetime msec localtime
    service timestamps log datetime msec localtime
    no ip domain-lookup
    spanning-tree mode rapid-pvst
    spanning-tree portfast bpduguard default
    int vlan x ( this may or not be vlan 1 - its whatever the L3 vlan interface is on the core switch for management connectivity)
    ip address x.x.x.x y.y.y.y.
    exit
    ip default-gateway x.x.x.x ( ip address of CORE SVI management interface)
    vlan x,x,x,x ( add the L2 vlans to the switch as vtp would not be used between the Huawei switch)
    exit
    int gigx/x
    Description Link to Huawei switch
    switchport trunk encapsulation dot1q
    switchport mode trunk
    switchport nonegotiate
    no shut
    ( no need for spanning-tree portfast trunk- this is usually only for ESX host ports)
    int rang fa0/1 -48
    Description - Access-ports
    switchport host
    switchport access vlan x (wihout this defaults to vlan 1)
    no shut
    clock timezone gmt 0
    ntp peer
    ntp server x.x.x. prefer
    res
    Paul

  • VLAN trunking from Cisco Catalyst 3750 to Cisco SF300-48P issue and related

    Hello expert,
    I'm having difficulties to configure VLAN trunking between Cisco Catalyst 3750 switch with Cisco SF300-48P switch and my workstation unable to get any DHCP IP from our DHCP server via Cisco SF300-48P switch. Below is the snippet of configuration on both switches:
    [Cisco Catalyst 3750 Switch]
    interface GigabitEthernet1/0/45
     description NCC-CC-1stFlr
     no switchport trunk encapsulation dot1q
     no switchport trunk allowed vlan 101-103
     spanning-tree portfast
    [Cisco SF300-48P Switch]
    interface fastethernet48
     spanning-tree link-type point-to-point
     switchport trunk allowed vlan add 101-103
     macro description switch
     !next command is internal.
     macro auto smartport dynamic_type switch
    interface fastethernet29
     switchport mode general
     switchport general allowed vlan add 103 tagged
     switchport general pvid 103
    Are these are correct? Kindly advice!
    Thank you very much!
    Regards,
    Alex

    Hi Alex,
    for the trunk port on Catalyst on port GE 1/0/45, we need to enable the trunk and for on encapsulation dot1q because this catalyst model is ISL capable also and the SF300 working only with Dot1q Encapsultion
    The configuration on catalyst should :
    #config terminal
    #interface Gi 1/0/45
    # switchport encapsulation 
    #switchport trunk encapsulation dot1q
    #switchport mode trunk 
    #switchport trunk allowed vlan 101-103
    #spanning-tree portfast
    For SF300 the port trunk it looks fine but for the port where the PC should receive an IP address
    #interface fastethernet29
     #switchport mode access
     #switchport ccess vlan 103
    Please let me know after this configuration
    Thanks
    Mehdi
    Please rate or mark as answered to help other Cisco Customers

  • I cannot connect by console port to Cisco Catalyst 3750 using ethernet to USB.

    Hello. I have one Cisco Catalyst 3750 switch, and two 2950 switches. I am trying to reset their settings using a console cable with a trendnet Ethernet to USB adapter. When I try loading hyperterm or putty on com3 there is no signal. I have the communication port setting on com3. I don't know what the old settings are, and they can be reset. I get connectivity lights when plugging the cable into the switch ports. What am I missing? 

    Are you definitely using the correct COM Port number? On Windows7 Right Click My Computer > Manage Then select Device Manager and expanPorts (COM & LPT)d  in my case is shows Prolific USB-to-Serial Comm Port (COM5). 
    Once you have the right COM Port number just use the default settings in Putty. You may find the COM Port is locked up which will require a reboot.

  • Cisco Catalyst 3750 - is there a gigabyte version?

    We have a Cisco Catalyst 3750 SFP enhanced image, it's 10/100, is there a 1000GHz version of this now?

    Hi,
    Any 3750 model with "G", i.e. 3750G and all 3750-E models
    Check this links
    3750 http://www.cisco.com/en/US/products/hw/switches/ps5023/prod_models_comparison.html
    3750-E http://www.cisco.com/en/US/products/ps7077/prod_models_comparison.html
    Regards,
    Dandy

  • Cisco Catalyst 3750-X or 3560-X Series Switches

    Recently, our company was deciding to buy Cisco switches, but they just tell the requirements and I finally focused on two kinds of switches, Cisco Catalyst
    3750-X or 3560-XSeries Switches? Who can tell me, tnx in advance.

     As I read a blog recently, it listed the specific differences between Cisco 3750-X and 3560-X, except for the common features of Cisco 3750-X and 3560-X, Cisco 3750-X can also offer-- Cisco StackPower technology: An innovative feature and industry first for sharing power among stack members; 
    Cisco StackWise Plus technology for ease of use and resiliency with 64 Gbps of throughput; 
    Investment protection with backward compatibility with all other models of Cisco Catalyst 3750 Series Switches. 
    And made a more detailed comparison between the two products, for ur reference.

  • Cisco Catalyst 3750 & Linksys SGE2000P

    Hello everyone,
    I m in the process of addin new switches with Gigabit port in my server room, actually I have a single switch 48 port (a Cisco 3550) that is connected to a Core Switch via fibre channel but I need to migrate some of my server in a gigabit mode. My management did not allow me to buy a new Cisco switch, because the model with 24 port Gigabit is a bit expensive. so I need to find another solution. 
    My first thought was to buy a Linksys SGE2000P, and connect it to our Core switch via a fiber channel, to do that I must be sure that a SGE2000P is compatible with my Core switch (3750 12 port SFP) so here is my question does anyone around here has already tried that ? :-)
    Thanks in advance 
    regards,
    Arnaud Leresche

    I think there should be no compatibility issue BUT I have not personally tried it.

  • Netflow on Cisco Catalyst 3750 Metro Series Switches

    Does netflow possible in 3750 metro series?

    Hi Syed,
    You have to first check if there is any image in switch or not so that you can manually boot from switch: prompt but as you said there is no image in the switch you have to go for xmodem procedure to upgrade the switch.
    Have a look at this link and just follow step by step instructions and you will be good to go
    http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800946e5.shtml#xmodem
    HTH, if yes please rate the post.
    Ankur

  • 100BaseFX and Cisco Catalyst 3750G

    Hi,
    I need some help, I have a factory plant running some IE 3000 and Rockwell Stratix 8000 with GLC-FE-100FX-RGD transceiver to some older switches I need to replace the idea is to use Cisco 3750G, I saw in the Cisco 3750G datasheet a GLC-GE-100FX= transceiver would they work together point-to-point? what sort of connector do they use are they LC also?
    The idea is to use 100BaseFX MM because of the costs, distance (800M) and the bandwith being light.
    Thank You

    The GLC-GE-100FX= and the GLC-FE-100FX-RGD SFPs have the same optical performance specifications, so they will interoperate across a link.  The RGD SFP has a higher operating temperature range for industrial applications (per data sheet), where the IE 3000 is typically installed.  
    Hope this helps!

  • RPS and Cisco Catalyst 2950 and 3550 switches

    We are doing experiments with RPS and CC 2950 and 3550. When we unplug the main power, the RPS takes over and feeds the switch with power. But when we plug the main power back again, the switch contiues to take power from the RPS. How is the power reduncancy achieved with CC 2950 and/or 3550s?
    Thanks in advance,
    Dardan

    You will need to press the active/standby button on the RPS for the internal power supply in the switch to take over. Note that this can cause the switch to reload and do it in your maintenance window if this switch is in production.
    http://www.cisco.com/cgi-bin/bugtool/onebug.pl?bugid=CSCdx81023

  • MGBSX1 and Cisco catalyst 2960 24-PCL compatibilty

    Hi,
    I'd like to know if someone has a solution to install MGBSX1 with C2960-24-PC-L because I have to buy a lot of transceiver and the price of GLC-SX-MM is x5 the price of MGBSX1
    thx

    1)  I believe 10/100 Ethernet uses 4 wires and 1000 Ethernet uses 8 wires.  Will the uplink ports connect all 8 of its wires across the 10/100 ports?
    Depends.  If both uplink ports are 1Gig and you have a Cat5 cable with 2 pairs terminated (4 links) then the speed will only negotiate to 100mbps.
    2)  Can a 10/100 port connect to another switch using a crossover cable?  If so, what happens if a 10/100 port is connected to a 1000 port?  Would any damage to the switch occur? As long as you leave speed and duplex setting to auto and MDI/MDI-X will kick in automatically.

  • SAP BW 3.52 and POS DM: Architecture Best Practise

    We are retail/wholesale company that are two different business units. Currently we are running SAP BW 3.0 that is integrated with SAP R/3 and APO for reporting purposes. We are now in the early stages of implementing SAP Retail along with SAP POS DM to support the Retail business. We have a question re the architecture and the best practices. We were told that POS DM is integral part of SAP BW 3.52 i.e. a function within BW application. We would like to run the retail instance of SAP BW on a separate box and separate the POS DM onto another box. The reason being, POS DM processes all the store POS transactions through either to IS-Retail or SAP BW. We believe the transaction processing that occurs in POS DM should be separated from SAP BW, in order maintain efficiencies. Can anyone share their perspective and experience on what the best practice would be? Also, is it possible to do what we would like to do i.e. POS DM and BW running on different boxes?
    Please advise.
    Thanks
    Satish Seshayya

    Information about POS DM should come within the next time as a Update of the Solution Manager.
    Some Remarks :
    The best way to get some information is to contact SAP-Sales The most of my customers run POS DM on the same Box as BW.
    A typical process will look like this :
    POS System is mapped via Converter (e.g. XI) to the BAPI of the PIPE (/posdw/bapi_postr_create). Also you could feed the PIPE via IDOCS or via direct input (Proxy).
    You've got some internal tasks running for validation of the data (sequencing, duplicate...) and you can schedule other tasks to supply the R/3 with IDOCs and to write Data to the DeltaQueues where BW can take the Data.
    You can plan everything time-based. Thats meaning as long you don't have a huge amount of data (e.g. >12.000.000 LineItems/day) you should get no big problems with the right hardware.
    Also you're able to do "trickle feed", that's more or less an immediatley processing of the data (e.g. directly or every 2 hours)
    wish u much luck

  • Alternative switch to Cisco Catalyst 3750v2-24FS and 3750-24FS

    I`m looking for an alternative to these two switches:                 
    1.  WS-C3750V2-24FS-S  Cisco Catalyst 3750V2-24FS Switch with 24 100FX SFP + 2 Gigabit Ethernet SFP Ports
    2. Cisco Catalyst 3750-24FS (WS-C3750-24FS-S 100BASE-FX)
    They are now EOL and not available.
    I have a campus style network and need to be able to connect multiple 100FX fibre switches back to a central switch. The 1st unit uses 100FX SFP modules and the second has in-built 100FX ports. I`m struggling to find anything from Cisco that will give me multiple (i.e 12+) 100FX ports.
    Could anyone please point me in the right direction?
    Many thanks,
    Paul

    Hi Paul ,
    Replacement for both switch is WS-C3650-48TS-S.
    http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps5528/eos-eol-notice-c51-730227.html
    http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps5023/end_of_life_c51-687707.html
    Regards
    Don't forget to rate helpful posts
    Sent from Cisco Technical Support iPhone App

  • Communication problem between ASA 5510 and Cisco 3750, L2 Decode drops

    Having problem with communication between ASA 5510 an Cisco Catalyst 3750.
    Here is the Cisco switch port facing the ASA 5510 configuration:
    interface FastEthernet2/0/6
    description Trunk to ASA 5510
    switchport trunk encapsulation dot1q
    switchport trunk native vlan 50
    switchport trunk allowed vlan 131,500
    switchport mode trunk
    switchport nonegotiate
    And here is the ASA 5510 port configuration:
    interface Ethernet0/3
    speed 100
    no nameif
    no security-level
    no ip address
    interface Ethernet0/3.500
    vlan 500
    nameif outside
    security-level 0
    ip address X.X.X.69 255.255.255.0
    There is a default route on ASA to X.X.X.1.
    When I try to ping from ASA X.X.X.1 i get:
    Sending 5, 100-byte ICMP Echos to 31.24.36.1, timeout is 2 seconds:
    Also in the output of show interface eth 0/3 on the ASA i can see that the L2 Decode drop counter increases.
    I have also changed the ports on the Switch and ASA but the same error stays.
    Any thoughts?

    I don't see anything wrong with your trunk configuration; I have a similar one working between an ASA 5520 and a Catalyst 3750G.
    Maybe you should adjust the "speed 100"?  In my experience, partial autoconfiguration results in duplex mis-matches, which results in dropped packets.
    I'd try removing the "speed 100" and letting the ASA port autonegotiate with the switch.  Alternatively, have both sides set
       speed 100
       duplex full
    and see if things improve.
    -- Jim Leinweber, WI State Lab of Hygiene

  • Catalyst 3750x and 4510R and Cisco Security Manager

    Hi,
    I just downloaded and install trial (evaluation) version of Cisco Security Manager 4.3. In supported devices list I saw Cisco Catalyst 3750 and 4510R but when I try to add it I got for 3750:
    Invalid device: Device is a switch and cannot be mapped to a Generic Router model.
    Please verify the selected device type, OS version and device configuration
    For 4510R:
    Invalid device: Version 03.03.00.SG (N/A) is not supported for the device type of Cisco Catalyst 4510R Switch Please verify the selected device type, OS version and device configuration
    We need to make a purchase decision but for it we need to import all of our devices and perform some tests.
    Thanks in advance for your replies!
    BR, Vasily.

    I figured this out on my own -- change Compatibility mode of the installer to be Windows 8 (which is same OS version as Windows 2012) and it installs just fine.

Maybe you are looking for