Huawei S6700 Series Configuration Manual page 562

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
Data Preparation
To complete the configuration, you need the following data:
l
l
Procedure
Step 1 Add interfaces to VLANs.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan batch 10 20
[SwitchA] interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] port hybrid pvid vlan 10
[SwitchA-XGigabitEthernet0/0/1] port hybrid untagged vlan 10
[SwitchA-XGigabitEthernet0/0/1] quit
[SwitchA] interface xgigabitethernet 0/0/2
[SwitchA-XGigabitEthernet0/0/2] port hybrid pvid vlan 20
[SwitchA-XGigabitEthernet0/0/2] port hybrid untagged vlan 20
[SwitchA-XGigabitEthernet0/0/2] quit
The configurations of Switch B, Switch C, and Switch D are similar to the configuration of
Switch A and are not mentioned here.
Step 2 Enable the IPv6 forwarding capability, and assign an IPv6 address for each interface. The
following is the configuration of Switch A. The configurations of other Switches are similar to
the configuration of Switch A and are not mentioned here.
<Quidway> system-view
[Switch A] ipv6
[Switch A] interface vlanif 10
[Switch A-Vlanif10] ipv6 enable
[Switch A-Vlanif10] ipv6 address 8::1/64
[Switch A] interface vlanif 20
[Switch A-Vlanif20] ipv6 enable
[Switch A-Vlanif20] ipv6 address 10::2/64
Step 3 Configure IBGP.
# Configure Switch B.
[Switch B] bgp 65009
[Switch B-bgp] router-id 2.2.2.2
[Switch B-bgp] peer 9:1::2 as-number 65009
[Switch B-bgp] peer 9:3::2 as-number 65009
[Switch B-bgp] ipv6-family unicast
[Switch B-bgp-af-ipv6] peer 9:1::2 enable
[Switch B-bgp-af-ipv6] peer 9:3::2 enable
[Switch B-bgp-af-ipv6] network 9:1:: 64
[Switch B-bgp-af-ipv6] network 9:3:: 64
# Configure Switch C.
[Switch C] bgp 65009
[Switch C-bgp] router-id 3.3.3.3
Issue 01 (2012-03-15)
Configure IBGP connections between Switch B, Switch C, and Switch D.
Configure an EBGP connection between Switch A and Switch B.
The router ID of Switch A is 1.1.1.1 and the AS ID is 65008.
The router IDs of Switch B, Switch C, and Switch D are 2.2.2.2, 3.3.3.3, and 4.4.4.4, and
the ID of the AS where they are located is 65009.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP4+ Configuration
543

Advertisement

Table of Contents
loading

Table of Contents