Télécharger Imprimer la page

Siemens SIMATIC NET SINEC OS V2.4 Manuel De Configuration page 346

Pour scalance xch-300, xcm-300, xrh-300 et xrm-300

Publicité

Attribution d'adresses IP
9.3 DHCP
Pour modifier l'ID de client d'une interface DHCP, procédez comme suit :
Opé‐
ration
1
2
3
4
5
Exemple
Dans cet exemple, on définit pour l'interface de client DHCP vlan5 la chaîne de caractères
MonitoringPC comme ID de client.
localhost# config
Entering configuration mode terminal
localhost(config)# dhcp client ipv4 vlan5 client-id string
MonitoringPC
localhost(config-vlan5)# commit
Commit complete.
localhost(config-vlan5)# end
localhost# show dhcp client ipv4 bindings vlan5 client-id-type
client-id-type string
localhost# show dhcp client ipv4 bindings vlan5 client-id
346
Instruction
Passez en mode de configuration.
Définissez l'ID de client d'une interface de cli‐
ent DHCP.
Options disponibles :
string { Chaîne de caractères }
- libre choix de l'ID. Le client DHCP s'identi‐
fie avec l'ID auprès du serveur DHCP.
Conditions :
– Au moins 1 caractère
– 152 caractères max.
– Tous les caractères standard ainsi que
les caractères spéciaux suivants sont
autorisés :
_ - . : < = > @ ( )
mac-address - Le client DHCP s'identifie
avec son adresse MAC auprès du serveur
DHCP.
name-of-station - Le client DHCP
s'identifie avec son nom d'appareil PROFI‐
NET auprès du serveur DHCP.
sys-name - Le client DHCP s'identifie avec
son nom d'hôte auprès du serveur DHCP.
Pour plus d'informations, voir "Modifica‐
tion du nom d'hôte (Page 122)".
Par défaut : mac-address
Validez la modification.
Quittez le mode de configuration.
Contrôlez la configuration.
Commande
config
dhcp client ipv4 { Interfaces
IP } client-id [ string { Chaîne
de caractères } | mac-address |
name-of-station | sys-name ]
commit
end
show dhcp client ipv4 bindings
{ Interface IP } client-id-type
show dhcp client ipv4 bindings
{ Interface IP } client-id
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07

Publicité

loading