Configuring inter-vlan layer 3 forwarding, Configure the ports of the switch – H3C Technologies H3C SecPath F1000-E User Manual

Page 292

Advertising
background image

267

Configuring inter-VLAN Layer 3 forwarding

For the Layer 3 subinteface forwarding configuration commands, see the Interface Configuration
Commands
in the Network Management Command Reference.

Configuring inter-VLAN Layer 3 forwarding

Perform the following configurations to achieve inter-VLAN Layer 3 forwarding.

1.

Configure the ports of the switch

•

Create two VLANs. Assign the ingress port to one VLAN and the egress port to the other.

•

Configure the switch’s ten-GigabitEthernet port that connects to the firewall card as a trunk port and
configure the trunk port to join these two VLANs.

2.

Configure the firewall card

•

Create two VLANs, in which packets from the switch are forwarded.

•

Configure the operating mode of the ten-GigabitEthernet interface that connects to the switch as
Layer 2 mode, and configure the link type as trunk. Assign the interface to the two VLANs created

on the switch.

•

Create two VLAN interfaces with the same numbers as VLANs created on the switch for the
ten-GigabitEthernet interface.

•

Assign IP addresses for the two VLAN interfaces.

•

Add the firewall card's ten-GigabitEthernet interface and the VLAN interfaces to the security zones.

NOTE:

To achieve Layer 3 forwarding between VLANs, you can create these VLANs on the swtich and configure
the same number of VLAN interfaces for the ten-GigabitEthernet interface on the firewall card. Then add
the firwall card's ten-GigabitEthernet interface and the VLAN interfaces to security zones.

Configure the ports of the switch

Follow these steps to configure the ports of the switch:

To do…

Use the command

Remarks

Enter system view

system-view

—

Create a VLAN and enter VLAN
view

vlan vlan-id Required

Assign the access port(s) to the
VLAN

port interface-list

Required
By default, all ports belong to

VLAN 1.

Create another VLAN and enter
VLAN view

vlan vlan-id

Required

Assign the access port(s) to the
VLAN

port interface-list

Required
By default, all ports belong to

VLAN 1.

Advertising