A static routing configuration instance between Huawei exchanges

Source: Internet
Author: User

Topology diagram

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/88/wKioL1SFr6ryPTyFAAF6NSyu1lI761.jpg "title=" QQ picture 20141208215949.png "alt=" Wkiol1sfr6ryptyfaaf6nsyu1li761.jpg "/>


Left switch configuration:

<Huawei>dis cu#sysname Huawei#vlan batch 10 100#cluster enablentdp  enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile  default#aaa authentication-scheme default authorization-scheme default  accounting-scheme default domain default domain default_admin local-user  Admin password simple admin local-user admin service-type http#interface  vlanif1#interface vlanif10 ip address 172.16.10.254 255.255.255.0#interface  vlanif100 ip address 172.16.100.1 255.255.255.0#interface meth0/0/1#interface  eth-trunk1 port link-type trunk port trunk allow-pass vlan 2  to 4094#interface GigabitEthernet0/0/1 port link-type access port  Default vlan 10#interface gigabitethernet0/0/2#, ... #interface  gigabitethernet0/0/21 eth-trunk 1#interface, .....---------  GigabitEthernet0/0/22 shutdown eth-trunk 1#interface GigabitEthernet0/0/23  eth-trunk 1#interface gigabitethernet0/0/24 eth-trunk 1#interface null0#ip  route-static 172.16.20.0 255.255.255.0 172.16.100.254#user-interface con  0user-interface vty 0 4#return

Right switch configuration:

<Huawei>dis cu#sysname Huawei#vlan batch 20 100#cluster enablentdp  enablendp enable#drop illegal-mac alarm#diffserv domain default#drop-profile  default#aaa authentication-scheme default authorization-scheme default  accounting-scheme default domain default domain default_admin local-user  Admin password simple admin local-user admin service-type http#interface  vlanif1#interface vlanif20 ip address 172.16.20.254 255.255.255.0#interface  vlanif100 ip address 172.16.100.254 255.255.255.0#interface meth0/0/1#interface  eth-trunk1 port link-type trunk port trunk allow-pass vlan 2  to 4094#interface GigabitEthernet0/0/1 port link-type access port  Default vlan 20#interface gigabitethernet0/0/2#, ... #interface  gigabitethernet0/0/21 eth-trunk 1#interface, and .....------  gigabitethernet0/0/22 eth-trunk 1#interface gigabitethernet0/0/23 eth-trunk 1# interface gigabitethernet0/0/24 eth-trunk 1#interface null0#ip route-static  172.16.10.0 255.255.255.0 172.16.100.1#user-interface con 0user-interface vty 0  4#return<Huawei>

Left switch configuration steps (similar to the right switch configuration)

1. Bulk VLAN creation

[Huawei]vlan Batch 10 100

2. Configure vlanif Address

[Huawei]interface vlanif 100

[Huawei-vlanif100]ip Address 172.16.100.1 24

[Huawei-vlanif100]q

[Huawei]interface vlanif 10

[Huawei-vlanif10]ip Address 172.16.10.254 24

3. Configure GE0/0/1 Port properties and add VLAN 10

[Huawei-gigabitethernet0/0/1]port link-type Access

[Huawei-gigabitethernet0/0/1]port Default VLAN 10

4. Configure Eth-trunk (Increase bandwidth, implement link backup) and properties

[Huawei]interface Eth-trunk 1

[Huawei-eth-trunk1]trunkport gigabitethernet 0/0/21 to 0/0/24

# port added in Eth-trunk 1

[Huawei-eth-trunk1]mode Manual Load-balance

# Manual Load Mode

[Huawei-eth-trunk1]port Link-type Trunk

[Huawei-eth-trunk1]port trunk Allow-pass VLAN All

#配置eth-trunk port is trunk mode and allows all VLANs to pass through

5. Static routing Configuration

[Huawei]ip route-static 172.16.20.0 24 172.16.100.254

# Configure the next hop address of the network to reach 172.16.20.0 to 172.16.100.254


This article is from the "Chongqing Network Management" blog, please make sure to keep this source http://023wg.blog.51cto.com/1462514/1587686

A static routing configuration instance between Huawei exchanges

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.