I have this output:
am# set vlans DATA forwarding-options dhcp-security ?
Possible completions:
<[Enter]> Execute this command
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
arp-inspection Enable dynamic ARP inspection
> dhcpv6-options DHCPv6 option processing for snooped packets
> group Define a DHCP security group for overriding defaults
ip-source-guard Enable IP source guard
ipv6-source-guard Enable IPv6 source guard
light-weight-dhcpv6-relay Enable light weight dhcpv6 relay
neighbor-discovery-inspection Enable neighbor discovery inspection
no-dhcp-snooping Disable dhcp snooping
no-dhcpv6-snooping Disable DHCPv6 snooping
> option-82 DHCP option-82 processing for snooped packets
| Pipe through a command
I did something like this:
set vlans DATA vlan-id 500
set vlans DATA l3-interface irb.500
set vlans DATA forwarding-options dhcp-security group TRUST overrides trusted
set vlans DATA forwarding-options dhcp-security group TRUST interface xe-0/0/0.0
set vlans DATA forwarding-options dhcp-security group NO-TRUST interface ge-0/0/10.0
set vlans VOIP vlan-id 770
set vlans VOIP l3-interface irb.770
set interfaces xe-0/0/0 description -=Servers=-
set interfaces xe-0/0/0 unit 0 family ethernet-switching interface-mode trunk
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members DATA
set interfaces xe-0/0/0 unit 0 family ethernet-switching vlan members VOIP
set interfaces ge-0/0/10 description -=Clients_Sherbakova2=-
set interfaces ge-0/0/10 unit 0 family ethernet-switching interface-mode trunk
set interfaces ge-0/0/10 unit 0 family ethernet-switching vlan members DATA
set interfaces ge-0/0/10 unit 0 family ethernet-switching vlan members VOIP
I need xe-0/0/0.0 - TRUST and other (ge-0/0/10.0, etc.) - UNTRUST.