Herunterladen Inhalt Inhalt Diese Seite drucken

Die Parameter Von Ipconfig Anzeigen - Siemens SIMATIC NET SCALANCE LPE-9000 Projektierungshandbuch

Netzwerkkomponenten
Inhaltsverzeichnis

Werbung

Linux-Shell
4.8 IP-Konfiguration
Im Auslieferungszustand und nach einem Reset gelten folgende Default-Einstellungen:
• IP-Adresse und Subnetzmaske: DHCP
• Default-Gateway: P3C
Hinweis
Verwenden Sie für die IP-Konfiguration ausschließlich die in diesem Kapitel beschriebenen
Befehle. Andere Befehle, wie z. B. "ip", können zu einer fehlerhaften Netzwerkkonfiguration des
SCALANCE LPE-9000 führen.
4.8.1

Die Parameter von ipconfig anzeigen

Um Informationen zum Programm ipconfig anzuzeigen, führen Sie folgenden Befehl aus:
ipconfig -h
oder
ipconfig --help
Beispiel
admin@lpe9403-VPM7001325:~$ ipconfig -h
IP configuration tool for SCALANCE LPE-9403. Usage:
SYNOPSIS
OPTIONS
26
ipconfig [-i {P1|P2|P3C}]
[-c {<IP>/<Prefix>|dhcp|dhcp_h|dhcp_c}]
[{-g <IP>|-G|-D}] [-d {ro|rw|off}]
[-n {<IP1>[,<IP2>]|remove}]
ipconfig -i {P1|P2|P3C} -c down
ipconfig -s|-r [-i {P1|P2|P3C}]
-h, --help
Display this help message.
-i {P1|P2|P3C}, --interface={P1|P2|P3C}
Configurable interfaces of the device.
-c {<IP>/<Prefix>|dhcp|dhcp_c|dhcp_h|down},
--config={<IP>/<Prefix>|dhcp|dhcp_c|dhcp_h|down}
Configuration modes.
-g <IP>, --gw=<IP>
IP address of static default gateway.
-D, --gw-dhcp
Use gateway address from DHCP.
-G, --no-gw
Remove static gateway or refuse gateway by DHCP server.
-d {ro|rw|off}, --dcp={ro|rw|off}
Configurable DCP modes on interface P3C.
-n {<IP1>[,<IP2>]|remove},
--dns={<IP1>[,<IP2>]|remove}
Set up to two or remove DNS address(es) for static
configuration.
-s, --show
Projektierungshandbuch, 03/2021, C79000-G8900-C600-01
SCALANCE LPE-9000

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis