Skip to content

Instantly share code, notes, and snippets.

@kylejohnson
Last active March 3, 2017 02:01
Show Gist options
  • Select an option

  • Save kylejohnson/3bf98da4e1f429a621b75d8fbf22e2c3 to your computer and use it in GitHub Desktop.

Select an option

Save kylejohnson/3bf98da4e1f429a621b75d8fbf22e2c3 to your computer and use it in GitHub Desktop.
[kyle@colossus network-scripts]$ cat ifcfg-bond1
DEVICE=bond1
BONDING_MASTER=yes
TYPE=Bond
ONBOOT=yes
BOOTPROTO=none
BONDING_OPTS="mode=4 miimon=80"
MTU=1500
[kyle@colossus network-scripts]$ cat ifcfg-bond1.110
DEVICE=bond1.110
BOOTPROTO=none
ONPARENT=yes
IPADDR=192.168.110.2
NETMASK=255.255.255.0
BROADCAST=192.168.110.255
VLAN=yes
NM_CONTROLLED=no
aa-4948-2#show running-config interface gigabitEthernet 1/38
Building configuration...
Current configuration : 203 bytes
!
interface GigabitEthernet1/38
description col1 centos
switchport access vlan 110
switchport mode access
load-interval 30
speed 1000
duplex full
channel-protocol lacp
channel-group 5 mode active
end
aa-4948-2#show running-config interface gigabitEthernet 1/40
Building configuration...
Current configuration : 180 bytes
!
interface GigabitEthernet1/40
description col2 freebsd
switchport access vlan 110
switchport mode access
load-interval 30
speed 1000
duplex full
channel-group 6 mode active
end
aa-4948-2#show running-config interface port-channel 5
Building configuration...
Current configuration : 113 bytes
!
interface Port-channel5
description col1
switchport
switchport access vlan 110
switchport mode access
end
aa-4948-2#show running-config interface port-channel 6
Building configuration...
Current configuration : 113 bytes
!
interface Port-channel6
description col2
switchport
switchport access vlan 110
switchport mode access
end
aa-4948-2#show etherchannel 5 summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 6
Number of aggregators: 6
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
5 Po5(SU) LACP Gi1/38(w) Gi1/39(D)
aa-4948-2#show etherchannel 6 summary
Flags: D - down P - bundled in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
M - not in use, minimum links not met
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 6
Number of aggregators: 6
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
6 Po6(SU) LACP Gi1/40(P) Gi1/41(D)
ifconfig_ix2="up"
ifconfig_ix3="up"
cloned_interfaces="lagg0 vlan110"
ifconfig_lagg0="laggproto lacp ix2 laggport ix3"
ifconfig_vlan110="inet 192.168.110.1/24 vlan 110 vlandev lagg0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment