Configuration Guide Configuring DHCPConfiguring DHCP
Run the show run command to display the configuration.
Ruijie(config)#show run | begin ip dhcp
ip dhcp pool Billy
host 172.16.1.101 255.255.255.0
client-name Billy
hardware-address 00d0.df34.32a3 Ethernet
default-router 172.16.1.254
dns-server 172.16.1.253
4.4.3 Configuring Address Management Based on Vlan/Port
Configuration Effect
Assign IP addresses according to an AM rule based on a port and a VLAN.
Notes
Ruijie products support AM rule configuration on Ethernet, GB, FR, PPP and HDLC interfaces.
Configuration Steps
Run the address-manage command in config mode.
Run the match ip command in address management configuration mode.
Verification
Check whether clients in different VLANs and ports obtain the valid IP addresses.
Related Commands
Configuring Default Range
match ip default ip-address netmask
ip-address: Defines an IP address.
netmask: Defines a subnet mask.
After configuration, all DHCP clients are assigned IP addresses from the default range based on the
VLAN and port. If this command is not configured, IP addresses will be assigned through the regular
process.
Assigning Dynamic IP Address Based on VLAN and Port
match ip ip-address netmask interface [add/remove] vlan vlan-list
ip-address: Defines an IP address.
netmask: Defines a subnet mask.