- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2010 08:34 PM - edited 03-06-2019 01:10 PM
Hi All,
I have 2 4006 switches in my network. I have configured DHCP on that switch. Now my problem is few of the printers which are in this DHCP vlan are getting DHCP address. even if the printer is set in ip address, it is again getting DHCP address. So please let me know how to stop the DHCP service on that printer connected port. If there is no command to stop, please suggest me any other solution.
Satya.M
Hyundai
Solved! Go to Solution.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2010 08:56 PM
The only way I know of to disable DHCP on a specific port would be to use an access list to filter it. Something like the following:
ip access-list extended DHCP_FILTER
10 deny udp any eq bootpc any eq bootps
20 permit ip any any
interface [Printer Interface]
ip access-group DHCP_FILTER in
This will prevent the initial DHCP discover message from the client, but allow all other traffic.
Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2010 08:56 PM
The only way I know of to disable DHCP on a specific port would be to use an access list to filter it. Something like the following:
ip access-list extended DHCP_FILTER
10 deny udp any eq bootpc any eq bootps
20 permit ip any any
interface [Printer Interface]
ip access-group DHCP_FILTER in
This will prevent the initial DHCP discover message from the client, but allow all other traffic.
Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2010 10:34 PM
Thanks Jason.....it works......
