Netgear XSM4324FS CLI Manual Software Version 12.x - Page 715
ip helper-address, DHCP packets that are received on any interface other than 1/0/2 and 1/0/17
View all Netgear XSM4324FS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 715 highlights
M4300 Intelligent Edge Series Fully Managed Stackable Switches Parameter Description port-name As an option, you can specify the destination UDP port by its name. Whether you specify a port by its number or its name does not matter for the configuration.The names recognized are as follows: • dhcp (port 67) • domain (port 53) • isakmp (port 500) • mobile-ip (port 434) • nameserver (port 42) • netbios-dgm (port 138) • netbios-ns (port 137) • ntp (port 123) • pim-auto-rp (port 496) • rip (port 520) • tacacs (port 49) • tftp (port 69) • time (port 37) Other ports must be specified by number. Command example: The following example relays DHCP packets that are received on interface 1/0/2 to two DHCP servers, 192.168.10.1 and 192.168.20.1: (NETGEAR Switch)#config (NETGEAR Switch)(config)#interface 1/0/2 (NETGEAR Switch)(interface 1/0/2)#ip helper-address 192.168.10.1 dhcp (NETGEAR Switch)(interface 1/0/2)#ip helper-address 192.168.20.1 dhcp Command example: The following example relays DHCP and DNS packets to 192.168.30.1: (NETGEAR Switch)#config (NETGEAR Switch)(config)#interface 1/0/2 (NETGEAR Switch)(interface 1/0/2)#ip helper-address 192.168.30.1 dhcp (NETGEAR Switch)(interface 1/0/2)#ip helper-address 192.168.30.1 dns Command example: The following example takes precedence over the ip helper-address command that you enter in global configuration mode. With the following configuration, the relay agent relays DHCP packets that are received on any interface other than 1/0/2 and 1/0/17 to 192.168.40.1, relays DHCP and DNS packets that are received on 1/0/2 to 192.168.40.2, relays SNMP traps (port 162) that are received on interface 1/0/17 to 192.168.23.1, and drops DHCP packets that are received on 1/0/17: (NETGEAR Switch)#config (NETGEAR Switch)(config)#ip helper-address 192.168.40.1 dhcp (NETGEAR Switch)(config)#interface 1/0/2 (NETGEAR Switch)(interface 1/0/2)#ip helper-address 192.168.40.2 dhcp Routing Commands 715 CLI Command Reference Manual