F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100

266
1302BConfigure the ports of the switch
Ste
p
Command
Remarks
497. Enter system view.
system-view N/A
498. Create a VLAN and enter VLAN view.
vlan vlan-id N/A
499. Assign access ports to the VLAN.
port interface-list By default, all ports belong to VLAN 1.
500. Create another VLAN and enter
VLAN view.
vlan vlan-id N/A
501. Assign access ports to the VLAN.
port interface-list By default, all ports belong to VLAN 1.
502. Enter the view of the
Ten-GigabitEthernet interface that
connects to the firewall module.
interface
ten-gigabitethernet
interface-number
N/A
503. Configure the link type of the interface
as trunk.
port link-type trunk N/A
504. Assign the trunk port to the two
VLANs.
port trunk permit vlan
{ vlan-id-list | all }
N/A
505. Configure the default VLAN for the
trunk port.
port trunk pvid vlan
vlan-id
Optional.
The default VLAN cannot be one of the
previously configured two VLANs.
1303BConfigure the firewall module
Ste
p
Command…
Remarks
506. Enter system view.
system-view N/A
507. Create two VLANs and
enter VLAN view.
vlan vlan-id N/A
508. Exit to system view.
quit N/A
509. Enter the view of the
Ten-GigabitEthernet
interface that connects to
the switch.
interface ten-gigabitethernet
interface-number
N/A
510. Configure the operating
mode of the interface as
Layer 2.
port link-mode bridge
The default operating mode is Layer
3.
511. Configure the link type of
the Ten-GigabitEthernet
interface as trunk.
port link-type trunk N/A
512. Assign the trunk port to the
specified VLANs.
port trunk permit vlan { vlan-id-list |
all }
The VLANs of the firewall module
and the VLANs on the switch must be
included.
513. Create a VLAN interface
and enter its view.
interface vlan-interface
vlan-interface-id
The vlan-interface-id must be one of
the VLAN IDs created on the switch.
514. Assign an IP address to the
VLAN interface.
ip address ip-address { mask |
mask-length } [ sub ]
By default, the VLAN interface has no
IP address.