Net Interface Create Action
This action is the method used to create LAGs on the system.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy80MTcwMy81NDk1Mi9ja2ZpbmRlci9pbWFnZXMvcXUvMjAyNS9pbWFnZSgyNDUpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc3MDg3OTQzNH19fV19&Signature=fW~h5LsIA8~SJNluy06kpQvTmiRobAP3buMiEKzwIr7IiWZaKzbXbeShhQCXsq06mglVje0YV85IlH5uiqUjbEO7ZepLTL73ud~5QX6roU~wjLmP-TYROKhc8Axs4g2m8pqlABk1IKUCoCLp5kJUkfueGZRt7essOKsoN7nnSVryf7FVl3Ije85UUJgJJJb-Sfji5~MYW6QDMtvFxv2OrdJNzogLMUk5SiK6H2qVM-gh5JpYFTPPjWLWEw4D0b4lheAp56O6szHw8UniITwq5kJz8qSAF03Ncl0fH-p99lqOY52B3oCuDwcdrS1OgvvnV135fDtMIaUbRYokALdd0g__&Key-Pair-Id=K2TK3EG287XSFC)
Net Interface Create Attributes
|
Attribute |
Values |
Default |
Required |
Description |
|
Create |
|
|
|
The create action for LAGs. |
|
Admin-state |
<enabled | disabled> |
Enabled |
N |
Enabled by default on creation can be overridden. |
|
Aid |
NET<id> |
N/A |
Y |
The name of the current LAG, values are NET1 through NET12 |
|
Description |
Text |
N/A |
N |
Description of the port entered by user. Should be enclosed in quotes. |
|
Enable-pause-frames |
<true | false> |
False |
N |
Enable-pause-frame |
|
Hashing-algorithm |
Src-mac | dst-mac | src-dst-mac | src-ip | dst-ip | src-dst-ip |
Src-dst-mac |
N |
Hashing algorithm for load balancing of packets across the link. |
|
Lacp-admin-state |
<enabled | disabled> |
Disable |
N |
Whether LACP is enabled on the port. |
|
lacp-mode |
<active | passive> |
Active |
N |
Whether LACP is in the active or passive mode |
|
Lacp-timer |
<long | short> |
Short |
N |
Whether to use a short or long timer for the LAG. |
|
New-port-admin-state |
<enabled | disabled> |
Enabled |
N |
The admin state to set on ports added to this lag at the time of creation. |
|
Ports |
[ <SFP1-1-x> |
N/A |
Y |
List of ports to add to the LAG. LAG is only operational after ports have been assigned. |
|
Pvid |
1..4094 |
1 |
N |
Vlan to assign to untagged traffic. VLANs 4000-4007, 4010-4012 are reserved for internal use. |
|
Pvid-priority |
0..7 |
0 |
N |
Priority to assign to untagged traffic |
- Command Path – tolt>interface>net>create>
- Module – tolt
- Container – interfaces
- Container – net
- Action – create
- Types –
- *aid – The name of the current LAG, values are NET1 through NET12
- net <1..12> – ID of the net
- Interface-type – Only Uplink LAGS supported
- Uplink – Default
- Admin-state – Enabled by default on creation can be overridden
- enabled (default) | disabled
- Uplink-interface – Uplink interface configuration parameters
- *Aid – NET<1..12>
- *ports – List of ports to add to the LAG. LAG is only operational after ports have been assigned.
- [ SFP1-1-x | QSFP1-2-x ]
- *aid – The name of the current LAG, values are NET1 through NET12
- Description – Description of the port entered by the user. Description must be enclosed in Quotes ("") to allow a description with spaces.
- "Description text" any alphanumeric name up to 32 characters
- Enable-pause-frame – Enable pause frames on the LAG.
- true | false (Default)
- Lag Speed – LAG speed of autodetect will be detected based on the installed module. The first module installed will be populated to all members of the LAG. It can be explicitly configured. Removing all modules will return the lag to auto.
- auto (default)| 1g |10g | 25g | 40g | 50g | 100g | auto-1-g | auto-10g
- hash-algorithm – Hashing Algorithm. The hashing algorithm controls which hash is used to hash the traffic into the LAG. This allows load balancing the links within the LAG. The hashes all ensure that packets between a source / destination pair are never re-ordered. The default is to hash on both the source and destination.
- Src-mac | dst-mac | src-dst-mac (default)| src-ip | dst-ip | src-dst-ip
- Pvid – PVID for this net, PVID will apply that VLAN ID to all untagged traffic ingressing the port and will also strip the tag for that VLAN on egress. A Port-VLANID of 1 indicates that there is no untagged flow, and untagged traffic will not be passed. VLANs 4000-4007, 4010-4012 are reserved for internal use.
- 1-4094 (default 1)
- Pvid-prIority – priority to be applied to untagged frames on ingress
- 0-7 (default 0)
Interface Net Create With Ports
- Command Path – tolt>interfaces>net>create>
- Module – tolt
- Container – interfaces
- Container – net
- Action – create
- Types – Example Parameters
- aid NET4
- Admin-state enabled
- description "NET4 LAG to Core"
- ports [ QSFP1-2-5 QSFP1-2-6 ]
- action-success true
- aid NET4
- From the MDS1-ESUA# command line, input tolt interfaces net create aid NET4 admin-state enabled description "NET4 LAG to Core" hashing-algorithm src-dst-mac lacp-admin-state disabled action-success true aid NET4,and press Enter. Output similar to the following is displayed:
Interface Net Create Without Ports
- Command Path – tolt>interfaces>net>create>
- Module – tolt
- Container – interfaces
- Container – net
- Action – create
- Types – Example Parameters
- aid NET4
- Admin-state enabled
- description "NET4 LAG to Core"
- hashing-algorithm src-dst-mac
- lacp-admin-state disabled
- action-success true
- aid NET4
- From the MDS1-ESUA# command line, input tolt interfaces net create aid NET4 admin-state enabled description "NET4 LAG to Core" ports [ QSFP1-2-5 QSFP1-2-6 ] hashing-algorithm src-dst-mac lacp-admin-state disabled action-success true aid NET4,and press Enter. Output similar to the following is displayed: