EasyManuals Logo
Home>HP>Switch>FlexNetwork 5130 HI series

HP FlexNetwork 5130 HI series User Manual

HP FlexNetwork 5130 HI series
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #191 background imageLoading...
Page #191 background image
183
Examples
# Configure VLAN 100 as the PVID of the trunk port GigabitEthernet 1/0/1, and assign
GigabitEthernet 1/0/1 to VLAN 100.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
[Sysname-GigabitEthernet1/0/1] port trunk pvid vlan 100
[Sysname-GigabitEthernet1/0/1] port trunk permit vlan 100
Related commands
• port link-type
• port trunk permit vlan
MAC-based VLAN commands
display mac-vlan
Use display mac-vlan to display MAC-to-VLAN entries.
Syntax
display mac-vlan { all | dynamic | mac-address mac-address [ mask mac-mask ] | static | vlan
vlan-id }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
all: Specifies all MAC-to-VLAN entries.
dynamic: Specifies dynamically configured MAC-to-VLAN entries.
mac-address mac-address: Specifies the MAC address in the MAC-to-VLAN entry.
mask mac-mask: Specifies the mask for matching MAC addresses in MAC-to-VLAN entries.
static: Specifies statically configured MAC-to-VLAN entries.
vlan vlan-id: Specifies the VLAN in MAC-to-VLAN entries. The value range for the vlan-id argument
is 1 to 4094.
Examples
# Display all MAC-to-VLAN entries.
<Sysname> display mac-vlan all
The following MAC VLAN entries exist:
State: S - Static, D - Dynamic
MAC address Mask VLAN ID Dot1q State
0008-0001-0000 FFFF-FF00-0000 5 3 S
0002-0001-0000 FFFF-FFFF-FFFF 5 3 S&D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP FlexNetwork 5130 HI series and is the answer not in the manual?

HP FlexNetwork 5130 HI series Specifications

General IconGeneral
BrandHP
ModelFlexNetwork 5130 HI series
CategorySwitch
LanguageEnglish

Related product manuals