Как добавить vlan на интерфейс ae ( aggregated ethernet )
Создана 28.05.2022
Отредактирована 18.10.2023
Отредактирована 18.10.2023
> show lacp interfaces
> show configuration interfaces ae0
aggregated-ether-options {
link-speed 10g;
lacp {
active;
}
}
unit 0 {
description switch-1;
family ethernet-switching {
port-mode trunk;
vlan {
members [ 2 4 387 435 572 ];
}
}
}
Добавим на логический интерфейс ae0 виланы 3 50 и 1379
{master:0}
> configure
Entering configuration mode
{master:0}[edit]
# set interfaces ae0 unit 0 family ethernet-switching vlan members [ 3 50 1379 ]
> configure
Entering configuration mode
{master:0}[edit]
# set interfaces ae0 unit 0 family ethernet-switching vlan members [ 3 50 1379 ]
{master:0}[edit]
# show | compare
[edit interfaces ae10 unit 0 family ethernet-switching vlan]
- members [ 2 4 387 435 572 ];
+ members [ 2 3 4 50 387 435 572 1379 ];
# show | compare
[edit interfaces ae10 unit 0 family ethernet-switching vlan]
- members [ 2 4 387 435 572 ];
+ members [ 2 3 4 50 387 435 572 1379 ];
{master:0}[edit]
# commit
fpc0:
configuration check succeeds
fpc1:
commit complete
fpc0:
commit complete
# commit
fpc0:
configuration check succeeds
fpc1:
commit complete
fpc0:
commit complete
{master:0}[edit]
# exit
Exiting configuration mode
# exit
Exiting configuration mode