一台网络设备会有哪些配置?

一 堆叠
(1) 配置设备1
选定IRF物理端口并关闭这些端口(1/1/3和1/1/4)。
system-view
interface range ten-gigabitethernet 1/1/3 toten-gigabitethernet 1/1/4
shutdown
quit
# 配置IRF端口1/1,并将它与物理端口Ten-GigabitEthernet1/1/3和Ten-GigabitEthernet1/1/4绑定。
irf-port 1/1
port group interface ten-gigabitethernet 1/1/3
port group interface ten-gigabitethernet 1/1/4
quit
# 开启Ten-GigabitEthernet1/1/3~Ten-GigabitEthernet1/1/4端口,并保存配置。
interface range ten-gigabitethernet 1/1/3 toten-gigabitethernet 1/1/4
undo shutdown
quit
save
# 激活IRF端口下的配置。
irf member 1 priority 32
irf-port-configuration active
(2) 配置设备2
# 将设备2的成员编号配置为2,并重启设备使新编号生效。
system-view
irf member 1 renumber 2
Y
quit
reboot
选定IRF物理端口并进行物理连线。
# 重新登录到设备,关闭选定的所有IRF物理端口。
system-view
interface range ten-gigabitethernet 2/1/3 toten-gigabitethernet 2/1/4
shutdown
quit
# 配置IRF端口2/1,并将它与物理端口Ten-GigabitEthernet2/1/3和Ten-GigabitEthernet2/1/4绑定。
irf-port 2/1
port group interface ten-gigabitethernet 2/1/3
port group interface ten-gigabitethernet 2/1/4
quit
# 开启Ten-GigabitEthernet2/1/3~Ten-GigabitEthernet2/1/4端口,并保存配置。
interface range ten-gigabitethernet 2/1/3 toten-gigabitethernet 2/1/4
undo shutdown
quit
save
# 激活IRF端口下的配置。
irf-port-configuration active

(3) 配置BFD MAD
# 创建VLAN 50,并将端口GigabitEthernet1/0/48、GigabitEthernet2/0/48、加入VLAN 50中。
vlan 50
port gigabitethernet 1/0/48 gigabitethernet2/0/48
quit
# 创建VLAN接口50,并配置MAD IP地址。
interface vlan-interface 50
mad bfd enable
mad ip address 1.1.1.1 30 member 1
mad ip address 1.1.1.2 30 member 2
quit
# 因为BFD MAD和生成树功能互斥,所以在GigabitEthernet1/0/48、GigabitEthernet2/0/48端口上关闭生成树协议。
interface range gigabitethernet 1/0/48 gigabitethernet2/0/48
undo stp enable
quit

二基础配置
1、配置设备名称
命名需要描述清楚,自由发挥
sysname BJ-I3I4-M-SW-S5560-54C-1&2(地域-机柜-用途-设备类型–)

2、配置用户名、密码
local-user guanli class manage
password simple H3c@123
service-type ssh
authorization-attribute user-rolenetwork-admin
public-key local create rsa
ssh server enable

line vty 0 4
authentication-modescheme
protocol inbound ssh

3、创建VLAN
描述需要清晰,自由发挥
Vlan 12 description FOR_10506
VLAN 50 description MAD_BFD

4、配置业务接口及管理接口信息
bfd sessioninit-mode active
interface loopback 0
ip address 192.168.0.4 255.255.255.255

interface vlan 12
ip address 192.168.3.42 255.255.255.0
ospf network-type p2p
ospf bfd enable

interface bridge-aggregation 64
link-aggregation mode dynamic
descriptionTO-[自由发挥]_bridge-agg64_4*10GE
portlink-type trunk
undoport trunk permit vlan 1
porttrunk permit vlan 12 51 112 113 115
quit

///创建聚合口
interface bridge-aggregation 1
interface bridge-aggregation 2
interface bridge-aggregation 3
interface bridge-aggregation 4
interface bridge-aggregation 5

/将端口加入聚合口
Interface gigabitethernet 1/0/1
port link-aggregation group 1
Interface gigabitethernet 2/0/1
port link-aggregation group 1
Interface gigabitethernet 1/0/2
port link-aggregation group 2

/将vlan加入聚合口
Interface range bridge-aggregation 1 to bridge-aggregation9
port link-type access
port access vlan 12

Interface range bridge-aggregation 10 to bridge-aggregation12
port link-type access
port access vlan 13

6、配置上联接口信息
interface ten-gig 1/1/1/1
portlink-aggregation group 64
description
quit

interface ten-gig 1/1/1/2
portlink-aggregation group 64
description
quit

interface ten-gig 2/1/1/1
portlink-aggregation group 64
description
quit
interface ten-gig 2/1/1/2
portlink-aggregation group 64
description
quit

7、配置STP
stp region-configuration
region-name BJ
instance 1 vlan 2 to 200
instance 2 vlan 201 to 2000
instance 3 vlan 1 2001 to 4094
revision-level 0
active region-configuration
quit
7、配置SNMP
暂不配置

8、配置NTP
ntp-service enable
ntp-service client
ntp-service authentication enable
ntp-service authentication-keyid 42authentication-mode md5 simple xxxx
ntp-service reliable authentication-keyid42
ntp-service unicast-server192.168.0.3 authentication-keyid42

9、时钟设置
clock timezone BJ add 8 ///需进行测试

10、配置路由
ospf 1 router-id 192.168.0.4
area 0
authentication-mode md5 1 cipher guobanyun
network 192.168.6.46 0.0.0.3
network192.168.0.4 0.0.0.0

原文链接:https://mp.weixin.qq.com/s/Fpn7Cmn_oC_uroCjMU_Wig
关注公众号:工程师江湖,联系小编微信 Blue469 加群获取资料
在这里插入图片描述

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值