Juniper ======Cisco交换机
Juniper端配置
[edit]
root@PE1# show chassis
aggregated-devices {
ethernet {
device-count 5;
}
}
[edit]
root@PE1# show interfaces | find fe
fe-0/0/6 {
fastether-options {
802.3ad ae0;
}
}
fe-0/0/7 {
fastether-options {
802.3ad ae0;
}
}
ae0 {
aggregated-ether-options {
link-speed 100m;
lacp {
passive;
periodic fast;
}
}
unit 0 {
family ethernet-switching {
port-mode trunk;
vlan {
members all;
}
}
}
}
Cisco端配置
SW1-CE4#show run int f0/47
Building configuration...
Current configuration : 147 bytes
!
interface FastEthernet0/47
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
end
SW1-CE4#show run int f0/48
Building configuration...
Current configuration : 147 bytes
!
interface FastEthernet0/48
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
end
SW1-CE4#show run int port-channel 1
Building configuration...
Current configuration : 92 bytes
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
end
验证:
SW1-CE4#show lacp neighbor
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 1 neighbors
Partner's information:
LACP port Admin Oper Port Port
Port Flags Priority Dev ID Age key Key Number State
Fa0/47 FP 127 0026.881f.3840 5s 0x0 0x1 0x1 0x3E
Fa0/48 FP 127 0026.881f.3840 5s 0x0 0x1 0x2 0x3E
root@PE1# run show lacp interfaces
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
fe-0/0/6 Actor No No Yes Yes Yes Yes Fast Passive
fe-0/0/6 Partner No No Yes Yes Yes Yes Slow Active
fe-0/0/7 Actor No No Yes Yes Yes Yes Fast Passive
fe-0/0/7 Partner No No Yes Yes Yes Yes Slow Active
LACP protocol: Receive State Transmit State Mux State
fe-0/0/6 Current Slow periodic Collecting distributing
fe-0/0/7 Current Slow periodic Collecting distributing
JUNIPER技术交流群:77767745欢迎加入