Chapter 5 | CLI – Layer 2 |
|
|
Example:
Port 1/2 advertises no flow control capabilities.
Show trunk Command
Use the show trunk command to display VLAN tagging information of the ports, port binding mode, and the port VLAN ID.
The syntax for this command is:
show trunk [<mod_num>[/<port_num>]]
Example: |
|
|
|
| |
|
|
| |||
Port | Mode | Binding mode |
| Native vlan | |
1/1 | dot1q | bound to configured vlans | 1 | ||
1/2 | dot1q | bound to all vlans |
| 1 | |
1/3 | off | statically bound |
| 1 | |
1/4 | off | statically bound |
| 1 | |
1/5 | off | statically bound |
| 1 | |
|
|
| |||
Port | Mode | Binding mode | Native vlan Vlans allowed on trunk | ||
1/5 | off | statically bound | 1 | 1 | |
Following are the show trunk command output fields: | |||||
Field |
| Description |
|
|
|
Port |
| Module and port number(s) |
| ||
Mode |
| Tag status of the port (dot1q - dot1Q tagging mode, | |||
|
| off - clear mode). |
|
| |
Binding mode | Binding mode of the port |
| |||
Native VLAN | Number of the Port VLAN ID (the VLAN to which received | ||||
|
| untagged traffic will be assigned). |
|
61 |