此命令应用于DHCP中继。客户端发送的DHCP请求报文通过DHCP中继发送到DHCP服务器时,可执行dhcp relay server-select命令指定DHCP中继对应的DHCP服务器组,从而配置DHCP中继所代理的DHCP服务器地址。 前置条件 执行dhcp server group命令创建DHCP服务器组。 执行dhcp select relay命令使能DHCP中继功能后,系统才能向配置的DHCP服...
为保证DHCP报文能从DHCP中继转发到DHCP服务器,必须在使能DHCP中继的接口上使用命令dhcp relay server-select或dhcp relay server-ip配置正确的DHCP服务器的IP地址。 为保证DHCP报文能从DHCP服务器转发到DHCP中继,必须在DHCP服务器上配置到DHCP中继的路由。
[Huawei-GigabitEthernet0/0/2]dhcp select relay //使能接口的DHCP中继功能 [Huawei-GigabitEthernet0/0/2]dhcp relay server-ip 10.1.1.100 //配置DHCP服务器的IP地址 [Huawei]ip relay address cycle //配置DHCP中继的轮询功能 [Huawei]dhcp server group a1 [Huawei-dhcp-server-group-a1]dhcp-server 10.1....
[Huawei-GigabitEthernet0/0/2]dhcp select relay //使能接口的DHCP中继功能 [Huawei-GigabitEthernet0/0/2]dhcp relay server-ip 10.1.1.100 //配置DHCP服务器的IP地址 [Huawei]ip relay address cycle //配置DHCP中继的轮询功能 [Huawei]dhcp server group a1 [Huawei-dhcp-server-group-a1]dhcp-server 10.1....
dhcp select relay dhcp relay server-select1 # interface Serial0/2/0 link-protocol ppp ip address 10.10.10.2 255.255.255.252 # dhcp enable # MSR3的配置如下: [MSR3]dis cur # interface Ethernet0/1/0 port link-mode route ip address dhcp-alloc ...
[SwitchA] dhcp relay server-group 1 ip 10.1.1.1 # 配置VLAN接口1工作在DHCP中继模式。 [SwitchA] interface vlan-interface 1 [SwitchA-Vlan-interface1] dhcp select relay # 配置VLAN接口1对应DHCP服务器组1。 [SwitchA-Vlan-interface1] dhcp relay server-select 1 2024-08-26回答 评论(1) 举报 (...
[Sysname-Vlan-interface1] dhcp relay server-select 12.1.20 dhcp select relay【命令】dhcp select relayundo dhcp select relay【视图】接口视图【缺省级别】2:系统级【参数】无【描述】dhcp select relay命令用来配置接口工作在DHCP中继模式,即当接口收到DHCP客户端发来的DHCP报文时,将报文转发给外部DHCP服务器...
[Sysname-Vlan-interface1] dhcp relay server-select 12.1.19 dhcp select relay【命令】dhcp select relayundo dhcp select relay【视图】接口视图【缺省级别】2:系统级【参数】无【描述】dhcp select relay命令用来配置接口工作在DHCP中继模式,即当接口收到DHCP客户端发来的DHCP报文时,将报文转发给外部DHCP服务器...
dhcp select relay //在接口下使能DHCP中继功能 dhcp relay server-select dhcpgroup1 //指定接口对应的DHCP服务器组 # interface Ethernet 2/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 # interface GigabitEthernet3/0/0 ip address 10.10.20.1 255.255.255.0 ...
[SwitchB] dhcp relay server-group 1 ip 10.2.1.1 # 配置VLAN接口1工作在DHCP中继模式。 [SwitchB] interface vlan-interface 1 [SwitchB-Vlan-interface1] dhcp select relay # 配置VLAN接口1对应DHCP服务器组1。 [SwitchB-Vlan-interface1] dhcp relay server-select 1 # 配置DHCP中继的地址匹配检查功能。