SwitchA#show vlan
VLAN Name Status Ports
---- ------- ------------ ----------------------------
1 VLAN0001 STATIC Gi0/11,Gi0/12,Gi0/13,Gi0/14,Gi0/15,
Gi0/16,Gi0/17,Gi0/18,Gi0/19,Gi0/20,Gi0/21, Gi0/22, Gi0/23, Gi0/24
200 VLAN0200 STATIC Gi0/1,Gi0/2,Gi0/3,Gi0/4,Gi0/5,
Gi0/6,Gi0/7,Gi0/8,Gi0/9,Gi0/10
The following example adds the AggregatePort10 to VLAN20.
Ruijie# configure terminal
SwitchA(config)#vlan 20
SwitchA(config-vlan)#add interface aggregateport 10
Ruijie# show interface aggregateport 10 switchport
Interface Switchport Mode Access Native Protected VLAN lists
---------- -------- ----- ----- ---- ---------- -------
AggregatePort 10 enabled ACCESS 20 1 Disabled ALL
The default name of a VLAN is the combination of “VLAN” and VLAN ID, for example, the default
name of the VLAN 2 is “VLAN0002”.