HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 2 - LAN Switching Co - Page 160
mac-vlan enable
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 160 highlights
Parameters |: 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 interface to display all the ports with MAC-based VLAN enabled. Related commands: mac-vlan enable. Examples # Display all the interfaces with MAC-based VLAN enabled. display mac-vlan interface MAC VLAN is enabled on following ports GigabitEthernet1/0/1 GigabitEthernet1/0/2 GigabitEthernet1/0/3 mac-vlan enable Syntax mac-vlan enable View undo mac-vlan enable Layer 2 Ethernet port view Default level 2: System level Parameters None Description Use mac-vlan enable to enable the MAC-based VLAN feature on a port. Use undo mac-vlan enable to disable the MAC-based VLAN feature on a port. By default, the MAC-based VLAN feature is disabled on a port. This command is available only on hybrid ports. Examples # Enable the MAC-based VLAN feature on GigabitEthernet 1/0/1. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] mac-vlan enable 152