VIRATA ATMOS Console Bedienungsanleitung Seite 9

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 59
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 8
EMEA CSO 0013 USR8550 – Console commands 23/04/02 Page 9/58
mymachine> dhcpclient trace
No tracing options currently enabled.
mymachine> dhcpclient trace error warn note
Currently tracing: error warn note
DHCP-related IP process commands
The following commands are not provided by the DHCP client process but by the IP process ip
(see [2]).
ip device
Syntax:
ip device add <i/f> <type> <file> [mtu <size>] [<IP address>|dhcp]
ip device
Description:
The ip device add command adds an interface to the configuration of the IP stack. The last
parameter of the command would normally the IP address of the interface; use of the string
dhcp causes the IP address to be discovered by the DHCP client software. Note that using the
flag dhcp on an interface precludes running a DHCP server on that interface!
The ip device command lists the current configuration of any devices attached to the IP stack.
A
device configured to use DHCP will show
“dhcp” in the “IP address” column, followed by
the actual IP address discovered and bound by DHCP, if any.
For interfaces configured to use DHCP, saving configuration only marks the interface as using
DHCP; it does not save the actual IP address discovered by DHCP, which must be renewed.
A useful method of automatically configuring suitable IP devices is to put a
“device add”
statement into the file
“//isfs/resolve” and downloading it upon booting the image.
Example:
bd2000> ip device add ethernet ether //edd dhcp
…DHCP then discovers the IP address for the interface…
bd2000> ip device
# type dev file IP address
device ethernet ether //edd mtu 1500 dhcp
DHCP Server Console Commands
This section describes console commands provided by the
dhcpserver process.
dhcpserver config
Syntax:
dhcpserver config [add <text>|confirm|delete|flush]
Description:
This command displays or edits the current configuration of the DHCP server. To display
current configuration, provide no arguments to the command. Use of the “add” argument adds
the line
<text> to the configuration file. Use of the “confirm” argument reparses the
configuration file, confirming the changes made if the parse is successful. Use of the “delete”
argument deletes the last line from the configuration file. Use of the “flush” argument deletes
the whole configuration.
Following any change to the configuration file, it is necessary to “confirm” the changes, issue a
“flashfs update” to commit the change to FLASH, and then restart the system before the
changes
can take effect.
Example:
bd2000> dhcpserver config
---
Current DHCP server configuration
---
allow unknown-clients;
allow bootp;
subnet 192.168.219.0 netmask 255.255.255.0 {
range 192.168.219.10 192.168.219.30;
max-lease-time 5000;
}
bd2000> dhcpserver config flush
Configuration file flushed.
Seitenansicht 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 58 59

Kommentare zu diesen Handbüchern

Keine Kommentare