show ip forward-protocol udp

Syntax

show ip forward-protocol udp [<INTERFACE-NAME>] [vsx-peer]

Description

Shows the configured UDP forwarding settings for all interfaces or a specific interface.

Command context

Manager (#)

Parameters

<INTERFACE-NAME>

Specifies the name of an interface. Format member/slot/port.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Showing the configured UDP forwarding settings for all interfaces:

switch(config)# ip udp-bcast-forward
switch(config)# interface 1/1/1
switch(config-if)# ip forward-protocol udp 1.1.1.1 53
switch(config-if)# ip forward-protocol udp 8.1.1.1 ntp
switch(config-if)# ip forward-protocol udp 8.1.1.1 137
switch(config-if)# ip forward-protocol udp 4.4.4.4 138
switch(config-if)# ip forward-protocol udp 4.4.4.4 1812
switch(config-if)# ip forward-protocol udp 2.2.2.2 1645

switch(config)# interface 1/1/2
switch(config-if)# ip forward-protocol udp 2.2.2.2 rip
switch(config-if)# ip forward-protocol udp 2.2.2.2 161
switch(config-if)# ip forward-protocol udp 2.2.2.2 162
switch(config-if)# ip forward-protocol udp 2.2.2.2 69
switch(config-if)# ip forward-protocol udp 2.2.2.2 37

Showing the configured UDP forwarding settings for a specific interface:

switch# show ip forward-protocol udp

UDP Broadcast Forwarder : enabled

Interface: 1/1/1
  IP Forward Address    UDP Port
  -----------------------------
  2.2.2.2                1645
  4.4.4.4                138
  4.4.4.4                1812
  1.1.1.1                53
  8.1.1.1                123
  8.1.1.1                137
Interface: 1/1/2
  IP Forward Address    UDP Port
  -----------------------------
  2.2.2.2                37
  2.2.2.2                69
  2.2.2.2                520
  2.2.2.2                161
  2.2.2.2                162
switch#show ip forward-protocol udp interface 1/1/1

UDP Broadcast Forwarder : enabled

Interface: 1/1/1
  IP Forward Address    UDP Port
  -------------------------------
  2.2.2.2                1645
  4.4.4.4                138
  4.4.4.4                1812
  1.1.1.1                53
  8.1.1.1                123
  8.1.1.1                137