H3C2126 initial configuration

H3C2126 initial configuration operation:

Connect the CONSOLE

> System-view

Rights Profile

]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 configuration

] interface Vlan-interface 1

] ip address 192.168.8.88 255.255.255.0

] undo shutdown

 

 

 

 

 

 

VLAN configuration

]vlan 201

] name 201

Ports to a VLAN      

]interface Ethernet 1/0/24

] port access vlan 201

Other port operations

]shutdown

]Undo shutdown

] speed auto

] duplex auto

] Gateway

] ip route-static 0.0.0.0 0.0.0.0 192.168.8.250

 

Trunking

dynamic

] interface Ethernet 1/0/24

] lacp enable

] interface Ethernet 1/0/23

] lacp enable

 

 

 

 

Port binding MAC address

dynamic

] 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

Static binding

] interface Ethernet 1/0/23

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

 

 

Snmp Set

snmp-agent community read hotsales

 

SNMP trap configuration

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

Guess you like

Origin www.cnblogs.com/sfqas/p/12181022.html