Configure System Attributes
Copyright © 2011, Juniper Networks, Inc.
Configure an administrator account on the device. When prompted, enter the password
2.
for the administrator account.
[edit]
root@# set system login user admin class super-user authentication
plain-text-password
New password: password
Retype new password: password
Commit the configuration to activate it on the services gateway.
3.
[edit]
root@# commit
Log in as the administrative user you configured earlier.
1.
Configure the name of the services gateway. If the name includes spaces, enclose the
2.
name in quotation marks (" ").
configure
[edit]
admin@# set system host-name host-name
Configure the IP address and prefix length for the services gateway's Ethernet interface.
3.
[edit]
admin@# set interfaces fxp0 unit 0 family inet address address/prefix-length
Configure the traffic interfaces.
4.
[edit]
admin@# set interfaces ge-0/0/0 unit 0 family inet address address/prefix-length
admin@# set interfaces ge-0/0/1 unit 0 family inet address address/prefix-length
Configure the default route.
5.
[edit]
admin@# set routing-options static route 0.0.0.0/0 next-hop gateway
Configure basic security zones and bind them to the traffic interfaces.
6.
[edit]
admin@# set security zones security-zone trust interfaces ge-0/0/0
admin@# set security zones security-zone untrust interfaces ge-0/0/1
Configure basic security policies.
7.
[edit]
admin@# set security policies from-zone trust to-zone untrust policy policy-name
match source-address any destination-address any application any
root@# set security policies from-zone trust to-zone untrust policy policy-name then
permit
Check the configuration for validity.
8.
[edit]
admin@# commit check
configuration check succeeds
Configure System Attributes
21