Permalink
Browse files

added command for vlan-pvid association removeal for hix 5300

  • Loading branch information...
1 parent fd27c6f commit bc3b414c51aa5e130c6f36348fa10dc3aa5c90a8 @marcelog committed Apr 27, 2012
Showing with 7 additions and 2 deletions.
  1. +1 −0 include/mdm_device_dslam_siemens_hix5300.h
  2. +6 −2 src/mdm_device_dslam_siemens_hix5300.c
@@ -83,6 +83,7 @@ typedef enum
/* 68 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_ASSOC_VLAN_PORT_PVID,
/* 69 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_CFG_ATUC_MAX_RATE,
/* 70 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_CFG_ATUC_MIN_RATE,
+/* 71 */ MDM_DSLAM_SIEMENS_HIX5300_CMD_REMOVE_VLAN_FROM_PVC,
MDM_DSLAM_SIEMENS_HIX5300_CMD_DUMMY
} mdm_device_cmd_dslam_siemens_hix5300_t;
@@ -90,6 +90,7 @@ const char *MDM_DEVICE_CMDNAME_DSLAM_SIEMENS_HIX5300_STR[] =
/* 68 */ "Associate pvid to vlan",
/* 69 */ "Set max atuc tx rate",
/* 70 */ "Set min atuc tx rate",
+/* 71 */ "Remove vlan from pvid",
NULL
};
@@ -168,7 +169,8 @@ static int MDM_DEVICE_CMD_DSLAM_SIEMENS_HIX5300_ARGSN[] =
/* 67 */ 2,
/* 68 */ 2,
/* 69 */ 2,
-/* 70 */ 2
+/* 70 */ 2,
+/* 71 */ 2
};
/*!
@@ -247,7 +249,8 @@ MDM_DEVICE_CMD_DSLAM_SIEMENS_HIX5300_PROCESS[] =
/* 67 */ dslam_siemens_hix5300_nop,
/* 68 */ dslam_siemens_hix5300_nop,
/* 69 */ dslam_siemens_hix5300_nop,
-/* 70 */ dslam_siemens_hix5300_nop
+/* 70 */ dslam_siemens_hix5300_nop,
+/* 71 */ dslam_siemens_hix5300_nop
};
/*!
@@ -326,6 +329,7 @@ const char *MDM_DEVICE_CMD_DSLAM_SIEMENS_HIX5300_STR[] =
/* 68 */ "configure terminal\nbridge\nvlan pvid %%ARG%% %%ARG%%\nexit\nexit", // ports, vlans
/* 69 */ "configure terminal\nbridge\nadsl line-config-profile %%ARG%% atuc max-tx-rate %%ARG%%\nexit\nexit",
/* 70 */ "configure terminal\nbridge\nadsl line-config-profile %%ARG%% atuc min-tx-rate %%ARG%%\nexit\nexit",
+/* 71 */ "configure terminal\nbridge\nvlan del %%ARG%% %%ARG%%\nexit\nexit",
NULL
};

0 comments on commit bc3b414

Please sign in to comment.