IPv4:
ip address ip-address { mask-length | mask } [ sub ]
IPv6:
ipv6 address { ipv6-address prefix-length | ipv6-address / prefix-length }
By default, no IP address is configured for a VLAN interface.
5.
Enable local proxy ARP or ND.
IPv4:
local-proxy-arp enable
By default, local proxy ARP is disabled.
For more information about local proxy ARP, see Layer 3—IP Services Configuration Guide.
IPv6:
local-proxy-nd enable
By default, local proxy ND is disabled.
For more information about local proxy ND, see Layer 3—IP Services Configuration Guide.
Display and maintenance commands for the
private VLAN
Execute display commands in any view.
Task
Display information about primary VLANs and the
secondary VLANs associated with each primary VLAN.
Private VLAN configuration examples
Example: Configuring promiscuous ports
Network configuration
As shown in
•
On Device B, VLAN 5 is a primary VLAN that is associated with secondary VLANs 2 and 3.
Twenty-FiveGigE 1/0/5 is in VLAN 5. Twenty-FiveGigE 1/0/2 is in VLAN 2. Twenty-FiveGigE
1/0/3 is in VLAN 3.
•
On Device C, VLAN 6 is a primary VLAN that is associated with secondary VLANs 3 and 4.
Twenty-FiveGigE 1/0/5 is in VLAN 6. Twenty-FiveGigE 1/0/3 is in VLAN 3. Twenty-FiveGigE
1/0/4 is in VLAN 4.
•
Device A is aware of only VLAN 5 on Device B and VLAN 6 on Device C.
Figure
9, configure the private VLAN feature to meet the following requirements:
Command
display private-vlan
[ primary-vlan-id ]
35