Forum Discussion

Susan7's avatar
Susan7
Icon for Nimbostratus rankNimbostratus
Jan 12, 2018

object-group creation and mapping it as group-object in AFM

Can any one let me know tmsh command for object-group creation and mapping group-object under another object-group?

 

1 Reply

  • Simply reference another list (address/port) e.g.:

    create security firewall address-list test_example address-lists add { allowed_subnets_1 allowed_subnets_2 }
    
    create security firewall port-list test_example port-lists add { allowed_ports_1 allowed_ports_2 }
    

    You can also mix items with other lists e.g.:

    create security firewall address-list test_example address-lists add { allowed_subnets_1 allowed_subnets_2 } addresses add { 172.16.1.1 }
    
    create security firewall port-list test port-lists add { allowed_ports_1 allowed_ports_2 } ports add { 80 8080-8090 { description "Web Services"} }