
Routing Commands
CP6923
CP6923 CLI Reference Manual
Page 4 - 8
mask must have contiguous ones and be no longer than 30 bits, for example 255.255.255.0. This command adds
the label IP address in
show ip interface
.
4.2.3.1
no ip address
This command deletes an IP address from an interface. The value for
<ipaddr>
is the IP address of the interface
in a.b.c.d format where the range for a, b, c, and d is 1-255. The value for
<subnetmask>
is a 4-digit dotted-decimal
number which represents the Subnet Mask of the interface. To remove all of the IP addresses (primary and
secondary) configured on the interface, enter the command
no ip address
.
4.2.4
ip route
This command configures a static route. The
<ipaddr>
parameter is a valid IP address, and
<subnetmask>
is
a valid subnet mask. The
<nexthopip>
parameter is a valid IP address of the next hop router. Specifying
Null0
as nexthop parameter adds a static reject route. The optional
<preference>
parameter is an integer (value from
1 to 255) that allows you to specify the preference value (sometimes called “administrative distance”) of an individual
static route. Among routes to the same destination, the route with the lowest preference value is the route entered
into the forwarding database. By specifying the preference of a static route, you control whether a static route is more
or less preferred than routes from dynamic routing protocols. The preference also controls whether a static route is
more or less preferred than other static routes to the same destination. A route with a preference of 255 cannot be
used to forward traffic.
For the static routes to be visible, you must perform the following steps:
•
Enable ip routing globally.
•
Enable ip routing for the interface.
•
Confirm that the associated link is also up.
4.2.4.1
no ip route
This command deletes a single next hop to a destination static route. If you use the
<nexthopip>
parameter, the
next hop is deleted. If you use the
<preference>
value, the preference value of the static route is reset to its
default.
Format
ip address
<ipaddr> <subnetmask> [secondary]
Mode
Interface Config
Format
no ip address
[{<ipaddr> <subnetmask> [secondary]}]
Mode
Interface Config
Default
preference—1
Format
ip route
<ipaddr> <subnetmask> [<nexthopip> |
Null0
] [<preference>]
Mode
Global Config
Format
no ip route
<ipaddr> <subnetmask> [{<nexthopip> [<preference>] |
Null0
}]
Mode
Global Config
Содержание CP6923
Страница 4: ...Page iv ...
Страница 35: ...Using the Command Line Interface Chapter 1 1 Page 1 1 CP6923 CLI Reference Manual CP6923 ...
Страница 44: ...Using the Command Line Interface CP6923 CP6923 CLI Reference Manual Page 1 10 ...
Страница 45: ...Switching Commands Chapter 1 2 Page 2 1 CP6923 CLI Reference Manual CP6923 ...
Страница 174: ...Switching Commands CP6923 CP6923 CLI Reference Manual Page 2 130 ...
Страница 175: ...Quality of Service Commands Chapter 1 3 Page 3 1 CP6923 CLI Reference Manual CP6923 ...
Страница 213: ...Routing Commands Chapter 1 4 Page 4 1 CP6923 CLI Reference Manual CP6923 ...
Страница 285: ...Multicast Commands Chapter 1 5 Page 5 1 CP6923 CLI Reference Manual CP6923 ...
Страница 314: ...Multicast Commands CP6923 CP6923 CLI Reference Manual Page 5 30 ...
Страница 315: ...Utility Commands Chapter 6 Page 6 1 CP6923 CLI Reference Manual CP6923 ...
Страница 387: ...Management Commands Chapter 1 7 Page 7 1 CP6923 CLI Reference Manual CP6923 ...
Страница 428: ...Management Commands CP6923 CP6923 CLI Reference Manual Page 7 42 ...
Страница 429: ...CP6923 Page A 1 CP6923 CLI Reference Manual Getting Help Appendix A ...
Страница 434: ...CP6923 Page B 1 CP6923 CLI Reference Manual FASTPATH log messages Appendix B ...
Страница 450: ...CP6923 Page C 1 CP6923 CLI Reference Manual List of Commands Appendix C ...