/
set interface aggregate-ethernet routed-interface sub-interface vlan-id

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 @).

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 rae3
admin@Xorplus# set interface aggregate-ethernet ae3 routed-interface sub-interface rae3.1 vlan-id 10
admin@Xorplus# commit


Copyright © 2025 Pica8 Inc. All Rights Reserved.