Brug kommandoen "bonjour" til at få vist Bonjour-relaterede indstillinger.
Visning af indstillinger
Bonjour-indstillinger vises.
msh> bonjour
Indstilling af Bonjour-servicenavn
Du kan angive et Bonjour-servicenavn.
msh> bonjour cname "computer name"
Du kan indtaste et computernavn på op til 63 alfanumeriske tegn.
Hvis du ikke angiver en tegnstreng, vises den aktuelle indstilling.
Indstilling af oplysninger om Bonjour-installationsplacering
Du kan indtaste oplysninger om det sted, hvor maskinen er installeret.
msh> bonjour location "location"
Oplysningerne om placeringen kan angives med op til 32 tal eller bogstaver.
Hvis der ikke angives en tegnstreng, vises den aktuelle indstilling.
IP TTL-indstilling
msh> bonjour ipttl [1-255]
Du kan angive IP-TTL (antallet af routere, en pakke kan passere gennem).
Standardværdien er 255.
Nulstilling af computernavn og placeringsoplysninger
Du kan nulstille computernavnet og oplysningerne om placeringen.
msh> bonjour clear {cname|location}
cname: Nulstil computernavnet. Computerens standardnavn vises, når den genstartes.
location: Nulstil oplysningerne om placering. De tidligere oplysninger om placering slettes.
Interface-konfiguration
msh> bonjour linklocal "interface_name"
Ethernet-interfacet vælges automatisk, hvis du ikke angiver et interface.
Hvis der installeres mange typer interface, skal du konfigurere det interface, der kommunikerer med linklocal-adressen.
Hvis du ikke angiver et interface, vil Ethernet-interfacet automatisk blive valgt.
Interface |
Konfigureret interface |
|---|---|
ether |
Ethernet interface |