Port-channel configuration between SRX and Cisco
Port-channel configuration between Cisco and SRX: [Both can be configured as on mode, or can be configured as dual active or passive at one end using LACP]
Method 1:
Cisco Configuration:
CORE-SW#show running-config interface gigabitEthernet 0/35
Building configuration...
Current configuration : 92 bytes
!
interface GigabitEthernet0/35
no switchport
no ip address
channel-group 1 mode on
end
CORE-SW#show running-config interface gigabitEthernet 0/36
Building configuration...
Current configuration : 92 bytes
!
interface GigabitEthernet0/36
no switchport
no ip address
channel-group 1 mode on
end
CORE-SW#show running-config interface port-channel 1
Building configuration...
Current configuration : 85 bytes
!
interface Port-channel1
no switchport
ip address 10.10.10.1 255.255.255.252
end
SRX configuration:
lab# show interfaces fe-0/0/2
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces fe-0/0/3
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces ae0
unit 0 {
family inet {
address 10.10.10.2/30;
}
}
[edit]
Method 2:
CORE-SW#show running-config interface gigabitEthernet 0/35
Building configuration...
Current configuration : 119 bytes
!
interface GigabitEthernet0/35
no switchport
no ip address
channel-protocol lacp
channel-group 1 mode active
end
CORE-SW#show running-config interface gigabitEthernet 0/36
Building configuration...
Current configuration : 119 bytes
!
interface GigabitEthernet0/36
no switchport
no ip address
channel-protocol lacp
channel-group 1 mode active
end
CORE-SW#show run
CORE-SW#show running-config in
CORE-SW#show running-config interface port-c
CORE-SW#show running-config interface port-channel 1
Building configuration...
Current configuration : 85 bytes
!
interface Port-channel1
no switchport
ip address 10.10.10.1 255.255.255.252
end
SRX configuration:
lab> configure
Entering configuration mode
[edit]
lab# show interfaces fe-0/0/2
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces fe-0/0/3
fastether-options {
802.3ad ae0;
}
[edit]
lab# show interfaces ae0
aggregated-ether-options {
lacp {
passive;
}
}
unit 0 {
family inet {
address 10.10.10.2/30;
}
}
[edit]