ip netmask-format

Last Updated : Nov 06, 2012 |
Specifies the format of netmasks in the show command output. Use no ip netmask-format to restore the format to the default format.
Prolog information

Syntax

ip netmask-format mask_format
no ip netmask-format

Parameters

Parameter
Description
Possible Values
Default Value
mask_format
The format of the netmasks
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
decimal

User level

read-write

Context

general

Example

To display netmasks in bitcount format:
Gxxx-001(super)# ip netmask-format bitcount