交换机配置dhcp中继,将dhcp请求都中继到服务器。
如果在多个vlanif接口下配置dhcp中继,通过命令dis dhcp relay statistics interface 是不是可以查询到每个vlan接口的DHCP 中继报文的统计信息
(0)
可以。配置DHCP enable了么
显示所有的DHCP中继相关报文统计信息。
<Sysname> display dhcp relay statistics
DHCP packets dropped: 0
DHCP packets received from clients: 0
DHCPDISCOVER: 0
DHCPREQUEST: 0
DHCPINFORM: 0
DHCPRELEASE: 0
DHCPDECLINE: 0
BOOTPREQUEST: 0
DHCP packets received from servers: 0
DHCPOFFER: 0
DHCPACK: 0
DHCPNAK: 0
BOOTPREPLY: 0
DHCP packets relayed to servers: 0
DHCPDISCOVER: 0
DHCPREQUEST: 0
DHCPINFORM: 0
DHCPRELEASE: 0
DHCPDECLINE: 0
BOOTPREQUEST: 0
DHCP packets relayed to clients: 0
DHCPOFFER: 0
DHCPACK: 0
DHCPNAK: 0
BOOTPREPLY: 0
DHCP packets sent to servers: 0
DHCPDISCOVER: 0
DHCPREQUEST: 0
DHCPINFORM: 0
DHCPRELEASE: 0
DHCPDECLINE: 0
BOOTPREQUEST: 0
DHCP packets sent to clients: 0
DHCPOFFER: 0
DHCPACK: 0
DHCPNAK: 0
BOOTPREPLY: 0
表1-11 display dhcp relay statistics命令显示信息描述表
字段 |
描述 |
DHCP packets dropped |
DHCP中继丢掉的报文数 |
DHCP packets received from clients |
DHCP中继从客户端接收的DHCP报文数 |
DHCP packets received from servers |
DHCP中继从服务器接收的DHCP报文数 |
DHCP packets relayed to servers |
DHCP中继转发给服务器的报文数 |
DHCP packets relayed to clients |
DHCP中继转发给客户端的报文数 |
DHCP packets sent to servers |
DHCP中继主动发送给服务器的DHCP报文数,用于实现动态用户地址表项的定时刷新 |
DHCP packets sent to clients |
DHCP中继主动发送给客户端的DHCP报文数(目前设备作为DHCP中继时,不会主动发送DHCP报文给客户端) |
(1)
谢谢
您好,请知:
无法DHCP中继获取到IP地址,以下是排查要点,请参考:
1、如果DHCP服务器直连在交换机上,采用access接入即可。
2、在交换机的int vlan虚接口下配置DHCP中继分别指向到DHCP服务器。
3、如果是跨三层互通,确认路由的可达。
4、检查DHCP服务器超级作用域的配置是否有问题。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明