码迷,mamicode.com
首页 > 其他好文 > 详细

H3C2126初始配置

时间:2020-01-11 22:11:35      阅读:112      评论:0      收藏:0      [点我收藏+]

标签:nbsp   evel   info   interface   静态   tar   targe   domain   lex   

H3C2126初始配置操作:

CONSOLE接上后

> System-view

权限配置

]local-user hotsales/webs

]password cipher hot

] service-type telnet level 0

]quit

] user-interface vty 0 2

] authentication-mode scheme

] super authentication-mode super-password

]quit

] super password cipher hot

]quit

>save

IP配置

] interface Vlan-interface 1

] ip address 192.168.8.88 255.255.255.0

] undo shutdown

 

 

 

 

 

 

VLAN配置

]vlan 201

] name 201

端口加入VLAN      

]interface Ethernet 1/0/24

] port access vlan 201

端口其他操作

]shutdown

]Undo shutdown

] speed auto

] duplex auto

]网关

] ip route-static 0.0.0.0 0.0.0.0 192.168.8.250

 

端口汇聚

动态

] interface Ethernet 1/0/24

] lacp enable

] interface Ethernet 1/0/23

] lacp enable

 

 

 

 

端口绑定MAC地址

动态

] port-security enable

] interface Ethernet 1/0/23

] port-security max-mac-count 30

] port-security port-mode autolearn

] mac-address security 0001-0002-0003 vlan 1

] port-security intrusion-mode disableport-temporarily

]quit

] port-security timer disableport 30

静态绑定

] interface Ethernet 1/0/23

] mac-address static 0001-0002-0003 vlan 1

 

 

Snmp设置

snmp-agent community read hotsales

 

SNMP trap 配置

snmp-agent community read xqssl2l
snmp-agent trap enable
snmp-agent sys-info version all
snmp-agent target-host trap address udp-domain *.*.*.* udp-port 161 params

H3C2126初始配置

标签:nbsp   evel   info   interface   静态   tar   targe   domain   lex   

原文地址:https://www.cnblogs.com/sfqas/p/12181022.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!