Version 7.2 561 Mediant MSBR
Reference Guide 74. Layer-2 (LAN) Commands
Related Commands
ip address dhcp
Example
This example configures a new vlan interface, enables dhcp and sets vendor class string to
“MSBR”.
(config-data)# interface vlan 3
(conf-if-VLAN 3)# ip address dhcp
(conf-if-VLAN 3)# ip dhcp-client class-id “MSBR”
(conf-if-VLAN 3)# no shutdown
(conf-if-VLAN 3)# exit
74.2.3.3 ip dhcp-client default-route
This command configures the device to accept the gateway received via DHCP as the default
route on this interface.
Use the “no” form of this command to disregard the gateway received via DHCP.
Syntax
ip dhcp-client default-route track <track id>
Command Description
default-route
Defines the gateway received via DHCP as the default
route on this interface.
track id Defines a track ID, the default route depends on. The
range is 1-100.
Default
no ip dhcp-client default-route
Command Mode
Privileged User
Related Commands
ip address dhcp
Example
This example configures a new vlan interface, enables dhcp & default gateway
(config-data)# interface vlan 3
(conf-if-VLAN 3)# ip address dhcp
(conf-if-VLAN 3)# ip dhcp-client default-route track 1