Cisco Switch Basic Configuration

Cisco Switch Basic Configuration

Cisco switches?include four different command line modes, and the commands supported in each command line mode are also different.


1. User mode (view statistics)

After the switch is started, press the Enter key to enter the user mode first. In this mode, the user is greatly restricted and can only view some statistical information.

The command line prompt is as follows:

Switch>


2. Privileged mode (check the configuration of the device and modify it easily)

Enter the "enable" ("en" for short) command in the user mode to enter the privileged mode. In this mode, the user can view and modify the configuration of the Cisco device.

The command line prompt is as follows:

Switch>enable

Switch#


3. Global configuration mode (modify parameters for the entire switch)

Enter the "config terminal" (abbreviated as "conf t") command in the privileged mode to enter the global configuration mode, and the user can modify the global configuration of the switch in this mode. For example, modifying the hostname of a device is a global configuration.

The command line prompt is as follows:

Switch#config terminal

Switch(config)#


4. Interface mode (modify configuration parameters for the interface of the device)

Enter "interface fasteretherner 0/1" (abbreviated as "int f0/1") in the global configuration mode to enter the interface mode. Different from the global mode, the configurations made by the user in this mode are all set for the f0/1 interface. For example, to set the IP address of the interface, this address only belongs to the interface f0/1.

The command line prompt is as follows:

Switch(config)#interface fastethernet 0/1

Switch(config-if)#


The meaning of interface fastethernet 0/1:

interface : keyword required to enter interface mode

fastethernet: interface type, fastethernet means Fast Ethernet, that is, Fastethernet

0/1: "0" indicates the module number, that is, module No. 0; "1" indicates the port number

要查看或添加评论,请登录

Cian Hu的更多文章

  • Configuration validation of Dell EMC PowerEdge R750

    Configuration validation of Dell EMC PowerEdge R750

    The new generation of PowerEdge systems of Dell EMC PowerEdge R750 have added interconnect flexibility and advanced…

  • Dell EMC PowerEdge R750 System overview

    Dell EMC PowerEdge R750 System overview

    Do you know the Dell EMC PowerEdge R750 System overview? This document provides an overview about the system…

  • What are the different types of iDRAC licenses?

    What are the different types of iDRAC licenses?

    What are the different types of iDRAC licenses? There are three types of the iDRAC licenses. Basic Management Basic…

  • Rails and cable management of Dell PowerEdge R760

    Rails and cable management of Dell PowerEdge R760

    Here we introduce you rails and cable management information of Dell PowerEdge R760—sliding rails and static rails. The…

  • Dell Poweredge R750 2U Rack Server

    Dell Poweredge R750 2U Rack Server

    Dell Poweredge R750 is an enterprise-class 2u rack server. Based on 3rd generation Intel Scalable processors, it can…

  • Dell EMC Poweredge R740 Rack Server With 1U And 2U

    Dell EMC Poweredge R740 Rack Server With 1U And 2U

    Features Built-in Dell iDRAC9 capabilities for automated management. Equipped with ProSupport Plus and SupportAssist to…

    3 条评论
  • How to Fix a RAID Puncture?

    How to Fix a RAID Puncture?

    Issue: How to fix RAID arrays that have been subjected to a puncture? Solution: Complete the following steps to resolve…

  • Reconfiguring or Migrating Virtual Disks

    Reconfiguring or Migrating Virtual Disks

    Reconfiguring or migrating a virtual disk (VDs) enables you to increase the capacity or change the RAID level of the…

  • PowerEdge R760 Power Supply Units Options

    PowerEdge R760 Power Supply Units Options

    Energy Smart power supplies have intelligent features, such as the ability to dynamically optimize efficiency while…

  • PowerEdge R760 Supported Processors

    PowerEdge R760 Supported Processors

    Processor features The Intel 4th Generation Xeon? Scalable Processors stack is the next generation data center…

社区洞察

其他会员也浏览了