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 #224 background imageLoading...
Page #224 background image
216
• If you specify the secondary vlan-id-list option, this command cancels the Layer 3
communication configuration only for the specified secondary VLANs.
• If you do not specify the secondary vlan-id-list option, this command cancels the Layer 3
communication configuration for all secondary VLANs of the primary VLAN.
Examples
This example shows how to meet the following requirements:
• VLANs 3 and 4 are secondary VLANs that are associated with primary VLAN 2.
• The uplink port GigabitEthernet 1/0/2 is a promiscuous port of VLAN 2.
• The downlink ports GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 are host ports of VLANs 3
and 4, respectively.
• Secondary VLANs 3 and 4 can communicate at Layer 3.
# Configure VLAN 2 as a primary VLAN and associate it with secondary VLANs 3 and 4.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] private-vlan primary
[Sysname-vlan2] private-vlan secondary 3 to 4
[Sysname-vlan2] quit
# Configure the uplink port GigabitEthernet 1/0/2 as a promiscuous port of VLAN 2.
[Sysname] interface gigabitethernet 1/0/2
[Sysname-GigabitEthernet1/0/2] port private-vlan 2 promiscuous
[Sysname-GigabitEthernet1/0/2] quit
# Assign the downlink port GigabitEthernet 1/0/3 to VLAN 3 and configure the port as a host port.
[Sysname] interface gigabitethernet 1/0/3
[Sysname-GigabitEthernet1/0/3] port access vlan 3
[Sysname-GigabitEthernet1/0/3] port private-vlan host
[Sysname-GigabitEthernet1/0/3] quit
# Assign the downlink port GigabitEthernet 1/0/4 to VLAN 4 and configure the port as a host port.
[Sysname] interface gigabitethernet 1/0/4
[Sysname-GigabitEthernet1/0/4] port access vlan 4
[Sysname-GigabitEthernet1/0/4] port private-vlan host
[Sysname-GigabitEthernet1/0/4] quit
# Create VLAN-interface 2 and enable Layer 3 communication between secondary VLANs 3 and 4.
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] private-vlan secondary 3 to 4
# Assign an IP address to VLAN-interface 2.
[Sysname-Vlan-interface2] ip address 192.168.1.1 255.255.255.0
# Enable local proxy ARP on VLAN-interface 2.
[Sysname-Vlan-interface2] local-proxy-arp enable
Related commands
• private-vlan (VLAN view)
• private-vlan primary
private-vlan (VLAN view)
Use private-vlan to associate a primary VLAN with the specified secondary VLANs.

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