From 9dce5f2a859260844f0d959e35ccdbdf65145f16 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Mon, 5 Feb 2024 16:37:16 +0100 Subject: [PATCH] README(.md): Add example about mac firewall address --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99f2aab9b..51453d914 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ This is a Powershell module for configure a FortiGate (Fortinet) Firewall. With this module (version 0.7.0) you can manage: -- [Address](#address) (Add/Get/Copy/Set/Remove object type ipmask/subnet, FQDN, iprange and geo) +- [Address](#address) (Add/Get/Copy/Set/Remove object type ipmask/subnet, FQDN, iprange, geo and mac) - [AddressGroup](#address-group) (Add/Get/Copy/Set/Remove and Add/Remove Member) - DNS (Get) - HA (Get) @@ -353,6 +353,37 @@ or delete it `Remove-FGTFirewallAddress`. tagging : {} allow-routing : disable +# Create an address (type mac) + Add-FGTFirewallAddress -Name MyMAC -mac 01:02:03:04:05:06 + + name : MyMAC + q_origin_key : MyMAC + uuid : eabaa884-c42d-51ee-4a87-4605a5021da9 + type : mac + sub-type : sdn + clearpass-spt : unknown + macaddr : {@{macaddr=01:02:03:04:05:06; q_origin_key=01:02:03:04:05:06}} + country : + cache-ttl : 0 + sdn : + fsso-group : {} + interface : + obj-type : ip + tag-detection-level : + tag-type : + dirty : dirty + comment : + associated-interface : + color : 0 + filter : + sdn-addr-type : private + node-ip-only : disable + obj-id : + list : {} + tagging : {} + allow-routing : disable + fabric-object : disable + ``` ### Filtering