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

    Section1:Layer 2 Technologies

    1.1 VLAN

    vlan batch 10 15 24 30 35 255

    interface x0/0/x

    port link-type access

    port default vlan xxx

    1.2 Eth-trunk

    interface Eth-trunk 1

    mode lacp-static

    trunkport GigabitEthernet 0/0/13 to G0/0/15

    lacp priority 0                                                       #主动交换机上配置

    interface eth-trunk 1

    mode lacp-static

    trunkport GigabitEthernet 0/0/13 to G0/0/15

    lacp preempt enable

    lacp preempt delay 10

    max active-linknumber 2

    interface g0/0/13

    lacp priority 33000

    display Eth-trunk 1                                                 #查看效果

    1.3 Trunk

    interface Eth-trunk 1

    port link-type trunk

    port trunk allow-pass vlan all

    undo port trunk allow-pass vlan 1                            #模拟环境有个bug, 可能需要重启交换机

    1.4 MSTP

    stp mode mstp

    stp region-configuration

    region-name HW

    revision-level 1

    instance 1 vlan 10 15 24

    instance 2 vlan 30 35 255

    active region-configuration

    stp instance 1 root primary                                    #全局模式下

    stp instance 2 root secondary

    dis stp instance 1 brief                                          #在R3上查看现象一个根端口,一个阻塞端口

    stp bpdu-protection                                               #全局模式

    Interface g0/0/10

    stp edge-port enable                                             #边缘端口

    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 chap                                     #创建一个认证计划"chap"  

    authentication-mode  local                                       #在认证计划中创建一个认证模式用本地用户名密码认证                   

    aaa

    domain pppchap                                                      #创建一个认证域"pppchap"

    authentication-scheme chap                                     #调用认证计划"chap"

    aaa

    local-user chapuser password cipher CHAP123           #创建一个本地用户帐号密码

    local-user chapuser service-type ppp                         #服务类型为ppp

    interface s2/0/0 

    ip address 10.1.12.1 24                                            #认证端接口配置                                              

    ppp authentication-mode chap domain pppchap

    ppp chap user chapuser                                            #被认证端接口配置

    ppp chap password cipher CHAP123                           #shutdown重启验证

  • 相关阅读:
    64位win2008下IIS未开启32位支持导致DLL无法加载问题
    多控制器传递不同类型实体类到共用视图方案
    敏捷开发学习笔记——产品经理
    一些Razor语法
    敏捷开发学习笔记——用户故事与多职能团队
    UM九图
    Linq的分页
    easyUI datagrid 前端真分页
    C#项目的生成事件及批处理文件
    子类复制父类的值
  • 原文地址:https://www.cnblogs.com/xuebing666666/p/6647606.html
Copyright © 2011-2022 走看看