ip show-subnet-length
Enables CIDR format for displaying network masks.
Command Default
By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0).
Modes
Global configuration mode
Usage Guidelines
This command changes the displays to prefix format (CIDR format) (example: /18) on a Layer 3 switch or Layer 2 switch.
The
no form of the command enables the display of network masks in classical IP address
format.