Change vlan on access port
Crandel last edited by
I have a Juniper EX 3200, and I try to change by CLI command the vlan of interface.
The interfaces ge-0/0/5 is on vlan LAN9
I run the command:
set interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members Lan5
but I get the error on commit:
error: Access interface <ge-0 0="" 5.0="">has more than one vlan member: <lan5>and<lan9></lan9></lan5></ge-0>
where is my error ?
pd: from web I don’t have problem. But I need to do it from CLI.
sekarsuraj last edited by
I know its too late that i am replying to this thread anyway
Step 1:root@#show interfaces ge-0/0/5 will show that the interface is already mapped to Lan9
hence you need to delete it first.
delete interfaces ge-0/0/5 unit 0 family ethernet-switching vlan members Lan9
Step 2: show vlans Lan9
This will show you if the interface is mapped in the vlan hierarchy, if it exists delete it as well
This should fix the issue