ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] bonding
Date: Wed, 22 Jun 2016 09:57:52 +0300
Message-ID: <ec0e3cd5-e271-da15-b65c-41d84a39034a@altlinux.ru> (raw)
In-Reply-To: <7cc65c17-41ad-9580-1ab2-ccd2a31ad7c0@gmail.com>

22.06.2016 08:28, В.А. Илларионов пишет:
> create link_aggregation group_id 3 type lacp
> config link_aggregation group_id 3 master_port 1:17 ports 17-18 state
> enable
> config lacp_port 1:17-1:18 mode active
> 
> Готовая конфигурация выглядит так:
> 
> Group ID      : 7
> Type          : LACP
> Master Port   : 1:17
> Member Port   : 1:17-1:18
> Active Port   : 1:17-1:18
> Status        : Enabled
> Flooding Port : 1:17
> Trap          : Disabled
> 
> Если заменить lacp на trunk, тоже всё работает, но при условии
> целостности агрегированного интерфейса.


На длинках все порты by design == trunk
Просто в настройках вланов указывается какие вланы на каком порту
разрешены и в каком виде tag/untag)

Вот ещё пример конфигурации на свитче SNR

SNR-S2990G-48T#sh run int e1/0/52
!
Interface Ethernet1/0/52
 description 2CSW1_gi3/10
 switchport mode trunk
 switchport trunk allowed vlan 10;98;101;121-122;152;154;1999-2000
 switchport trunk native vlan 8
 port-group 1 mode active
!
SNR-S2990G-48T#sh run int e1/0/53
Error interface name!
SNR-S2990G-48T#sh run int e1/0/51
!
Interface Ethernet1/0/51
 description 2CSW1_gi3/9
 switchport mode trunk
 switchport trunk allowed vlan 10;98;101;121-122;152;154;1999-2000
 switchport trunk native vlan 8
 port-group 1 mode active
!
SNR-S2990G-48T#sh run int po1
!
Interface Port-Channel1
 load-balance dst-src-ip


  reply	other threads:[~2016-06-22  6:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21  8:34 Alexander Volkov
2016-06-21  8:53 ` Alexei Takaseev
2016-06-21  8:55     ` Alexei Takaseev
2016-06-22  5:28         ` В.А. Илларионов
2016-06-22  6:57           ` Anton Gorlov [this message]
2016-06-22  6:53       ` Anton Gorlov
2016-06-22  7:36         ` Alexei Takaseev
2016-06-22  8:09         ` Евгений Терешков
2016-06-22  8:07           ` Anton Gorlov
2016-06-21 15:30 ` Michael A. Kangin
2016-06-22 17:57 ` Anton Farygin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ec0e3cd5-e271-da15-b65c-41d84a39034a@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git