Displaying And Maintaining The Private Vlan - H3C S7500E-X Configuration Manual

Layer 2 lan switching
Hide thumbs Also See for H3C S7500E-X:
Table of Contents

Advertisement

Step
15. Configure the downlink
port as a host or trunk
secondary port.
16. Return to system view.
17. (Optional.) Configure
Layer 3 communication
between the specified
secondary VLANs.

Displaying and maintaining the private VLAN

Execute display commands in any view.
Task
Display information about primary VLANs and the
secondary VLANs associated with each primary VLAN.
Command
Configure the downlink
port as a host port:
port private-vlan host
Configure the downlink
port as a trunk secondary
port of the specified
VLANs:
port private-vlan
vlan-id-list trunk
secondary
quit
a. Enter VLAN interface
view of the primary
VLAN interface:
interface
vlan-interface vlan-id
b. Enable Layer 3
communication
between secondary
VLANs that are
associated with the
primary VLAN:
private-vlan
secondary vlan-id-list
c. Assign an IPv4
address to the primary
VLAN interface:
ip address ip-address
{ mask-length | mask }
[ sub ]
d. Assign an IPv6
address to the primary
VLAN interface:
ipv6 address
{ ipv6-address
prefix-length |
ipv6-address/prefix-len
gth }
e. Enable local proxy
ARP:
local-proxy-arp
enable
f. Enable local proxy ND:
local-proxy-nd
enable
Command
display private-vlan [ primary-vlan-id ]
145
Remarks
By default, a port is not a host or trunk
secondary port.
N/A
Use substeps a, b, c, and e for
devices that run IPv4 protocols.
Use substeps a, b, d, and f for devices
that run IPv6 protocols.
By default:
Secondary VLANs cannot
communicate with each other at
Layer 3.
No IP address is configured for a
VLAN interface.
Local proxy ARP and ND are
disabled.
For more information about local
proxy ARP and ND, see Layer 3—IP
Services Configuration Guide. For
more information about the
local-proxy-arp enable and
local-proxy-nd enable commands,
see Layer 3—IP Services Command
Reference.

Advertisement

Table of Contents
loading

Table of Contents