zoukankan      html  css  js  c++  java
  • HCIE实验LAB_2(1)

    Section 1:Layer 2 Technologies

    1.1 VLAN

    vlan batch xxx

    interface g0/0/x

    port link-type access

    port default vlan xxx

    1.2 Trunk

    port link-type trunk

    port trunk allow-pass vlan all

    注意事项:
    考试LAB使用真机,在交换机上改端口模式时候需要先把端口下的默认配置删除,5700和3700删除命令不一样
    SW1/SW2为5700,互联端口下敲入undo port hybrid untag vlan 1
    SW3/SW4为3700,互联端口下敲入port hybrid untag vlan 1

    1.3 GVRP

    gvrp                                                            #全局配置

    gvrp                                                            #trunk接口配置

    port trunk pvid 255                                       #如果不允许VLAN1通过trunk

    1.4 MSTP

    interface g0/0/2                                            #根防护在接口下,bpdu防护在全局下

    stp root-protection

    1.5 Smart link

    interface e0/0/13

    stp disable

    interface e0/0/16

    stp disable

    smart-link group 4

    port Ethernet0/0/13 master

    port Ethernet0/0/16 slave

    smart-line enable

    restore enable

    timer wtr 30

    flush send control-vlan 12

    interface 13                                                                              #SW1与SW2上互联trunk口,不关闭stp只配置接收vlan12

    smart-link flush receive control-vlan 12

    interface 19                                                                              #SW1和SW2上与SW4互联接口,关闭stp并配置接收vlan12

    stp disable

    smart-link flush receive control-vlan 12

    1.6 Frame-Relay

    interface s1/0/0

    link-protocol fr

    undo fr inarp

    fr map  ip 10.1.145.4 104 broadcast   

    fr map ip 10.1.145.5 105 broadcast

    ip address 10.1.145.1 24

    1.7 PPP

    aaa

    authentication-scheme pap

    authentication-mode local

    aaa

    domain ppppap

    authentication-scheme pap

    aaa

    local-user papuser password cipher PAP123

    local-user papuser service-type ppp

    interface s2/0/0

    ppp authentication-mode pap domain ppppap

    interface s2/0/0

    ppp pap local-user papuser password cipher PAP123

  • 相关阅读:
    ppt标签打开文件 word标签打开文件 窗口打开文件 粘贴默认方式
    .net 执行sql包含go语句的处理
    vs创建项目模板和项模板
    base64和图片的转换
    Map工具系列-05-添加业务参数工具
    winform刷新UI界面
    System.Diagnostics.Process.Star的用法
    wpf打开文夹和打开文件
    wpf *和auto的区别
    WPF基础到企业应用系列6——布局全接触
  • 原文地址:https://www.cnblogs.com/xuebing666666/p/6652618.html
Copyright © 2011-2022 走看看