华三交换机配置access命令_H3C常用配置和命令

邻居发现命令

display lldp neighbor-information list

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

查看接口描述

display interface brief description

default接口

[h3c]interface GigabitEthernet 1/0/41

[h3c-GigabitEthernet1/0/41]default

全局开启802.1X

dot1x

dot1x authentication-method eap

dot1x timer quiet-period 10

dot1x timer tx-period 10

mac-authentication

mac-authentication domain 1x

radius scheme 1x

primary authentication 172.28.101.3

primary accounting 172.28.101.3

secondary authentication 172.28.101.2

secondary accounting 172.28.101.2

key authentication cipher $c$3$NAIz9CqJDECj7p7qCeuCDXbmfRIcyOtxxCDlaA==

key accounting cipher $c$3$TaTYg1NBpPoTzE97hwyZJSEnRnFiBvIpaVoOgg==

user-name-format without-domain

radius scheme system

user-name-format without-domain

domain 1x

authentication lan-access radius-scheme 1x

authorization lan-access radius-scheme 1x

accounting lan-access radius-scheme 1x

接口下开启802.1X

interface GigabitEthernet2/0/1

description 802.1x_authenration

port link-type hybrid

undo port hybrid vlan 1

port hybrid vlan 1030 3000 untagged

port hybrid pvid vlan 3000

mac-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-vlan 1030

dot1x auth-fail vlan 1030

mac-authentication

mac-authentication domain 1x

mac-authentication guest-vlan 1030

mac-authentication parallel-with-dot1x

日志管理

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 #查看最大支持路由条目

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值