Configuring Flexlink

Complete the following steps to configure a Flexlink instance.

  1. Enter global configuration mode.
    device# configure terminal
    
  2. Specify the interface that you want to configure as the active link of the Flexlink pair and enter the interface configuration mode.

    The interface can be a physical interface or LAG interface.

    device(config)# interface ethernet 1/1/9
    
  3. 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 backup command is run is automatically considered as the active link.
    device(config-if-e1000-1/1/9)# flexlink backup interface ethernet 1/1/10 
    
  4. (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
  5. 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.
    device(config-if-e1000-1/1/9)# flexlink preemption delay 100 
    
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