配置EvPC(增强的vPC),下面两个FEX可以同时被两个N5K管理。
注意:FEX只支持静态的Channel-group(mode on)

N5K-1配置:
配置FEX
N5K-1(config)#feature fex
N5K-1(config)#inter e1/20-21
N5K-1(config-if-range)#channel-group 101

N5K-1(config)#inter Port-channel 101
N5K-1(config-if)#sw mode fex-fabric
N5K-1(config-if)#fex associate 101
N5K-1(config-if)#vpc 101

N5K-1(config)#int e1/22-23
N5K-1(config-if-range)#channel-group 102

N5K-1(config)#inter port-channel 102
N5K-1(config-if)#sw mode fex-fabric
N5K-1(config-if)#fex associate 102
N5K-1(config-if)#vpc 102

N5K-1(config)#cfs ipv4 distribute
N5K-1(config)#configure sync
N5K-1(config-sync)#switch-profile cisco
N5K-1(config-sync-sp)#sync-peers destination 10.1.1.62
N5K-1(config-sync-sp)#inter e101/1/1,e101/1/18,e102/1/1
N5K-1(config-sync-sp-if-range)#speed 1000
N5K-1(config-sync-sp-if-range)#channel-group 300 mode active
N5K-1(config-sync-sp-if-range)#exit
N5K-1(config-sync-sp)#inter port-channel 300
N5K-1(config-sync-sp-if)#sw mode trunk
N5K-1(config-sync-sp-if)#spanning-tree port type edge trunk
N5K-1(config-sync-sp-if)#exit
N5K-1(config-sync-sp)#verify
Verification Successful
N5K-1(config-sync-sp)#commit

建议:不要使用configure sync功能配置要启动FCoE功能的接口,例如e101/1/1,e102/1/1

N5K-2配置:
配置N5K-2的配置同步
N5K-2(config)#cfs ipv4 distribute
N5K-2(config)#configure sync
N5K-2(config-sync)#switch-profile cisco
N5K-2(config-sync-sp)#sync-peers destination 10.1.1.61

配置FEX
N5K-2(config)#feature fex
N5K-2(config)#inter e1/20-21
N5K-2(config-if-range)#channel-group 102

N5K-2(config)#inter Port-channel 102
N5K-2(config-if)#sw mode fex-fabric
N5K-2(config-if)#fex associate 102
N5K-2(config-if)#vpc 102

N5K-2(config)#int e1/20-21
N5K-2(config-if-range)#channel-group 101

N5K-2(config)#inter port-channel 101
N5K-2(config-if)#sw mode fex-fabric
N5K-2(config-if)#fex associate 101
N5K-2(config-if)#vpc 101

查看FEX状态:
N5K-1#show vpc
FEX           FEX         FEX            FEX                 FEX
Number    Description    State          Model               Serial
------------------------------------------------------------------
101         FEX0101        Online      N2K-C2232PP-10GE   SSI182005S5
102         FEX0102        Online      N2K-C2232PP-10GE   SSI182300ZQ

N5K-2#show vpc
FEX           FEX         FEX            FEX                 FEX
Number    Description    State          Model               Serial
------------------------------------------------------------------
101         FEX0101        Online      N2K-C2232PP-10GE   SSI182005S5
102         FEX0102        Online      N2K-C2232PP-10GE   SSI182300ZQ

查看Switch-profile:
N5K-1#show switch-profile peer details

switch-profile:cisco
----------------------------------------------------------------
Peer-IP-address                  :10.1.1.32
Peer-sync-status                    :In sync
Peer-status         :Commit Success
Peer-error(s)         :

N5K-1#show switch-profile status

switch-profile:cisco
----------------------------------------------------------------

Start-time:872742 usecs after Fri Jan 9 06:58:16 2017
End-time:123223 usecs after Fri Jan 9 06:58:22 2017

Profile-Revision:2
Session-type:Commit
Session-subtype:
Peer-triggered:No
Profile-status:Sync Success

Local information:
-------------------
Status:Commit Success
Error(s):

Peer Information:
Peer-IP-address          :10.1.1.32
Peer-sync-status     :In sync
Peer-status         :Commit Success
Peer-error(s)         :

Nexus-配置vPC 实验三的更多相关文章

  1. HCIA-datacom 4.3 实验三:网络地址转换配置实验

    实验介绍: 网络地址转换NAT(Network Address Translation)是将IP数据报文头中的IP地址转换为另一个IP地址的过程.作为减缓IP地址枯竭的一种过渡方案,NAT通过地址重用 ...

  2. FPGA与simulink联合实时环路系列——实验三 按键key

    实验三 按键key 实验内容 在FPGA的实验中,经常涉及到按键的使用,按键是必不可少的人机交互的器件之一,在这些实验中,有时将按键的键值读取显示到数码管.LCD或者是通过串口传送到PC的串口助手上进 ...

  3. MHA+Atlas+mysql一主一从开启gtid安装配置与实验

    各节点架构 (说明:生产环境有两个节点可以组成一套完整集群,我是测试环境,因此对于manager以及atlas和binlog server都是单点,如果生产环境,相应的将manager以及atlas和 ...

  4. 20145229&20145316 《信息安全系统设计基础》实验三 实时系统的移植

    实验封面 实验内容 1.安装ADS(安装文件在00-ads1.2目录下,破解方法00-ads1.2\Crack目录下) 2.安装GIVEIO驱动(安装文件在01-GIVEIO目录下) 3.把整个GIV ...

  5. 20145213《Java程序设计》实验三敏捷开发与XP实践

    20145213<Java程序设计>实验三敏捷开发与XP实践 实验要求 1.XP基础 2.XP核心实践 3.相关工具 实验内容 1.敏捷开发与XP 软件工程是把系统的.有序的.可量化的方法 ...

  6. 20145337实验三实验报告——敏捷开发与XP实践

    20145337实验三实验报告--敏捷开发与XP实践 实验名称 敏捷开发与XP实践 实验内容 XP基础 XP核心实践 相关工具 ** 实验步骤**### 敏捷开发与XP 软件工程包括下列领域:软件需求 ...

  7. 20145315 《Java程序设计》实验三实验报告

    实验三 敏捷开发与XP实践 实验内容 下载并学会使用git上传代码: 与同学结对,相互下载并更改对方代码,并上传: 实现代码的重载. 实验步骤 下载并用git上传代码: 1.下载并安装好git,在cm ...

  8. 《Java程序设计》实验三 实验报告

    实验三 敏捷开发与XP实践 实验内容 XP基础 XP核心实践 相关工具 实验要求 1.没有Linux基础的同学建议先学习<Linux基础入门(新版)><Vim编辑器> 课程 2 ...

  9. 20162330 实验三 《敏捷开发与XP实践》 实验报告

    2016-2017-2 实验报告目录: 1 2 3 4 5 20162330 实验三 <敏捷开发与XP实践> 实验报告 课程名称:<程序设计与数据结构> 学生班级:1623班 ...

随机推荐

  1. AOP使用

    package com.googosoft.db.aspect; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lan ...

  2. unittest学习3-测试组件setup、teardown

    unittest的测试用例执行时都可以设置setup.teardown,用来初始化测试开始和测试结束关闭,例如: import unittest class MyTestCase(unittest.T ...

  3. Eqaulize Prices

    There are n products in the shop. The price of the ii-th product is aiai. The owner of the shop want ...

  4. 关于static 关键字的总结

    转发自:https://www.cnblogs.com/xrq730/p/4820992.html 前言 之前讲到final关键字的作用是每次面试的时候我必问求职者的两个问题之一,另外一个问题就是文本 ...

  5. 一些常用的js代码

    跳转 window.location.href= 刷新  location.reload()

  6. ubuntu14.04安装google chrome

    安装好Ubuntu14.04之后安装google chrome浏览器 1.按下 Ctrl + Alt + t 键盘组合键,启动终端 2.在终端中,输入以下命令 (将下载源加入到系统的源列表.命令的反馈 ...

  7. php 下载word 含图片

      ob_start();//打开输出缓冲区 echo ' <html xmlns:o="urn:schemas-microsoft-com:office:office"xm ...

  8. [转]使用HttpOnly提升Cookie安全性

    原文:https://www.cnblogs.com/zlhff/p/5477943.html 在介绍HttpOnly之前,我想跟大家聊聊Cookie及XSS. 随着B/S的普及,我们平时上网都是依赖 ...

  9. C语言实例——判断是否为闰年

    实例要求从键盘输入任意年份的整数 N,通过程序运行判断该年份是否为闰年. 算法思想 判断任意年份是否为闰年,需要满足以下条件中的任意一个:① 该年份能被 4 整除同时不能被 100 整除:② 该年份能 ...

  10. C语言程序的错误和警告

    一段C语言代码,在编译.链接和运行的各个阶段都可能会出现问题.编译器只能检查编译和链接阶段出现的问题,而可执行程序已经脱离了编译器,运行阶段出现问题编译器是无能为力的. 如果我们编写的代码正确,运行时 ...