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 |
|---|---|
| <all> | Shows all the port numbers(TCO,UDP) and VLAN IDs that are enabled for layer 2 forwarding |
| <tcp> | Shows all the TCP port numbers that are enabled for layer 2 forwarding |
| <udp> | Shows all the UDP port numbers that are enabled for layer 2 forwarding |
| <vlan> | Shows all the VLAN IDs that are enabled for layer 2 forwarding |
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