Mac-Based Vlan Configuration Commands; Display Mac-Vlan - HP 3100 v2 Series Command Reference Manual

Hide thumbs Also See for 3100 v2 Series:
Table of Contents

Advertisement

You must use the port trunk permit vlan command to configure the trunk port to allow and forward
packets from the PVID.
Related commands: port link-type and port trunk permit vlan.
Examples
# Configure VLAN 100 as the PVID of the trunk port Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] port link-type trunk
[Sysname-Ethernet1/0/1] port trunk pvid vlan 100
# Configure VLAN 100 as the PVID of the trunk Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type trunk
[Sysname-Bridge-Aggregation1] port trunk pvid vlan 100

MAC-based VLAN configuration commands

display mac-vlan

Syntax
display mac-vlan { all | dynamic | mac-address mac-address | static | vlan vlan-id } [ | { begin |
exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays all the MAC address-to-VLAN entries.
dynamic: Displays dynamically configured MAC address-to-VLAN entries.
mac-address mac-address: Displays the MAC address-to-VLAN entry containing the specified
MAC address.
static: Displays the statically configured MAC address-to-VLAN entries.
vlan vlan-id: Displays the MAC address-to-VLAN entries associated with the specified VLAN.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display mac-vlan to display the specified MAC address-to-VLAN entries.
153

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3100 v2 Series and is the answer not in the manual?

Table of Contents