Voltar para DNS em uso?

Re: DNS em uso?

Home Fórum OFF Topic DNS em uso? Re: DNS em uso?

#56100

Bender,

Abaixo segue alguns comandos que tirei do site da cisco referente a sua dúvida.

Faça um teste e veja qual melhor atende a sua dúvida.

1 – show dhcp
To display the current Dynamic Host Configuration Protocol (DHCP) settings on point-to-point interfaces, use the show dhcp command in privileged EXEC mode.

Cisco uBR904, uBR905, uBR924, uBR925 cable access routers, Cisco CVA122 Cable Voice Adapter

show dhcp {lease | server}

Syntax Description
lease = Displays DHCP addresses leased from a server.
server = Displays known DHCP servers.

Command Modes
Privileged EXEC

Command History
Release Modification
11.3(4)NA This command was introduced for the Cisco uBR904 cable access router.
12.0(4)XI1 Support was added for the Cisco uBR924 cable access router.
12.1(3)XL Support was added for the Cisco uBR905 cable access router.
12.1(5)XU1 Support was added for the Cisco CVA122 Cable Voice Adapter.
12.2(2)XA Support was added for the Cisco uBR925 cable access router.

Usage Guidelines
You can use this command on any point-to-point type of interface that uses DHCP for temporary IP address allocation.

Examples
The following is typical output from the show dhcp lease command:

Router# show dhcp lease
Temp IP addr: 188.188.1.40 for peer on Interface: cable-modem0
Temp sub net mask: 0.0.0.0
DHCP Lease server: 4.0.0.32, state: 3 Bound
DHCP transaction id: 2431
Lease: 3600 secs, Renewal: 1800 secs, Rebind: 3150 secs
Temp default-gateway addr: 188.188.1.1
Next timer fires after: 00:58:01
Retry count: 0 Client-ID: 0010.7b43.aa01
Router#

Table 112 describes the fields shown in the display.

Table 112 show dhcp lease Field Descriptions
Field = Description

Temp IP addr = IP address leased from the DHCP server for the cable interface.

Temp subnet mask = Temporary subnet mask assigned to the cable interface.

DHCP Lease server = IP address of the DHCP server that assigned an IP address to this client.

state = Current state of this client (the cable interface). Possible states are Bound, Renew, or Rebinding. For descriptions of these states, see RFC 2131.

DHCP transaction id = Unique number established by the router before the first request message is sent to the DHCP server. The same transaction ID is used as long as the lease keeps getting renewed and is valid. If a new “discover” message is sent, a new transaction ID is used.

Lease = Time (in seconds) for which the leased IP address is valid; the duration of the lease.

Renewal = Time interval (in seconds) from address assignment until the client transitions to the renewing state. When the renewal (T1) time expires, the client sends a unicast dhcprequest message to the server to extends its lease. The default value of this timer is 0.5 times the duration of the lease.

Rebind = Time interval (in seconds) from address assignment until the client transitions to the rebinding state and sends a broadcast dhcprequest message to any DHCP server to extends its lease. The default value of this timer (T2) is 0.875 times the duration of the lease.

Temp default-gateway addr = IP address of the router closest to this client on the network.

Next timer fires after = Time in hours, minutes, and seconds until the next timer expires.

Retry count = Number of times the client has sent any message to the DHCP server—most likely a request message to extend its lease. When the lease is renewed, the Retry count is reset to 0.

Client-ID = MAC address (with optional media type code) that uniquely identifies the client on the subnet for binding lookups.

The following example shows typical output for the show dhcp server command:

Router# show dhcp server
DHCP server: ANY (255.255.255.255)
Leases: 1
Offers: 1 Requests: 2 Acks: 1 Naks: 0
Declines: 0 Releases: 0 Bad: 0
TFTP Server Name: SOHOSERVER
TIME0: 1.2.0.250, TIME1: 0.0.0.0
Subnet: 255.255.255.0
Router#
Table 113 describes the fields shown in the display.

Table 113 show dhcp server Field Descriptions
Field = Description
DHCP server = MAC address used by the DHCP server.

Leases = Number of current leased IP addresses.

Offers = Number of offers for an IP address sent to a proxy client from the server.

Requests = Number of requests for an IP address to the server.

Acks = Number of acknowledge messages sent by the server to the proxy client.

Naks = Number of not acknowledge messages sent by the server to the proxy client.

Declines = Number of offers from the server that have been declined by the proxy client.

Releases = Number of times IP addresses have been relinquished gracefully by the client.

Bad = Number of bad packets received due to wrong length, wrong field type, or other causes.

TFTP Server Name = Name (if any) configured for the server providing TFTP downloads to the CM.

TIME0 = IP address of the primary Time-of-Day (ToD) server.

TIME1 = IP address of the secondary ToD server.

Subnet = Subnet containing the DHCP server.

Abs,

Manuel.