思科各种licence区别

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了思科各种licence区别相关的知识,希望对你有一定的参考价值。

参考技术A 1、RTU:Right to Use(是否可以简单的理解为:临时许可证)

Right to Use (RTU) licensing is a model in which licenses are not tied to a unique device identifier (UDI), product ID, or serial number.

Use RTU licensing to enable a desired AP license count on the controller after you accept the End User License Agreement (EULA). This allows you to add AP counts on a controller interacting with external tools.

RTU licensing is supported only on the following Cisco Wireless Controller platforms:

Cisco 3504 WLC

Cisco 5520 WLC

Cisco Flex 7510 WLC

Cisco 8510 WLC

Cisco 8540 WLC

Cisco vWLC

RTU licensing model中,有如下的license可用:

Permanent or base licenses:这些license是在制造设备时编写到设备硬件中的,它们是无法被删除或被transfer的base count licenses。
Adder licenses:这些许可证是AP计数许可证,您可以通过接受RTU EULA来激活这些许可证。( The EULA states that you are obliged to purchase the specified access point count licenses at the time of activation. You must activate these licenses for the purchased access points count and accept the EULA.)这类型的license就可以在同一系列WLC之间transfer。(注意:不同系列的WLC之间的license无法被transfer,例如向将WLC2504上的license transfer 到WLC5508是不行的!Licenses embedded in the controller at the time of shipment is not transferrable !)
Evaluation licenses:这些许可证是有效期为90天的demo或试用模式许可证。在90天期限到期前15天,您将收到有关购买永久许可证的通知。

RTU license激活:

Step 1
Choose Management > Software Activation > Licenses to open the Licenses page.

Step 2
In the Adder License area, choose to add or delete the number of APs that an AP license can support, enter a value, and click Set Count.

Step 3
Save the configuration.

CLI配置:

license add | delete ap-count count

license add | delete feature license_name

license activate | deactivate ap-count eval

license activate | deactivate feature license_name

Note:如果激活的许可证支持的AP数量少于连接到控制器的当前AP数量,则激活命令将失败。

Note: After you add or delete the license, WLC must use the save config command to save the license.
https://www.cnblogs.com/MomentsLee/p/11545960.html

2、
license ,就是思科的许可啊,就是你需要用什么样的功能,就应该购买对应的license,购买产品时会有一个临时的许可证,60天后失效,之后就需要购买永久许可证。许可证可以让你使用ios的不同部分,以及不同的功能属性,其实现在60天后,基本上还是可以用的,按诚信,你应该自觉去购买永久许可。

以上的这种许可的管理方式,就是RTU许可,这种许可证,可以让你无需购买永久许可,就可以启用新功能,或者对新功能试用,如果你觉得好,请自觉购买。不购买还是能用,明白了吗?靠诚信

15.0以后的IOS才是这样的,以后RTU会不会发生变化,比如60天之后就真不能用了,就不知道了
来自: http://bbs.csc-china.com.cn/forum.php?mod=viewthread&tid=16852

这篇更详细:
https://bigpxuan.blogspot.com/2017/02/cisco-ioslicense.html

思科与华为ACL使用区别

       ACL在交换机路由器上会时常使用到,一般用的场景主要为:网络间的访问控制;策略路由等高层控制机制的调用。

在实际使用过程中思科和华为的设备对于ACL的使用是存在一定的区别的。本文将对现实中遇到的区别做些说明及举例让初学者有一定的认识。

一、思科ACL

ACL大量的应用与交换机、路由器、防火墙等设备上,ACL是各种网络访问控制策略的基础"网元"。在思科ACL体系中默认有个隐式ACE 为deny any。我们知道ACL有一条条规则(ACE)组成。

access-list 100   permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255

上面那条ACL 定义了 1网段能访问2网段,那其他网段之间是无法访问的因为默认有个隐式ACE deny any any 在后面只是我们看不到而已。

写完一个ACL如果只是用来控制访问的话,acl可以在物理接口、逻辑三层接口上调用当有匹配到流量后将执行ACE的相关动作(允许或者禁止)

当ACL为更高一级应用调用时含义也就有些区别了,以下我们以策略路由中的ACL为例说明:

access-list 100   deny   ip 192.168.1.0 0.0.0.255 10.1.1.0  0.0.0.255

access-list 100   permit ip 192.168.1.0 0.0.0.255 10.1.0.0  0.0.255.255

上面的ACL的在策略路由中调用后的结果是: 192.168.1.0/24访问10.1.0.0/16网络中除10.1.1.0/24外的流量将被匹配到,此匹配到的流量将根据策略路由的规则进行处理。

二、华为ACL

华为ACL写法与思科的写法稍微有点区别的,如果想要实现上面思科access-list 100   permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255的一样的功能则华为的写法如下:

acl number 3000

rule 5  permit ip source 192.168.1.0 0.0.0.255  destination 192.168.2.0  0.0.0.255

rule 10  deny  ip any (为什么要加这条ACE)见下面的表格说明

思科与华为ACL使用区别_调用方法

完成ACL后可以在相应的物理接口、VLAN中直接调用 (华为称简化流策略)调用方法如下:

1、在接口上调用traffic-filter inbound acl 3000

2、在vlan中调用traffic-filter vlan vlan-id inbound acl 3000

而被策略路由调用时就有很大的差别了,华为有几个步骤

1、配置流分类 traffic classifier classifier-name   调用ACL

2、配置流行为 traffic behavior   定义动作 permit/deny

3、配置流策略 traffic policy policy-name    执行命令classifier classifier-name behavior behavior-name,在流策略中为指定的流分类配置所需流行为,即绑定流分类和流行为。

4、应用流策略  在接口、VLAN视图、全局视图下,执行命令traffic-policy policy-name  inbound | outbound ,应用流策略

如果想要实现思科的策略路由流量匹配一样的效果则华为需要写以下两个ACL才能实现与思科一样的效果

acl number 3000 

rule 5 permit ip source 192.168.1.0 0.0.0.255 destination 10.1.1.0 0.0.0.255

acl number 3001

rule 5 permit ip source 192.168.1.0 0.0.0.255 destination 10.1.0.0 0.0.255.255

之后在创建的两个流分类中分别调用acl 3000 和acl 3001 ,接着创建两个流动作第一个流动作为permit 最后在流策略traffic-policy中同时引用两个流策略和流行为,acl3000的流策略流行为需放在前面,最后在接口或者vlan、全局中调用流策略。

示例:

class 123

if-match acl 3000

class 456

if-match acl 3001

beh 123

permit

beh 456

redirect ip-nexthop x.x.x.x

traffic policy 123456

class 123 beh 123

class 456 beh 456

interface Vlanif2005

traffic-policy 123456 inbound

以上是关于思科各种licence区别的主要内容,如果未能解决你的问题,请参考以下文章

Python 操作Redis

python爬虫入门----- 阿里巴巴供应商爬虫

Python词典设置默认值小技巧

《python学习手册(第4版)》pdf

Django settings.py 的media路径设置

Python中的赋值,浅拷贝和深拷贝的区别