set  access address-assignment pool vlan204 family inet network 192.168.204.0/24
set access address-assignment pool vlan204 family inet range vlan204 low 192.168.204.1
set access address-assignment pool vlan204 family inet range vlan204 high 192.168.204.250
set access address-assignment pool vlan204 family inet dhcp-attributes maximum-lease-time 86400
set access address-assignment pool vlan204 family inet dhcp-attributes domain-name example.com
set access address-assignment pool vlan204 family inet dhcp-attributes name-server 8.8.8.8
set access address-assignment pool vlan204 family inet dhcp-attributes router 192.168.204.254
set system services dhcp-local-server group vlan204 interface vlan.204
set vlans vlan204 description Area-A_5F
set vlans vlan204 vlan-id 204
set vlans vlan204 l3-interface vlan.204
set interfaces ge-0/0/12 description Area-A_5F
set interfaces ge-0/0/12 unit 0 family ethernet-switching port-mode trunk
set interfaces ge-0/0/12 unit 0 family ethernet-switching vlan members all
set interfaces vlan unit 204 description Area-A_5F
set interfaces vlan unit 204 family inet address 192.168.204.254/24

 

留言