Spring中的aware接口详情
679
2022-09-16
H3C交换机 - 基础配置(h3c交换机常用命令)
初始化设置
Putty
交换机(Console口)<-->Console线<-->笔记本<-->Putty
系统命名
# 进入配置模式system-view# 系统命名sysname BJ-1F-SW01
SSH Login
public-key local create rsassh server enableline vty 0 10authentication-mode schemequitlocal-user admin class managepassword simple Strongpasswordservice-type sshauthorization-attribute user-role network-adminquit
AUX Login
line aux 0authentication-mode schemequitlocal-user admin class managepassword simple Strongpasswordservice-type terminalauthorization-attribute user-role network-adminundo authorization-attribute user-role network-operatorquit
NTP
clock timezone Beijing add 08:00:00ntp-service enablentp-service unicast-server 10.10.10.10ntp-service unicast-server 10.10.10.11display ntp sessionsdisplay ntp statusdisplay clock
VLAN
vlan 100description Officeinterface vlan-interface 100ip address 10.10.100.1 255.255.255.0
Port Access
# Gigabitethernet 1000Minterface Gigabitethernet 1/0/1description Location 001port access vlan 100show this# shudown & undo shutdown when neededinterface Gigabitethernet 1/0/1shutdownundo shutdown# Setup speed & duplex when neededinterface Gigabitethernet 1/0/1speed 1000duplex full
Port Trunk
# ten-gigabitethernet 10000Minterface ten-gigabitethernet 1/0/52description To Core Switchport link-type trunkport trunk permit vlan all
Etherchanel
interface bridge-aggregation 1quitinterface range ten-gigabitethernet 1/0/51 to 1/0/52port link-aggregation group 1quitinterface bridge-aggregation 1description To Core Switchport link-type trunkport trunk permit vlan allshow link-aggregation summaryshow link-aggregation verbose
LLDP
lldp enabledisplay lldp neighbor-informationdisplay lldp neighbor-information interface Ten-GigabitEthernet 1/0/52
Display
display current-configurationdisplay current-configuration interfacedisplay current-configuration interface Gigabitethernet 1/0/1display interface briefdisplay thisdisplay saved-configurationdisplay versiondiaply vlan
Save and backup configuration
# Save configurationsave# Free (Windows) TFTP Server from solarwinds# Backup to TFTPbackup startup-configuration to 10.10.10.10# Restore from TFTP backuprestore startup-configuration from 10.10.10.10 start-configuration-backup.cfg# Restore to factory defaut(!!!Be careful)
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~