Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


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 avoide 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
  • No labels