[comware] default CFG

2023. 8. 20. 23:58Aruba Wired/FlexFabric

#기본 설정

sysname DMZ-HPE5140 // hostname 설정
interface Vlan-interface 1 // IP 설정
ip address 116.120.11.254 255.255.255.128
ip route-static 0.0.0.0 0 116.120.11.129 // routing 설정
stp global enable // spanning-tree 활성화
stp mode pvst // mode : PVST
interface GigabitEthernet 1/0/8 // port speed 설정
speed 100
duflex full
 
ssh server enable
local-user admin // 관리계정 생성
password *****
service-type ssh terminal
authorization-attribute user-role network-admin
line vty 0 4 // 접속 method : ID/PW
authentication-mode scheme
snmp-agent // SNMP 설정
snmp-agent community read public
snmp-agent target-host trap address udp-domain 172.30.16.6 params securityname public
mirroring-group 1 local // mirroring 설정
mirroring-group 1 mirroring-port gigabitethernet 1/0/1 both
mirroring-group 1 monitor-port gigabitethernet 1/0/48
 
 
#설정 모드
system-view
 
 
save
>> 설정 저장
 
dis cu
>> 현재 설정 보기
 
dis vlan brief
>> vlan 보기
 
dis ip interface brief
 
#gbic 확인
<HPE>display transceiver interface
 
#password 길이 최소 설정
password-control length 4
 

#L2 CFG

hostname IRT_GY_1F_SW01
 
vlan 32
 
stp mode pvst
 
interface bridge-aggregation 1
link-aggregation mode dynamic
 
interface range ten 1/0/25 ten 1/0/26
port link-aggregation group 1
 
interface bridge-aggregation 1
port link-type trunk
port trunk permit vlan all
 
interface vlan 32
ip address 8.200.32.5 24
 
ip route-static 0.0.0.0 0 8.200.32.1
 
interface range gi 1/0/1 to gi 1/0/24
port access vlan 32
loopback-detection action shutdown
loopback-detection enable vlan all
 
local-user coc
password simple adminadmin1
authorization-attribute user-role network-admin
service-type terminal ssh
 
line aux 0
authentication-mode scheme
idle-timeout 5 0
 
line vty 0 4
authentication-mode scheme
idle-timeout 5 0
 
ssh server enable

 

#L3 CFG

 

'Aruba Wired > FlexFabric' 카테고리의 다른 글

[comware] os upgrade  (0) 2023.08.21