Configuring Flexlink
Complete the following steps to configure a Flexlink instance.
- Enter global configuration mode.
- Specify the interface that you want to configure as the active link of the Flexlink pair and enter the interface configuration mode.
- Configure a Flexlink instance
by specifying the backup interface (physical interface or LAG interface) to form
a pair of Flexlink interfaces. The interface under which the
flexlink backupcommand is run is automatically considered as the active link. - (Optional) Configure the
preemption scheme to specify the preferred interface for forwarding traffic by
configuring one of the following modes: By default, no preemption will take place. When the active link fails, backup will take over and forward the traffic.
- Configure the preemption
mechanism to provide precedence to the configured active link and always
preempt the backup link.
device(config-if-e1000-1/1/9)# flexlink preemption mode forced
- Configure the preemption
mechanism to preempt the Flexlink interface with lesser bandwidth and choose
the interface with higher bandwidth as the active
link.
device(config-if-e1000-1/1/9)# flexlink preemption mode bandwidth
- Configure the preemption
mechanism to provide precedence to the configured active link and always
preempt the backup link.
- Configure the time delay, in seconds, so that link is preempted after that delay. Otherwise, the link will get preempted immediately. Default value for the delay is 0.
The following example configures a Flexlink
instance with Ethernet interfaces as the Flexlink pair
ports.
device# configure terminal device(config)# interface ethernet 1/1/9 device(config-if-e1000-1/1/9)# flexlink backup interface ethernet 1/1/10 device(config-if-e1000-1/1/9)# flexlink preemption mode forced device(config-if-e1000-1/1/9)# flexlink preemption delay 100
The following example configures a Flexlink instance with LAG interfaces as the Flexlink pair ports.
device# configure terminal device(config)# interface lag 10 device(config-lag-if-lg10)# flexlink backup interface lag 11 device(config-lag-if-lg10)# flexlink preemption mode bandwidth device(config-lag-if-lg10)# flexlink preemption delay 100