Configuring Vlan Mapping - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

Configuration examples
# Redirect all the incoming packets from network segment 10.1.1.0/24 to GigabitEthernet
1/0/7 (assume that GigabitEthernet 1/0/1 belongs to VLAN 2 and is connected to network
segment 10.1.1.0/24).
1) Method I: configure traffic redirecting for port GigabitEthernet 1/0/1
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] traffic-redirect inbound ip-group 2000 interface
GigabitEthernet1/0/7
2) Method II: configure traffic redirecting for VLAN 2
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname]
GigabitEthernet1/0/7

Configuring VLAN Mapping

Refer to
VLAN Mapping
This feature is available only on the H3C S5100-EI series switches.
Configuration prerequisites
The ACL rules used for traffic classification have been defined. Refer to the ACL
module of this manual for information about defining ACL rules.
The VLAN ID to be marked has been determined.
The ports where VLAN mapping is to be configured have been determined.
Configuration procedure
Follow these steps to configure VLAN mapping:
To do...
Enter system view
traffic-redirect
for information about VLAN mapping.
Use the command...
system-view
vlan
2
inbound
1-34
ip-group
2000
Remarks
interface

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents