- Preface
- Configuration Management
- Administering the Cisco ME 1200 NID
- Configuring Notifications
- Zero Touch Provisioning
- Configuring Synchronous Ethernet
- Configuring Ethernet Virtual Connections
- Configuring Switch Ports
- Configuring Spanning-Tree Protocol
- Configuring Link Aggregation Control Protocol (LACP)
- Provisioning Link Layer Discovery Protocol
- Configuring SNMP
- Configuring PTP
- Configuring ACLs
- Configuring Quality of Service (QoS)
- Configuring Ethernet OAM, Link OAM, and CFM
- Configuring Performance Monitoring
- Configuring EPS
- Configuring ERPS
- Configuring L2CP
- Configuring MAC Security
- Configuring NTP
- Configuring Storm Control
- Configuring Syslog
- Configuring Dedicated Debug Shell
- Configuring SPAN
- Configuring RSPAN
- Configuring RFC 2544
- Configuring sFlow
- Configuring UDLD
- Configuring Flex Links
- Configuring Y.1564
- Configuring LST
- Configuring Security Access Control Lists
- Multicast Vlan Register
- Double-tagged management VLAN using IVID parameter
- Configuring LAG Aggregation
Configuring Flex Links
![]() Note | Flex Links does not currently support stacking, duo switches structure, or VLAN separation. |
- Prerequisites for Configuring Flex Links
- Restrictions for Configuring Flex Links
- Information about Flex Links
- MAC Address Table Move Update
- How to Configure Flex Links
Prerequisites for Configuring Flex Links
Default Configuration
-
Disable STP before configuring Flex Links. If STP is disabled on the switch, make sure that there are no Layer 2 loops in the topology.
-
Flex Links is supported on the Serval CEServices application.
Default Flex Links configuration is when there is no configuration for Flex Links pairs or for the MAC address move update transmit feature.
Restrictions for Configuring Flex Links
-
Only one Flex Links backup link can be configured for any active link, and it must be a different interface from the active interface.
-
The backup link does not have to be the same type as the active link. However, they should be configured with similar characteristics so that there are no loops or changes in operation if the standby link becomes active.
-
An active link cannot belong to another Flex Links pair.
-
The Flex Links pair cannot belong to the same port channel. However, a Flex Links pair can be a port channel and a physical interface, or two port channels or physical interfaces.
-
The port channel interface should be active when included in the Flex Links pair, for it to be configured properly.
Information about Flex Links
Flex Links configuration provides link-level redundancy in the absence of Spanning Tree Protocol (STP). Flex Links consists of a pair of interfaces (ports or port channels) with one interface configured as the primary interface (forwarding status) and the other as the backup interface (standby status). When a failure occurs on the primary interface, the backup interface moves to forwarding status and starts to forward traffic.
Flex Links works by detecting link down on a primary interface and then bringing up the backup interface that has been defined as backup. It is most commonly implemented at the access layer where the switch has dual uplinks to the distribution layer.
Flex Links is designed to interact with supporting modules, such as the port module, the aggregation module, the packet module, and the configuration module. The basic Flex Links protocol functions are as follows:
-
Initialize module configurations
-
Interact with the packet module to transmit/receive MAC address table update frames
-
Interact with the configuration module to read/write FL configurations
-
Register with the port module to receive the port up/down event
The Flex Links API layer provides direct interaction with the switch for the implementation of the active and backup ports groups, the setup of the port status, and the MAC-address table read.
MAC Address Table Move Update
![]() Note | MAC address table move update enables fast recovery of network connectivity but consumes CPU resources. |
How to Configure Flex Links
Configuring Flexlink Ports
Provisioning Flex Link Ports
Viewing Flex Link Configuration at Port Level on the NID
Configuration Example
The example retrieves the Flex Links configuration for port 4 on the NID:
Switch(config-controller-FlexlinksPortType)# getFlexlinksConfigRequestportphyPortId 4 Switch(config-controller-FlexlinksPortType)# getFlexlinksConfiguration review Commands in queue: getFlexlinksConfigRequestportphyPortId 4 Switch(config-controller-FlexlinksPortType)# getFlexlinksConfiguration commit GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.portNumber = 4 GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.flexlinksEnable = false GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.key = 4 GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.role.t = 4 GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.role.u.active = true GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.portPriority = 32768 GetFlexlinksConfiguration_Output.getFlexlinksConfiguration.timeout.t = 4 getFlexlinksConfiguration_Output.getFlexlinksConfiguration.timeout.u.fast = true GetFlexlinksConfiguration Commit Success!!! Switch(config-controller-FlexlinksPortType)# exit
Viewing Flexlink Active Port Configuration
Configuration Example
The example shows the flexlink configuration in active ports.
Switch(config-controller)# FlexlinksPortType Switch(config-controller-FlexlinksPortType)# showFlexlinksConfig displayFlexlinksConfig port phyPortId 4 (config-controller-FlexlinksPortType)# showFlexlinksConfig commit ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupPort = 'GigabitEthernet 1/6' ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].activePort = 'GigabitEthernet 1/4' ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupState = 'Active Up/Backup Standby' ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].macUpdateEnabled = 'enabled' (config-controller-FlexlinksPortType)# showFlexlinksConfig commit ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupPort = 'GigabitEthernet 1/6' ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].activePort = 'GigabitEthernet 1/4' ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].backupState = 'Active Up/Backup Standby' ShowFlexlinksConfig_Output.displayFlexlinksConfigResp[0].macUpdateEnabled = 'enabled' ShowFlexlinksConfig Commit Success!!!(FlexlinksPortType)# Commit Success!!!(config-controller-FlexlinksPortType)#
Enabling macMoveupdate on Active Port
Viewing macMoveUpdate Active Port Configuration
Command or Action | Purpose | |
---|---|---|
Step 1 | configure terminal
Example: Switch# configure terminal |
Enters global configuration mode. |
Step 2 | controller nid
1/NID_ID
Example: Switch(config)# controller nid 1/1 |
Enters the controller configuration mode. |
Step 3 | FlexlinksPortType
Example: Switch(config-controller)# FlexlinksPortType
| Enters FlexlinksPortType mode to provision Flex Links. |
Step 4 | getMACMoveUpdateConfiggetFlexlinkConfigRequestport{llagGroupId|phyPortId}
Example: Switch(config-controller-FlexlinksPortType)# getMACMoveUpdateConfig getFlexlinkConfigRequest port phyPortId 4
| |
Step 5 | getMACMoveUpdateConfig review
Example: Switch(config-controller-FlexlinksPotType)# getMACMoveUpdateConfig review
| Displays the ports for Flexlink configuration. |
Step 6 | getMACMoveUpdateConfig commit
Example: Switch(config-controller-FlexlinksPotType)# getMACMoveUpdateConfig review
| Sends the Flexlink configuration to the NID. |
Step 7 | exit
Example: Switch(config-controller)FlexLinksPortType)# exit
| Exits the Flex Links provisioning mode. |
Configuration Example
The example shows the flexlink configuration in active ports.
Switch(config-controller)# FlexlinksPortType Switch(config-controller-FlexlinksPortType)# getMACMoveUpdateConfig getFlexlinkConfigRequest port phyPortId 4 (config-controller-FlexlinksPortType)# getMACMoveUpdateConfig review Commands in queue: 1 getMACMoveUpdateConfig getFlexlinkConfigRequest port phyPortId 4 (config-controller-FlexlinksPortType)# getMACMoveUpdateConfig commit GetMACMoveUpdateConfig_Output.macMoveUpdateConfig._choice1.t = 1 GetMACMoveUpdateConfig_Output.macMoveUpdateConfig._choice1.u.portNumber = 4 GetMACMoveUpdateConfig_Output.macMoveUpdateConfig.mmuEnabled = true GetMACMoveUpdateConfig Commit Success!!!(config-controller-FlexlinksPortType)#