H3C2126初始配置

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

猜你喜欢

转载自www.cnblogs.com/sfqas/p/12181022.html