Qtech QSW-3300-28F-AC-AC [551/693] Ip helper enable

Qtech QSW-3300-28F-AC-AC [551/693] Ip helper enable
IP Helper Commands
Software User Manual
CLI Command Reference
Page 568
(switch)(config)#interface 1/0/2
(switch)(interface 1/0/2)#ip helper-address 192.168.30.1 dhcp
(switch)(interface 1/0/2)#ip helper-address 192.168.30.1 dns
Example:
This command takes precedence over an ip helper-address command given in global
configuration mode. With the following configuration, the relay agent relays DHCP packets received on any
interface other than 1/0/2 and 1/0/17 to 192.168.40.1, relays DHCP and DNS packets received on 1/0/2 to
192.168.40.2, relays SNMP traps (port 162) received on interface 1/0/17 to 192.168.23.1, and drops DHCP
packets received on 1/0/17:
(switch)#config
(switch)(config)#ip helper-address 192.168.40.1 dhcp
(switch)(config)#interface 1/0/2
(switch)(interface 1/0/2)#ip helper-address 192.168.40.2 dhcp
(switch)(interface 1/0/2)#ip helper-address 192.168.40.2 domain
(switch)(interface 1/0/2)#exit
(switch)(config)#interface 1/0/17
(switch)(interface 1/0/17)#ip helper-address 192.168.23.1 162
(switch)(interface 1/0/17)#ip helper-address discard dhcp
no ip helper-address (Interface Config)
Use this command to delete a relay entry on an interface. The no command with no arguments clears all helper
addresses on the interface.
ip helper enable
Use this command to enable relay of UDP packets. This command can be used to temporarily disable IP helper
without deleting all IP helper addresses. This command replaces the
bootpdhcprelay enable command, but
affects not only relay of DHCP packets, but also relay of any other protocols for which an IP helper address has
been configured.
Example:
The following shows an example of the command.
(switch)(config)#ip helper enable
no ip helper enable
Use the no form of this command to disable relay of all UDP packets.
Format
no ip helper-address [server-address | discard ][dest-udp-port | dhcp | domain |
isakmp | mobile ip | nameserver | netbios-dgm | netbios-ns | ntp | pim-auto-rp | rip
| tacacs | tftp | time]
Mode Interface Config
Default
disabled
Format
ip helper enable
Mode Global Config
Format
no ip helper enable

Содержание

Скачать