Configuration commands
Use these M4500 CLI commands to configure IP helper addresses globally or per interface, discard rules, enable IP helper, and clear statistics.
ip helper-address (Global Config)
Use this command to configure the relay of certain UDP broadcast packets received on any interface. This command can be invoked multiple times, either to specify multiple server addresses for a given UDP port number or to specify multiple UDP port numbers handled by a specific server. To delete the address, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Global Config |
| Parameter | Description |
|---|---|
| ipaddr | The IPv4 unicast or directed broadcast address to which relayed UDP broadcast packets are sent. The server address cannot be an IP address configured on any interface of the local router. |
| udp-port | A destination UDP port number from 1 to 65535. The destination UDP port may be optionally specified by its name. Whether a port is specified by its number or its name has no effect on behavior. The names recognized are as follows: |
| port-name |
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. |
ip helper-address (Interface Config)
Use this command to configure the relay of certain UDP broadcast packets received on a specific interface or range of interfaces. This command can be invoked multiple times on a routing interface, either to specify multiple server addresses for a given port number or to specify multiple port numbers handled by a specific server. To delete the address, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Interface Config |
| Parameter | Description |
|---|---|
| ipaddr | The IPv4 unicast or directed broadcast address to which relayed UDP broadcast packets are sent. The server address cannot be in a subnet on the interface where the relay entry is configured, and cannot be an IP address configured on any interface of the local router. |
| udp-port | A destination UDP port number from 0 to 65535. |
| port-name |
The destination UDP port may be optionally specified by its name. Whether a port is specified by its number or its name has no effect on behavior. 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. |
ip helper-address discard
Use this command to configure the discard of certain UDP broadcast packets received on a specific interface or range of interfaces. This command can be invoked multiple times on a routing interface for a given port number or to specify multiple port numbers handled by a specific server. To delete the address, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Interface Config |
| Parameter | Description |
|---|---|
| udp-port | A destination UDP port number from 1 to 65535. The destination UDP port may be optionally specified by its name. Whether a port is specified by its number or its name has no effect on behavior. The names recognized are as follows: |
| port-name |
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. |
ip helper enable
This command enables the relay of UDP packets. To disable the replay of UDP packets, use the no form of this command.
| Default | Disabled |
| Format |
|
| Mode | Global Config |
clear ip helper statistics
Use this command to clear the statistics data of UDP packets processed and relayed by IP helper.
| Default | None |
| Format | clear ip helper statistics [vrf <vrf-name>] |
| Mode |
Privileged Exec User Exec |