ib网卡命令_IB交换机配置命令总结
串口通过远程CRT登录,波特率9600
用户名和密码都是admin
Do you want to use the wizard for initial configuration?
选择no
打开ip routing
sx1012 [standalone: master] (config) # ip routing
设置mgmt0端口的ip地址
sx1012 [standalone: master] (config) # interface mgmt0 ip address 172.21.1.251 255.255.255.0
将mgmt0的dhcp关掉
no interface mgmt0 dhcp
设置默认路由
sx1012 [standalone: master] (config) # ip default-gateway 172.21.1.254
show running-config
重新运行初始配置向导
sx1012 [standalone: master] (config) # configuration jump-start
出厂设置命令:
switch-f0be76 [standalone: master] (config) # reset factory
配置主机名:
switch-534c80 [standalone: *unknown*] (config) # hostname switch-B
保存配置命令
#write memory
【配置完管理地址后,可以通过管理口登录交换机】
========================================================================================
【预配置】
开启路由
switch (config)# ip routing
交换机开启lacp(链路聚合控制协议)
switch (config)# lacp
开启QoS来避免IPL心跳端口拥挤
switch (config)# dcb priority-flow-control enable force
关闭生成树
no spanning-tree
开启MLAG协议
switch (config)# protocol mlag
【配置IPL】
为IPL互联接口创建VLAN
switch (config)# vlan 4000
创建LAG(聚合组)
switch (config)# interface port-channel 1
映射一个或两个物理端口到LAG上,并激活
switch (config)# interface ethernet 1/11 channel-group 1 mode active
switch (config)# interface ethernet 1/12 channel-group 1 mode active
将这个LAG设置成IPL互联
switch (config interface port-channel 1)# ipl 1
在这个特定接口上启用QoS
switch (config interface port-channel 1)# dcb priority-flow-control mode on force
创建VLAN
switch (config)# interface vlan 4000
VLAN4000设置IP地址
交换机A上执行:
switch (config interface vlan 4000)# ip address 10.10.10.1 /30
交换机B上执行:
switch (config interface vlan 4000)# ip address 10.10.10.2 /30
强IPL映射到VLAN接口
交换机A上执行:
switch (config interface vlan 4000)# ipl 1 peer-address 10.10.10.2
交换机B上执行:
switch (config interface vlan 4000)# ipl 1 peer-address 10.10.10.1
为MLAG配置虚拟IP
交换机A上执行:
switch (config)# mlag-vip my-vip ip 10.10.10.254 /24 //mask may also be 255.255.255.0
交换机B上执行:
switch (config)# mlag-vip my-vip
注:vip与管理ip在同一网段
【端口一分四】
interface ethernet 1/1 module-type qsfp-split-4 force
【配置MLAG端口】
为主机创建MLAG端口
switch (config)# interface mlag-port-channel 1
关闭STP生成树
switch (config interface mlag-port-channel 1)# spanning-tree port type edge
switch (config interface mlag-port-channel 1)# spanning-tree bpdufilter enable
绑定一个以太网口到MLAG组
switch (config interface ethernet 1/2)# mlag-channel-group 1 mode on
创建并开启MLAG接口
switch (config interface mlag-port-channel 1)# no shutdown
【开启MLAG】
开启MLAG
switch [my-vip: master] (config mlag)# no shutdown
注:当在三层网络配置MLAG时,VRRP或MAGP必须被部署
【验证MLAG】
检查MLAG配置与状态
SX2 [mellanox: master] (config)# show mlag
检查MLAG汇总表
switch [my-vip: master] (config)# show interfaces mlag-port-channel summary
检查MLAG统计数据
switch [my-vip: master] (config)# show mlag statistics
原文:http://www.cnblogs.com/zhangjianghua/p/5912680.html
ib网卡命令_IB交换机配置命令总结相关推荐
- 华三交换机配置access命令_h3c交换机配置命令详解
H3C 交换机配置命令详解 华为 3COM 交换机配置命令详解 1 .配置文件相关命令 [Quidway]display current-configuration ; 显示当前生效的 ...
- 华三交换机镜像配置命令_H3C交换机配置命令详解
H3C交换机配置命令详解 1.配置文件相关命令 [Quidway]display current-configuration ;显示当前生效的配置 [Quidway]display s ...
- ib网卡命令_infiniband交换机配置命令总结
串口通过远程CRT登录,波特率9600 用户名和密码都是admin Do you want to use the wizard for initial configuration? 选择no 打开ip ...
- 华三交换机配置access命令_H3C交换机配置命令大全
1.system-view 进入系统视图模式 2.sysname 为设备命名 ceshiji 3.display current-configuration 当前配置情况 4. languag ...
- 华三交换机配置access命令_h3c交换机配置命令
1.修改名称 sysname 名称 2.进入aaa模式 [5F/L01]aaa # aaa authentication-scheme default authorization-scheme def ...
- CISCO交换机配置命令大全
CISCO交换机配置命令大全 1.在基于IOS的交换机上设置主机名/系统名: switch(config)# hostname hostname 在基于CLI的交换机上设置主机名/系统名: switc ...
- 【收藏】华为路由器交换机配置命令大全
华为路由器交换机配置命令:计算机命令 PCAlogin:root;使用root用户 password:linux;口令是linux #shutdown-hnow;关机 #init0;关机 #logou ...
- 华为路由器交换机配置命令
华为路由器交换机配置命令:计算机命令 PCAlogin:root:使用root用户 password:linux:口令是linux shutdown-hnow:关机 init0:关机 logout:用 ...
- CISCO交换机配置命令及释义
CISCO交换机配置命令及释义 1.设置交换机名称 switch(config)#hostname DSHD DSHD(config)# 2.设置交换机管理IP地址 switch(config)#in ...
- 《通用版CISCO交换机配置命令及释义》——【全面、通用,含部分功能的注释】
CISCO交换机配置命令及释义 1.设置交换机名称 switch(config)#hostname DSHD DSHD(config)# 2.设置交换机管理IP地址 switch(config)#in ...
最新文章
- 天命剑之天命的含义--天行有悖,乃命羲和。
- access查询女教师所有的信息_【9月3日报名必看】教师资格证报名如何查询报名成功及修改报名信息?...
- hosts文件配置不生效的解决办法
- Python 技术篇 - 微信调用图灵机器人的api接口实现自动回复实例演示。图灵机器人的注册与使用
- 面试官:你知道哪几种事务失效的场景?
- 《JavaScript 高级程序设计》 7.5 常用模式
- 优秀学生专栏——孙振涛
- torch.cuda.is_available(),torch.cuda.device_count(),torch.cuda.get_device_name(0)
- Java:节点流和处理流的理解
- Origin绘制区间图,并添加折线
- push指令的执行过程
- android自定义View之仿携程首页点击缩放ImageView
- c语言程序设计视屏下载,C语言程序设计零基础入门视频教程下载
- 完成中国福利彩票快三的程序设计
- 姿态估计4-02:voxelpose(多视角3D人体姿态估算)-官方数据训练测试,环境搭建等
- 消息中间件RabbitMQ 初探
- 基于 CIM 的智慧社区总体框架
- html将英文日期格式转化为中文日期格式,excel中文日期与英文日期的转换
- ligerUI合并单元格
- IK分词器结合ES使用