네트워크

2022.02.11 18:56

Fortigate 명령어

  • 비아웹 오래 전 2022.02.11 18:56 인기
  • 4,481
    0

포티게이트 장비에서 mac-address table 검색 명령어

Transparent mode 일 경우

# diag netlink brctl name host <VDOM_name>.b


Example for the root VDOM

# diag netlink brctl name host root.b | grep port 3

NAT mode 일 경우

# diag

# get system perfomance status
CPU & MEM & TRAFFIC 확인
# get system status
OS Version 및 Serial 정보 확인
# get system interface
Interface IP 정보
# get system foriguard-service status
업데이트 날짜
# diagnose debug crashlog read
프로세서 Crash 내역 및 FortiGate의 이슈
# diagnose log alertconsole list
로그인 / 전원 / Foriguard 업데이트 내역
# diagnose hardware deviceinfo nic <포트번호>
지정된 포트의 Speed / Duplex 및 Error
# diagnose netlink device list
전체 Port에 대한 Error
# diagnose sniffer packet any 'host <IP주소> and icmp'
지정된 IP에서 받아지는 패킷 확인
# execute ping <IP주소>
PING
# excute ping-options repeat-count 100
ping 100회 반복 ※원하는 값 지정하여 사용※
# get router info routing-table all
Routing Table 확인 
# get system arp
ARP Table 확인
# get system foriguard-service statu
업데이트 날짜
# execute factoryreset
공장초기화


NTP 서버 설정하기

# config system ntp
set ntpsync enable
  set type custom
  config ntpserver
 edit 1
set server <NTPIP주소>
next
end
set server-mode enable
setinterface<포트 ex)port2>
end

Admin 패스워드 설정

# config system admin
# edit admin
# set password <패스워드>
# end

HA 이중화 설정 (FGCP)Active-Passive

<Active CLI> <Passive CLI>
config system ha config system ha
 set group-name "HA" set group-name "HA"
set mode a-p set mode a-p
set password viaweb set password viaweb
set hbdev "ha"50set hbdev "ha"50
set ha-mgmt-status enable set ha-mgmt-status enable
 config ha-mgmt-interfaces config ha-mgmt-interfaces
 edit 1 edit 1
setinterface"dmz"setinterface"dmz"
next next
end end
  set override disable set override disable
set priority 200set priority 100
end end

 --HA이중화(FGCP)Active-Passive 상태 확인 --
# get system ha status

HA 이중화(FGCP)Active-Passive 관리

# execute ha synchronize start 또는 stop
- ha 동기화 시작/정지
# execute ha manage 0 또는 1
- 상대방 ha 장비로 접속
# diagnose sys ha checksum show
 - ha 동기화 체크
# diagnose sys session sync
 - Session 동기화 확인

VDOM 활성화 / 비활성화

-- 활성화 --
# config system global
# set vdom-admin enable
# end
 You will be logged out for the operation to take effect
 Do you want to continue?(y/n)y
# exit

--비활성화 --
# config global
# config system global
# set vdom-admin disable
# end
You will be logged out for the operation to take effect
Do you want to continue?(y/n)y
# exit

감사합니다.

서버호스팅 비아웹


  • 공유링크 복사

    댓글목록

    등록된 댓글이 없습니다.