Prestige 642 PPPoE Modem
| CI COMMAND | PARAMETER(S) | DESCRIPTION | |
ip | route | status |
| Display routing table. |
|
|
|
|
|
ip | route | add |
| Add a gateway to a routing table. |
|
|
|
|
|
ip | route | addiface |
| Add an interface to a routing table. |
|
|
|
|
|
ip | route | addprivate |
| Add a private routing entry. |
|
|
|
|
|
ip | route | drop |
| Drop a routing entry. |
|
|
|
|
|
ip | status |
|
| Display IP layer’s status. |
|
|
|
|
|
4.3.12 IP Related CI Commands — Examples
IP DHCP Enif0 Status Command
The ip dhcp enif0 status command displays DHCP configuration, as shown in the following example.
ras> ip dhcp enif0 status DHCP on iface enif0 is server
Start assigned IP address: 192.168.1.2/24
Number of IP addresses reserved: 4
Hostname prefix: dhcppc
DNS server: 0.0.0.0 0.0.0.0
Default gateway: 192.168.1.1
Lease time: 259200 seconds
Renewal time: 129600 seconds
Rebind time: 226800 seconds
Probing count: 4
slot state timer type hardware address 0 UNCERTAIN 0 0 00
1 UNCERTAIN 0 0 00
2 UNCERTAIN 0 0 00
3 UNCERTAIN 0 0 00 Status:
Packet InCount: 0, OutCount: 0, DiscardCount: 0 Syntax:
Ip dhcp enif0 status
Command Line Interface |