首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >思科,开关端口上没有dot1q隧道模式

思科,开关端口上没有dot1q隧道模式
EN

Network Engineering用户
提问于 2016-12-24 15:30:28
回答 1查看 1.1K关注 0票数 1

问题是:我找不到QinQ(a.k.a )。双vlan标记或dot1q隧道)在以下思科交换机: WS-C4510R+E,SUP8-E安装了WSX4748-UPOE+E线卡。

Cisco功能导航器说它应该在我的平台上。

我是IOS-XE的新手,这是这个HW支持的唯一IOS。

我已经将ios-xe升级到: cat4500es8-universalk9.SPA.03.08.01.E.152-4.E1.bin,我也尝试过: cat4500es8-universal.SPA.03.03.00.XO.151-1.XO.bin cat4500es8-universalk9.SPA.03.09.01.E.152-5.E1.bin没有运气。

可能是我有一些许可证或功能启用(机制)在IOS-XE问题。我目前的执照看起来是:

代码语言:javascript
复制
Switch#show license all 
License Store: Primary License Storage
License Store: Dynamic License Storage
StoreIndex: 0 Feature: entservices  Version: 1.0
      License Type: Evaluation
        Evaluation total period: 8 weeks 4 days 
        Evaluation period left: 8 weeks 3 days 
      License State: Inactive
      License Count: Non-Counted
      License Priority: Low
StoreIndex: 1 Feature: entservices  Version: 1.0
      License Type: PermanentRightToUse
      License State: Active, Not in Use, EULA accepted
      License Count: Non-Counted
StoreIndex: 2 Feature: ipbase  Version: 1.0
      License Type: Evaluation
        Evaluation total period: 8 weeks 4 days 
        Evaluation period left: 8 weeks 4 days 
      License State: Inactive
      License Count: Non-Counted
      License Priority: None
StoreIndex: 3 Feature: ipbase  Version: 1.0
      License Type: PermanentRightToUse
      License State: Active, Not in Use, EULA accepted
      License Count: Non-Counted
StoreIndex: 4 Feature: lanbase  Version: 1.0
      License Type: PermanentRightToUse
      License State: Active, Not in Use, EULA accepted
      License Count: Non-Counted
StoreIndex: 5 Feature: apcount  Version: 1.0
      License Type: Evaluation
        Evaluation total period: 8 weeks 4 days 
        Evaluation period left: 8 weeks 4 days 
      License State: Active, Not in Use, EULA not accepted
      License Count: 0/0
      License Priority: None
StoreIndex: 6 Feature: apcount  Version: 1.0
      License Type: PermanentRightToUse
      License State: Inactive
      License Count: 0/0

我也没有找到sdm模板命令。

代码语言:javascript
复制
Switch#show dot1? 
dot1x  

首先,我试图:

代码语言:javascript
复制
configure terminal
    int gi 1/1
    (config-if)#swi mode ?
          access        Set trunking mode to ACCESS unconditionally
          dynamic       Set trunking mode to dynamically negotiate access or trunk mode
          private-vlan  Set private-vlan mode
          trunk         Set trunking mode to TRUNK unconditionally
    (config-if)#int te 5/5
    (config-if)#swi mode ?
          access        Set trunking mode to ACCESS unconditionally
          dynamic       Set trunking mode to dynamically negotiate access or trunk mode
          private-vlan  Set private-vlan mode
          trunk         Set trunking mode to TRUNK unconditionally

也没有任何关于:

代码语言:javascript
复制
switchport mode dot1q-tunnel

甚至

代码语言:javascript
复制
show dot1q?
% Unrecognized command

因为我不是第一次设置QinQ。我在Cisco上检查过,以确保我的IOS-XE支持它。是的,cat4500es8-universalk9.SPA.03.08.01.E.152-4.E1.bin支持QinQ,甚至有选择性的QinQ。我尝试过在行卡和SUP8-E-no命令中配置QinQ。

代码语言:javascript
复制
    (config)#default int te5/5
    Interface TenGigabitEthernet5/5 set to default configuration
    (config)#int te 5/5
    (config-if)#switchport 
    (config-if)#switchport mode access 
    (config-if)#switchport access vlan 10
    (config-if)#switchport nonegotiate 
    (config-if)#switchport mode ?
          access        Set trunking mode to ACCESS unconditionally
          dynamic       Set trunking mode to dynamically negotiate access or trunk mode
          private-vlan  Set private-vlan mode
          trunk         Set trunking mode to TRUNK unconditionally



    (config)#default int te5/5
    Interface TenGigabitEthernet5/5 set to default configuration
    (config)#int te 5/5
    (config-if)#switchport 
    (config-if)#switchport mode access 
    (config-if)#switchport access vlan 10
    (config-if)#switchport nonegotiate 
    (config-if)#switchport mode ?
          access        Set trunking mode to ACCESS unconditionally
          dynamic       Set trunking mode to dynamically negotiate access or trunk mode
          private-vlan  Set private-vlan mode
          trunk         Set trunking mode to TRUNK unconditionally
    (config-if)#switchport vl?
          % Unrecognized command

我认为主要的问题是无效许可证:

代码语言:javascript
复制
StoreIndex: 0 Feature: entservices  Version: 1.0
      License Type: Evaluation
        Evaluation total period: 8 weeks 4 days 
        Evaluation period left: 8 weeks 3 days 
      License State: Inactive
      License Count: Non-Counted
      License Priority: Low
EN

回答 1

Network Engineering用户

回答已采纳

发布于 2016-12-26 09:44:16

由于QinQ是ISP特性,密钥处于未使用的entservice许可状态:

代码语言:javascript
复制
show license all
...
StoreIndex: 1 Feature: entservices  Version: 1.0
    License Type: PermanentRightToUse
    License State: Active, Not in Use, EULA accepted
    License Count: Non-Counted
...
#configure terminal
    #(config)#license boot level entservices !
#reload

在重新加载之后(没有输入许可证!):

代码语言:javascript
复制
show license all
    ...
    StoreIndex: 1 Feature: entservices  Version: 1.0
    License Type: PermanentRightToUse
    License State: Active, In Use
    License Count: Non-Counted
    ...
show log
    ...
    *Dec 26 01:20:03.606: %C4K_IOSSYS-6-IMAGELEVEL: Supervisor booting in image level 'entservices'
    ...

QinQ特性所需的所有命令(以及更多的命令)都可用:

代码语言:javascript
复制
#show dot1q-tunnel ?
    interface  specify an interface
    |          Output modifiers
    <cr>
(config)#int gi 1/1
    (config-if)#switchport mode ?
    access        Set trunking mode to ACCESS unconditionally
    dot1q-tunnel  set trunking mode to TUNNEL unconditionally
    dynamic       Set trunking mode to dynamically negotiate access or trunk mode
    private-vlan  Set private-vlan mode
    trunk         Set trunking mode to TRUNK unconditionally

顺便说一句,所有接口配置命令都可以在任何开关端口模式下使用,只会发生错误:

代码语言:javascript
复制
(config)#int gi 1/1
    (config-if)#no switchport
    (config-if)#switchport mode dot1q-tunnel 
        Command rejected: Te5/5 is not a switching port.

所有显示命令都可用:

代码语言:javascript
复制
#show dot1q-tunnel 
    dot1q-tunnel mode LAN Port(s)
    -----------------------------
    Gi1/24
    Te5/5
票数 3
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/37556

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档