Packet Type-Based Interface Pbr Configuration Example - HP FlexFabric 12900E Series Configuration Manual

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

[SwitchC-vlan20] quit
# Configure the IP address of VLAN-interface 20.
[SwitchC] interface vlan-interface 20
[SwitchC-Vlan-interface20] ip address 1.1.3.2 24
Verifying the configuration
# Telnet to Switch B on Switch A. The operation succeeds. (Details not shown.)
# Telnet to Switch C on Switch A. The operation fails. (Details not shown.)
# Ping Switch C from Switch A. The operation succeeds. (Details not shown.)
Telnet uses TCP, and ping uses ICMP. The results show the following:
All TCP packets sent from Switch A are forwarded to the next hop 1.1.2.2.
Other packets are forwarded through VLAN-interface 20.
The local PBR configuration is effective.

Packet type-based interface PBR configuration example

Network requirements
As shown in
Configure PBR on Switch A to forward all TCP packets received on VLAN-interface 11 to the next
hop 1.1.2.2 (Switch B).
Figure 85 Network diagram
Switch B
Vlan-int10
1.1.2.2/24
Vlan-int10
1.1.2.1/24
Switch A
Host A
10.110.0.20/24
Gateway: 10.110.0.10
Configuration procedure
1.
Make sure Switch B and Switch C can reach Host A. (Details not shown.)
2.
Configure Switch A:
# Create VLAN 10 and VLAN 20.
<SwitchA> system-view
Figure
85, Switch B and Switch C cannot reach each other.
Switch C
Vlan-int20
1.1.3.2/24
Vlan-int20
1.1.3.1/24
Vlan-int11
10.110.0.10/24
Subnet
10.110.0.0/24
Host B
365

Advertisement

Table of Contents
loading

Table of Contents