How to create DHCP server and a policy in the Fortigate

Here is an example script that demonstrates how to use the  fortigate-api  package to create a DHCP server and a policy in the Fortigate   from fortigate_api import FortigateAPI # Create a FortigateAPI object fgt = FortigateAPI(host="host", username="username", password="password") # Create a DHCP server data = {     "default-gateway": "192.168.255.1",     "netmask": "255.255.255.0",     "interface": "vlan.123",     "ip-range": [         {"start-ip": "192.168.255.2", "end-ip": "192.168.255.254",}     ], } fgt.dhcp_server.create(data) # Create a policy in the Fortigate data = dict(     name="POLICY",     status="enable",     action="accept",     srcintf=[{"name": "any"}],     dstintf=[{"name": "any"}],     srcaddr=[{"name": "all"}],     dstaddr=[{"name&quo

Computer Hardware Components

 Computer Hardware Components  

These are the following Hardware Components which you find inside your Computer cabinet:-
  1. MotherBoard
  2. Processor
  3. Ram & Rom
  4. Hard Drive/SSD
  5. CPU Cooling Fan
  6. CMOS Battery (backup)
  7. SMPS Power Supply

Mother Board

Its a kind of hardware where you connect all kinds of devices in your computer that is why its known as the mother of computer system, it consist of the following slots such as Power connector, ATX connector, Ram slot, Peripheral Devices, VGA, USB, Ethernet, Serial, Audio, Video ports etc. Is the circuit board of the computer all the kinds of input and output signals goes comes from mother board.

MOTHER BOARD

        

 

Comments

Popular posts from this blog

How to Configure VXLAN in FortiGate Firewall

Higher Availability in FortiGate and VRRP in Cisco

Python Script to take the Backup of Multiple device in a Network