--- title: "show layer2 forward" slug: "show-layer2-forward" tags: ["Product Usage", "IPS 10.1.10"] updated: 2026-10-05T15:41:06Z published: 2026-10-05T15:41:06Z canonical: "docs.trellix.com/show-layer2-forward" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # show layer2 forward This command shows all the TCP, UDP ports, and the VLAN IDs that are enabled for layer 2 forwarding. **Syntax:** show layer2 forward <all|tcp|udp|vlan> | Parameter | Description | | --- | --- | | | Shows all the port numbers(TCO,UDP) and VLAN IDs that are enabled for layer 2 forwarding | | | Shows all the TCP port numbers that are enabled for layer 2 forwarding | | | Shows all the UDP port numbers that are enabled for layer 2 forwarding | | | Shows all the VLAN IDs that are enabled for layer 2 forwarding | **Sample Output:** intruShell@john> show layer2 forward all TCP ports: 50 UDP ports: VLAN Ids: All : 1A-1B : 2A-2B : 3A-3B : 4A-4B : 5A-5B : 6A-6B : 7A-7B : 8A-8B : 9A-9B : 10A-10B : **Example:** The sample output above shows the show layer2 forward command used for showing all the port numbers (TCP,UDP) and vlan IDs that are enabled for layer 2 forwarding. **Applicable to:** NS-series Sensors