| 场景 | 评估中继对现网的影响 |
|---|---|
| 适用 | 思科为主,三厂对照 |
思科默认转发端口
| 端口 | 协议 | 用途 |
|---|---|---|
| 69 | UDP | TFTP |
| 53 | UDP | DNS |
| 137/138 | UDP | NetBIOS |
| 67/68 | UDP | BOOTP/DHCP |
| 49 | UDP | TACACS |
| 161 | UDP | SNMP |
思科 IOS
思科 IOS
no ip forward-protocol udp 137
no ip forward-protocol udp 138
show ip forward-protocol
! 收窄后 helper-address 仍正常转发 DHCP华为 VRP
华为 VRP
interface Vlanif10
dhcp select relay
dhcp relay server-ip 10.0.0.100
! 中继仅处理 DHCP 报文,无额外端口转发行为H3C Comware
H3C Comware
interface Vlan-interface10
dhcp select relay
dhcp relay server-select 1
! 同样仅按 DHCP 中继逻辑处理差异:该坑为思科独有——ip helper-address 基于 UDP 广播转发机制;华为/H3C 中继默认只转发 DHCP,无需额外收窄。