Huawei AR1200 series Configuration Manual page 206

Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - Interface Management
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
l
l
Procedure
Step 1 Configure the interface connecting the Router to Switch A.
# Create and configure a sub-interface Eth1/0/0.1.
<Huawei> system-view
[Huawei] sysname Router
[Router] interface ethernet 1/0/0.1
[Router-Ethernet1/0/0.1] dot1q termination vid 10
[Router-Ethernet1/0/0.1] arp broadcast enable[Router-Ethernet1/0/0.1] ip address
10.10.10.1 24
[Router-Ethernet1/0/0.1] quit
Step 2 Configure the interface connecting the Router to Switch B.
# Create and configure a sub-interface Eth1/0/1.1.
[Router] interface ethernet 1/0/1.1
[Router-Ethernet1/0/1.1] dot1q termination vid 20
[Router-Ethernet1/0/1.1] arp broadcast enable[Router-Ethernet1/0/1.1] ip address
20.20.20.1 24
[Router-Ethernet1/0/1.1] quit
Step 3 Verify the configuration.
On PC1 in VLAN 10, set the IP address (10.10.10.1/24) of Eth1/0/0.1 as the default gateway
address.
On PC2 in VLAN 20, set the IP address (20.20.20.1/24) of Eth1/0/1.1 as the default gateway
address.
After the preceding configurations are complete, PC1 in VLAN 10 and PC2 in VLAN 20 can
communicate.
----End
Configuration Files
Only the configuration file of the Router is provided.
#
sysname Router
#
interface Ethernet1/0/0.1
dot1q termination vid 10
ip address 10.10.10.1 255.255.255.0
Issue 01 (2012-04-20)
VLANs that Eth1/0/0.1 and Eth1/0/1.1 join: VLAN 10 and VLAN 20
IP addresses of Eth1/0/0.1 and Eth1/0/1.1: 10.10.10.1 and 20.20.20.1
VLAN that the upstream interface of Switch A joins in tagged mode: VLAN 10
VLAN that the downstream interface of Switch A joins in default mode: VLAN 10
VLAN that the upstream interface of Switch B joins in tagged mode: VLAN 20
VLAN that the downstream interface of Switch B joins in default mode: VLAN 20
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
16 Logical Interface Configuration
196

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents