In the implementation process of TSM project, we often need to configure the third party equipment, so that diverse the flow of the core switch equipment to SACG. This case takes H3C MSR equipment for example, through the examples to explain how to configure the diversion of the equipment.
1, create sub interface and the corresponding Vlan
[MSR] interface ethernet 1/1.250
[MSR-Ethernet1/1.1] vlan-type dot1q vid 3001
[MSR] interface ethernet 1/1.251
[MSR-Ethernet1/1.1] vlan-type dot1q vid 3002
2, create policy-based routing
[MSR] policy-based-route tsm permit node 5
[MSR-pbr-tsm-5] if-match acl 3100
[MSR-pbr-tsm-5] apply ip-address next-hop 188.8.131.52
The IP address is the SACG flow ingest IP address.
3, apply the policy-based routing in the user side interface
[MSR] interface GigabitEthernet 5/1
[MSR] ip policy-based-route tsm