C613-50170-01 Rev B
Command Reference for x510 Series
795
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP A
DDRESSING
AND
P
ROTOCOL
C
OMMANDS
IP
REDIRECTS
ip redirects
Overview
This command enables the device to send ICMP redirects on one or more
interfaces.
Use the
no
variant of this command to stop the device from sending ICMP redirects
on one or more interfaces.
Syntax
ip redirects
no ip redirects
Default
ICMP redirects are disabled by default.
Mode
Interface Configuration for a VLAN interface.
Usage
ICMP redirect messages are used to notify hosts that a better route is available to a
destination.
ICMP redirects are used when a packet is routed into the device on the same
interface that the packet is routed out of the device. ICMP redirects are only sent to
packet sources that are directly connected to the device.
Examples
To enable the device to send ICMP redirects on interface vlan2, use the following
commands:
awplus#
configure terminal
awplus(config)#
interface vlan2
awplus(config-if)#
ip redirects
To stop the device from sending ICMP redirects on interface vlan2, use the
following commands:
awplus#
configure terminal
awplus(config)#
interface vlan2
awplus(config-if)#
no ip redirects