vlan basic configuration
ELS Vs none-ELS vlan configuration : https://kb.juniper.net/InfoCenter/index?page=content&id=KB11013&cat=QFX_SERIES&actp=LIST
Configuration | |
---|---|
create vlan and interface {master:0} jkriker@qfx5110-18> show configuration interfaces xe-0/0/0 unit 0 { inactive: family inet { address 10.10.1.2/24; } family ethernet-switching { interface-mode access; vlan { members vlan1230; } } } {master:0} jkriker@qfx5110-18> show configuration interfaces xe-0/0/2 unit 0 { inactive: family inet { address 10.10.10.1/24; address 10.10.20.1/24; } family ethernet-switching { interface-mode access; vlan { members vlan1230; } } } {master:0} jkriker@qfx5110-18> show configuration interfaces irb unit 0 { family inet { address 10.10.0.50/24; } } {master:0} jkriker@qfx5110-18> show configuration vlans vlan1230 { vlan-id 1230; l3-interface irb.0; } {master:0} jkriker@qfx5110-18> show configuration interfaces xe-0/0/0 | display set set interfaces xe-0/0/0 unit 0 family inet address 10.10.1.2/24 deactivate interfaces xe-0/0/0 unit 0 family inet set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode access set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members vlan1230 {master:0} jkriker@qfx5110-18> show configuration interfaces xe-0/0/1 | display set set interfaces xe-0/0/1 disable set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members vlan1230 {master:0} jkriker@qfx5110-18> show configuration vlans | display set set vlans vlan1230 vlan-id 1230 | |
Show commands | |