
Cuda 12000 IP Access Switch CLI Reference Guide
ip route default 245
ip route default
Configures the default IP route, which is selected to forward traffic when a specific route to a
destination does not exist. Use the no form of the command to remove the default IP route.
Mode
Any.
Syntax
ip route default <gateway-ip-address> [<metric>]
no ip route default
Arguments
Example
cli:192.168.208.3:interface:cable:csi(1/1/1)# ip route default 201.1.1.2
cli:192.168.208.3:interface:cable:csi(1/1/1)# show ip
row count: 4
Protocol Route Destination Net Mask Next Hop Metric C/S/I
Type
-------- ------ --------------- --------------- --------------- ------ ------
Net Mgmt Remote 0.0.0.0 0.0.0.0 201.1.1.2 1 1/1/1
Local Local 201.1.1.0 255.255.255.0 201.1.1.1 0 1/1/1
Local Local 201.1.2.0 255.255.255.0 201.1.2.1 0 1/1/1
Related Commands
■ ip route on page 243
■ show ip on page 438
<gateway-ip-address> Specifies the IP address of the gateway to which the Cuda
12000 will forward packets when no specific route to a
destination exists.
<metric> Metric for the default route. The metric is a number that is
used to select the route when multiple routes to the same
destination exist. The route with the lowest metric is selected.
The default is 1.
Kommentare zu diesen Handbüchern