174 Summit24e3 Switch Installation and User Guide
IP Unicast Routing
Table 49 describes the commands used to configure the IP route table.
enable ipforwarding {vlan <name>} Enables IP routing for one or all VLANs. If
no argument is provided, enables routing
for all VLANs that have been configured
with an IP address. The default setting for
ipforwarding is disabled.
enable ipforwarding broadcast {vlan <name>} Enables forwarding IP broadcast traffic for
one or all VLANs. If no argument is
provided, enables broadcast forwarding for
all VLANs. To enable, ipforwarding
must be enabled on the VLAN. The default
setting is disabled.
enable loopback-mode vlan [<name> | all] Enables a loopback mode on an interface.
If loopback is enabled, the router interface
remains in the UP state, even if no ports
are defined in the VLAN. As a result, the
subnet is always advertised as one of the
available routes.
Table 49: 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 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 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. Use
the unicast-only or multicast-only options to
specify a particular traffic type. If not specified,
both unicast and multicast traffic uses the
default route.
config iproute delete <ipaddress> <mask>
<gateway>
Deletes a static address from the routing table.
config iproute delete blackhole <ipaddress>
<mask>
Deletes a blackhole address from the routing
table.
config iproute delete default <gateway> Deletes a default gateway from the routing
table.
config iproute priority [rip | bootp | icmp | static
| ospf-intra | ospf-inter | ospf-as-external |
ospf-extern1 | ospf-extern2] <priority>
Changes the priority for all routes from a
particular route origin.
disable iproute sharing Disables load sharing for multiple routes.
Table 48: Basic IP Commands (continued)
Command Description