5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
726
Parameters
server-address
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.
discard
Matching packets should be discarded rather than relayed, even if a
global ip helper-address configuration matches the packet.
dest-udp-port
(Optional) Destination UDP port number from 0 to 65535.
port-name
(Optional) 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)
•
tacacs (port 49)
•
tftp (port 69)
•
time (port 37)
Other ports must be specified by number.
Default
The default is as follows: helper addresses are not configured.
Command Mode
Interface Config
Example
To relay DHCP packets received on interface 0/2 to two DHCP servers, 192.168.10.1 and 192.168.20.1,
use the following commands.
(Routing)#config
(Routing)(Config)#interface 0/2
(Routing)(Interface 0/2)#ip helper-address 192.168.10.1 dhcp
(Routing)(Interface 0/2)#ip helper-address 192.168.20.1 dhcp
To relay both DHCP and DNS packets to 192.168.30.1, use the following commands.
(Routing)#config
(Routing)(Config)#interface 0/2
(Routing)(Interface 0/2)#ip helper-address 192.168.30.1 dhcp
(Routing)(Interface 0/2)#ip helper-address 192.168.30.1 dns
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...