Mac-Based Vlan Configuration Commands; Display Mac-Vlan - HP 830 Command Reference Manual

Unified wired-wlan products
Hide thumbs Also See for 830:
Table of Contents

Advertisement

Examples
# Configure VLAN 100 as the PVID of the trunk port Ten-GigabitEthernet 1/0/1, and assign
Ten-GigabitEthernet 1/0/1 to VLAN 100.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] port link-type trunk
[Sysname-Ten-GigabitEthernet1/0/1] port trunk pvid vlan 100
[Sysname-Ten-GigabitEthernet1/0/1] port trunk permit vlan 100
# Configure VLAN 100 as the PVID of the trunk Layer 2 aggregate interface Bridge-Aggregation 1, and
assign Bridge-Aggregation 1 to VLAN 100.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type trunk
[Sysname-Bridge-Aggregation1] port trunk pvid vlan 100
[Sysname-Bridge-Aggregation1] port trunk permit vlan 100
Related commands
port link-type
port trunk permit vlan

MAC-based VLAN configuration commands

display mac-vlan

Use display mac-vlan to display the specified MAC address-to-VLAN entries.
Syntax
display mac-vlan { all | dynamic | mac-address mac-address [ mask mac-mask ] | static | vlan vlan-id }
[ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command 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.
mask mac-mask: Displays the MAC address-to-VLAN entries with their MAC addresses in the specified
range.
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.
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

85087011900105007500

Table of Contents