Support NAT across multiple interface pairs
Some of the commands require interface name as an additional parameter as we support multiple interfaces. Example: set vcgn map inside TenGigabitEthernete/0/0 10.1.0.1 - 10.1.0.1 show vcgn inside-translation protocol tcp interface TenGigabitEthernete/0/0 inside-addr 1.0.0.2 show vcgn outside-translation protocol tcp interface TenGigabitEthernet9/0/0 outside-addr 10.1.0.1 Change-Id: Id691ccd3f2c863c665a1568982c819b79dda007e Signed-off-by: Shesha Sreenivasamurthy <shesha@cisco.com>
This commit is contained in:
Shesha Sreenivasamurthy
committed by
Damjan Marion
parent
bd05e17d79
commit
378893a485
@ -339,9 +339,9 @@ void cnat_nat44_handle_show_config(vlib_main_t *vm)
|
||||
|
||||
pool_foreach(my_vrfmap, cnat_map_by_vrf, ({
|
||||
hw = vnet_get_hw_interface (dm->vnet_main, my_vrfmap->i_vrf);
|
||||
vlib_cli_output(vm, "\tInside Interface : %s\n", hw->name);
|
||||
vlib_cli_output(vm, "\tInside Interface : %v\n", hw->name);
|
||||
hw = vnet_get_hw_interface (dm->vnet_main, my_vrfmap->o_vrf);
|
||||
vlib_cli_output(vm, "\tOutside Interface : %s\n", hw->name);
|
||||
vlib_cli_output(vm, "\tOutside Interface : %v\n", hw->name);
|
||||
|
||||
memset(status_str, 0x00, sizeof(status_str));
|
||||
switch(my_vrfmap->status) {
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user