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
trunk-delete
This command is used to delete an existing trunk from the configuration.
Syntax trunk-delete name name-string trunk-id trunk-id-number
name name-string |
Specify the trunk name. |
trunk-id trunk-id-number |
Specify the ID of the physical interface. |
Defaults None.
Access CLI
History
Version 1.2.1 |
Command introduced. |
Version 2.6.2 |
The parameter, trunk-id, added. |
Usage Trunks can be used to aggregate network links at Layer 2 on the local switch. Use this command to delete an existing trunk.
Examples To delete the existing trunk, 476, use the following command:
CLI network-admin@switch > trunk-delete name trunk-476
trunk-modify
This command modifies a trunk for link aggregation on a switch.
Syntax trunk-modify
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 modify the links for a trunk.
Examples To modify a trunk with the name trunk-476, and to aggregate the links connected to ports 11, 21, and 31.
CLI network-admin@switch > trunk-modify name trunk-476 port 11,21,31
trunk-show
This command displays the list of links aggregated into a trunk.
Syntax trunk-show
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 modify the links for a trunk.
Examples To display a list of all trunks and the aggregated links, use the following command:
CLI network-admin@switch > trunk-show
switch: pubdev01
intf: 128
name: trunk-top
port: 26,47-48
speed: 10g
autoneg: off
jumbo: off
enable: off
lacp-mode: off
lacp-priority: 32768
lacp-timeout: slow
reflect: off
edge-switch: no
pause: no
description:
loopback: off
mirror-only: off
unknown-ucast-level: 100%
unknown-mcast-level: 100%
broadcast-level: 100%
lport: 0
rswitch-default-vlan: 0
port-mac-address: 06:a0:00:03:00:80
status: up,PN-switch,PN-fabric,PN-cluster
config: fd
send-port: 26
trunk-stats-show
This command is used to display information about trunk statistics.
Syntax trunk-stats-show
Specify any of the following options: |
|
time date/time: yyyy-mm-ddThh:mm:ss |
Specifies a time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS, where: • YYYY specifies the 4 digit calendar year; • MM specifies the 2 digit month of the year; • DD specifies the 2 digit day of the month; • HH specifies the 2 digit time of the day (24H notation); • MM specifies the 2 digit minute of the hour; SS specifies the 2 digit second of the minute |
start-time start-time |
Specifies a start time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS, where: • YYYY specifies the 4 digit calendar year; • MM specifies the 2 digit month of the year; • DD specifies the 2 digit day of the month; • HH specifies the 2 digit time of the day (24H notation); • MM specifies the 2 digit minute of the hour; • SS specifies the 2 digit second of the minute. |
end-time end-time |
Specifies an end time for the packet count statistics using the timestamp format YYYY-MM-DDTHH:MM:SS, where: • YYYY specifies the 4 digit calendar year; • MM specifies the 2 digit month of the year; • DD specifies the 2 digit day of the month; • HH specifies the 2 digit time of the day (24H notation); • MM specifies the 2 digit minute of the hour; • SS specifies the 2 digit second of the minute. |
duration duration |
Specifies the duration in seconds. |
interval duration: #d#h#m#s |
Specifies the interval between statistics collection. |
since-start| |
Specifies if the statistics are collected from the start of collecting statistics. |
older-than duration: #d#h#m#s |
Specifies if the statistics are older than the duration in days, hours, minutes, and seconds. |
within-last duration: #d#h#m#s |
Specifies if the statistics are within the duration in days, hours, minutes, and seconds. |
port port-list |
Specifies one or more switch network data port numbers. The port number must be in the range of 1 to 64. Multiple ports can be specified as a comma-separated list of numbers or a range (-). |
counter counter-number |
Specifies the counter number. |
ibytes ibytes-number |
Specifies the incoming number of bytes. |
ibits ibits-number |
Specifies the number of incoming bits. |
iUpkts iUpkts-number |
Specifies the number of incoming unicast packets. |
iBpkts iBpkts-number |
Specifies the number of incoming broadcast packets. |
iMpkts iMpkts-number |
Specifies the number of incoming multicast packets. |
iPauseFs iPauseFs-number |
Specifies the number of incoming pause frames. |
iCongDrops iCongDrops-number |
Specifies the number of incoming packets dropped due to congestion. |
idiscards idiscards-number |
Specifies the number of incoming packets discarded. |
ierrs ierrs-number |
Specifies the number of incoming errors. |
obytes obytes-number |
Specifies the number of outgoing bytes. |
obits obits-number |
Specifies the number of outgoing bits. |
oUpkts oUpkts-number |
Specifies the number of outgoing unicast packets. |
oBpkts oBpkts-number |
Specifies the number of outgoing broadcast packets. |
oMpkts oMpkts-number |
Specifies the number of outgoing multicast packets. |
oPauseFs oPauseFs-number |
Specifies the number of outgoing pause frames. |
oCongDrops oCongDrops-number |
Specifies the number of outgoing packets dropped due to congestion. |
odiscards odiscards-number |
Specifies the number of outgoing discarded packets. |
oerrs oerrs-number |
Specifies the number of outgoing errors. |
mtu-errs mtu-errs-number |
Specifies the number of MTU errors. |
HER-packets HER-pts-number |
Specifies the number of Head End Replicated (HER) packets. |
HER-bytes HER-bytes-number |
Specifies the number of Head End Replicated (HER) bytes. |
Defaults None
Access Network Administrator
History Command introduced in Version 2.6.0.
Usage Use this command to display statistics about a trunk configuration.
Examples To display statistics for a trunk configuration, use the following syntax:
CLI network-admin@switch > trunk-stats-show