-
Notifications
You must be signed in to change notification settings - Fork 35
opx show vlan
Amy Buck edited this page Jan 9, 2019
·
6 revisions
opx-show-vlan
— Displays the current configuration of a VLAN
opx-show-vlan [-h,--help]
[--id <id>]
[--name <name>]
[--ifindex <ifindex>]
[--type <type>]
[--summary]
Option | Description |
---|---|
-h,--help |
Displays help text |
--id <id> |
Displays configuration information of the VLAN having the given ID |
--name <name> |
Displays configuration information of the VLAN having the given name |
--ifindex <ifindex> |
Displays configuration information of the VLAN having the given ifindex |
--type <type> |
Displays configuration information of the VLAN(s) having the given type (data or management) |
--summary |
Displays a summary table, with each VLAN on a single line |
Output | Description |
---|---|
VLAN ID |
Displays the ID assigned to the VLAN |
Name |
Displays the name assigned to the VLAN |
Interface Index |
Displays the ifindex assigned to the VLAN |
Physical Address |
Displays the Ethernet MAC address assigned to the VLAN |
Tagged Ports |
Displays the list of tagged member ports of the VLAN; a tagged port accepts traffic for all the VLANs; it is also referred as a trunk port |
Untagged Ports |
Displays the list of untagged member ports of the VLAN; an untagged port accepts traffic for the associated VLAN only; it is also referred as an access port |
Learning Mode |
Displays the MAC learning mode configured on the VLAN |
MTU |
Displays the current maximum transmission unit (MTU) of the VLAN |
Type |
Displays the type(data or management) of the VLAN |
If there is a syntax error in the given arguments, the exit status shall
be 2.
If there is any other error, the exit status shall be 1.
Otherwise, the exit status is 0.
$ ./opx-show-vlan --name br105
br105
VLAN ID: 105
Name: br105
Interface index: 60
Physical address: None
Tagged ports: e101-009-0
Untagged ports: None
Type: data
Learning mode: UNKNOWN
MTU: None
$ ./opx-show-vlan --summary
ID | Name | Type | Tagged ports | Untagged ports
--------------------------------------------------
101 | br101 | data | None | None
105 | br105 | data | e101-009-0 | None
To report any OPX software bugs, see Report bugs.
© 2019 OpenSwitch project. All information is contributed to and made available by OPX under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).
- Home
- System overview
- Software releases
- Hardware support
- FAQs
- Install
- Build
- Configure
- Develop
- Administer
- Troubleshoot
- Software compatibility
- Contribute
- DevOps
- Join