EasyManuals Logo

H3C S3100 Series User Manual

H3C S3100 Series
1057 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #216 background imageLoading...
Page #216 background image
1-13
Figure 1-8 Network diagram for MAC address replication and VLAN marking configuration
Eth1/0/1
Network
192.168.1.0/24
Network
MAC-A VLAN3
MAC-A VLAN4
SwitchA
Eth1/0/2
Configuration procedure
# Create VLAN 3 and VLAN 4 on Switch A.
<SwitchA> system-view
[SwitchA] vlan 3 to 4
Please wait.... Done.
# Configure Ethernet 1/0/1 as a trunk port and assign it to VLAN 3 and VLAN 4.
[SwitchA] interface Ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type trunk
[SwitchA-Ethernet1/0/1] port trunk permit vlan 3 4
Please wait... Done.
[SwitchA-Ethernet1/0/1] quit
# Configure Ethernet 1/0/2 as a trunk port and assign it to VLAN 3 and VLAN 4.
[SwitchA] interface Ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] port trunk permit vlan 3 4
Please wait... Done.
[SwitchA-Ethernet1/0/2] quit
# Create ACL 3000 to match packets with source address 192.168.1.0/24.
[SwitchA] acl number 3000
[SwitchA-acl-adv-3000] rule permit ip source 192.168.1.0 0.0.0.255
[SwitchA-acl-adv-3000] quit
# Create ACL 3001 to match packets with destination address 192.168.1.0/24.
[SwitchA] acl number 3001
[SwitchA-acl-adv-3001] rule permit ip destination 192.168.1.0 0.0.0.255
[SwitchA-acl-adv-3001] quit
# Configure VLAN marking on Ethernet 1/0/1 to replace the VLAN tag of packets that matches ACL
3000 with VLAN tag 4.
[SwitchA] interface Ethernet 1/0/1
[SwitchA-Ethernet1/0/1] traffic-remark-vlanid inbound 3000 remark-vlan 4

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals