To set the default gateway to be the Serial interface:
G450-001(super)# ip default-gateway Serial 4/1:1.1 permanent
Related Commands
clear ip
route,
ip
best-match,
show ip route
ip netmask-format
Use the ip netmask-format command to specify the format of netmasks in the show
command output. Use the no form of this command to restore the format to the default format.
Syntax
ip netmask-format mask_format
no ip netmask-format
Parameters
Parameter
mask_format
User Level
read-write
Context
general
Example
To display netmasks in bitcount format:
G450-001(super)# ip netmask-format bitcount
netmask-format,
ip
redirects,
static,
show ip route
Description
The format of
the netmasks
ip
route,
ip
routing,
summary,
show ip route
Possible Values
bitcount - addresses are followed by
a slash and the total number of bits in
the netmask, such as 17
decimal - the network masks are in
dotted decimal notation, such as
255.255.255.0
hexadecimal - the network masks
are in hexadecimal format as
indicated by the leading 0X, such as
0XFFFFFF00
Routing table configuration
show ip
route,
show ip route
track-table,
traceroute
Default
Value
decimal
Issue 1 January 2008
885