Name

ip netmask-format — line

Synopsis

ip netmask-format [bitcount | decimal | hexadecimal]
no ip netmask-format [bitcount | decimal | hexadecimal]

Configures

How subnets are displayed by the show command

Default

Decimal format (255.255.255.0)

Description

This command determines the format that the show commands use for displaying subnet masks. Table 17-12 shows the possibilities.

Table 17-12. Netmask formats

Format name

Example

decimal

255.255.255.0

bitcount

10.10.1.0/24

hexadecimal

0xffffff00

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.