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

Pre:PowerEdge R750xs: Your Innovation Engine

Next:How to Install Intrusion Switch on PowerEdge R750XS

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

社区洞察

其他会员也浏览了