9-6
S
UMMIT
S
WITCH
I
NSTALLATION
AND
U
SER
G
UIDE
IP U
NICAST
R
OUTING
Table 9-2
describes the commands used to conÞgure the IP route table.
clear iparp [<ipaddress> | vlan <name> | all]
Removes dynamic entries in the IP ARP
table. Permanent IP ARP entries are not
affected.
clear ipfdb [<ipaddress> | vlan <name> | all]
Removes the dynamic entries in the IP
forwarding database.
Table 9-2: Route Table Configuration Commands
Command
Description
config iproute add <ipaddress> <mask>
<gateway> {<metric>}
Adds a static address to the routing table. Use
a value of 255.255.255.255 for
mask
to indicate
a host entry
config iproute delete <ipaddress> <mask>
<gateway>
Deletes a static address from the routing table.
config iproute add blackhole <ipaddress>
<mask>
Adds a
blackhole
address to the routing
table. All traffic destined for the configured IP
address is dropped, and no Internet Control
Message Protocol (ICMP) message is
generated.
config iproute delete blackhole <ipaddress>
<mask>
Deletes a
blackhole
address from the routing
table.
config iproute add default <gateway>
{<metric>}
Adds a default gateway to the routing table. A
default gateway must be located on a
configured IP interface . If no metric is
specified, the default metric of 1 is used.
config iproute delete default <gateway>
Deletes a default gateway from the routing
table.
Table 9-1: Basic IP Commands (continued)
Command
Description
SUMMIT.BK Page 6 Thursday, September 25, 1997 12:33 PM