In the following example, ping, ssh, traceroute, and ospf host-inbound traffic is enabled for interface ge-0.0/1.1
- user@host# set security zones security-zone ABC interfaces
ge-0/0/1.3 host-inbound-traffic system-services ping
- user@host# set security zones security-zone ABC interfaces
ge-0/0/1.3 host-inbound-traffic system-services ssh
- user@host# set security zones security-zone ABC interfaces
ge-0/0/1.3 host-inbound-traffic system-services traceroute
- user@host# set security zones security-zone ABC interfaces
ge-0/0/1.1 host-inbound-traffic protocols ospf
If you are finished configuring the device, commit the configuration.
Another view of the previous configuration:
security zones security-zone ABC {
interfaces {
ge-0/0/0.33 {
host-inbound-traffic {
system-services {
ping;
ssh;
traceroute;
}
protocols {
ospf;
}
}
}
}
}
For more information on host-inbound protocols configuration, see the JUNOS Software CLI Reference.