145
Step Command
Remarks
15.
Configure the downlink
port as a host or trunk
secondary port.
•
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
By default, a port is not a host or trunk
secondary port.
16.
Return to system view.
quit
N/A
17.
(Optional.) Configure
Layer 3 communication
between the specified
secondary VLANs.
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
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
.
Displaying and maintaining the private VLAN
Execute
display
commands in any view.
Task Command
Display information about primary VLANs and the
secondary VLANs associated with each primary VLAN.
display private-vlan
[
primary-vlan-id
]
Содержание H3C S7500E-X
Страница 70: ...57 ...