如何配置思科设备和用户模式

We have an Cisco device. We want to configure it from command line interface. How can we accomplish that?

我们有一个思科设备。 我们要从命令行界面进行配置。 我们怎样才能做到这一点?

连接装置 (Connecting Device)

There is different ways to connect device. It can be changed according to device capabilities. But command line interface is de facto for configuration. We connect to device with telnet.

连接设备有多种方法。 可以根据设备功能进行更改。 但是命令行界面实际上是用于配置的。 我们用telnet连接到设备。

$ telnet 10.0.0.1

非特权模式 (Unprivileged Mode)

Cisco devices have generally 3 modes to administrator them. The least privileged mode is unprivileged mode. Where there is minimal and no configuration related commands like ping.

思科设备通常具有3种模式来对其进行管理。 最低特权模式是非特权模式。 很少且没有与配置相关的命令(如ping)的地方。

Router>? 
Exec commands: 
  access-enable    Create a temporary Access-List entry 
  access-profile   Apply user-profile to interface 
  atmdx            Test ATMDX system 
  attach           attach to system component 
  clear            Reset functions 
  connect          Open a terminal connection 
  crypto           Encryption related commands. 
  disable          Turn off privileged commands 
  disconnect       Disconnect an existing network connection 
  do-exec          Mode-independent "do-exec" prefix support 
  enable           Turn on privileged commands 
  exit             Exit from the EXEC 
  help             Description of the interactive help system 
  lat              Open a lat connection 
  lig              LISP Internet Groper 
  lock             Lock the terminal 
  login            Log in as a particular user 
  logout           Exit from the EXEC 
  mrinfo           Request neighbor and version information from a multicast 
                   router 
  mstat            Show statistics after multiple multicast traceroutes

启用模式 (Enable Mode)

Enable mode have more capabilities according to unprivileged mode. But network related configıration van not be done from this mode.

启用模式根据非特权模式具有更多功能。 但是无法从此模式完成与网络相关的配置。

We enter enable mode like below

我们进入启用模式,如下所示

Router>enable  
Router#

Here is some help about enable mode commands

这是有关启用模式命令的一些帮助

Router#? 

Exec commands: 
  access-enable    Create a temporary Access-List entry 
  access-profile   Apply user-profile to interface 
  access-template  Create a temporary Access-List entry 
  alps             ALPS exec commands 
  archive          manage archive files 
  atmdx            Test ATMDX system 
  attach           attach to system component 
  auto             Exec level Automation 
  beep             Blocks Extensible Exchange Protocol commands 
  bfe              For manual emergency modes setting 
  calendar         Manage the hardware calendar 
  call-home        Call-Home commands 
  cd               Change current directory 
  chkflash         Check flash filesystem 
  clear            Reset functions 
  clock            Manage the system clock 
  cns              CNS agents 
  configure        Enter configuration mode 
  connect          Open a terminal connection 
  connectedapps    Connected applications related commands 
  copy             Copy from one file to another

配置模式 (Configuration Mode)

Configuration is highest level of Cisco IOS. This mode is level 15. We can do anything we want in the device. Manage interfaces, change routing protocol values, enable stp etc.

配置是Cisco IOS的​​最高级别。 此模式为级别15。我们可以在设备中执行任何操作。 管理接口,更改路由协议值,启用stp等。

Router(config)#? 
Configure commands: 
  aaa                         Authentication, Authorization and Accounting. 
  access-list                 Add an access list entry 
  alias                       Create command alias 
  alps                        Configure Airline Protocol Support 
  ancp                        Configure ANCP 
  apollo                      Apollo global configuration commands 
  appletalk                   Appletalk global configuration commands 
  arap                        Appletalk Remote Access Protocol 
  archive                     Archive the configuration 
  arp                         Set a static ARP entry 
  async-bootp                 Modify system bootp parameters 
  auto                        Configure Automation 
  banner                      Define a login banner 
  bba-group                   Configure BBA Group 
  beep                        Configure BEEP (Blocks Extensible Exchange 
                              Protocol) 
  bfd                         BFD configuration commands 
  bfd-template                BFD template configuration 
  boot                        Modify system boot parameters 
  bridge                      Bridge Group. 
  bstun                       BSTUN global configuration commands
 ...

如何配置思科设备和用户模式 (How to Configure Cisco Device and User Modes Infografic)

How to Configure Cisco Device and User Modes Infografic
How to Configure Cisco Device and User Modes Infografic
如何配置思科设备和用户模式
LEARN MORE  How To Release and Renew IP Address In Windows with Ip Release and Renew
了解更多信息如何在Windows中使用IP版本和更新来发布和更新IP地址。

翻译自: https://www.poftut.com/configure-cisco-device-user-modes/

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值