Dell Command Line Reference Guide for the S4048–ON System 9.14.2.4

PDF

Command Modes

To navigate and launch various CLI modes, use specific commands. Navigation to these modes is described in the following sections.

BGP ADDRESS-FAMILY Mode

To enable or configure IPv4 for BGP, use BGP ADDRESS-FAMILY mode. For more information, see Border Gateway Protocol IPv4 (BGPv4).
To enter BGP ADDRESS-FAMILY mode:
  1. Verify that you are logged in to ROUTER BGP mode.
  2. Enter the address-family command.
  3. Enter the protocol type:
    • For IPv4, enter the ipv4 multicast command. The prompt changes to include conf-router_bgp_af for IPv4.

CLASS-MAP Mode

To create or configure a class map, use CLASS-MAP mode. For more information, see Policy-Based QoS Commands.

To enter CLASS-MAP mode:

  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the class-map command, and then enter the class map name. The prompt changes to include config-class-map.
You can return to CONFIGURATION mode by using the exit command.

CONFIGURATION Mode

In EXEC Privilege mode, use the configure command to enter CONFIGURATION mode and configure routing protocols and access interfaces.
To enter CONFIGURATION mode:
  1. Verify that you are logged in to EXEC Privilege mode.
  2. Enter the configure command. The prompt changes to include conf.
From this mode, you can enter INTERFACE mode by using the interface command.

CONTROL-PLANE Mode

To manage control-plane traffic, use CONTROL-PLANE mode. For more information, see Control Plane Policing (CoPP).
To enter CONTROL-PLANE mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the control-plane-cpuqos command. The prompt changes to include conf-control-cpuqos.
You can return to CONFIGURATION mode by using the exit command.

DHCP Mode

To enable and configure Dynamic Host Configuration Protocol (DHCP), use DHCP mode. For more information, see Dynamic Host Configuration Protocol (DHCP).
To enter DHCP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the ip dhcp server command. The prompt changes to include config-dhcp.
You can return to CONFIGURATION mode by using the exit command.

DHCP POOL Mode

To create an address pool, use DHCP POOL mode. For more information, see Dynamic Host Configuration Protocol (DHCP).
To enter DHCP POOL mode:
  1. Verify that you are logged in to DHCP mode.
  2. Enter the pool command then the pool name. The prompt changes to include config-dhcp-pool-name.
You can return to DHCP mode by using the exit command.

ECMP GROUP Mode

To enable or configure traffic distribution monitoring on an ECMP link bundle, use ECMP GROUP mode. For more information, see ecmp_overview.

To enter ECMP GROUP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the ecmp-group command then enter the ECMP group ID. The prompt changes to include conf-ecmp-group-ecmp-group-id.
You can return to CONFIGURATION mode by using the exit command.

EIS Mode

To enable or configure Egress Interface Selection (EIS), use EIS mode.
To enter EIS mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the management egress-interface-selection command. The prompt changes to include conf-mgmt-eis.
You can return to CONFIGURATION mode by using the exit command.

EXEC Mode

When you initially log in to the switch, by default, you are logged in to EXEC mode. This mode allows you to view settings and enter EXEC Privilege mode, which is used to configure the device.

When you are in EXEC mode, the > prompt is displayed following the host name prompt, which is “DellEMC” by default. You can change the host name prompt using the hostname command.

NOTE: Each mode prompt is preceded by the host name.

EXEC Privilege Mode

The enable command accesses EXEC Privilege mode. If an administrator has configured an “Enable” password, you are prompted to enter it.

EXEC Privilege mode allows you to access all the commands accessible in EXEC mode, plus other commands, such as to clear address resolution protocol (ARP) entries and IP addresses. In addition, you can access CONFIGURATION mode to configure interfaces, routes and protocols on the switch. While you are logged in to EXEC Privilege mode, the # prompt is displayed.

EXTENDED COMMUNITY LIST Mode

To enable and configure a BGP extended community, use EXTENDED COMMUNITY LIST mode.

To enter EXTENDED COMMUNITY LIST mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the ip extcommunity-list command then a community list name. The prompt changes to include conf-ext-community-list.
You can return to CONFIGURATION mode by using the exit command.

FRRP Mode

To enable or configure Force10 Resilient Ring Protocol (FRRP), use FRRP mode. For more information, see Force10 Resilient Ring Protocol (FRRP).

To enter FRRP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the protocol frrp command then the ring ID. The prompt changes to include conf-frrp-ring-id.
You can return to CONFIGURATION mode by using the exit command.

INTERFACE Mode

Use INTERFACE mode to configure interfaces or IP services on those interfaces. An interface can be physical (for example, a Gigabit Ethernet port) or virtual (for example, the Null interface).

To enter INTERFACE mode:

  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the interface command and then enter an interface type and interface number that is available on the switch.
NOTE: In Dell EMC Networking OS, the stack unit number and interfaces start from 0. But in Dell EMC Networking OS Open Networking platforms, the stack unit number and interfaces start from 1.

The prompt changes to include the designated interface and slot/port[/subport] number. For example:

Prompt
Interface Type
DellEMC(conf-if)#
INTERFACE mode
DellEMC(conf-if-te-1/1)#
Ten-Gigabit Ethernet interface then slot/port information
DellEMC(conf-if-fo-1/1)#
Forty-Gigabit Ethernet interface then slot/port information
DellEMC(conf-if-lo-0)#
Loopback interface number
DellEMC(conf-if-nu-0)#
Null Interface then zero
DellEMC(conf-if-po-0)#
Port-channel interface number The range is from 1 to 128.
DellEMC(conf-if-vl-0)#
VLAN Interface then VLAN number (range 1–4094)
DellEMC(conf-if-ma-1/1)#
Management Ethernet interface then slot/port information
DellEMC(conf-if-tu-0)#
Tunnel interface then tunnel ID.
DellEMC(conf-if-range)#
Designated interface range (used for bulk configuration).

IP ACCESS LIST Mode

To enter IP ACCESS LIST mode and configure either standard or extended access control lists (ACLs), use the ip access-list standard command or the ip access-list extended command.
To enter IP ACCESS LIST mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter either the ip access-list standard command or the ip access-list extended command. Include a name for the ACL. The prompt changes to include conf-std-nacl or conf-ext-nacl.
You can return to CONFIGURATION mode by using the exit command.

ISIS ADDRESS-FAMILY Mode

To enable or configure IPv6 for ISIS, use ISIS ADDRESS-FAMILY mode. For more information, see Intermediate System to Intermediate System (IS-IS).
To enter ISIS ADDRESS-FAMILY mode:
  1. Verify that you are logged in to ROUTER ISIS mode.
  2. Enter the address-family ipv6 unicast command. The prompt changes to include conf-router_isis-af_ipv6.

LLDP Mode

To enable and configure Link Layer Discovery Protocol (LLDP), use LLDP mode. For more information, see Link Layer Discovery Protocol (LLDP).

To enter LLDP mode:
  1. To enable LLDP globally, verify that you are logged in to CONFIGURATION mode. To enable LLDP on an interface, verify that you are logged in to INTERFACE mode.
  2. Enter the protocol lldp command. The prompt changes to include conf-lldp or conf-if-interface-lldp.

LLDP MANAGEMENT INTERFACE Mode

To enable and configure Link Layer Discovery Protocol (LLDP) on management interfaces, use LLDP MANAGEMENT INTERFACE mode.

To enter LLDP MANAGEMENT INTERFACE mode:
  1. Verify that you are logged in to LLDP mode.
  2. Enter the management-interface command. The prompt changes to include conf-lldp-mgmtIf.

LINE Mode

To configure the console or virtual terminal parameters, use LINE mode.
To enter LINE mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the line command. Include the keywords console or vty and their line number available on the switch. The prompt changes to include config-line-console or config-line-vty.
You can exit this mode by using the exit command.

MAC ACCESS LIST Mode

To enter MAC ACCESS LIST mode and configure either standard or extended access control lists (ACLs), use the mac access-list standard or mac access-list extended command.
To enter MAC ACCESS LIST mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Use the mac access-list standard command or the mac access-list extended command. Include a name for the ACL. The prompt changes to include conf-std-macl or conf-ext-macl.
You can return to CONFIGURATION mode by using the exit command.

MONITOR SESSION Mode

To enable and configure a traffic monitoring session using port monitoring, use MONITOR SESSION mode. For more information, see Port Monitoring.
To enter MONITOR SESSION mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the monitor session command, and then the session ID. The prompt changes to include conf-mon-sess-sessionID.

MULTIPLE SPANNING TREE (MSTP) Mode

To enable and configure MSTP, use MULTIPLE SPANNING TREE mode. For more information, see Multiple Spanning Tree Protocol (MSTP).
To enter MULTIPLE SPANNING TREE mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the protocol spanning-tree mstp command. The prompt changes to include conf-mstp.
You can return to CONFIGURATION mode by using the exit command.

OPENFLOW INSTANCE Mode

To enable and configure OpenFlow instances, use OPENFLOW INSTANCE mode.
To enter OPENFLOW INSTANCE mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the openflow of-instance command, and then the OpenFlow ID number of the instance you want to create or configure. The prompt changes to include conf-of-instance of-id.
You can return to the CONFIGURATION mode by entering the exit command.

Per-VLAN SPANNING TREE (PVST+) Plus Mode

To enable and configure the Per-VLAN Spanning Tree (PVST+) protocol, use PVST+ mode. For more information, see Per-VLAN Spanning Tree Plus (PVST+).
NOTE: The protocol name is PVST+, but the plus sign is dropped at the CLI prompt.
To enter PVST+ mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the protocol spanning-tree pvst command. The prompt changes to include conf-pvst.
You can return to CONFIGURATION mode by using the exit command.

PORT-CHANNEL FAILOVER-GROUP Mode

To configure shared LAG state tracking, use PORT-CHANNEL FAILOVER-GROUP mode. For more information, see Port Channel Commands.
To enter PORT-CHANNEL FAILOVER-GROUP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the port-channel failover-group command. The prompt changes to include conf-po-failover-grp.
You can return to CONFIGURATION mode by using the exit command.

PREFIX-LIST Mode

To configure a prefix list, use PREFIX-LIST mode.
To enter PREFIX-LIST mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the ip prefix-list command and the name for the prefix list. The prompt changes to include conf-nprefixl.
You can return to CONFIGURATION mode by using the exit command.

PROTOCOL GVRP Mode

To enable and configure GARP VLAN Registration Protocol (GVRP), use PROTOCOL GVRP mode. For more information, see GARP VLAN Registration (GVRP).
To enter PROTOCOL GVRP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the protocol gvrp command. The prompt changes to include config-gvrp.
You can return to CONFIGURATION mode by using the exit command.

RAPID SPANNING TREE (RSTP) Mode

To enable and configure RSTP, use RSTP mode. For more information, see Rapid Spanning Tree Protocol (RSTP).
To enter RSTP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the protocol spanning-tree rstp command. The prompt changes to include conf-rstp.
You can return to CONFIGURATION mode by using the exit command.

ROUTE-MAP Mode

To configure a route map, use ROUTE-MAP mode.
To enter ROUTE-MAP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Use the route-map map-name [permit | deny] [sequence-number] command. The prompt changes to include config-route-map.
You can return to CONFIGURATION mode by using the exit command.

ROUTER BGP Mode

To enable and configure Border Gateway Protocol (BGP), use ROUTER BGP mode. For more information, see Border Gateway Protocol IPv4 (BGPv4)

To enter ROUTER BGP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Use the router bgp command, and then enter the AS number. The prompt changes to include conf-router_bgp.
You can return to CONFIGURATION mode by using the exit command.

ROUTER ISIS Mode

To enable and configure Intermediate System to Intermediate System (ISIS), use ROUTER ISIS mode. For more information, see Intermediate System to Intermediate System (IS-IS).
To enter ROUTER ISIS mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Use the router isis command. The prompt changes to include conf-router_isis.
You can return to CONFIGURATION mode by using the exit command.

ROUTER OSPF Mode

To configure OSPF, use ROUTER OSPF mode. For more information, see Open Shortest Path First (OSPFv2).
To enter ROUTER OSPF mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the router ospf {process-id} command. The prompt changes to include conf-router_ospf-id.
You can switch to INTERFACE mode by using the interface command or you can switch to ROUTER RIP mode by using the router rip command.

ROUTER OSPFV3 Mode

To configure OSPF for IPv6, use ROUTER OSPFV3 mode.

To enter ROUTER OSPFV3 mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the ipv6 router ospf {process-id} command. The prompt changes to include conf-ipv6-router_ospf.
You can return to CONFIGURATION mode by using the exit command.

ROUTER RIP Mode

To enable and configure Router Information Protocol (RIP), use ROUTER RIP mode. For more information, see Routing Information Protocol (RIP).

To enter ROUTER RIP mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the router rip command. The prompt changes to include conf-router_rip.
You can return to CONFIGURATION mode by using the exit command.

SPANNING TREE Mode

To enable and configure the Spanning Tree protocol, use SPANNING TREE mode. For more information, see Spanning Tree Protocol (STP).
To enter SPANNING TREE mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the protocol spanning-tree stp-id command. The prompt changes to include conf-stp.
You can return to CONFIGURATION mode by using the exit command.

SupportAssist Mode

To enable and configure the SupportAssist, use SupportAssist mode. For more information, see SupportAssist.
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the support-assist command. The prompt changes to include conf-supportassist.
You can return to CONFIGURATION mode by using the exit command.

TRACE-LIST Mode

To configure a Trace list, use TRACE-LIST mode.
To enter TRACE-LIST mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the ip trace-list command, and the name of the Trace list. The prompt changes to include conf-trace-acl.
You can exit this mode by using the exit command.

VLT DOMAIN Mode

To enable and configure the VLT domain protocol, use VLT DOMAIN mode. For more information, see Virtual Link Trunking (VLT).
To enter VLT DOMAIN mode:
  1. Verify that you are logged in to CONFIGURATION mode.
  2. Enter the vlt domain command, and then the VLT domain number. The prompt changes to include conf-vlt-domain.
You can return to CONFIGURATION mode by entering the exit command.

VRRP Mode

To enable and configure Virtual Router Redundancy Protocol (VRRP), use VRRP mode. For more information, see Virtual Router Redundancy Protocol (VRRP).

To enter VRRP mode:
  1. To enable VRRP globally, verify that you are logged in to CONFIGURATION mode.
  2. Enter the vrrp-group command, and then enter the VRRP group ID. The prompt changes to include conf-if-interface-type-slot/port-vrid-vrrp-group-id.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\