当前位置:首页 » 存储配置 » 华为交换机怎么配置vrid

华为交换机怎么配置vrid

发布时间: 2022-03-12 23:54:27

A. 如何连接华为交换机进行配置

新设备应该有配置线,之间接上console ,一头连电脑,就可以通过点击开始,然后点击附件,然后点击通讯,看到超级终端,进行默认设置,即可进入交换机配置界面,配置好交换机后,将电脑设置好固定IP即可进行TELNET 远程连接配置

B. 华为交换机典型配置,请给出详细步骤和说明

交换初始化方法:
1、通过CONTROL口连接交换机,使用SecureCRTPortable软件连接,打开软件后选择“新建会话”,在对话框中选择“Serial”选项,点击下一步,波特率9600,端口以实际使用的端口为准,不要选中RTS/CTS,否则键盘不能使用。
2、连接交换机。
3、进入交换机后,输入
reset saved-configuration
命令运行后,输入
reboot
在第一个提示(是否保存),输入N,不保存。
接着在提示是否重启中输入Y,回车后交换机自动重启。
重启完成后,可开始执行交换基础配置了。
1、配置设备名称
system-view进入系统视图
sysname HeXin命名为“HeXin”
2、配置管理VLAN
[HeXin]vlan 1进入VLAN 1
[HeXin-vlan1]description admin_VLAN设置VLAN 1为管理VLAN
3、配置HeXin与汇聚交换的连接端口为trunk
[HeXin]interface Gigabitethernet 0/0/1进入端口G速端口1
[HeXin-GigabitEthernet0/0/1]port link-type trunk配置端口1为trunk口
[HeXin-GigabitEthernet0/0/1]port trunk allow-pass vlan 1配置允许从端口1通行的VLAN为VLAN 1,如果想让所有的VLAN都可以通过端口1,可执行命令port trunk allow-pass vlan all
[HeXin-GigabitEthernet0/0/1]quit退出端口1
4、配置交换机的管理IP
[HeXin]interface vlanif 1
[HeXin-Vlanif1]ip 10.10.10.1 255.255.255.0管理IP地址为10.10.10.1,网关255.255.255.0
[HeXin-Vla

C. cisco交换机vrrp应该怎么配置

VRRP和Vlan关联就行了。交换机必须三层。

D. 华为交换机怎么配置

华为交换机常用命令:1、display current-configuration 显示当前配置2、display interface GigabitEthernet 1/1/4 显示接口信息3、display packet-filter interface GigabitEthernet 1/1/4 显示接口acl应用信息4、display acl all 显示所有acl设置 3900系列交换机5、display acl config all 显示所有acl设置 6500系列交换机6、display arp 10.78.4.1 显示该ip地址的mac地址,所接交换机的端口位置7、display cpu显示cpu信息8、system-view 进入系统图(配置交换机),等于config t 命令9、acl number 5000 在system-view命令后使用,进入acl配置状态10、rule 0 deny 0806 ffff 24 0a4e0401 f 40 在上面的命令后使用,,acl 配置例子11、rule 1 permit 0806 ffff 24 000fe218ded7 f 34 //在上面的命令后使用,acl配置例子12、interface GigabitEthernet 1/0/9 //在system-view命令后使用,进入接口配置状态13、[86ZX-S6503-GigabitEthernet1/0/9]qos //在上面的命令后使用,进入接口qos配置14、[86ZX-S6503-qosb-GigabitEthernet1/0/9]packet-filter inbound user-group 5000 //在上面的命令后使用,在接口上应用进站的acl15、[Build4-2_S3928TP-GigabitEthernet1/1/4]packet-filter outbound user-group 5001 //在接口上应用出站的acl16、undo acl number 5000 //取消acl number 5000 的设置17、ip route-static 0.0.0.0 0.0.0.0 10.78.1.1 preference 60 //设置路由18、reset counters interface Ethernet 1/0/14 //重置接口信息19、save //保存设置20、quit //退出(此信息仅为分享之用,我们不排除对您并不适用的可能。另,如此信息侵犯您的权益,请告知我们,我们会及时删除)

E. 华为交换机怎么配置

其实交换机的配置方法也不难,下面只介绍进入配置界面的方法,至于如何配置交换机的详细步骤那是比较多的,要视具体情况而定,不作具体介绍。

进入交换机配置界面步骤很简单,只需简单的两步:第1步:单击"开始"按钮选择"运行"菜单项,然后在对话框中按"telnet 61.159.62.182"格式输入。

登录(当然也可先不输入IP地址,在进入telnet主界面后再进行连接,但是这样会多了一步,直接在后面输入要连接的IP的地址更好些),如图所示。如果为交换机配置名称了,则也可以直接在"Telnet"。

命令后面空一个空格后输入交换机配置的名称。

F. 如何利用华为交换机实现DHCP+VRRP+MSTP

1、核心路由配置
<HXR>dis cu
#
sysname HXR
#
undo info-center enable
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password cipher Fq2|@at%N!ajUn1vMEIBN#7#
local-user admin service-type http
#
firewall zone Local
priority 16
#
interface Ethernet0/0/0
ip address 202.102.224.4 255.255.255.0 ##模拟公网IP地址
#
interface Ethernet0/0/1
description WAN
#
interface Serial0/0/0
link-protocol ppp
#
interface Serial0/0/1
link-protocol ppp
#
interface Serial0/0/2
link-protocol ppp
#
interface Serial0/0/3
link-protocol ppp
#
interface GigabitEthernet0/0/0
#
interface GigabitEthernet0/0/1 ##连接HXA
ip address 10.0.0.1 255.255.255.0
#
interface GigabitEthernet0/0/2 ####连接HXB
ip address 10.0.1.1 255.255.255.0
#
interface GigabitEthernet0/0/3
#
wlan
#
interface NULL0
#
ip route-static 172.16.2.0 255.255.255.0 10.0.0.2 ##回还路由
ip route-static 172.16.2.0 255.255.255.0 10.0.1.2 ##回还路由
#
user-interface con 0
user-interface vty 0 4
user-interface vty 16 20
#
return
<HXR>
2、HXA(核心交换机A的配置)
HXA>dis cu
#
sysname HXA
#
undo info-center enable
#
vlan batch 2 to 5 100
#
stp instance 0 root primary ##MSTP的配置
stp instance 1 root secondary ##MSTP的配置
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp enable
#
dhcp server database enable
#
diffserv domain default
#
stp region-configuration ##MSTP的配置
instance 1 vlan 4 to 5
active region-configuration
#
drop-profile default
#
vlan 100
description hulian
#DHCP配置
ip pool vlan2
gateway-list 172.16.2.1
network 172.16.2.0 mask 255.255.255.0
excluded-ip-address 172.16.2.254
#
ip pool vlan3
gateway-list 172.16.3.1
network 172.16.3.0 mask 255.255.255.0
excluded-ip-address 172.16.3.254
#
ip pool vlan4
gateway-list 172.16.4.1
network 172.16.4.0 mask 255.255.255.0
excluded-ip-address 172.16.4.254
#
ip pool vlan5
gateway-list 172.16.5.1
network 172.16.5.0 mask 255.255.255.0
excluded-ip-address 172.16.5.254
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif2
ip address 172.16.2.254 255.255.255.0
vrrp vrid 1 virtual-ip 172.16.2.1
vrrp vrid 1 priority 200
dhcp select global
#
interface Vlanif3
ip address 172.16.3.254 255.255.255.0
vrrp vrid 2 virtual-ip 172.16.3.1
vrrp vrid 2 priority 200
dhcp select global
#
interface Vlanif4
ip address 172.16.4.254 255.255.255.0
vrrp vrid 3 virtual-ip 172.16.4.1
dhcp select global
#
interface Vlanif5
ip address 172.16.5.254 255.255.255.0
vrrp vrid 4 virtual-ip 172.16.5.1
dhcp select global
#
interface Vlanif100 ##两核心的心跳VLAN IP地址
ip address 10.0.0.2 255.255.255.0
#
interface MEth0/0/1
#
interface Eth-Trunk0 ##创建端口汇聚
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/2
port link-type access
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21 ##与接入交换机相连
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/22##与接入交换机相连
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/23##心跳端口
eth-trunk 0
#
interface GigabitEthernet0/0/24##心跳端口
eth-trunk 0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 10.0.0.1
ip route-static 0.0.0.0 0.0.0.0 10.0.1.1
#
user-interface con 0
user-interface vty 0 4
#
return
<HXA>
3、HXB(核心B的配置)
<HXB>dis cu
#
sysname HXB
#
undo info-center enable
#
vlan batch 2 to 5 101
#
stp instance 0 root secondary
stp instance 1 root primary
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp enable
#
dhcp server database enable
#
diffserv domain default
#
drop-profile default
#
vlan 101
description hulian
#
ip pool vlan2
gateway-list 172.16.2.1
network 172.16.2.0 mask 255.255.255.0
excluded-ip-address 172.16.2.254
#
ip pool vlan3
gateway-list 172.16.3.1
network 172.16.3.0 mask 255.255.255.0
excluded-ip-address 172.16.3.254
#
ip pool vlan4
gateway-list 172.16.4.1
network 172.16.4.0 mask 255.255.255.0
excluded-ip-address 172.16.4.254
#
ip pool vlan5
gateway-list 172.16.5.1
network 172.16.5.0 mask 255.255.255.0
excluded-ip-address 172.16.5.254
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif2
ip address 172.16.2.253 255.255.255.0
vrrp vrid 1 virtual-ip 172.16.2.1
dhcp select global
#
interface Vlanif3
ip address 172.16.3.253 255.255.255.0
vrrp vrid 2 virtual-ip 172.16.3.1
dhcp select global
#
interface Vlanif4
ip address 172.16.4.253 255.255.255.0
vrrp vrid 3 virtual-ip 172.16.4.1
vrrp vrid 3 priority 200
dhcp select global
#
interface Vlanif5
ip address 172.16.5.253 255.255.255.0
vrrp vrid 4 virtual-ip 172.16.5.1
vrrp vrid 4 priority 200
dhcp select global
#
interface Vlanif101
ip address 10.0.1.2 255.255.255.0
#
interface MEth0/0/1
#
interface Eth-Trunk0
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 101
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/22
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/23
eth-trunk 0
#
interface GigabitEthernet0/0/24
eth-trunk 0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 10.0.1.1
ip route-static 0.0.0.0 0.0.0.0 10.0.0.1
#
user-interface con 0
user-interface vty 0 4
#
return
<HXB>
4、JR01(接入交换机01的配置)
<JR01>dis cu
#
sysname JR01
#
undo info-center enable
#
vlan batch 2 to 5
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type access
port default vlan 2
#
interface Ethernet0/0/2
port link-type access
port default vlan 4
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface Ethernet0/0/8
#
interface Ethernet0/0/9
#
interface Ethernet0/0/10
#
interface Ethernet0/0/11
#
interface Ethernet0/0/12
#
interface Ethernet0/0/13
#
interface Ethernet0/0/14
#
interface Ethernet0/0/15
#
interface Ethernet0/0/16
#
interface Ethernet0/0/17
#
interface Ethernet0/0/18
#
interface Ethernet0/0/19
#
interface Ethernet0/0/20
#
interface Ethernet0/0/21
#
interface Ethernet0/0/22
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return
<JR01>
5、JR02(接入交换机02的配置)
<JR02>dis cu
#
sysname JR02
#
undo info-center enable
#
vlan batch 2 to 5
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
dhcp server database enable
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
port link-type access
port default vlan 5
#
interface Ethernet0/0/2
port link-type access
port default vlan 3
#
interface Ethernet0/0/3
#
interface Ethernet0/0/4
#
interface Ethernet0/0/5
#
interface Ethernet0/0/6
#
interface Ethernet0/0/7
#
interface Ethernet0/0/8
#
interface Ethernet0/0/9
#
interface Ethernet0/0/10
#
interface Ethernet0/0/11
#
interface Ethernet0/0/12
#
interface Ethernet0/0/13
#
interface Ethernet0/0/14
#
interface Ethernet0/0/15
#
interface Ethernet0/0/16
#
interface Ethernet0/0/17
#
interface Ethernet0/0/18
#
interface Ethernet0/0/19
#
interface Ethernet0/0/20
#
interface Ethernet0/0/21
#
interface Ethernet0/0/22
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface NULL0
#
user-interface con 0
user-interface vty 0 4
#
return

G. 华为汇聚交换机vrrp配置,请高手看看配置有什么问题吗

感觉你的vlan 2没通
两台交换机之间的互联链路上,配置了vlan 2没有。vlan 1是默认一定有的,如果你没配过,那只通vlan 1就可以解释了。

H. 华为VRRP配置,具体要怎么配置呢

lsw5上配置了优先级,在lsw6上没有收到,明显是lsw6就没有收到来自lsw5的vrrp协议报文,由于协议报文是自动发送,所以你在2台交换机上配置都vlanif口的ip地址不通,导致他们2个都认为自己是master。解决办法是在交换机上运行路由协议,比方说ospf,isis把要互访的ip发布出去,或者手写静态路由,互指下一跳。

热点内容
依维柯配置怎么看 发布:2025-03-10 22:40:59 浏览:674
php与mysql安装 发布:2025-03-10 22:35:58 浏览:654
视频软件自动上传 发布:2025-03-10 22:34:13 浏览:1000
pac自动代理脚本 发布:2025-03-10 22:34:09 浏览:319
我的世界国际版服务器怎么开创造 发布:2025-03-10 22:33:33 浏览:845
剧本的分镜头脚本 发布:2025-03-10 22:25:39 浏览:800
javachar转string 发布:2025-03-10 22:24:58 浏览:164
手游吃鸡配置低如何调顺畅画质 发布:2025-03-10 22:20:49 浏览:766
sql标数 发布:2025-03-10 22:20:49 浏览:656
如何用服务器搭云 发布:2025-03-10 22:20:48 浏览:268