interface UniFiPortConfig {
    _id: string;
    name: string;
    forward: "all" | "customize" | "native";
    native_networkconf_id?: string;
    tagged_networkconf_ids?: string[];
    port_security_enabled?: boolean;
    port_security_mac_address?: string[];
    storm_ctrl_ucast_enabled?: boolean;
    storm_ctrl_mcast_enabled?: boolean;
    storm_ctrl_bcast_enabled?: boolean;
    storm_ctrl_ucast_rate?: number;
    storm_ctrl_mcast_rate?: number;
    storm_ctrl_bcast_rate?: number;
    stp_port_mode?: boolean;
    egress_rate_limit_kbps_enabled?: boolean;
    egress_rate_limit_kbps?: number;
    isolation?: boolean;
    op_mode?: "switch" | "mirror" | "aggregate";
    mirror_port_idx?: number;
    aggregate_num_ports?: number;
    autoneg?: boolean;
    poe_mode?: "auto" | "off" | "pasv24" | "passthrough";
    site_id?: string;
    attr_hidden_id?: string;
    attr_no_delete?: boolean;
    attr_no_edit?: boolean;
}

Properties

_id: string
name: string
forward: "all" | "customize" | "native"
native_networkconf_id?: string
tagged_networkconf_ids?: string[]
port_security_enabled?: boolean
port_security_mac_address?: string[]
storm_ctrl_ucast_enabled?: boolean
storm_ctrl_mcast_enabled?: boolean
storm_ctrl_bcast_enabled?: boolean
storm_ctrl_ucast_rate?: number
storm_ctrl_mcast_rate?: number
storm_ctrl_bcast_rate?: number
stp_port_mode?: boolean
egress_rate_limit_kbps_enabled?: boolean
egress_rate_limit_kbps?: number
isolation?: boolean
op_mode?: "switch" | "mirror" | "aggregate"
mirror_port_idx?: number
aggregate_num_ports?: number
autoneg?: boolean
poe_mode?: "auto" | "off" | "pasv24" | "passthrough"
site_id?: string
attr_hidden_id?: string
attr_no_delete?: boolean
attr_no_edit?: boolean