Optionally reducing lacp timeout, Removing lacp configuration from a port – Juniper Networks EX2500 User Manual

Page 66

Advertising
background image

EX2500 Ethernet Switch Configuration Guide

52

„

Link Aggregation Control Protocol

1.

Define the admin key on port 7. Only ports with the same admin key can form
an LACP trunk group.

ex2500(config)# interface port 7-8
ex2500(config-if)# lacp key 100

2.

For static LACP, set the trunk ID (optional).

ex2500(config-if)# lacp portchannel 1

3.

Set the LACP mode.

ex2500(config-if)# lacp mode active
ex2500(config-if)# exit

Optionally Reducing LACP Timeout

The LACP timeout period is the number of seconds that elapse before the switch
invalidates LACP data from a remote partner. The default LACP timeout value is

long

(90 seconds). We recommend that you use the default

long

timeout to reduce

LAPDU processing. If the CPU utilization rate of your switch remains at 100% for
periods of 90 seconds or more, consider using static trunks instead of LACP.

However, if CPU use is low, you can set the LACP timeout value on the switch to

short

(3 seconds), instead.

ex2500(config-if)# lacp timeout short
ex2500(config-if)# exit

Removing LACP Configuration from a Port

When you remove a port from an LACP trunk group, the port still retains the trunk
group settings. You must remove the settings before reconfiguring the port. Use the
following procedure to remove LACP settings from a port.

1.

Disable LACP mode on port 7.

ex2500(config)# interface port 7
ex2500(config-if)# lacp mode off

2.

Remove the trunk ID.

ex2500(config-if)# no lacp portchannel 1

3.

Delete the admin key.

ex2500(config-if)# no lacp key
ex2500(config-if)# exit

NOTE:

Be sure to turn off LACP mode before removing the trunk ID and deleting

the admin key. Otherwise, the system prevents you from removing the settings.

Advertising