Huawei S Series Quick Configuration page 14

Campus switches
Hide thumbs Also See for S Series:
Table of Contents

Advertisement

b. Configure the core switch (CORE).
1
Create the VLANs for CORE to communicate with ACC1, ACC2, and the egress router.
<HUAWEI> system-view
[HUAWEI] sysname CORE
[CORE] vlan batch 10 20 100
Configure downstream interfaces and VLANIF interfaces. Communication between
2
departments A and B uses VLANIF interfaces. For example, CORE connects to ACC1
through Eth-Trunk 1.
[CORE] interface eth-trunk 1
[CORE-Eth-Trunk1] port link-type trunk
Trunk for VLAN transparent transmission.
[CORE-Eth-Trunk1] port trunk allow-pass vlan 10
transparently transmit the service VLAN on ACC1.
[CORE-Eth-Trunk1] mode lacp
[CORE-Eth-Trunk1] quit
[CORE] interface GigabitEthernet 0/0/1
Trunk 1.
[CORE-GigabitEthernet0/0/1] Eth-Trunk 1
[CORE-GigabitEthernet0/0/1] quit
[CORE] interface GigabitEthernet 0/0/2
[CORE-GigabitEthernet0/0/2] Eth-Trunk 1
[CORE-GigabitEthernet0/0/2] quit
[CORE] interface Vlanif 10
allow department A to communicate with department B through Layer 3.
[CORE-Vlanif10] ip address 10.10.10.1 24
[CORE-Vlanif10] quit
[CORE] interface Vlanif 20
allow department B to communicate with department A through Layer 3.
[CORE-Vlanif20] ip address 10.10.20.1 24
[CORE-Vlanif20] quit
Configure upstream interfaces and VLANIF interfaces to allow the campus network to
3
communicate with the Internet.
[CORE] interface GigabitEthernet 0/0/20
[CORE-GigabitEthernet0/0/20] port link-type access
[CORE-GigabitEthernet0/0/20] port default vlan 100
[CORE-GigabitEthernet0/0/20] quit
[CORE] interface Vlanif 100
allow CORE to communicate with the router at Layer 3.
[CORE-Vlanif100] ip address 10.10.100.1 24
[CORE-Vlanif100] quit
//Set the switch name to CORE.
//Create VLANs in a batch.
//Set the interface type to
//Configure the LACP mode.
//Add member interfaces to Eth-
//Configure a VLANIF interface to
//Configure a VLANIF interface to
//Configure a VLANIF interface to
11
//Configure Eth-Trunk 1 to
//Set the access mode.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S2750S5700

Table of Contents