PREV NEXT INDEX

Avici Systems Inc.


ip netmask-format


Sets the IP netmask format to dotted decimal, hexadecimal, or prefix length format.

Syntax: [terminal] ip netmask-format [decimal | hexadecimal | bit-count]

terminal

Sets the IP netmask display format for this session only. The setting is not saved in the running-configuration file.

decimal

Display the IP netmask in dotted decimal notation

hexadecimal

Display the IP netmask in hexadecimal notation.

bit-count

Display the IP netmask in prefix length (the number of bits in the bitmask) format.

Use the ip netmask-format command to configure how IP netmasks are displayed on console or VTY sessions. Use the command in Privileged command mode to set the netmask format for this session only. Use the command in Line configuration command mode to set the netmask format for this and future sessions.

In Privileged command mode: use the terminal keyword to configure the displays for only this session. The setting is not saved when the session ends.

Use the terminal ip netmask-format decimal command to display IP netmasks using dotted decimal format for only the current session.

Use the terminal ip netmask-format hexadecimal command to display IP netmasks using hexadecimal notation for only the current session.

Use the terminal ip netmask-format bit-count command to display IP netmasks using prefix length format for only the current session.

In Line configuration command mode: omit the terminal keyword. The setting is saved for future sessions.

Use the ip netmask-format decimal command to configure the line to display IP netmasks using dotted decimal format.

Use the ip netmask-format hexadecimal command to configure the line to display IP netmasks using hexadecimal notation.

Use the ip netmask-format bit-count command to configure the line to display IP netmasks using prefix length format.

Factory Default: Decimal format.

Command Mode: Line configuration and privileged.

Example 1: In the following example,

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#line vty 0 4

router(config-line)ip netmask-format bit-count

router(config-line)#end

router#sho int pos 1/5/1



POS 1/5/1 interface status is up, line protocol is up

Internet address is 10.100.53.2/24

Example 2: In the following example:

router#terminal ip netmask-format hexadecimal

router#sho int pos 1/5/1



POS 1/5/1 interface status is up, line protocol is up

Internet address is 10.100.53.2 0xFFFFFF00

Related Commands: line
show line
show terminal


PREV NEXT INDEX

Copyright © 2005 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: navigation.fm
    HTML File Name: navigation12.html
    Last Updated: 02/25/05 at 14:25:22

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