zoukankan      html  css  js  c++  java
  • pxe前期网络准备

    核心交换机:
    [H3C12510-HEXIN]vlan 3010 //如果存在则不需要创建
    [H3C12510-HEXIN]dis interface Bridge-Aggregation brief //找出下联至汇聚交换机的聚合组
    [H3C12510-HEXIN]interface Bridge-Aggregation 19 // 进入聚合组
    [H3C12510-HEXIN-Bridge-Aggregation19]port trunk permit vlan 3010 //放行vlan
    [H3C12510-HEXIN-Bridge-Aggregation19]dis this
    #
    interface Bridge-Aggregation19
    description ZTE9916-HUIJU-smartgroup1
    port link-type trunk
    undo port trunk permit vlan 1
    port trunk permit vlan 3010
    link-aggregation mode dynamic
    #

    汇聚交换机:
    ZTE9916-HUIJU#configure terminal
    ZTE9916-HUIJU(config)#switchvlan-configuration
    ZTE9916-HUIJU(config-swvlan)#vlan 3010 //如果存在则不需要创建
    ZTE9916-HUIJU(config)#show interface brief include smar //找出下联至接入交换机和上联至汇聚交换机的聚合组
    ZTE9916-HUIJU(config)#switchvlan-configuration
    ZTE9916-HUIJU(config-swvlan)#interface smartgroup1 //进入聚合组(上联)
    ZTE9916-HUIJU(config-swvlan-if-smartgroup1)#switchport trunk vlan 3010 //放行vlan
    ZTE9916-HUIJU(config-swvlan-if-smartgroup1)#show this
    !<switchvlan>
    switchport mode trunk
    switchport trunk vlan 512,3010
    switchport qinq tpid external 0x8100
    !</switchvlan>
    ZTE9916-HUIJU(config-swvlan-if-smartgroup1)#exit
    ZTE9916-HUIJU(config-swvlan)#interface smartgroup43 //进入聚合组(下联)
    ZTE9916-HUIJU(config-swvlan-if-smartgroup43)#switchport trunk vlan 3010 //放行vlan
    ZTE9916-HUIJU(config-swvlan-if-smartgroup43)#show this
    !<switchvlan>
    switchport mode trunk
    switchport trunk vlan 3010
    switchport qinq tpid external 0x8100
    !</switchvlan>


    接入交换机:
    <HWCE6851>sys
    [HWCE6851]vlan 3010 //如果存在则不需要创建
    [HWCE6851]interface Eth-Trunk 1 //进入聚合组(上联)
    [HWCE6851-Eth-Trunk1]port trunk allow-pass vlan 3010 //放行vlan
    [HWCE6851-Eth-Trunk1]dis this
    #
    interface Eth-Trunk1
    port link-type trunk
    undo port trunk allow-pass vlan 1
    port trunk allow-pass vlan 3010
    mode lacp-static
    #
    return
    [HWCE6851]interface 10GE 1/0/1 //进入服务器对应端口
    [HWCE6851-10GE1/0/1]port link-type access
    [HWCE6851-10GE1/0/1]port default vlan 3010
    [HWCE6851-10GE1/0/1]dis this
    #
    interface 10GE1/0/1
    description yuliu
    port default vlan 3010
    stp edged-port enable
    device transceiver 10GBASE-FIBER
    #
    return
    [HWCE6851-10GE1/0/1]commit //使配置生效

    接入交换机脚本:
    HW
    vlan 2504
    quit
    inte range 10ge1/0/1 to 10ge1/0/21
    port default vlan 3010
    quit
    inte range 10ge2/0/1 to 10ge2/0/21
    port default vlan 2504
    commit
    quit

  • 相关阅读:
    我们在囧途之程序员转型记
    项目开发应遵循1+7还是7+1?
    自己用的一款模板解析程序(支持插件和扩展)(思路讨论和使用体验)
    设计的核心任务之一:层次的控制
    【设计 = 编码】 VS 【设计 ≠ 编码】
    从一生的角度看程序员的学习和发展
    编码质量与命名
    软件开发十年小史
    设计的核心任务之三:确保正交性
    国内外软件开发上的差距与分析
  • 原文地址:https://www.cnblogs.com/lianyg/p/9529903.html
Copyright © 2011-2022 走看看