PREV NEXT INDEX

Avici Systems Inc.


terminal ip netmask-format


Sets the netmask format for the show commands.

Syntax: terminal ip netmask-format {bit-count|decimal|hexadecimal}

terminal no ip netmask-format {bit-count|decimal|hexadecimal}

bit-count

Addresses are displayed with a slash and the number of bits in the netmask. For example: 192.209.12.44/24 indicates the netmask is 24 bits long.

decimal

Addresses are displayed with their netmask in dotted decimal notation. For example: network 192.209.12.44 with a 24-bit netmask is displayed as 192.209.12.44 255.255.255 0.

hexadecimal

Addresses are displayed with the netmask in hexadecimal notation. For example: network 192.209.12.44 with a 24-bit netmask is displayed as 192.209.12.44 0xffffff00.

Description: Use the term ip netmask-format command to define the format in which netmasks are displayed by the show commands.

Factory Default: Netmasks are displayed in decimal format.

Command Mode: Executive and privileged.

Example: In the following example:

router#show interface pos 1/36/1



POS 1/36/1 is down, line protocol is down

Internet address is 50.50.50.1 0xFFFFFF00

.

.

.

router#terminal ip netmask-format decimal

router#show interface pos 1/36/1



POS 1/36/1 is down, line protocol is down

Internet address is 50.50.50.1 255.255.255.0

.

.

.

Related Commands: show interfaces


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: IP_Commands.fm
    HTML File Name: IP_Commands18.html
    Last Updated: 05/10/04 at 16:34:20

Please email suggestions and comments to: doc@avici.com