CLI command format

This topic explains the M4500 CLI command format, including how commands, parameters, and values are entered, with examples.

Commands are followed by values, parameters, or both.

Example 1

ip address <ipaddr> <netmask> [<gateway>]

  • ip address is the command name.
  • <ipaddr> <netmask> are the required values for the command.
  • [<gateway>] is the optional value for the command.

Example 2

snmp-server location <loc>

  • snmp-server location is the command name.
  • <loc> is the required parameter for the command.

Example 3

clear vlan

  • clear vlan is the command name.

Command

The text in bold, non-italic font must be typed exactly as shown.