You cannot specify an interface set mixing the logical interface, S-VLAN, or VLAN outer tag list forms of the interface-set statement.
A logical interface can only belong to one interface set. If you try to add the same logical interface to different interface sets, the commit will fail.
This example will generate a commit error:
- [edit interfaces]
- interface-set set-one {
-
- ge-2/0/0 {
- unit 0;
- unit 2;
- }
- }
- interface-set set-two {
-
- ge-2/0/0 {
- unit 1;
- unit 3;
- unit 0; # COMMIT ERROR! Unit 0 already belongs to -set-one.
- }
- }
Members of an interface set cannot span multiple physical interfaces. Only one physical interface is allowed to appear in an interface set.
This configuration is not supported:
- [edit interfaces]
- interface-set set-group {
-
- ge-0/0/1 {
- unit 0;
- unit 1;
- }
-
- ge-0/0/2 { # This type of configuration is NOT supported
in the same interface set!
- unit 0;
- unit 1;
- }
- }