def test_configure_trunk_port(self, t):
        enable(t)

        configuring_interface(t, "Fa0/3", do="switchport mode trunk")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport mode trunk",
            "end"])

        # not really added because all vlan are in trunk by default on cisco
        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan add 123")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan none")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport trunk allowed vlan none",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan add 123")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport trunk allowed vlan 123",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan add 124,126-128")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport trunk allowed vlan 123,124,126-128",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan remove 123-124,127")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport trunk allowed vlan 126,128",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan all")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="switchport trunk allowed vlan 123-124,127")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport trunk allowed vlan 123,124,127",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="no switchport trunk allowed vlan")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            " switchport mode trunk",
            "end"])

        configuring_interface(t, "Fa0/3", do="no switchport mode")

        assert_interface_configuration(t, "FastEthernet0/3", [
            "interface FastEthernet0/3",
            "end"])