华三交换机升级的ipe文件_H3C常用配置和命令

邻居发现命令

[H3C]display lldp neighbor-information list

H3C链路聚合配置

[H3C]interface Ten-GigabitEthernet 1/0/1

[H3C-Ten-GigabitEthernet1/0/1]port link-mode bridge

[H3C-Ten-GigabitEthernet1/0/1]description "Server"

[H3C-Ten-GigabitEthernet1/0/1]port link-type trunk

[H3C-Ten-GigabitEthernet1/0/1]port trunk pvid vlan 10

[H3C-Ten-GigabitEthernet1/0/1]bpdu-drop any

[H3C-Ten-GigabitEthernet1/0/1]stp edged-port

[H3C-Ten-GigabitEthernet1/0/1]port link-aggregation group 1

[H3C]interface Bridge-Aggregation 1

[H3C-Bridge-Aggregation1]port link-type trunk

[H3C-Bridge-Aggregation1]port trunk pvid vlan 10   #设置本帧vlan为vlan 10

[H3C-Bridge-Aggregation1]link-aggregation mode dynamic   #使用LACP(ComwareV5配置方法:lacp mode active)如使用静态不配置该命令

[H3C-Bridge-Aggregation1]lacp edge-port   #配置聚合接口为聚合边缘接口,边缘接口一般用来接host

[H3C-Bridge-Aggregation1]stp edged-port

[H3C]display link-aggregation summary    #H3C查看使用的链路聚合协议

DHCP中继配置

dhcp enable

dhcp relay server-group 1 ip x.x.x.x #x为DHCP服务器的ip地址

int vlan 30

dhcp select relay

dhcp relay server-select 1

在H3C交换机配置dhcp服务器时查看地址的分配情况

dis dhcp server ip-in-use pool vlan1006

dis dhcp server free-ip pool vlan1006

在H3C交换机上释放dhcp分配的地址

reset dhcp server ip-in-use all

查看接口描述

[H3C]display interface brief description

[H3C]display ip interface brief description

default接口

[h3c]interface GigabitEthernet 1/0/41

[h3c-GigabitEthernet1/0/41]default

802.1X配置

1、全局开启802.1X

dot1x

dot1x authentication-method eap

dot1x timer quiet-period10dot1x timer tx-period10mac-authentication

mac-authentication domain 1x

radius scheme 1x

primary authentication172.28.101.3primary accounting172.28.101.3secondary authentication172.28.101.2secondary accounting172.28.101.2key authentication cipher$c$3$NAIz9CqJDECj7p7qCeuCDXbmfRIcyOtxxCDlaA==key accounting cipher$c$3$TaTYg1NBpPoTzE97hwyZJSEnRnFiBvIpaVoOgg==user-name-formatwithout-domain

radius scheme system

user-name-formatwithout-domain

domain 1x

authentication lan-access radius-scheme 1x

authorization lan-access radius-scheme 1x

accounting lan-access radius-scheme 1x2、接口下开启802.1X

interface GigabitEthernet2/0/1description802.1x_authenration

port link-typehybrid

undo port hybrid vlan1port hybrid vlan1030 3000untagged

port hybrid pvid vlan3000mac-vlan enable

stp edged-port

dot1x

undo dot1x handshake

dot1x mandatory-domain 1x

undo dot1x multicast-trigger

dot1x re-authenticate

dot1x unicast-trigger

dot1x guest-vlan1030dot1x auth-fail vlan1030mac-authentication

mac-authentication domain 1x

mac-authentication guest-vlan1030mac-authentication parallel-with-dot1x

View Code

日志管理

display logbuffer #查看日志

reset logbuffer #清除日志

查看arp

[CORE]arp max-learning-number 1024 #设置arp最大学习条目(h3c最大条目数为1024)

[CORE]dis arp all count #查看arp已使用条目

reset arp dynamic #清除动态arp表

[CORE]dis ip routing-table summary #查看最大支持路由条目

SSH,Telnet登陆配置

user-interface vty 0 4authentication-mode password

user privilege level3set authentication password cipher admin

local-user admin

password cipher admin

authorization-attribute level 3service-type sshtelnet

service-type web

user-interface vty 0 4authentication-mode scheme

H3C版本升级及打补丁:

dis version

ftp 192.168.1.1

ftp>help

ftp>dir

ftp>get S6800-CMW710-R2612P02.ipe

ftp>get S6800-CMW710-SYSTEM-R2612P02H21.bin

boot-loader file flash:/S6800-CMW710-R2612P02.ipe all main

dis boot-loader

reboot

dis patch information

dis install active

dir

install activate patch flash:/S6800-CMW710-SYSTEM-R2612P02H21.bin all

install commit

dis install active

参考链接:

https://zhiliao.h3c.com/questions      #H3C知了社区

https://info.support.huawei.com/onlinetoolweb/ptmngsys/Web/tsrev_s/cn/content/s/index.html

https://info.support.huawei.com/onlinetoolweb/tsrev/cn/index.html

http://www.h3c.com/cn/d_201811/1131076_30005_0.htm   #解读vxlan

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值