beautypg.com

H3C Technologies H3C S5560 Series Switches User Manual

Page 188

background image

154

Step Command

Remarks

13.

Return to system view.

quit

N/A

14.

Enter Layer 2 Ethernet
interface view or Layer 2

aggregate interface view.

interface interface-type
interface-number

N/A

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:

port private-vlan vlan-id-list

trunk secondary

By default, a port is not a host or
trunk secondary port.

16.

Enter primary VLAN view.

vlan vlan-id

N/A

17.

Associate the primary VLAN

with the specified secondary
VLANs.

private-vlan secondary vlan-id-list

By default, a primary VLAN is not
associated with any secondary

VLAN.

18.

Return to system view.

quit

N/A

19.

(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-lengt
h
}

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 local

proxy ND are disabled.