H3C S6820 Series Configuration Examples Download Page 47

 

45 

vlan 41 

vlan 42 

interface Bridge-Aggregation41 

 port access vlan 41 

 link-aggregation mode dynamic 

interface Bridge-Aggregation42 

 port access vlan 42 

 link-aggregation mode dynamic 

interface Vlan-interface41 

 ip address 10.214.50.6 255.255.255.252 

interface Vlan-interface42 

 ip address 10.214.50.10 255.255.255.252 

interface Twenty-FiveGigE1/0/1 

 port link-mode bridge 

 port access vlan 41 

 port link-aggregation group 41 

interface Twenty-FiveGigE1/0/2 

 port link-mode bridge 

 port access vlan 41 

 port link-aggregation group 41 

interface Twenty-FiveGigE1/0/3 

 port link-mode bridge 

 port access vlan 41 

 port link-aggregation group 41 

interface Twenty-FiveGigE1/0/4 

 port link-mode bridge 

 port access vlan 41 

 port link-aggregation group 41 

interface Twenty-FiveGigE1/0/5 

 port link-mode bridge 

 port access vlan 42 

 port link-aggregation group 42 

interface Twenty-FiveGigE1/0/6 

 port link-mode bridge 

 port access vlan 42 

 port link-aggregation group 42 

Summary of Contents for S6820 Series

Page 1: ... reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co Ltd Except for the trademarks of New H3C Technologies Co Ltd any trademarks that may be mentioned in this document are the property of their respective owners The information in this document is subject to change without notice ...

Page 2: ...uration 13 Verifying the IRF setup 13 Verifying the link backup function of multichassis aggregations 13 Verifying link failure protection of the ring topology 14 Verifying the LACP MAD configuration 14 Configuration files 16 Example Setting up a four chassis BFD MAD enabled IRF fabric 20 Network configuration 20 Analysis 22 IRF setup 22 BFD MAD configuration 23 Network connectivity configuration ...

Page 3: ...sure a successful IRF deployment For complete information see IRF configuration guide for the switch Hardware requirements An S6820 switch can form an IRF fabric only with switches in the same series Software requirements All IRF member devices must run the same system software version Feature compatibility and configuration restrictions Make sure the feature settings in Table 1 are the same acros...

Page 4: ...orts are in up state the remove action will fail Bring up the ports after you complete the bind operation If a port is not bound to an IRF port the system prevents you from bringing up the port so it cannot be used for purposes other than IRF connection NOTE These restrictions on gouped ports do not apply if you use 100 GE ports that are not split or use 40 GE ports except ports on the LSWM116Q mo...

Page 5: ...ature on all member devices are the same For more information about feature licensing see Fundamentals Configuration Guide Example Setting up a four chassis LACP MAD enabled IRF fabric Network configuration As shown in Figure 2 use a four chassis IRF fabric to replace the ToR switches in Figure 1 at the access layer of the data center The access layer IRF fabric provides Layer 2 forwarding service...

Page 6: ...is IRF fabric For reliability use the ring topology Ring topology see Figure 3 Member ID assignment IRF member IDs must be unique Device A 1 Device B 2 Device C 3 Device D 4 Master device IRF members elect a master automatically For a member device to be elected the master assign it the highest member priority Device A IRF port bindings Make sure the IRFport bindings are consistent with the physic...

Page 7: ...redGigE 2 0 26 IRF port 2 HundredGigE 2 0 27 HundredGigE 2 0 28 Device C IRF port 1 HundredGigE 3 0 25 HundredGigE 3 0 26 IRF port 2 HundredGigE 3 0 27 HundredGigE 3 0 28 Device D IRF port 1 HundredGigE 4 0 25 HundredGigE 4 0 26 IRF port 2 HundredGigE 4 0 27 HundredGigE 4 0 28 NOTE The first segment in a physical interface number is the IRF member ID By default the IRF member ID is 1 Table 4 shows...

Page 8: ... links they are regarded as one link in the topology For quick split detection assign high speed ports for uplink aggregation connections This example uses 100 GE ports Figure 4 LACP MAD Network connectivity configuration In a Layer 2 network IRF is typically used with link aggregation to simplify the network topology For high availability you can connect each host or server to two ToR switches in...

Page 9: ...de The link aggregation must have a minimum of one member link from each member device Restrictions and guidelines for IRF physical interfaces Make sure all IRF physical interfaces are operating in bridge mode the default Procedures This example assumes that the distribution layer IRF fabric has been set up Setting up the access layer IRF fabric 1 Configure Device A Shut down the physical interfac...

Page 10: ...view DeviceA irf port configuration active 2 Configure Device B Assign member ID 2 to Device B and reboot the device to effect the member ID change DeviceB system view DeviceB irf member 1 renumber 2 Renumbering the member ID may result in configuration change or loss Continue Y N y DeviceB quit DeviceB reboot Shut down the physical interfaces used for IRF connection This example uses the port gro...

Page 11: ...edGigE 3 0 28 for IRF connection DeviceC system view DeviceC interface range hundredgige 3 0 25 to hundredgige 3 0 28 DeviceC if range shutdown DeviceC if range quit Bind HundredGigE 3 0 25 and HundredGigE 3 0 26 IRF port 3 1 DeviceC irf port 3 1 DeviceC irf port3 1 port group interface hundredgige 3 0 25 DeviceC irf port3 1 port group interface hundredgige 3 0 26 DeviceC irf port3 1 quit Bind Hun...

Page 12: ... 4 0 27 and HundredGigE 4 0 28 to IRF port 4 2 DeviceD irf port 4 2 DeviceD irf port4 2 port group interface hundredgige 4 0 27 DeviceD irf port4 2 port group interface hundredgige 4 0 28 DeviceD irf port4 2 quit Bring up the physical interfaces DeviceD interface range hundredgige 4 0 25 to hundredgige 4 0 28 DeviceD if range undo shutdown DeviceD if range quit Save the running configuration Devic...

Page 13: ...mode to dynamic and enable LACP MAD Sysname interface bridge aggregation 2 Sysname Bridge Aggregation2 link aggregation mode dynamic Sysname Bridge Aggregation2 mad enable You need to assign a domain ID range 0 4294967295 Current domain is 2 The assigned domain ID is 2 Sysname Bridge Aggregation2 quit Assign the downlink ports that connect to the access layer IRF fabric to Bridge Aggregation 2 Sys...

Page 14: ...ce ten gigabitethernet 1 0 10 IRF Ten GigabitEthernet1 0 10 port link aggregation group 3 IRF Ten GigabitEthernet1 0 10 quit IRF interface ten gigabitethernet 2 0 10 IRF Ten GigabitEthernet2 0 10 port link aggregation group 3 IRF Ten GigabitEthernet2 0 10 quit Assign Bridge Aggregation 3 to VLAN 10 IRF interface bridge aggregation 3 IRF Bridge Aggregation3 port access vlan 10 IRF Bridge Aggregatio...

Page 15: ...ty IRF display irf topology Topology Info IRF Port1 IRF Port2 MemberID Link neighbor Link neighbor Belong To 1 UP 2 UP 4 0cda 414a 859b 2 UP 3 UP 1 0cda 414a 859b 3 UP 4 UP 2 0cda 414a 859b 4 UP 1 UP 3 0cda 414a 859b The output shows that all the IRF links are in UP state The four chassis IRF fabric is established Verifying the link backup function of multichassis aggregations Ping the IP address ...

Page 16: ...om 10 153 116 111 bytes 32 time 1ms TTL 128 The output shows that the IP address can be pinged after transient traffic disruption The server accesses the distribution layer through another device in the access layer IRF fabric Verifying link failure protection of the ring topology Disconnect all IRF links between two IRF member devices Details not shown Verify that the IRF fabric operates correctl...

Page 17: ...n the interface M GigabitEthernet0 0 0 is down Jan 1 05 53 20 912 2019 H3C IFNET 3 PHY_UPDOWN HundredGigE3 0 29 link status is down Jan 1 05 53 20 914 2019 H3C IFNET 5 LINK_UPDOWN Line protocol on the interface HundredGigE3 0 29 is down Jan 1 05 53 20 912 2019 H3C IFNET 3 PHY_UPDOWN HundredGigE3 0 30 link status is down Jan 1 05 53 20 914 2019 H3C IFNET 5 LINK_UPDOWN Line protocol on the interface...

Page 18: ..._UPDOWN HundredGigE1 0 27 link status is up Jan 1 05 29 06 914 2019 H3C IFNET 5 LINK_UPDOWN Line protocol on the interface HundredGigE1 0 27 is up Jan 1 05 29 06 913 2019 H3C IFNET 3 PHY_UPDOWN HundredGigE1 0 28 link status is up Jan 1 05 29 06 914 2019 H3C IFNET 5 LINK_UPDOWN Line protocol on the interface HundredGigE1 0 28 is up Jan 1 05 29 07 106 2019 H3C STM 6 STM_LINK_STATUS_UP IRF port 2 is ...

Page 19: ...ace HundredGigE3 0 25 port group interface HundredGigE3 0 26 irf port3 2 port group interface HundredGigE3 0 27 port group interface HundredGigE3 0 28 irf port4 1 port group interface HundredGigE4 0 25 port group interface HundredGigE4 0 26 irf port4 2 port group interface HundredGigE4 0 27 port group interface HundredGigE4 0 28 interface Bridge Aggregation2 port link type trunk port trunk permit ...

Page 20: ...rt link aggregation group 2 interface HundredGigE3 0 29 port link mode bridge port link type trunk port trunk permit vlan 1 10 port link aggregation group 2 interface HundredGigE3 0 30 port link mode bridge port link type trunk port trunk permit vlan 1 10 port link aggregation group 2 interface HundredGigE4 0 29 port link mode bridge port link type trunk port trunk permit vlan 1 10 port link aggre...

Page 21: ... trunk port trunk permit vlan 1 10 port link aggregation group 2 interface HundredGigE1 3 0 1 port link mode bridge port link type trunk port trunk permit vlan 1 10 port link aggregation group 2 interface HundredGigE2 2 0 1 port link mode bridge port link type trunk port trunk permit vlan 1 10 port link aggregation group 2 interface HundredGigE2 3 0 1 port link mode bridge port link type trunk por...

Page 22: ...up 2 interface HundredGigE4 3 0 1 port link mode bridge port link type trunk port trunk permit vlan 1 10 port link aggregation group 2 Example Setting up a four chassis BFD MAD enabled IRF fabric Network configuration As shown in Figure 8 set up a four chassis IRF fabric to replace the switches at the distribution layer of the enterprise network see Figure 7 Use BFD MAD to detect IRF split The IRF...

Page 23: ...21 Figure 7 Network diagram before IRF deployment Figure 8 Network diagram after IRF deployment ...

Page 24: ...e unique Device A 1 Device B 2 Device C 3 Device D 4 Master device IRF members elect a master automatically For a member device to be elected the master assign it the highest member priority Device A IRF port bindings Make sure the IRF port bindings are consistent with the physical connections For high availability bind multiple physical interfaces to an IRF port These ports will automatically agg...

Page 25: ...d BFD MAD configuration You can deploy BFD MAD by using one of the following methods Connect all member devices with dedicated BFD MAD links into a full mesh topology This method is suitable for two chassis IRF fabrics Set up a dedicated BFD MAD link with an intermediate device for each IRF member device as shown in Figure 10 This method is suitable for IRF fabrics that have more than two member d...

Page 26: ...r servers you must configure VLAN interfaces to provide gateway services as shown in Table 7 To use the IRF fabric in a Layer 3 network you must configure routing In this example OSPF is configured Figure 11 Connection diagram for the IRF fabric in a Layer 3 network Table 7 Link aggregations and VLAN assignment scheme Aggregate interface Member ports VLANs VLAN interface s IP address Router A Brid...

Page 27: ...E 3 0 11 Twenty FiveGigE 4 0 11 VLAN 20 10 214 20 1 24 Bridge Aggregation 40 Twenty FiveGigE 1 0 13 Twenty FiveGigE 2 0 13 Twenty FiveGigE 3 0 13 Twenty FiveGigE 4 0 13 VLAN 40 10 214 50 1 30 Bridge Aggregation 41 Twenty FiveGigE 1 0 14 Twenty FiveGigE 2 0 14 Twenty FiveGigE 3 0 14 Twenty FiveGigE 4 0 14 VLAN 41 10 214 50 5 30 Device E Bridge Aggregation 10 Twenty FiveGigE 1 0 49 Twenty FiveGigE 1...

Page 28: ...FD MAD On the IRF fabric configure only the mad bfd enable and mad ip address commands on the VLAN interface used for BFD MAD On the intermediate device if any and IRF fabric do not configure any other features on the ports used for BFD MAD If you configure other features both BFD MAD and other features on the interface or ports might run incorrectly Disable the spanning tree feature on all Layer ...

Page 29: ...view DeviceA irf port configuration active 2 Configure Device B Assign member ID 2 to Device B and reboot the device to effect the member ID change DeviceB system view DeviceB irf member 1 renumber 2 Renumbering the member ID may result in configuration change or loss Continue Y N y DeviceB quit DeviceB reboot Shut down the physical interfaces used for IRF connection This example uses the port gro...

Page 30: ...dGigE 3 0 28 for IRF connection DeviceC system view DeviceC interface range hundredgige 3 0 25 to hundredgige 3 0 28 DeviceC if range shutdown DeviceC if range quit Bind HundredGigE 3 0 25 and HundredGigE 3 0 26 to IRF port 3 1 DeviceC irf port 3 1 DeviceC irf port3 1 port group interface hundredgige 3 0 25 DeviceC irf port3 1 port group interface hundredgige 3 0 26 DeviceC irf port3 1 quit Bind H...

Page 31: ...ace hundredgige 4 0 26 DeviceD irf port4 1 quit Bind HundredGigE 4 0 27 and HundredGigE 4 0 28 to IRF port 4 2 DeviceD irf port 4 2 DeviceD irf port4 2 port group interface hundredgige 4 0 27 DeviceD irf port4 2 port group interface hundredgige 4 0 28 DeviceD irf port4 2 quit Bring up the physical interfaces DeviceD interface range hundredgige 4 0 25 to hundredgige 4 0 28 DeviceD if range undo shu...

Page 32: ... fivegige 2 0 1 IRF Twenty FiveGigE2 0 1 undo stp enable IRF Twenty FiveGigE2 0 1 quit IRF interface twenty fivegige 3 0 1 IRF Twenty FiveGigE3 0 1 undo stp enable IRF Twenty FiveGigE3 0 1 quit IRF interface twenty fivegige 4 0 1 IRF Twenty FiveGigE4 0 1 undo stp enable IRF Twenty FiveGigE4 0 1 quit 2 Configure the intermediate device Create VLAN 1000 BFD MAD VLAN Sysname system view Sysname vlan ...

Page 33: ...eate Bridge Aggregation 42 and set its link aggregation mode to dynamic RouterA interface bridge aggregation 42 RouterA Bridge Aggregation42 link aggregation mode dynamic RouterA Bridge Aggregation42 quit Assign Twenty FiveGigE 1 0 5 and Twenty FiveGigE 1 0 6 to the aggregation group for Bridge Aggregation 42 RouterA interface twenty fivegige 1 0 5 RouterA Twenty FiveGigE1 0 5 port link aggregatio...

Page 34: ...erB Twenty FiveGigE1 0 3 port link aggregation group 41 RouterB Twenty FiveGigE1 0 3 quit RouterB interface twenty fivegige 1 0 4 RouterB Twenty FiveGigE1 0 4 port link aggregation group 41 RouterB Twenty FiveGigE1 0 4 quit Assign Bridge Aggregation 41 to VLAN 41 RouterB interface bridge aggregation 41 RouterB Bridge Aggregation41 port access vlan 41 RouterB Bridge Aggregation41 quit Create Bridge...

Page 35: ...an 40 IRF vlan40 quit IRF vlan 41 IRF vlan41 quit Create Bridge Aggregation 10 and set its link aggregation mode to dynamic IRF interface bridge aggregation 10 IRF Bridge Aggregation10 link aggregation mode dynamic IRF Bridge Aggregation10 quit Assign Twenty FiveGigE 1 0 10 Twenty FiveGigE 2 0 10 Twenty FiveGigE 3 0 10 and Twenty FiveGigE 4 0 10 to the aggregation group for Bridge Aggregation 10 I...

Page 36: ... 0 network 10 214 20 0 0 0 0 255 IRF ospf 1 area 0 0 0 0 network 10 214 50 0 0 0 0 3 IRF ospf 1 area 0 0 0 0 network 10 214 50 4 0 0 0 3 IRF ospf 1 area 0 0 0 0 quit IRF ospf 1 quit 4 Configure Device E Create Bridge Aggregation 10 and set its link aggregation mode to dynamic DeviceE interface bridge aggregation 10 DeviceE Bridge Aggregation10 link aggregation mode dynamic DeviceE Bridge Aggregati...

Page 37: ... in The Bridge MAC of the IRF is 0cda 414a 859b Auto upgrade yes Mac persistent 12 min Domain ID 0 The output shows that the IRF fabric has four member devices Verify IRF fabric connectivity IRF display irf topology Topology Info IRF Port1 IRF Port2 MemberID Link neighbor Link neighbor Belong To 1 UP 2 UP 4 0cda 414a 859b 2 UP 3 UP 1 0cda 414a 859b 3 UP 4 UP 2 0cda 414a 859b 4 UP 1 UP 3 0cda 414a ...

Page 38: ...member port of Bridge Aggregation 40 IRF interface twenty fivegige 1 0 13 IRF Twenty FiveGigE1 0 13 shutdown IRF Twenty FiveGigE1 0 13 quit Observe the output on the configuration terminal for the server Pinging 10 214 50 2 with 32 bytes of data Reply from 10 214 50 2 bytes 32 time 8ms TTL 127 Reply from 10 214 50 2 bytes 32 time 7ms TTL 127 Reply from 10 214 50 2 bytes 32 time 2ms TTL 127 Reply f...

Page 39: ...trl LinkType INET Sta DOWN INIT Diag 0 Jan 1 00 40 22 791 2019 H3C BFD 5 BFD_CHANGE_FSM Sess 192 168 2 1 192 168 2 3 LD RD 33 33 Interface Vlan1000 SessType Ctrl LinkType INET Sta INIT UP Diag 0 Jan 1 00 40 27 962 2019 H3C BFD 5 BFD_CHANGE_FSM Sess 192 168 2 1 192 168 2 3 LD RD 33 33 Interface Vlan1000 SessType Ctrl LinkType INET Sta UP DOWN Diag 1 The output shows that the BFD session was up for ...

Page 40: ...RF port 2 is up Jan 1 00 52 26 257 2019 H3C STM 4 STM_LINK_RECOVERY Merge occurs Jan 1 00 52 30 834 2019 H3C STM 3 STM_LINK_STATUS_DOWN IRF port 2 is down Jan 1 00 52 30 835 2019 H3C IFNET 3 PHY_UPDOWN HundredGigE1 0 28 link status is down Jan 1 00 52 30 836 2019 H3C IFNET 5 LINK_UPDOWN Line protocol on the interface HundredGigE1 0 28 is down IRF 2 reboots automatically to merge with IRF 1 Verify ...

Page 41: ...up interface HundredGigE3 0 26 irf port3 2 port group interface HundredGigE3 0 27 port group interface HundredGigE3 0 28 irf port4 1 port group interface HundredGigE4 0 25 port group interface HundredGigE4 0 26 irf port4 2 port group interface HundredGigE4 0 27 port group interface HundredGigE4 0 28 interface Bridge Aggregation10 port access vlan 10 link aggregation mode dynamic interface Bridge A...

Page 42: ...r 3 mad ip address 192 168 2 4 255 255 255 0 member 4 interface Twenty FiveGigE1 0 1 port link mode bridge undo stp enable port access vlan 1000 interface Twenty FiveGigE1 0 10 port link mode bridge port access vlan 10 port link aggregation group 10 interface Twenty FiveGigE1 0 11 port link mode bridge port access vlan 20 port link aggregation group 20 interface Twenty FiveGigE1 0 13 port link mod...

Page 43: ...port link aggregation group 41 interface Twenty FiveGigE3 0 1 port link mode bridge undo stp enable port access vlan 1000 interface Twenty FiveGigE3 0 10 port link mode bridge port access vlan 10 port link aggregation group 10 interface Twenty FiveGigE3 0 11 port link mode bridge port access vlan 20 port link aggregation group 20 interface Twenty FiveGigE3 0 13 port link mode bridge port access vl...

Page 44: ...up 40 interface Twenty FiveGigE4 0 14 port link mode bridge port access vlan 41 port link aggregation group 41 ospf 1 area 0 0 0 0 network 10 214 10 0 0 0 0 255 network 10 214 20 0 0 0 0 255 network 10 214 50 0 0 0 0 3 network 10 214 50 4 0 0 0 3 Device E vlan 1000 interface Bridge Aggregation10 link aggregation mode dynamic interface Twenty FiveGigE1 0 1 port link mode bridge port access vlan 100...

Page 45: ...ort link mode bridge port link aggregation group 10 Device F interface Bridge Aggregation20 link aggregation mode dynamic interface Twenty FiveGigE1 0 49 port link mode bridge port link aggregation group 20 interface Twenty FiveGigE1 0 50 port link mode bridge port link aggregation group 20 interface Twenty FiveGigE1 0 51 port link mode bridge port link aggregation group 20 interface Twenty FiveGi...

Page 46: ...rt access vlan 40 port link aggregation group 40 interface Twenty FiveGigE1 0 3 port link mode bridge port access vlan 40 port link aggregation group 40 interface Twenty FiveGigE1 0 4 port link mode bridge port access vlan 40 port link aggregation group 40 interface Twenty FiveGigE1 0 5 port link mode bridge port access vlan 42 port link aggregation group 42 interface Twenty FiveGigE1 0 6 port lin...

Page 47: ...ort access vlan 41 port link aggregation group 41 interface Twenty FiveGigE1 0 2 port link mode bridge port access vlan 41 port link aggregation group 41 interface Twenty FiveGigE1 0 3 port link mode bridge port access vlan 41 port link aggregation group 41 interface Twenty FiveGigE1 0 4 port link mode bridge port access vlan 41 port link aggregation group 41 interface Twenty FiveGigE1 0 5 port li...

Page 48: ...k 10 214 50 0 0 0 0 3 network 10 214 50 8 0 0 0 3 Related documentation H3C S6800 S6860 S6861 R27xx S6820 R630x Switch Series Virtual Technologies Configuration Guide H3C S6800 S6860 S6861 R27xx S6820 R630x Switch Series Virtual Technologies Command Reference ...

Reviews: