trunk-create
This command creates a new trunk for link aggregation on a switch.
Syntax trunk-create
name name-string |
Specify the name for the trunk configuration. |
ports port-list |
Specify the port number(s) for the link(s) to aggregate into the trunk. |
Specify any of the following options: |
|
speed disable|100m|1g|10g|40g|50g|100g |
Specify the port speed or disable the port. |
egress-rate-limit unlimited |
Specify an egress rate limit for the configuration. |
autoneg|no-autoneg |
Specify if you want the physical port to autonegotiate port speed. |
jumbo|no-jumbo |
Specify if the port can receive jumbo frames. |
lacp-mode off|passive|active |
Specify the Link Aggregation Control Protocol (LACP) mode for the configuration. |
lacp-priority number |
Specify the LACP priority. This is a number between 1 and 65535 with a default value of 32768. |
lacp-timeout slow|fast |
Specify the LACP time out as slow (30 seconds) or fast (4 seconds). The default value is slow. |
lacp-fallback bundle|individual |
Specify the LACP fallback mode as individual or bundled. |
lacp-fallback-timeout seconds |
Specify the LACP fallback timeout in seconds. The range is between 30 and 60 seconds with a default value of 50 seconds. |
reflect|noreflect |
Specify physical port reflection |
edge-switch|no-edge-switch |
Specify if the switch is an edge switch. |
pause|no-pause |
Specify if pause frames are sent. |
description description-string |
Specify a description for the trunk configuration. |
loopback|no-loopback |
Specify loopback if you want to use loopback. |
vxlan-termination| |
Specify if a VXLAN can terminate on the trunk. |
unknown-ucast-level unknown-ucast-level-string |
Specify an unknown unicast level in percent. The default value is 100%. |
unknown-mcast-level unknown-mcast-level-string |
Specify an unknown multicast level in percent. The default value is 100%. |
broadcast-level broadcast-level-string |
Specify a broadcast level in percent. The default value is 100%. |
port-mac-address mac-address |
Specify the MAC address of the port. |
loop-vlans vlan-list |
Specify a list of VLANS for looping. |
routing|no-routing |
Specify if the port participates in routing on the network. |
host-enable|host-disable |
Enable or disable host facing ports. |
defer-bringup|no-defer-bringup |
Specify to delay bringing up the host. |
dscp-map dscp-map name|none |
Specify the DSCP map name to enable on a port |
local-switching|no-local-switching |
Specify local-switching or no-local-switching. A no-local-switching port cannot bridge traffic to another no-local-switching port |
allowed-tpid q-in-q|q-in-q-old |
Specify an allowed TPID in addition to 0x8100 for VLAN headers. |
fabric-guard|no-fabric-guard |
Specify if fabric guard is enabled. |
fec|no-fec |
Specify Port Forwarding Error Correction (FEC) mode. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 1.2.6 |
The optional parameter, lacp-mode, was added. |
Version 2.1 |
The parameter id is deprecated. The parameters, enable | disable, lacp-priority, lacp-timeout, reflect, edge-switch, pause, description, loopback, mirror-receive, port-mac, and send-port added. |
Version 2.2.5 |
The parameters, unknown-ucast-level, unknown-mcast-level, and broadcast-level added. |
Version 2.2.6 |
The parameter, egress-rate-limit, added. |
Version 2.3 |
The parameters, auto-neg, eth-mode, and reflect deprecated.The parameter, rem-rswitch-port and routing, added. |
Version 2.4 |
The parameter, enable|disable, deprecated. The parameters, loop-vlans and host-enable, added. |
Version 2.5.3 |
The parameters, reflect|noreflect, dscp-map dscp-map name|none, and local-switching|no-local-switching, added. |
Version 2.6.2 |
The parameter, vxlan-termination, allowed-tpid, and fabric-guard, added. The parameter, mirror-receive-only, deprecated. |
Version 3.0.0 |
The parameter, autoneg|no-autoneg, added. |
Version 3.1.0 |
The parameter, fec|no-fec, added. |
Version 5.1.0 |
The parameters, bw-bps, rem-rswitch-port-mac, deprecated. The parameter, defer-bringup|no-defer-bringup, added. |
Usage Trunks can be used to aggregate network links at Layer 2 on the local switch. Use this command to create a new trunk.
Examples To create a trunk with the name, trunk-12, and aggregate the links connected to ports 1, 2, and 3:
CLI network-admin@switch > trunk-create name trunk-12 port 1,2,3