Configures a default router or gateway IP address for the static binding configuration. After a DHCP client has booted, the client begins sending packets to its default router.
default-router [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
default-router [<IP>|<HOST-ALIAS-NAME>] {<IP1>|<HOST-ALIAS-NAME1>}
[<IP>|<HOST-ALIAS- NAME>] |
Configures the primary default router, using one of the following options:
|
{<IP1>|<HOST-ALIAS- NAME1>} |
Optional. Configures the secondary default router, using one of the following options:
Note: A
network host alias maps a name to a single network
host. For example, ‘alias host $HOST 1.1.1.100‘. In
this example the host alias is ‘$HOST‘ and it maps to
a single host ‘1.1.1.100‘. For more information, see
alias.
Note: A
maximum of 8 default routers can be
configured.
|
The IP address of the router should be on the same subnet as the client subnet.
nx9500-6C8809(config-dhcp-policy-test-pool-pool1-binding-test)#default-router 172.16.10.8 172.16.10.9
nx9500-6C8809(config-dhcp-policy-test-pool-pool1-binding-test)#show context static-binding client-identifier test client-name RFID bootfile test.txt default-router 172.16.10.8 172.16.10.9 nx9500-6C8809(config-dhcp-policy-test-pool-pool1-binding-test)#
no (dhcpv4-pool-static-binding) |
Removes the default router settings |