set interface aggregate-ethernet routed-interface sub-interface vlan-id
The set interface aggregate-ethernet routed-interface sub-interface vlan-id command creates a sub-interface and adds it into a VLAN. When creating a sub-interface, VLAN ID needs to be specified at the same time.
Command Syntax
set interface aggregate-ethernet <lag-name> routed-interface sub-interface <sub-interface-name> vlan-id <vlan-id>
Parameter
Parameter | Description |
aggregate-ethernet <lag-name> | Specifies the name of a LAG port. The value is like ae1, ae10, etc. |
sub-interface <sub-interface-name> | Specifies the sub-interface name. The value could be up to 15 alphanumeric characters (including three special characters . – and @). NOTE: To avoid conflict with the preserved interface names, the routed interface name and sub-interface name must start with the string "rif-". Otherwise, commit will fail with the error message "The name of interface must start with "rif-". |
vlan-id <vlan-id> | Specifies the VLAN ID. The value is an integer that ranges from 2 to4094. |
Example
- Create a sub-interface and add to VLAN 10.
admin@Xorplus# set interface aggregate-ethernet ae3 routed-interface enable true admin@Xorplus# set interface aggregate-ethernet ae3 routed-interface name rif-ae3 admin@Xorplus# set interface aggregate-ethernet ae3 routed-interface sub-interface rif-ae3.1 vlan-id 10 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.