Go to the source code of this file.
int mpls_sw_interface_enable_disable |
( |
mpls_main_t * |
mm, |
|
|
u32 |
sw_if_index, |
|
|
u8 |
is_enable, |
|
|
u8 |
is_api |
|
) |
| |
u8 mpls_sw_interface_is_enabled |
( |
u32 |
sw_if_index | ) |
|
Initial value:= {
.path = "set interface mpls",
.short_help = "Enable/Disable an interface for MPLS forwarding",
}
static clib_error_t * mpls_interface_enable_disable(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_interface_ip_table_command)
Definition at line 128 of file interface.c.