Usage:  p3vpn <OPERATION> [VPN-OPTIONS] 

One of the following operations can be used per command:
--add                     Add a VPN. if exists the operation fails 
--set                     Add/Update a VPN. 
                          If the VPN does not exist - it is added.
--show                    Show a VPN's data
--show-subs               Show the subscribers of a VPN
--show-all                Show all VPNs
--show-num                Shows the total number of VPNs in the DB 
                                OR 
                          Shows the total number of VPNs in a domain        
--remove                  Remove a VPN
--show-all-mappings       Shows the mappings of a VPN
--remove-mappings         Removes the specified mappings of a VPN
--remove-all-mappings     Removes all the mappings of a VPN
--remove-all              Remove all VPNs
--import                  Imports VPNs from the specified CSV file
--export                  Exports VPNs to the specified CSV file
--remove-by-file          Removes VPNs from the specified CSV file
--remove-all-vlan         Removes all the VLANs of all VPNs
--remove-all-mpls-vpn     Removes all the MPLS labels of all VPNs

VPN options:
--vpn=NAME                      Perform the operation using this VPN NAME
--vlan-id=VLAN1                 Perform the operation using the specified VLAN mappings
                                If a VLAN already exists for the VPN - it is replaced
--mpls-vpn=[RD|RT]@IP[,MORE]    Perform the operation using the specified MPLS/VPN mappings
                                RT is the route target identifing the VPN. 
                                RD is the route distinguisher identifying the VPN.
                                can be specified using ASN:n or IP:n (IP in dotted notation)
                                IP is the loopback IP of the PE router connected to the VPN
                                must be specified in dotted notation
                                MPLS/VPN mappings are always added to the VPN data (existing
                                mappings are not replaced)
-d/--domain=DOMAIN              Perform the operation on the specified DOMAIN.
                                If domain is not specified, the default domain is used

File options:
-f, --file=FILE    One or more VPN CSV FILEs to import from (or remove from)
-o, --output=FILE  VPN CSV FILE to export to

Other:
--force            Ignore warnings, never prompts
