From d5c4b758ba466119782887a73f5c2701b227c1a6 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Thu, 16 May 2024 18:37:34 +0000 Subject: T6350: CGNAT add op-mode to show allocation Add op-mode command `show nat cgnat allocation` to get CGNAT allocations (internal address, external address, port-range) --- op-mode-definitions/nat.xml.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in index 307a91337..6398c0e07 100644 --- a/op-mode-definitions/nat.xml.in +++ b/op-mode-definitions/nat.xml.in @@ -7,6 +7,19 @@ Show IPv4 Network Address Translation (NAT) information + + + Show Carrier-Grade Network Address Translation (CGNAT) + + + + + Show allocated CGNAT parameters + + sudo ${vyos_op_scripts_dir}/cgnat.py show_allocation + + + Show source IPv4 to IPv4 Network Address Translation (NAT) information -- cgit v1.2.3