Packet Type-Based Interface Pbr Configuration Example - HP 6125XLG Layer 3 - Ip Routing Configuration Manual

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

[SwitchA-pbr-aaa-5] apply next-hop 1.1.2.2
[SwitchA-pbr-aaa-5] quit
# Configure local PBR by applying policy aaa to Switch A.
[SwitchA] ip local policy-based-route aaa
2.
Configure Switch B:
# Create VLAN 10.
<SwitchB> system-view
[SwitchB] vlan 10
[SwitchB-vlan10] quit
# Configure the IP address of VLAN-interface 10.
[SwitchB] interface vlan-interface 10
[SwitchB-Vlan-interface10] ip address 1.1.2.2 24
3.
Configure Switch C:
# Create VLAN 20.
<SwitchC> system-view
[SwitchC] vlan 20
[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.
# Telnet to Switch C on Switch A. The operation fails.
# Ping Switch C from Switch A. The operation succeeds.
Telnet uses TCP and ping uses ICMP. The preceding results show that all TCP packets sent from Switch A
are forwarded to the next hop 1.1.2.2, and 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
1 1 to the next hop 1.1.2.2. Switch A forwards other packets according to the routing table.
Figure
81, configure PBR on Switch A to forward all TCP packets received on VLAN-interface
319

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents