《PortChannel-vs-ae-interfaces》由会员分享,可在线阅读,更多相关《PortChannel-vs-ae-interfaces(6页珍藏版)》请在金锄头文库上搜索。
1、PortChannel vs. ae interfaces.New Options Mark as New Bookmark Subscribe Highlight Print Email to a Friend Report Inappropriate Content04-26-2012 07:10 AM - edited 04-26-2012 07:17 AM Hi all. The first thing you will have to know is that you cant directly create port channels interface under Junos.
2、Unlike in IOS that you configure a interface Port-Channel X with a desired number X, you cant do this in Junos this way. So, how we could create Channels or EtherChannels under Junos ?. Second, IOS supports the following etherchannel protocols, LACP (standard), PAGP (cisco proprietary), etherchannel
3、 (802.3ad). Of course Junos dont support PAGP, so you only have the options LACP and 802.3ad. Also, under IOSyou configure channel protocol and other options under the channel interface members, this may be cause of configuration mismatch. But under JunOS, you configuremost optionsunder the ae inter
4、face, so will apply to all members, no configuration mismatch. Channel protocol is configured with the options :IOSJunOS. active Enable LACP unconditionally Supported under Junos. auto Enable PAgP only if a PAgP device is detected Not supported. desirable Enable PAgP unconditionally Not supported. o
5、n Enable Etherchannel only Supported. passive Enable LACP only if a LACP device is detectedSupported. Under LACP you could configure some options, like port priority and rate. The IOS configuration to create Port-Channels is like the following : ! For LACP, you could configure a global system priori
6、ty. lacp system-priority X ! First, would have to create this. interface port-channel Y ! configure max bundle interfaces for LACP. lacp max-bundle 1-8interface gigabitethernet 0/0 ! This will bind interface to channel and configure the channel protocol. channel-groupY mode active|passive|on ! Orund
7、er dynamic interfaces that will autoconfigure, you could configurethe allowed protocol. channel-protocol lacp|pagp ! LACP priority, you could configure more than 8 interfaces per channel, but only 8 will become a lacp channel. lacp port-priority X ! And could configure the lacp rate mode. lacp rate
8、fastslowinterface gigabitethernet 0/1 ! This will bind interface to channel and configure the channel protocol. channel-group Y mode active|passive|on ! Orunder dynamic interfaces that will autoconfigure, you could configurethe allowed protocol. channel-protocol lacp|pagp ! LACP priority, you could
9、configure more than 8 interfaces per channel, but only 8 will become a lacp channel. lacp port-priority X ! And could configure the lacp rate mode. lacp rate fastslow Under JunOS.First, have to configure the chassis,configure how many aggregated ethernetchannels or aggregated ethernetdo we want. Thi
10、s is similar to create the interface port-channel, but will create 1 or 100 at the same time. Junos will automatically create the AE interfaces, from 0 to X. You have to do this once, or whenever you want to add ae interfaces increasing the previous value you configured. You could create 10 ae inter
11、faces but use only 2. Then will configure ae options and bind physicall interfaces to the ae interface. If you dont want to use LACP, dont have to configure its options below. /* Global system priority. */ set chassis aggregated-devices ethernet lacp system-priority X /* First have to create the agg
12、regated interface. device-count value 1,2,3 or else needed,this is likecreate a interface port-channel. If want to add ae interface have to increase configured value. */ set chassis aggregated-devices ethernet device-count X /* Configure interface ae Yfor LACP in active or passive mode. */ set inter
13、faces aeY aggregated-ether-options lacp active|passive /* Under member interface, bind to ae interface. */ set interfaces ge-0/0/0 gigether-options 802.3ad aeY set interfaces ge-0/1/0 gigether-options 802.3ad aeY /* Under member interface, lacp priority. */ set interfaces ge-0/0/0 gigether-options 802.3ad aeY lacp port-priority X set interfaces ge-0/1/0 gigether-options 802.3ad aeY lacp port-priority X /* Configure LACP rate mode under ae interface. */ set interfaces aeY aggregated-ether-options lacp periodic fast|slow Verif