interfaces { ge-0/0/0 { apply-macro juniper-port-profile { Desktop; } description "Layer 2 switching"; mtu 1514; ether-options { auto-negotiation; no-flow-control; link-mode automatic; speed { auto-negotiation; } } unit 0 { family ethernet-switching { port-mode trunk; vlan { members [VOICE-VLAN DATA-VLAN]; } } } } ge-0/0/1 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members DATA-VLAN; } } } } ge-0/0/2 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members VOICE-VLAN; } } } } ge-0/0/3 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members DATA-VLAN; } } } } ge-0/0/4 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members VOICE-VLAN; } } } } ge-0/0/5 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members DATA-VLAN; } } } } ge-0/0/6 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members VOICE-VLAN; } } } } ge-0/0/7 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members DATA-VLAN; } } } } ge-0/0/8 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members VOICE-VLAN; } } } } ge-0/0/9 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members DATA-VLAN; } } } } ge-0/0/10 { apply-macro juniper-port-profile { "Desktop and Phone"; } unit 0 { family ethernet-switching { port-mode access; vlan { members VOICE-VLAN; } } } } me0 { unit 0 { family inet { address 10.11.128.3/24; } } } vlan { unit 1 { family inet { address 10.11.128.1/24; } } unit 2 { family inet { address 10.11.0.1/24; } } } } protocols { lldp { interface all; } rstp { bridge-priority 4k; interface ge-0/0/0.0 { edge; } } } vlans { DATA-VLAN { description "Desktop PC DATA VLAN"; vlan-id 10; l3-interface vlan.1; } VOICE-VLAN { description "Phone VLAN"; vlan-id 20; l3-interface vlan.2; } default; } poe { interface all; }