R3204P16-HP Load Balancing Module Network Management Configuration Guide-6PW101

Table Of Contents
74
To do… Use the command
Remarks
Assign an IP address to the
subinterface
ip address ip-address { mask |
mask-length } [ sub ]
Required
By default, no IP address is
configured for the subinterface.
Create another subinterface and
enter subinterface view
interface Ten-GigabitEthernet
interface-number.subnumber
Required
Set the encapsulation type and
associate the subinterface with a
VLAN
vlan-type dot1q vid vid
Optional
The subinterface receives packets
with the vid.
Assign an IP address to the
subinterface
ip address ip-address { mask |
mask-length } [ sub ]
Required
By default, no IP address is
configured for the subinterface.
Displaying and maintaining Layer 3 subinterface forwarding
To do… Use the Command
Remarks
Display brief interface
information
display brief interface [ interface-type [ interface-number
| interface-number.subnumber ] ] [ | { begin | include |
exclude } text ]
Available in any
view
Display
interface/subinterface state
and related information
display interface [ interface-type [interface-number |
interface-number.subnumber ] ]
Available in any
view
Clear interface/subinterface
statistics
reset counters interface [ interface-type [ interface-number
| interface-number.subnumber ] ]
Available in user
view
Configuring inter-VLAN Layer 3 forwarding
NOTE:
For more information about inter-VLAN forwarding configuration commands, see
Network Mana
g
emen
t
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 LB module as a trunk port and
configure the trunk port to join these two VLANs.
2. Configure the LB module
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.