Huawei S9300 Configuration Manual page 581

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
[SwitchA-Eth-Trunk1] load-balance diffluence
[SwitchA-Eth-Trunk1] quit
Step 2 Configure a traffic policy to redirect the UDP packets with the destination port number being
10000 to Eth-Trunk 1.
# Create ACL 3000 to match the UDP packet with the destination port number being 10000.
[SwitchA] acl 3000
[SwitchA-acl-adv-3000] rule 5 permit udp destination-port eq 10000
[SwitchA-acl-adv-3000] quit
# Define the traffic classifier test and configure ACL 3000.
[SwitchA] traffic classifier test
[SwitchA-classifier-test] if-match acl 3000
[SwitchA-classifier-test] quit
# Define the traffic behavior test and set the traffic action to redirection.
[SwitchA] traffic behavior test
[SwitchA-behavior-test] redirect interface eth-trunk 1
[SwitchA-behavior-test] quit
# Define the traffic policy test where the traffic classifier is bound to the traffic behavior.
[SwitchA] traffic policy test
[SwitchA-trafficpolicy-test] classifier test behavior test
[SwitchA-trafficpolicy-test] quit
# Apply the traffic policy to the inbound interface of traffic.
[SwitchA] interface xgigabitethernet 2/0/1
[SwitchA-XGigabitEthernet2/0/1] traffic-policy test inbound
[SwitchA-XGigabitEthernet2/0/1] quit
Step 3 Configure unidirectional single-fiber communication.
# Configure unidirectional single-fiber communication on GE interfaces connected to packet
analysis servers.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] undo negotiation auto
[SwitchA-GigabitEthernet1/0/1] single-fiber enable
# The configurations of unidirectional single-fiber communication on other GE interfaces are
similar to the configuration on GE 1/0/1, and are not mentioned here.
----End
Configuration Files
l
Issue 01 (2012-03-15)
Configuration file of Switch A
#
sysname SwitchA
#
acl number 3000
rule 5 permit udp destination-port eq 10000
#
traffic classifier test
if-match acl 3000
#
traffic behavior test
redirect interface Eth-Trunk1
#
traffic policy test
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 Traffic Distribution Configuration
566

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents