[no] lag [lag-id]
config
Supported on all 7210 SAS platforms as described in this document.
This command configures Link Aggregation Group (LAG) attributes.
A LAG can be used to group two or more ports into one logical link. The number of ports supported in a LAG depends on the platform. The aggregation of multiple physical links allows for load sharing and provides seamless redundancy. If one of the links fails, traffic is redistributed over the remaining links.
The no form of this command deletes the LAG from the configuration. Deleting a LAG is only allowed while the LAG is administratively shut down. Any dependencies, such as IP interface configurations, must be removed from the configuration before the no lag command can be issued.
Specifies the LAG identifier, expressed as a decimal integer.
bfd
config>lag
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command enables the context to configure BFD over the associated LAG links.
[no] disable-soft-reset-extension
config>lag>bfd
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command enables BFD over LAG links; additional parameter configuration is required to make the links operational.
BFD session timers are automatically extended during a soft-reset operation on IOMs and IMMs to prevent BFD sessions from timing out and causing protocol events. However, in some cases this behavior is not wanted because it can delay fast reroute transitions, if they are in place. The optional disable-soft-reset-extension command disables the behavior so that the BFD timers are not automatically extended.
The no form of this command disables the automatic extension of BFD timers during an IOM/IMM soft-reset.
no disable-soft-reset-extension
family {ipv4}
config>lag>bfd
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command configures the address family for the micro-BFD session over the associated LAG links.
family ipv4
Keyword to configure IPv4 encapsulation for the micro-BFD session.
[no] bfd-on-distributing-only
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command enables restricting micro-BFD sessions to links in Link Aggregation Control Protocol (LACP) state distributing.
The no form of this command disables restricting micro-BFD sessions.
no bfd-on-distributing-only
local-ip-address ip-address
no local-ip-address
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command specifies the IPv4 address of the BFD source.
The no form of this command removes this address from the configuration.
no local-ip-address
Specifies the IP address.
max-admin-down-time [down-interval]
max-admin-down-time infinite
no max-admin-down-time
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command specifies the maximum interval of time the router will continue to forward traffic over a link after the micro-BFD sessions have transitioned to a down state because the router received an ADMIN-DOWN state from the far end. The timer provides the administrator the configured amount of time to disable or deprovision the micro-BFD session on the local node before forwarding is halted over the associated links.
The no form of this command removes the time interval from the configuration.
max-admin-down-time 0
Specifies the amount of time, in seconds.
Keyword to specify that there is no end time to forward traffic.
max-setup-time [up-interval]
max-setup-time infinite
no max-setup-time
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command specifies the maximum interval of time the router will forward traffic over a link that has transitioned from standby to active state before the micro-BFD session must be fully established (up state).
The no form of this command reverts the up-interval parameter to the default, which indicates that forwarding will not start until the BFD session is established.
max-setup-time infinite
Specifies the amount of time, in milliseconds.
Keyword to specify that there is no end time to forward traffic over the link; the router will continue to forward traffic over the link infinitely after the micro-BFD session transitions to the down state.
multiplier [multiplier]
no multiplier
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command specifies the detect multiplier used for a micro-BFD session over the associated LAG links. The session is declared administratively down if a BFD control packet is not received for a period determined by the following equation:
The no form of this command removes the multiplier from the configuration.
multiplier 3
Specifies the multiplier value.
receive-interval interval
no receive-interval
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command specifies the receive timer used for micro-BFD sessions over the associated LAG links.
The no form of this command removes the receive timer from the configuration.
receive-interval 100
Specifies the interval value, in milliseconds.
remote-ip-address ip-address
no remote-ip-address
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command configures the IPv4 address of the BFD destination.
The no form of this command removes this address from the configuration.
no remote-ip-address
Specifies the IP address.
shutdown
no shutdown
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command disables micro-BFD sessions for this address family.
The no form of this command re-enables micro-BFD sessions for this address family.
shutdown
transmit-interval transmit-interval
no transmit-interval
config>lag>bfd>family
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone), 7210 SAS-Sx 10/100GE (standalone), and 7210 SAS-T
This command specifies the transmit timer used for a micro-BFD session over the associated LAG links.
The no form of this command removes the transmit timer from the configuration.
transmit-interval 100
Specifies the transmit interval value, in milliseconds.
[no] dynamic-cost
config>lag
Supported on all 7210 SAS platforms as described in this document.
This command enables OSPF costing of a Link Aggregation Group (LAG) based on the available aggregated, operational bandwidth.
The path cost is dynamically calculated based on the interface bandwidth. OSPF path cost can be changed through the interface metric or the reference bandwidth.
If dynamic cost is configured, then costing is applied based on the total number of links configured and the cost advertised is inversely proportional to the number of links available at the time. This is provided that the number of links that are up exceeds the configured LAG threshold value at which time the configured threshold action determines if, and at what cost, this LAG will be advertised.
For example:
Assume a physical link in OSPF has a cost associated with it of 100, and the LAG consists of four physical links. The cost associated with the logical link is 25. If one link fails then the cost would automatically be adjusted to 33.
If dynamic cost is not configured and OSPF autocost is configured, then costing is applied based on the total number of links configured. This cost will remain static provided the number of links that are up exceeds the configured LAG threshold value at which time the configured threshold action determines if and at what cost this LAG will be advertised.
If dynamic-cost is configured and OSPF autocost is not configured, the cost is determined by the cost configured on the OSPF metric provided the number of links available exceeds the configured LAG threshold value at which time the configured threshold action determines if this LAG will be advertised.
If neither dynamic-cost nor OSPF autocost are configured, the cost advertised is determined by the cost configured on the OSPF metric. This is provided that the number of links available exceeds the configured LAG threshold value, at which time the configured threshold action determines if this LAG will be advertised.
The no form of this command removes dynamic costing from the LAG.
no dynamic-cost
encap-type {dot1q | null | qinq}
no encap-type
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command configures the encapsulation method used to distinguish customer traffic on a LAG. The encapsulation type is configurable on a LAG port. The LAG port and the port member encapsulation types must match when adding a port member.
If the encapsulation type of the LAG port is changed, the encapsulation type on all the port members will also change. The encapsulation type can be changed on the LAG port only if there is no interface associated with it. If the MTU is set to a non default value, it will be reset to the default value when the encap type is changed.All traffic on the port belongs to a single service or VLAN.
The no form of this command reverts to the default.
null
Specifies that ingress frames carry 802.1Q tags where each tag signifies a different service.
Specifies that ingress frames will not use any tags to delineate a service. As a result, only one service can be configured on a port with a null encapsulation type.
Specifies QinQ encapsulation for QinQ access SAPs.
hold-time down hold-down-time
no hold-time
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command specifies the timer, in tenths of seconds, which controls the delay between detecting that a LAG is down (all active ports are down) and reporting it to the higher levels.
A non-zero value can be configured, for example, when active/standby signaling is used in a 1:1 fashion to avoid informing higher levels during the small time interval between detecting that the LAG is down and the time needed to activate the standby link.
0
Specifies the hold-time for event reporting.
lacp [mode] [administrative-key admin-key][system-id system-id] [system-priority priority]
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command specifies the Link Aggregation Control Protocol (LACP) mode for aggregated Ethernet interfaces only. Per the IEEE 802.3ax standard (formerly 802.3ad), the LACP provides a standardized means for exchanging information between Partner Systems on a link. This allow their Link Aggregation Control instances to reach agreement on the identity of the Link Aggregation Group to which the link belongs, move the link to that Link Aggregation Group, and enable its transmission and reception functions in an orderly manner.
no lacp
Specifies the mode in which LACP will operate.
Specifies an administrative key value to identify the channel group on each port configured to use LACP. This value should be configured only in exceptional cases. If it is not specified, a random key is assigned.
Specifies a 6 byte value expressed in the same notation as MAC address.
Specifies the system priority to be used for the LAG in the context of the MC-LAG.
[no] lacp-xmit-interval {slow | fast}
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command specifies the interval signaled to the peer and tells the peer at which rate it should transmit.
fast
Specifies that packets are transmitted every 30 seconds.
Specifies that packets are transmitted every second.
[no] lacp-xmit-stdby
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command enables LACP message transmission on standby links.
The no form of this command disables LACP message transmission. This command should be disabled for compatibility when using active/standby groups. This forces a timeout of the standby links by the peer. Use the no form if the peer does not implement the correct behavior regarding the lacp sync bit.
lacp-xmit-stdby
lag
config>system
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), and 7210 SAS-Sx 10/100GE (standalone)
Commands in this context configure the system-wide LAG hashing algorithm version.
lb-hash-1-version version
no lb-hash-1-version
config>system>lag
7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC), and 7210 SAS-Sx 10/100GE (standalone)
This command configures the LAG load-balancing hash-1 algorithm version.
The no form of this command reverts to the default value.
lb-hash-1-version v1
Specifies the version of the hash-1 algorithm. The v1 and v2 options are supported only when configure>lag>load-balancing is set to hash-1. If load-balancing is set to hash-2, the system ignores the v1 or v2 configuration.
load-balancing hash parameters
config>lag
Supported on all 7210 SAS platforms as described in this document
This command provides an option per LAG to select the load-balancing hash function to use. For more details about the packet header fields used when the hash function is set to one of these values, see LAG and ECMP hashing.
For non-unicast traffic, the hashing parameters are used as an input to the hash-2 algorithm regardless of the setting for this value on platforms that support use of packet fields and perform hash computation in hardware.
default
Specifies the load-balancing hashing options.
port port-id [port-id...] [priority priority] [subgroup sub-group-id]
no port port-id [port-id...]
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command adds ports to a Link Aggregation Group (LAG).
Multiple ports can be added in one command as long as the limit is not exceeded. On the 7210 SAS-Mxp and 7210 SAS-T, up to four ports can be added to a LAG. On the 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Sx/S 1/10GE (standalone and standalone-VC) and 7210 SAS-Sx 10/100GE, up to eight ports can be added.
The port configuration of the first port added to the LAG is used as a basis to compare with subsequently added ports. If a discrepancy is found with a newly added port, that port will not added to the LAG.
All ports added to a LAG must share the same characteristics (speed, duplex mode, and so on). An error message is displayed when adding ports that do not share the same characteristics.
All ports in a LAG group must have autonegotiation disabled or set to limited mode to guarantee a specific port speed. Autonegotiation is configured using the autonegotiate command under the config>port>ethernet context.
The no form of this command removes ports from the LAG.
Specifies the physical port ID in the slot/mda/port format.
Specifies the port priority used by LACP. The port priority is also used to determine the primary port. The port with the lowest priority is the primary port. In the event of a tie, the lowest port ID becomes the primary port.
Specifies the LAG subgroup identifier. When using subgroups in a LAG, they should only be configured on one side of the LAG, not both. Only having one side perform the active/standby selection will guarantee a consistent selection and fast convergence. The active/standby selection will be signaled through LACP to the other side. The hold time should be configured when using subgroups to prevent the LAG going down when switching between active and standby links in case no links are usable for a short time, especially if a subgroup consists of one member.
port-threshold value [action {dynamic-cost | down}]
no port-threshold
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command configures the behavior for the Link Aggregation Group (LAG) if the number of operational links is equal to or below a threshold level.
The no form of this command reverts to the default values.
‟0” action down
Specifies the decimal integer threshold number of operational links for the LAG at or below which the configured action will be invoked. If the number of operational links exceeds the port-threshold value, any action taken for being below the threshold value will cease.
Specifies the action to take if the number of active links in the LAG is at or below the threshold value.
When the dynamic-cost action is specified, then dynamic costing will be activated. As a result the LAG will remain operationally up with a cost relative to the number of operational links. The link will only be regarded as operationally down when all links in the LAG are down.
When the down action is specified, then the LAG will be brought operationally down if the number of operational links is equal to or less than the configured threshold value. The LAG will only be regarded as up once the number of operational links exceeds the configured threshold value.
The down parameter is supported on all 7210 SAS platforms as described in this document, including those operating in access-uplink mode.
The dynamic-cost parameter is only supported on 7210 SAS platforms operating in network mode.
selection-criteria [{highest-count | highest-weight | best-port}] [slave-to-partner]
no selection-criteria
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command specifies which selection criteria should be used to select the active sub-group.
highest-count
Specifies sub-group with the highest number of eligible members.
Specifies sub-group with the highest aggregate weight.
Specifies the selection criteria used with power-off mode of operation. The sub-group containing the port with highest priority port. In case of equal port priorities the sub-group containing the port with the lowest port-id is taken
Specifies that, together with the selection criteria, the slave-to-partner keyword should be used to select the active sub-group. An eligible member is a lag-member link which can potentially become active. This means it is operationally up (not disabled) for use by the remote side. The slave-to-partner parameter can be used to control whether this latter condition is taken into account.
standby-signaling {lacp | power-off}
no standby-signaling
config>lag
Supported on all 7210 SAS platforms as described in this document, including platforms configured in the access-uplink operating mode
This command specifies how the state of a member port is signaled to the remote side when the status corresponding to this member port has the standby value.
lacp
Specifies that LACP protocol is used to signal standby links of the LAG.
Specifies that the lasers of the standby links in the LAG are shutoff to indicate standby status. It allows user to use LAG standby link feature without LACP, if the peer node does not support LACP. This parameter is not supported on 7210 SAS platforms configured in the access-uplink operating mode.