Cisco Catalyst3850交换机RTU license使用方法

2024-03-24 10:52

本文主要是介绍Cisco Catalyst3850交换机RTU license使用方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

1 情况说明

客户处采购了4台3850-14T交换机,在配置的时候发现OSPF不支持,
查询原因为当前license不支持 (lanbase, 只能支持2层功能)
报错如下:

Access-3850-1(config)#router ospf 100
Protocol not in this image

2 如何处理?

开启RTU license,加载ip service类型的license
开启RTU License后正常。如下图:

Access-3850-1(config)#router ospf 100
Access-3850-1(config-router)#

3 扫盲: 啥是RTU license What is RTU License ?

A Right to Use license scheme is an honor-based model for licensing. Licenses are not tied to an unique device identifier (UDI), product ID, or serial number.
看到上面所说的了吗? honor-based model ,说人话就是你应该购买license,但你可以直接使用。不买就用的就是臭不要脸。

我的理解,实际上就是cisco为了简化license安装和加载,以前的交换机或路由器上要加载license需要几步:

  1. 购买了license后,登录cisco.com官网
  2. 输入license信封上的key,并输入交换机的SN进行绑定,—>生成license文件—>下载下来
  3. 通过install license命令进行安装

现在不需要这么繁琐了,可以直接加载使用。

4 具体操作方法

4.1 无法运行OSPF, 报错

Access-3850-1(config)#router ospf 100
Protocol not in this image

4.2 查看license

Access-3850-1#show license right-to-use usage Slot#  License Name     Type     usage-duration(y:m:d)  In-Use  EULA
-----------------------------------------------------------------------1      ipservices     permanent    0 :0 :0                no    no   1      ipservices     evaluation   0 :0 :0                no    no   1      ipbase         permanent    0 :0 :0                no    no   1      ipbase         evaluation   0 :0 :0                no    no   1      lanbase        permanent    0 :0 :0                yes   yes  //这就是当前的license 类型1      apcount        evaluation   0 :0 :0                no    no   1      apcount        base         0 :0 :0                no    no   1      apcount        adder        0 :0 :0                no    no

4.3 启用ipservices license

3850-1#license right-to-use activate ipservices all  acceptEULA 
% switch-1:stack-mgr:Reboot the switch to invoke the highest activated License level

4.4 Reload 重启交换机

3850-1#reload 
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]

3.5 重启完成,查看license

3850-1#show license right-to-use usage Slot#  License Name     Type     usage-duration(y:m:d)  In-Use  EULA1      ipservices     permanent    0 :0 :0                yes   yes    //加载了ip service1      ipservices     evaluation   0 :0 :0                no    no   1      ipbase         permanent    0 :0 :0                no    no   1      ipbase         evaluation   0 :0 :0                no    no   1      lanbase        permanent    0 :0 :0                no    yes  1      apcount        evaluation   0 :0 :0                no    no   1      apcount        base         0 :0 :0                no    no   1      apcount        adder        0 :0 :0                no    no   

3.6 再次启用ospf进程

3850-1(config)#router os 100
IP routing not enabled报了个错,但这个和license无关,是因为没有开ip routing***开启ip routing***3850-1(config)#ip routing
3850-1(config)#router ospf 100
3850-1(config-router)#router ospf 100

其他查看命令


3850-1#license right-to-use activate ?apcount     configure the AP-count licenses on the switchipbase      activate ipbase license on the switchipservices  activate Ipservices license on the switchlanbase     activate lanbase license on the switch3850-1#license right-to-use activate ipservices all  acceptEULA 
% switch-1:stack-mgr:Reboot the switch to invoke the highest activated License level3850-1#show license right-to-use usage Slot#  License Name     Type     usage-duration(y:m:d)  In-Use  EULA
-----------------------------------------------------------------------1      ipservices     permanent    0 :0 :0                no    yes  1      ipservices     evaluation   0 :0 :0                no    no   1      ipbase         permanent    0 :0 :0                no    no   1      ipbase         evaluation   0 :0 :0                no    no   1      lanbase        permanent    0 :0 :0                yes   yes  1      apcount        evaluation   0 :0 :0                no    no   1      apcount        base         0 :0 :0                no    no   1      apcount        adder        0 :0 :0                no    no  不加eula参数,需要确认agreement.3850-1#license right-to-use activate ipservices all 
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR LICENSE KEY PROVIDED FOR ANY CISCO PRODUCT FEATURE OR USING SUCH PRODUCT FEATURE CONSTITUTES YOUR FULL ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN. Use of this product feature requires an additional license from Cisco, together with an additional payment.  You may use this product feature subject to the Cisco end user license agreement http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html, together with any supplements relating to such product feature.   It is your responsibility to make payment to Cisco for your use of the product feature if not already licensed to do so. Your acceptance of this agreement for the software features on one product shall be deemed your acceptance with respect to all such software on all Cisco products you purchase which includes the same software.  (The foregoing notwithstanding, you must purchase a license for each software feature you use, so that if you enable a software feature on 1000 devices, you must purchase 1000 licenses for use.)    This license may be transferrable from another Cisco device of the same model for the same functionality if such license already is owned.  Activation of the software command line interface will be evidence of your acceptance of this agreement. By clicking  the "accept" button  or typing "yes" you are  indicating  you have read and agree to be bound by all the terms provided herein.ACCEPT (yes/no) : yes
% switch-1:stack-mgr:Reboot the switch to invoke the highest activated License level3850-1#reload System configuration has been modified. Save? [yes/no]: y
Building configuration...
Compressed configuration from 3001 bytes to 1475 bytes[OK]Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]3850-1#show license right-to-use  default Slot#    License Name    Type      Count 
------------------------------------------1        lanbase        permanent     N/A 1        apcount        base          0   3850-1#show license right-to-use  de      
3850-1#show license right-to-use  deta
3850-1#show license right-to-use  detail 
Index 1:  License Name: ipservicesPeriod left: LifetimeLicense Type: permanentLicense State: Active, In useLicense Count: Non-CountedLicense Location: Slot 1
Index 2:  License Name: ipservicesPeriod left: 90License Type: evaluationLicense State: Not ActivatedLicense Count: Non-CountedLicense Location: Slot 1
Index 3:  License Name: ipbasePeriod left: LifetimeLicense Type: permanentLicense State: Not ActivatedLicense Count: Non-CountedLicense Location: Slot 1
Index 4:  License Name: ipbasePeriod left: 90License Type: evaluationLicense State: Not ActivatedLicense Count: Non-CountedLicense Location: Slot 1
Index 5:  License Name: lanbasePeriod left: LifetimeLicense Type: permanentLicense State: Active, Not In useLicense Count: Non-CountedLicense Location: Slot 1
Index 6:  License Name: apcountPeriod left: 90License Type: evaluationLicense State: Not ActivatedLicense Count: 50License Location: Slot 1
Index 7:  License Name: apcountPeriod left: LifetimeLicense Type: baseLicense State: Not ActivatedLicense Count: 0License Location: Slot 1
Index 8:  License Name: apcountPeriod left: LifetimeLicense Type: adderLicense State: Not ActivatedLicense Count: 0License Location: Slot 13850-1#show license right-to-use  summary License Name    Type     Count   Period left
-----------------------------------------------ipservices   permanent   N/A      Lifetimeapcount      base        0        Lifetimeapcount      adder       0        Lifetime--------------------------------------------License Level In Use: ipservices
License Level on Reboot: ipservices
Evaluation AP-Count: Disabled
Total AP Count Licenses: 0
AP Count Licenses In-use: 0
AP Count Licenses Remaining: 0

这篇关于Cisco Catalyst3850交换机RTU license使用方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/841376

相关文章

springboot+redis实现订单过期(超时取消)功能的方法详解

《springboot+redis实现订单过期(超时取消)功能的方法详解》在SpringBoot中使用Redis实现订单过期(超时取消)功能,有多种成熟方案,本文为大家整理了几个详细方法,文中的示例代... 目录一、Redis键过期回调方案(推荐)1. 配置Redis监听器2. 监听键过期事件3. Redi

C#中checked关键字的使用小结

《C#中checked关键字的使用小结》本文主要介绍了C#中checked关键字的使用,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学... 目录✅ 为什么需要checked? 问题:整数溢出是“静默China编程”的(默认)checked的三种用

C#中预处理器指令的使用小结

《C#中预处理器指令的使用小结》本文主要介绍了C#中预处理器指令的使用,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧... 目录 第 1 名:#if/#else/#elif/#endif✅用途:条件编译(绝对最常用!) 典型场景: 示例

基于SpringBoot实现分布式锁的三种方法

《基于SpringBoot实现分布式锁的三种方法》这篇文章主要为大家详细介绍了基于SpringBoot实现分布式锁的三种方法,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录一、基于Redis原生命令实现分布式锁1. 基础版Redis分布式锁2. 可重入锁实现二、使用Redisso

自定义注解SpringBoot防重复提交AOP方法详解

《自定义注解SpringBoot防重复提交AOP方法详解》该文章描述了一个防止重复提交的流程,通过HttpServletRequest对象获取请求信息,生成唯一标识,使用Redis分布式锁判断请求是否... 目录防重复提交流程引入依赖properties配置自定义注解切面Redis工具类controller

Mysql中RelayLog中继日志的使用

《Mysql中RelayLog中继日志的使用》MySQLRelayLog中继日志是主从复制架构中的核心组件,负责将从主库获取的Binlog事件暂存并应用到从库,本文就来详细的介绍一下RelayLog中... 目录一、什么是 Relay Log(中继日志)二、Relay Log 的工作流程三、Relay Lo

使用Redis实现会话管理的示例代码

《使用Redis实现会话管理的示例代码》文章介绍了如何使用Redis实现会话管理,包括会话的创建、读取、更新和删除操作,通过设置会话超时时间并重置,可以确保会话在用户持续活动期间不会过期,此外,展示了... 目录1. 会话管理的基本概念2. 使用Redis实现会话管理2.1 引入依赖2.2 会话管理基本操作

Springboot请求和响应相关注解及使用场景分析

《Springboot请求和响应相关注解及使用场景分析》本文介绍了SpringBoot中用于处理HTTP请求和构建HTTP响应的常用注解,包括@RequestMapping、@RequestParam... 目录1. 请求处理注解@RequestMapping@GetMapping, @PostMappin

Java调用DeepSeek API的8个高频坑与解决方法

《Java调用DeepSeekAPI的8个高频坑与解决方法》现在大模型开发特别火,DeepSeek因为中文理解好、反应快、还便宜,不少Java开发者都用它,本文整理了最常踩的8个坑,希望对... 目录引言一、坑 1:Token 过期未处理,鉴权异常引发服务中断问题本质典型错误代码解决方案:实现 Token

Nginx 访问控制的多种方法

《Nginx访问控制的多种方法》本文系统介绍了Nginx实现Web访问控制的多种方法,包括IP黑白名单、路径/方法/参数控制、HTTP基本认证、防盗链机制、客户端证书校验、限速限流、地理位置控制等基... 目录一、IP 白名单与黑名单1. 允许/拒绝指定IP2. 全局黑名单二、基于路径、方法、参数的访问控制