首页 > 编程知识 正文

ib网卡,ib网络交换机与以太网交换机

时间:2023-05-05 10:44:13 阅读:139110 作者:2769

串行端口通过远程CRT登录,波特率9600

用户名和密码是管理员

doyouwanttousethewizardforinitialconfiguration?

选择否

打开IP路由

sx 1012 [ standalone : master ] (config ) # ip routing

设置mgmt0端口的ip地址

sx 1012 [ standalone : master ] [ config ] # interface mgmt0IP address 172.21.1.251255.255.255.255.255.250

关闭mgmt0的dhcp

no interface mgmt0 dhcp

设置默认路由

sx 1012 [ standalone : master ] [ config ] # IP default-gateway 172.21.1.254

show running-config

重新运行初始配置向导

sx 1012 [ standalone : master ] [ config ] # configuration jump-start

出厂设定指令:

switch-f0be 76 [ standalone : master ] [ config ] # reset factory

设置主机名:

switch-534 c80 [ standalone : * unknown * ] (config (# hostname switch-b ) )

保存配置命令

#写入存储器

【设置管理地址后,可以从管理端口登录交换机】

=========================================================================================

【事前构成】

打开路由

switch(config ) # ip routing

交换机打开lacp (链路聚合控制协议)

sitch(config ) # lacp

打开QoS以避免IPL心跳端口拥挤

sitch(config ) # dcb优先级流控制

关闭生成树

无生成树

打开MLAG协议

sitch(config ) #协议标记

【IPL的构成】

为IPL接口创建VLAN

switch(config ) # vlan 4000

创建聚合组(LAG )

sitch(config ) #接口端口-信道1

将一个或两个物理端口映射到LAG并激活

sitch(config ) #接口以太网1/11通道-组1模式活动

sitch(config ) #接口以太网1/12通道-组1模式活动

将此LAG设置为IPL互连

交换机(configinterfaceport-channel1) # ipl 1

在此特定接口上启用QoS

配置信道1 (switch ) # dcb优先级流控制器

创建VLAN

switch(config ) #接口VLAN 4000

VLAN4000设置IP地址

在交换机a上运行:

配置接口4000 # IP地址10.10.10.1/30

在交换机b上运行:

配置文件4000 # IP地址10.10.10.2/30

到VLAN接口的强IPL映射

在交换机a上运行:

配置接口4000 (switch ) # ipl 1 peer-address 10.10.10.2

在交换机b上运行:

配置文件4000 (sitch ) # ipl 1 peer-address 10.10.10.1

为MLAG配置虚拟IP

在交换机a上运行:

switch(config ) # mlag-VIP my-vipip 10.10.10.254/24//maskmayalsobe 255.255.255.255.0

在交换机b上运行:

sitch(config ) # mlag-vip my-vip

注: vip与管理ip位于同一网段

【端口1分4】

接口以太网1/1模块- typeqsfp-split-4 force

【MLAG端口的结构】

为主机创建MLAG端口

sitch(config ) #接口标记端口通道1

关闭STP生成树

配置端口通道1 (switch ) #生成树端口类型边缘

配置文件端口信道1 (switch ) #生成树bpdu文件启用

将以太网端口绑定到MLAG组

配置以太网1/2 (switch ) # mlag-channel-group 1模式on

创建并打开MLAG界面

switch (配置端口通道1 ) # no shutdown

【打开MLAG】

打开标签

switch [ my-VIP : master ] # no shut down

注:在三层网络中配置MLAG时,必须部署VRRP或MAGP

【MLAG的验证】

检查MLAG的配置和状态

sx2 [ mellan ox : master ] # show mlag

检查MLAG汇总表

switch [ my-VIP : master ] [ config ] # showinterfacesmlag-port-channel summary

检查MLAG统计数据

switch [ my-VIP : master ] # show mlag statistics

原文: 3358 www.cn blogs.com /张江花/p/5912680.html

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。