Hello,
My guess is that you are looking for JUNOS command equivalent to CSCO IOS command
service udp-small-servers
service tcp-small-servers
http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a008019d97a.shtml
These "small servers" are working on ports 7,9,13,19 (both TCP and UDP)
aarseniev@m10irouter> file show /etc/services | grep "(^chargen|^echo|^discard|^daytime)" | grep "(tcp|udp)"
echo 7/tcp
echo 7/udp
discard 9/tcp sink null
discard 9/udp sink null
daytime 13/tcp
daytime 13/udp
chargen 19/tcp ttytst source #Character Generator
chargen 19/udp ttytst source #Character Generator
These services are disabled by default on every JUNOS router and there is no supported way to enable them.
You can verify this by using following command and observing the printout, matching on ports 7,9,13,19:
aarseniev@m10irouter> show system connections inet show-routing-instances | grep "(\.7 |\.9 |\.13 |\.19 )"
This command does match on other open ports, for instance on port 179 (BGP):
aarseniev@m10irouter> show system connections inet show-routing-instances | grep "(\.7 |\.9 |\.13 |\.179 )"
tcp4 0 0 1.1.1.2.179 1.1.1.1.54014 1 ESTABLISHED
tcp4 0 0 1.1.1.1.54014 1.1.1.2.179 default ESTABLISHED
tcp4 0 0 2.2.2.2.179 2.2.2.1.53410 2 ESTABLISHED
tcp4 0 0 2.2.2.1.53410 2.2.2.2.179 default ESTABLISHED
tcp46 0 0 *.179 *.* default LISTEN
tcp4 0 0 *.179 *.* default LISTEN
HTH
Rgds
Alex