- play_arrow Get Started
- Juniper Mist Wired Assurance Overview
- Hardware and Software Requirements for Your Wired Network
- Switch Administrator Role Requirements
- Deploy Your Wired Network
- Request Help with a New Deployment
- Explore Juniper Mist Features
- Port Profiles Overview
- Group-Based Policy Configuration Overview (Mist)
- Juniper CloudX Overview
- play_arrow Switch Dashboards
- play_arrow Virtual Chassis Configuration
- play_arrow Campus Fabric Configuration
- play_arrow Wired Service Levels
- play_arrow Troubleshooting
- play_arrow Appendix
Configure DHCP Server or Relay on a Switch
This chapter lists the steps that are required to configure DHCP server or relay on a switch.
Prerequisites
Before configuring the DHCP server or relay, ensure the following:
- The VLAN for which DHCP server will be configured on switch is assigned to the ports connecting to the DHCP clients. You can do this by applying a relevant port profile to the port. For more information about port profiles, see Port Profiles Overview.
- The switch has a Static IP Configuration or Additional IP configuration for the network to run DHCP server. Or the L3 Interface is configured for DHCP server or relay.
Configure DHCP Server
To configure DHCP server on a switch:
Here are some useful Junos CLI commands:
show dhcp server binding
orshow dhcp server binding detail
—To view the DHCP server binding information.show dhcp server statistics
—To view the DHCP messages sent/received statistics.clear dhcp server binding interface x-x/x/x
—To clear the DHCP client binding for a client on a particular interface.clear dhcp server binding <address>
—To clear the DHCP client binding based on an IP address or MAC address of the wired client.
Configure DHCP Relay
To configure DHCP relay on a switch:
Here are some useful Junos CLI commands:
show dhcp relay binding
orshow dhcp relay binding detail
—To view the DHCP relay binding information.show dhcp server statistics
—To view the DHCP relay messages sent/received statistics.clear dhcp relay binding interface x-x/x/x
—To clear the DHCP client binding for a client on a particular interface.clear dhcp relay binding <address>
—To clear the DHCP client binding based on an IP address or MAC address of the wired client.
See also: DHCP Relay Agent.