Previous page Next page

CLI Commands

To create an IP interface, you must use two CLI commands:

  1. Create an Interface Name first.
  2. (configure)# interface <interface_name> type {ethernet | nbma}

    Example: (configure)# interface myif type ethernet

  3. Assign an IP address to the interface.
  4. (confg-if:myif)# ip address <ip-address> <mask>

    Example: (config-if:myif)# ip address 192.168.97.1 255.255.255.0


Previous page Next page