Huawei Quidway S9300 Configuration Manual page 121

Terabit routing switch device management
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Device Management
l
l
l
Procedure
Step 1 Configure each interface to ensure that the routes between hosts are reachable.
# Create VLANs 2, 3, and 4, and add GE 1/0/1, GE 1/0/2, and GE 1/0/3 to VLANs 2, 3, and 4
respectively.
<Quidway> system-view
[Quidway] sysname Switch
[Switch] vlan batch 2 to 4
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk pvid vlan 2
[Switch-GigabitEthernet1/0/1] port trunk allow-pass vlan 2
[Switch-GigabitEthernet1/0/1] quit
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port link-type trunk
[Switch-GigabitEthernet1/0/2] port trunk pvid vlan 3
[Switch-GigabitEthernet1/0/2] port trunk allow-pass vlan 3
[Switch-GigabitEthernet1/0/2] quit
[Switch] interface gigabitethernet 1/0/3
[Switch-GigabitEthernet1/0/3] port link-type trunk
[Switch-GigabitEthernet1/0/3] port trunk allow-pass vlan 2 3 4
[Switch-GigabitEthernet1/0/3] quit
[Switch] interface vlanif 4
[Switch-Vlanif4] ip address 192.168.1.1 24
[Switch-Vlanif4] quit
Step 2 Configure a local observing port.
# Configure GE 1/0/3 on the Switch as a local observing port.
[Switch] observe-port 1 interface gigabitethernet1/0/3
Step 3 Configure local mirrored ports.
# Configure GE 1/0/1 on the Switch as a local mirrored port to monitor sent packets of the R&D
department.
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port-mirroring to observe-port 1 inbound
[Switch-GigabitEthernet1/0/1] quit
# Configure GE 1/0/2 on the Switch as a local mirrored port to monitor sent packets of the
marketing department.
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port-mirroring to observe-port 1 inbound
[Switch-GigabitEthernet1/0/2] quit
[Switch] quit
Step 4 Verify the configuration.
# Check the configuration of the observing port.
<Switch> display observe-port
---------------------------------------------------------------------------
Index
Interface: GigabitEthernet1/0/3
Used
---------------------------------------------------------------------------
Issue 03 (2011-12-29)
Type and number of the observing port
Type and number of the mirrored port
Index number of the observing port, that is, 1
: 1
: 2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Mirroring Configuration
109

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents