H3C Low-End Ethernet Switches Configuration Guide(V1.00)

Download

Table of Contents

Chapter 1 Login Configuration Guide. 1-1

1.1 Logging In from the Console Port 1-1

1.1.1 Network Diagram.. 1-1

1.1.2 Networking and Configuration Requirements. 1-1

1.1.3 Applicable Product Matrix. 1-1

1.1.4 Configuration Procedure. 1-2

1.1.5 Complete Configuration. 1-3

1.1.6 Precautions. 1-4

1.2 Logging In Through Telnet 1-4

1.2.1 Network Diagram.. 1-4

1.2.2 Networking and Configuration Requirements. 1-4

1.2.3 Applicable Product Matrix. 1-4

1.2.4 Configuration Procedure. 1-4

1.2.5 Complete Configuration. 1-5

1.2.6 Precautions. 1-6

1.3 Configuring Login Access Control 1-7

1.3.1 Network Diagram.. 1-7

1.3.2 Networking and Configuration Requirements. 1-7

1.3.3 Applicable Product Matrix. 1-7

1.3.4 Configuration Procedure. 1-7

1.3.5 Complete Configuration. 1-8

1.3.6 Precautions. 1-8

Chapter 2 VLAN Configuration Guide. 2-1

2.1 Configuring Port-Based VLAN. 2-1

2.1.1 Network Diagram.. 2-1

2.1.2 Networking and Configuration Requirements. 2-1

2.1.3 Applicable Product Matrix. 2-1

2.1.4 Configuration Procedure. 2-2

2.1.5 Complete Configuration. 2-2

2.1.6 Precautions. 2-3

2.2 Configuring Protocol-Based VLAN. 2-3

2.2.1 Network Diagram.. 2-4

2.2.2 Networking and Configuration Requirements. 2-4

2.2.3 Applicable Product Matrix. 2-4

2.2.4 Configuration Procedure. 2-4

2.2.5 Complete Configuration. 2-5

2.2.6 Precautions. 2-6

Chapter 3 IP Address Configuration Guide. 3-1

3.1 IP Address Configuration Guide. 3-1

3.1.1 Network Diagram.. 3-1

3.1.2 Networking and Configuration Requirements. 3-1

3.1.3 Applicable Product Matrix. 3-2

3.1.4 Configuration Procedure. 3-2

3.1.5 Complete Configuration. 3-2

3.1.6 Precautions. 3-2

Chapter 4 Voice VLAN Configuration Guide. 4-1

4.1 Configuring Voice VLAN. 4-1

4.1.1 Network Diagram.. 4-1

4.1.2 Networking and Configuration Requirements. 4-1

4.1.3 Applicable Product Matrix. 4-2

4.1.4 Configuration Procedure. 4-2

4.1.5 Complete Configuration. 4-3

4.2 Precautions. 4-4

Chapter 5 GVRP Configuration Guide. 5-1

5.1 Configuring GVRP. 5-1

5.1.1 Network Diagram.. 5-1

5.1.2 Networking and Configuration Requirements. 5-1

5.1.3 Applicable Product Matrix. 5-2

5.1.4 Configuration Procedure. 5-2

5.1.5 Complete Configuration. 5-5

5.1.6 Precautions. 5-6

Chapter 6 Ethernet Interface Basic Configuration Guide. 6-1

6.1 Configuring the Basic Functions of an Ethernet Port 6-1

6.1.1 Network Diagram.. 6-1

6.1.2 Networking and Configuration Requirements. 6-1

6.1.3 Applicable Product Matrix. 6-1

6.1.4 Configuration Procedure. 6-2

6.1.5 Complete Configuration. 6-2

6.1.6 Precautions. 6-3

Chapter 7 Link Aggregation Configuration Guide. 7-1

7.1 Configuring Link Aggregation. 7-1

7.1.1 Network Diagram.. 7-1

7.1.2 Networking and Configuration Requirements. 7-1

7.1.3 Applicable Product Matrix. 7-1

7.1.4 Configuration Procedure. 7-2

7.1.5 Complete Configuration. 7-3

7.1.6 Precautions. 7-4

Chapter 8 Port Isolation Configuration Guide. 8-1

8.1 Configuring Port Isolation. 8-1

8.1.1 Network Diagram.. 8-1

8.1.2 Networking and Configuration Requirements. 8-1

8.1.3 Applicable Product Matrix. 8-2

8.1.4 Configuration Procedure. 8-2

8.1.5 Complete Configuration. 8-2

8.1.6 Precautions. 8-3

Chapter 9 Port Security Configuration Guide. 9-1

9.1 Configuring Port Security autolearn Mode. 9-1

9.1.1 Network Diagram.. 9-1

9.1.2 Networking and Configuration Requirements. 9-1

9.1.3 Applicable Product Matrix. 9-1

9.1.4 Configuration Procedure. 9-2

9.1.5 Complete Configuration. 9-2

9.1.6 Precautions. 9-2

9.2 Configuring Port Security mac-authentication Mode. 9-3

9.2.1 Network Diagram.. 9-3

9.2.2 Networking and Configuration Requirements. 9-3

9.2.3 Applicable Product Matrix. 9-3

9.2.4 Configuration Procedure. 9-4

9.2.5 Complete Configuration. 9-5

9.2.6 Precautions. 9-6

9.3 Configuring Port Security userlogin-withoui Mode. 9-6

9.3.1 Network Diagram.. 9-6

9.3.2 Networking and Configuration Requirements. 9-6

9.3.3 Applicable Product Matrix. 9-7

9.3.4 Configuration Procedure. 9-7

9.3.5 Complete Configuration. 9-9

9.3.6 Precautions. 9-10

9.4 Configuring Port Security mac-else-userlogin-secure-ext Mode. 9-10

9.4.1 Network Diagram.. 9-10

9.4.2 Networking and Configuration Requirements. 9-10

9.4.3 Applicable Product Matrix. 9-11

9.4.4 Configuration Procedure. 9-11

9.4.5 Complete Configuration. 9-13

9.4.6 Precautions. 9-13

Chapter 10 Port Binding Configuration Guide. 10-1

10.1 Configuring a Port Binding. 10-1

10.1.1 Network Diagram.. 10-1

10.1.2 Networking and Configuration Requirements. 10-1

10.1.3 Applicable Product Matrix. 10-1

10.1.4 Configuration Procedure. 10-2

10.1.5 Complete Configuration. 10-2

Chapter 11 MAC Address Table Management Configuration Guide. 11-1

11.1 MAC Address Table Management 11-1

11.1.1 Network Diagram.. 11-1

11.1.2 Networking and Configuration Requirements. 11-1

11.1.3 Applicable Product Matrix. 11-2

11.1.4 Configuration Procedure. 11-2

11.1.5 Complete Configuration. 11-2

11.1.6 Precautions. 11-3

Chapter 12 DLDP Configuration Guide. 12-1

12.1 Configuring DLDP. 12-1

12.1.1 Network Diagram.. 12-1

12.1.2 Networking and Configuration Requirements. 12-1

12.1.3 Applicable Product Matrix. 12-2

12.1.4 Configuration Procedure. 12-2

12.1.5 Complete Configuration. 12-2

12.1.6 Precautions. 12-3

Chapter 13 Auto Detect Configuration Guide. 13-1

13.1 Auto Detect Implementation in Static Routing. 13-1

13.1.1 Network Diagram.. 13-1

13.1.2 Networking and Configuration Requirements. 13-1

13.1.3 Applicable Product Matrix. 13-2

13.1.4 Configuration Procedure. 13-2

13.1.5 Complete Configuration. 13-3

13.1.6 Precautions. 13-4

13.2 Auto Detect Implementation in VRRP. 13-4

13.2.1 Network Diagram.. 13-4

13.2.2 Networking and Configuration Requirements. 13-4

13.2.3 Applicable Product Matrix. 13-5

13.2.4 Configuration Procedure. 13-5

13.2.5 Complete Configuration. 13-6

13.2.6 Precautions. 13-6

13.3 Auto Detect Implementation in VLAN Interface Backup. 13-6

13.3.1 Network Diagram.. 13-7

13.3.2 Networking and Configuration Requirements. 13-7

13.3.3 Applicable Product Matrix. 13-8

13.3.4 Configuration Procedure. 13-8

13.3.5 Complete Configuration. 13-9

13.3.6 Precautions. 13-10

Chapter 14 MSTP Configuration Guide. 14-1

14.1 Configuring MSTP. 14-1

14.1.1 Network Diagram.. 14-1

14.1.2 Networking and Configuration Requirements. 14-1

14.1.3 Applicable Product Matrix. 14-2

14.1.4 Configuration Procedure. 14-2

14.1.5 Complete Configuration. 14-3

14.2 Configuring VLAN-VPN Tunneling. 14-4

14.2.1 Network Diagram.. 14-5

14.2.2 Networking and Configuration Requirements. 14-5

14.2.3 Applicable Product Matrix. 14-5

14.2.4 Configuration Procedure. 14-5

14.2.5 Complete Configuration. 14-7

14.3 Configuring RSTP. 14-8

14.3.1 Network Diagram.. 14-8

14.3.2 Networking and Configuration Requirements. 14-8

14.3.3 Applicable Product Matrix. 14-9

14.3.4 Configuration Procedure. 14-9

14.3.5 Complete Configuration. 14-12

14.4 Configuring Digest Snooping and Rapid Transition. 14-13

14.4.1 Digest Snooping. 14-13

14.4.2 Rapid Transition. 14-14

14.4.3 Network Diagram.. 14-14

14.4.4 Networking and Configuration Requirements. 14-14

14.4.5 Applicable Product Matrix. 14-14

14.4.6 Configuration Procedure. 14-15

14.4.7 Complete Configuration. 14-16

Chapter 15 Routing Configuration Guide. 15-1

15.1 Configuring Static Routes. 15-1

15.1.1 Network Diagram.. 15-1

15.1.2 Networking and Configuration Requirements. 15-1

15.1.3 Applicable Product Matrix. 15-2

15.1.4 Configuration Procedure. 15-2

15.1.5 Complete Configuration. 15-2

15.1.6 Precautions. 15-3

15.2 Configuring RIP. 15-3

15.2.1 Network Diagram.. 15-4

15.2.2 Networking and Configuration Requirements. 15-4

15.2.3 Applicable Product Matrix. 15-4

15.2.4 Configuration Procedure. 15-4

15.2.5 Complete Configuration. 15-5

15.2.6 Precautions. 15-7

15.3 Configuring OSPF. 15-7

15.3.1 Network Diagram.. 15-8

15.3.2 Networking and Configuration Requirements. 15-8

15.3.3 Applicable Product Matrix. 15-8

15.3.4 Configuration Procedure. 15-8

15.3.5 Complete Configuration. 15-9

15.3.6 Precautions. 15-12

15.4 Configuring OSPF DR Election. 15-12

15.4.1 Network Diagram.. 15-13

15.4.2 Networking and Configuration Requirements. 15-13

15.4.3 Applicable Product Matrix. 15-13

15.4.4 Configuration Procedure. 15-13

15.4.5 Complete Configuration. 15-15

15.4.6 Precautions. 15-16

15.5 Configuring a (Totally) Stub Area. 15-16

15.5.1 Network Diagram.. 15-17

15.5.2 Networking and Configuration Requirements. 15-17

15.5.3 Applicable Product Matrix. 15-18

15.5.4 Configuration Procedure. 15-18

15.5.5 Complete Configuration. 15-20

15.5.6 Precautions. 15-23

15.6 Configuring a (Totally) NSSA Area. 15-24

15.6.1 Network Diagram.. 15-24

15.6.2 Networking and Configuration Requirements. 15-24

15.6.3 Applicable Product Matrix. 15-24

15.6.4 Configuration Procedure. 15-24

15.6.5 Complete Configuration. 15-28

15.6.6 Precautions. 15-30

15.7 Configuring OSPF Route Summarization. 15-31

15.7.1 Network Diagram.. 15-32

15.7.2 Networking and Configuration Requirements. 15-32

15.7.3 Applicable Product Matrix. 15-32

15.7.4 Configuration Procedure. 15-32

15.7.5 Complete Configuration. 15-35

15.7.6 Precautions. 15-42

15.8 Configuring OSPF Virtual Link. 15-42

15.8.1 Network Diagram.. 15-43

15.8.2 Networking and Configuration Requirements. 15-43

15.8.3 Applicable Product Matrix. 15-43

15.8.4 Configuration Procedure. 15-43

15.8.5 Complete Configuration. 15-44

15.8.6 Precautions. 15-45

15.9 Configuring Routing Policies. 15-46

15.9.1 Network Diagram.. 15-46

15.9.2 Networking and Configuration Requirements. 15-46

15.9.3 Applicable Product Matrix. 15-46

15.9.4 Configuration Procedure. 15-46

15.9.5 Complete Configuration. 15-49

15.9.6 Precautions. 15-51

Chapter 16 Multicast Configuration Guide. 16-1

16.1 Configuring IGMP Snooping. 16-1

16.1.1 Network Diagram.. 16-1

16.1.2 Networking and Configuration Requirements. 16-1

16.1.3 Application Product Matrix. 16-2

16.1.4 Configuration Procedure. 16-2

16.1.5 Complete Configuration. 16-3

16.1.6 Precautions. 16-4

16.2 Configuring IGMP Snooping Only. 16-4

16.2.1 Network Diagram.. 16-4

16.2.2 Networking and Configuration Requirements. 16-4

16.2.3 Application Product Matrix. 16-5

16.2.4 Configuration Procedure. 16-5

16.2.5 Complete Configuration. 16-8

16.3 Configuring Multicast VLAN. 16-10

16.3.1 Network Diagram.. 16-10

16.3.2 Networking and Configuration Requirements. 16-10

16.3.3 Application Product Matrix. 16-11

16.3.4 Configuration Procedure. 16-11

16.3.5 Complete Configuration. 16-13

16.3.6 Precautions. 16-14

16.4 Configuring PIM-SM plus IGMP plus IGMP Snooping. 16-14

16.4.1 Network Diagram.. 16-15

16.4.2 Networking and Configuration Requirements. 16-16

16.4.3 Application Product Matrix. 16-16

16.4.4 Configuration Procedure. 16-16

16.4.5 Complete Configuration. 16-22

16.4.6 Precautions. 16-25

16.5 Configuring PIM-DM plus IGMP. 16-25

16.5.1 Network Diagram.. 16-26

16.5.2 Networking and Configuration Requirements. 16-26

16.5.3 Application Product Matrix. 16-27

16.5.4 Configuration Procedure. 16-27

16.5.5 Complete Configuration. 16-29

16.5.6 Precautions. 16-30

16.6 Configuring Anycast RP Application. 16-31

16.6.1 Network Diagram.. 16-31

16.6.2 Networking and Configuration Requirements. 16-31

16.6.3 Application Product Matrix. 16-32

16.6.4 Configuration Procedure. 16-32

16.6.5 Complete Configuration. 16-35

16.6.6 Precautions. 16-37

Chapter 17 802.1x Configuration Guide. 17-1

17.1 Configuring 802.1x Access Control 17-1

17.1.1 Network Diagram.. 17-1

17.1.2 Networking and Configuration Requirements. 17-1

17.1.3 Applicable Product Matrix. 17-2

17.1.4 Configuration Procedure. 17-2

17.1.5 Complete Configuration. 17-4

17.1.6 Precautions. 17-4

Chapter 18 AAA Configuration Guide. 18-1

18.1 Configuring RADIUS Authentication for Telnet Users. 18-1

18.1.1 Network Diagram.. 18-1

18.1.2 Networking and Configuration Requirements. 18-1

18.1.3 Applicable Product Matrix. 18-2

18.1.4 Configuration Procedure. 18-2

18.1.5 Complete Configuration. 18-3

18.1.6 Precautions. 18-3

18.2 Configuring Dynamic VLAN Assignment with RADIUS Authentication. 18-3

18.2.1 Network Diagram.. 18-4

18.2.2 Networking and Configuration Requirements. 18-4

18.2.3 Applicable Product Matrix. 18-4

18.2.4 Configuration Procedure. 18-4

18.2.5 Complete Configuration. 18-5

18.2.6 Precautions. 18-6

18.3 Configuring Local Authentication for Telnet Users. 18-6

18.3.1 Network Diagram.. 18-6

18.3.2 Networking and Configuration Requirements. 18-6

18.3.3 Applicable Product Matrix. 18-7

18.3.4 Configuration Procedure. 18-7

18.3.5 Complete Configuration. 18-7

18.3.6 Precautions. 18-8

18.4 Configuring HWTACACS Authentication for Telnet Users. 18-8

18.4.1 Network Diagram.. 18-8

18.4.2 Networking and Configuration Requirements. 18-8

18.4.3 Applicable Product Matrix. 18-9

18.4.4 Configuration Procedure. 18-9

18.4.5 Complete Configuration. 18-9

18.4.6 Precautions. 18-10

18.5 Configuring EAD.. 18-10

18.5.1 Network Diagram.. 18-10

18.5.2 Networking and Configuration Requirements. 18-10

18.5.3 Applicable Product Matrix. 18-11

18.5.4 Configuration Procedure. 18-11

18.5.5 Complete Configuration. 18-11

18.5.6 Precautions. 18-12

Chapter 19 MAC Authentication Configuration Guide. 19-1

19.1 Configuring MAC Authentication. 19-1

19.1.1 Network Diagram.. 19-1

19.1.2 Networking and Configuration Requirements. 19-1

19.1.3 Applicable Product Matrix. 19-2

19.1.4 Configuration Procedure. 19-2

19.1.5 Complete Configuration. 19-3

19.1.6 Precautions. 19-3

Chapter 20 VRRP Configuration Guide. 20-1

20.1 Single VRRP Group Configuration. 20-1

20.1.1 Network Diagram.. 20-1

20.1.2 Networking and Configuration Requirements. 20-1

20.1.3 Applicable Product Matrix. 20-2

20.1.4 Configuration Procedure. 20-2

20.1.5 Complete Configuration. 20-3

20.1.6 Precautions. 20-4

20.2 Multiple VRRP Groups Configuration. 20-4

20.2.1 Network Diagram.. 20-5

20.2.2 Networking and Configuration Requirements. 20-5<