Sunteți pe pagina 1din 5

S1720, S2700, S3700, S5700, S6700, S7700, and S9700

Series Switches
Common Operation Guide Contents

Contents

About This Document.....................................................................................................................ii


1 Common System Operations...................................................................................................... 1
1.1 Handling Loss of the Password for Console Port Login................................................................................................ 1
1.2 Handling Loss of the Password for Telnet Login........................................................................................................... 3
1.3 Handling Loss of the Password for Web Login..............................................................................................................4
1.4 Handling BootROM Password Loss...............................................................................................................................4
1.5 Deleting the Device Configuration.................................................................................................................................5
1.6 Configuring a Local Telnet User.................................................................................................................................... 5
1.7 Setting a User Level....................................................................................................................................................... 6
1.8 Setting Screen Display....................................................................................................................................................6
1.9 Using Basic ACL Rules to Control User Login............................................................................................................. 7
1.10 Backing Up the Configuration File.............................................................................................................................. 7
1.11 Restoring the Configuration File.................................................................................................................................. 8
1.12 Logging In to a Device Through STelnet................................................................................................................... 10

2 Common Stack Operations........................................................................................................12


2.1 Configuring Stack Ports................................................................................................................................................12
2.2 Changing a Stack Member Port....................................................................................................................................13
2.3 Deleting a Stack Member Port......................................................................................................................................13
2.4 Displaying Stack Configuration................................................................................................................................... 14
2.5 Enabling and Disabling Stacking................................................................................................................................. 15
2.6 Clearing Stack Configuration....................................................................................................................................... 16

3 Common Device Status Query Operations............................................................................ 18


3.1 Displaying the Device Serial Number.......................................................................................................................... 18
3.2 Displaying Patch Information of the Device................................................................................................................ 18
3.3 Displaying Version Information and Running Time of the Device.............................................................................. 19
3.4 Displaying the Chassis Type of a Device..................................................................................................................... 20

4 Common Hardware Management Operations.......................................................................21


4.1 Active/Standby Switchover.......................................................................................................................................... 21
4.2 Setting Temperature Alarm Thresholds........................................................................................................................21
4.3 Setting Temperature Thresholds for Adjusting the Fan Speed.....................................................................................22

5 Common Mirroring Operations................................................................................................23

Issue 17 (2018-08-17) Copyright © Huawei Technologies Co., Ltd. v


S1720, S2700, S3700, S5700, S6700, S7700, and S9700
Series Switches
Common Operation Guide Contents

5.1 Configuring an Observing Port.....................................................................................................................................23


5.2 Configuring Port Mirroring.......................................................................................................................................... 24
5.3 Configuring Traffic Mirroring...................................................................................................................................... 25
5.4 Deleting the Mirroring Configuration.......................................................................................................................... 26

6 Common MAC Address Operations........................................................................................28


6.1 Displaying All MAC Address Entries.......................................................................................................................... 28
6.2 Displaying MAC Address Entries Learned by an Interface......................................................................................... 29
6.3 Displaying MAC Address Entries Learned in a VLAN............................................................................................... 29
6.4 Displaying the System MAC Address..........................................................................................................................29
6.5 Displaying the MAC Address of an Interface.............................................................................................................. 30
6.6 Displaying the MAC Address of a VLANIF Interface.................................................................................................30
6.7 Obtaining the MAC Address of a Device Based on the IP Address............................................................................ 30
6.8 Configuring a Static MAC Address..............................................................................................................................31
6.9 Configuring a Blackhole MAC Address...................................................................................................................... 31
6.10 Displaying and Setting the Aging Time of MAC Addresses......................................................................................31
6.11 Enabling MAC Address Triggered ARP Entry Update..............................................................................................32
6.12 Configuring Port Security...........................................................................................................................................32

7 Common Ethernet Interface Operations................................................................................. 33


7.1 Configuring a Port Group............................................................................................................................................. 33
7.2 Configuring Port Isolation............................................................................................................................................ 34
7.3 Configuring the Working Mode of a Combo Interface................................................................................................ 35
7.4 Configuring the Interface Rate..................................................................................................................................... 35
7.5 Configuring the Duplex Mode......................................................................................................................................36
7.6 Switching an Interface to Layer 3 Mode...................................................................................................................... 36
7.7 One-Click Configuration Deletion on an Interface...................................................................................................... 37

8 Common Link Aggregation Operations................................................................................. 38


8.1 Adding Member Interfaces to an Eth-Trunk in a Batch............................................................................................... 38
8.2 Deleting a Specified Member Interface from an Eth-Trunk.........................................................................................38
8.3 Deleting an Eth-Trunk.................................................................................................................................................. 39
8.4 Displaying the Eth-Trunk Configuration......................................................................................................................39
8.5 Displaying Information About Eth-Trunk Member Interfaces.....................................................................................40
8.6 Displaying the Numbers of Eth-Trunks and Member Interfaces Supported by the Device......................................... 40

9 Common VLAN Operations......................................................................................................42


9.1 Adding an Interface to a VLAN................................................................................................................................... 42
9.2 Creating VLANs in a Batch..........................................................................................................................................43
9.3 Adding Interfaces to a VLAN in a Batch..................................................................................................................... 43
9.4 Restoring the Default VLAN Configuration of an Interface........................................................................................ 44
9.5 Deleting a VLAN or VLANs in a Batch...................................................................................................................... 44
9.6 Changing the Link Type of an Interface....................................................................................................................... 45
9.7 Connecting an Access Interface or a Trunk Interface to a User Host...........................................................................46
9.8 Connecting a Hybrid Interface to a User Host..............................................................................................................47

Issue 17 (2018-08-17) Copyright © Huawei Technologies Co., Ltd. vi


S1720, S2700, S3700, S5700, S6700, S7700, and S9700
Series Switches
Common Operation Guide Contents

10 Common VLAN Mapping Operations.................................................................................. 48


10.1 Configuring 1 to 1 VLAN Mapping........................................................................................................................... 48
10.2 Configuring N to 1 VLAN Mapping.......................................................................................................................... 48
10.3 Configuring 2 to 1 VLAN Mapping........................................................................................................................... 49
10.4 Configuring 2 to 2 VLAN Mapping........................................................................................................................... 49

11 Common QinQ Operations..................................................................................................... 50


11.1 Configuring Basic QinQ............................................................................................................................................. 50
11.2 Configuring Selective QinQ....................................................................................................................................... 51
11.3 Configuring the Device to Add Double Tags to Untagged Packets........................................................................... 52
11.4 Deleting the Selective QinQ Configuration................................................................................................................52

12 Common STP/RSTP Operations.............................................................................................54


12.1 Enabling STP/RSTP................................................................................................................................................... 54
12.2 Disabling STP/RSTP.................................................................................................................................................. 55
12.3 Configuring the Root Bridge and Secondary Root Bridge.........................................................................................55
12.4 Configuring Root Protection...................................................................................................................................... 55
12.5 Configuring an Edge Port........................................................................................................................................... 55
12.6 Changing the STP/RSTP Cost.................................................................................................................................... 55
12.7 Displaying the STP/RSTP Status............................................................................................................................... 56
12.8 Displaying the Root Bridge........................................................................................................................................ 56

13 Common DHCP Operations....................................................................................................57


13.1 Configuring IP Addresses Not Dynamically Assigned.............................................................................................. 57
13.2 Modifying the Lease................................................................................................................................................... 58
13.3 Assigning Fixed IP Addresses to Clients................................................................................................................... 58
13.4 Withdrawing the Fixed IP Addresses Assigned to Clients......................................................................................... 59
13.5 Checking IP Addresses Used......................................................................................................................................59
13.6 Clearing Conflicting Addresses..................................................................................................................................60
13.7 Increasing the Address Pool Range............................................................................................................................ 60
13.8 Decreasing the Address Pool Range...........................................................................................................................61
13.9 Preventing a Device from Obtaining an IP Address from a Pseudo DHCP Server................................................... 63
13.10 Disabling the DHCP Service.................................................................................................................................... 63

14 Common ARP Operations....................................................................................................... 64


14.1 Checking ARP Entries................................................................................................................................................64
14.2 Updating ARP Entries................................................................................................................................................ 66
14.3 Setting the Aging Time of ARP Entries..................................................................................................................... 66
14.4 Configuring Static ARP Entries................................................................................................................................. 67
14.5 Configuring ARP Proxy............................................................................................................................................. 69
14.6 Shielding ARP Miss Alarms Based on Source IP Addresses.....................................................................................70
14.7 Configuring Dynamic ARP Probing...........................................................................................................................71
14.8 Configuring ARP Gateway Anti-Collision.................................................................................................................72

15 Common ACL Operations....................................................................................................... 73

Issue 17 (2018-08-17) Copyright © Huawei Technologies Co., Ltd. vii


S1720, S2700, S3700, S5700, S6700, S7700, and S9700
Series Switches
Common Operation Guide Contents

15.1 Deleting a Time Range............................................................................................................................................... 73


15.2 Deleting ACL and ACL6............................................................................................................................................74
15.3 Configuring a Time-Based ACL Rule........................................................................................................................ 74
15.4 Configuring a Packet Filtering Rule Based on the Source IP Address (Host Address)............................................. 75
15.5 Configuring a Packet Filtering Rule Based on the Source IP Address Segment....................................................... 75
15.6 Configuring a Packet Filtering Rule Based on the IP Fragment Information and Source IP Address Segment........76
15.7 Configuring a Packet Filtering Rule for ICMP Protocol Packets Based on Source IP Address (Host Address) and
Destination IP Address Segment........................................................................................................................................ 76
15.8 Configuring a Packet Filtering Rule for TCP Protocol Packets Based on TCP Destination Port Number, Source IP
Address (Host Address), and Destination IP Address Segment......................................................................................... 77
15.9 Configuring a Packet Filtering Rule for TCP Packets Based on the Source IP Address Segment and TCP Flags....77
15.10 Configuring Packet Filtering Rules Based on the Source MAC Address, Destination MAC Address, and Layer 2
Protocol Types.................................................................................................................................................................... 79
15.11 Configuring a Packet Filtering Rule Based on the Source MAC Address Segment and Inner VLAN IDs............. 79
15.12 Configuring Packet Filtering Rules Based on Layer 2 Headers, Offsets, Character String Masks, and User-
Defined Character Strings.................................................................................................................................................. 80

16 Common QoS Operations........................................................................................................83


16.1 Configuring Interface-based Rate Limiting on Modular Switches.............................................................................83
16.2 Configuring Interface-based Rate Limiting on Fixed Switches................................................................................. 84
16.3 Deleting the Interface-based Rate Limiting Configuration on Modular Switches..................................................... 85
16.4 Deleting the Interface-based Rate Limiting Configuration on Fixed Switches..........................................................85
16.5 Using a Traffic Policy to Limit the Rate of Packets................................................................................................... 85
16.6 Using a Traffic Policy to Filter Packets......................................................................................................................86
16.7 Configuring Traffic Statistics in a Traffic Policy....................................................................................................... 87

17 Common IPSG Operations...................................................................................................... 90


17.1 Binding IP Addresses to VLANs Statically............................................................................................................... 90
17.2 Binding IP Addresses to MAC Addresses Statically..................................................................................................90
17.3 Binding IP Addresses, MAC Addresses, and Interfaces Statically............................................................................ 91
17.4 Configuring IPSG Based on DHCP Snooping Dynamic Binding Table....................................................................91
17.5 Deleting Static Binding Entries.................................................................................................................................. 92

18 Common AAA Operations...................................................................................................... 94


18.1 Configuring Authentication for Telnet Login Users (AAA Local Authentication)................................................... 94
18.2 Setting the User Level................................................................................................................................................ 95
18.3 Configuring the Global Default Domain.................................................................................................................... 95
18.4 Configuring Real-Time Accounting........................................................................................................................... 96
18.5 Deleting Local Users.................................................................................................................................................. 96
18.6 Configuring the Timeout Period for User Connection............................................................................................... 97

19 Common NAC Operations...................................................................................................... 98


19.1 Configuring MAC Address Bypass Authentication................................................................................................... 98
19.2 Configuring the Guest VLAN Function..................................................................................................................... 99
19.3 Configuring Layer 2 Transparent Transmission of 802.1X Authentication Packets................................................100
19.4 Limiting the Number of MAC Addresses That Can Be Learned Through an 802.1X Authentication Interface.....101

Issue 17 (2018-08-17) Copyright © Huawei Technologies Co., Ltd. viii


S1720, S2700, S3700, S5700, S6700, S7700, and S9700
Series Switches
Common Operation Guide Contents

20 Common VRRP Operations.................................................................................................. 102


20.1 Enabling the Master to Respond to Ping Packets Sent to a Virtual IP Address....................................................... 102
20.2 Configuring Association Between VRRP and the Interface Status..........................................................................102
20.3 Configuring Association Between VRRP and BFD.................................................................................................103
20.4 Configuring Association Between VRRP and NQA................................................................................................ 103
20.5 Configuring Association Between VRRP and Routing............................................................................................103
20.6 Configuring the VRRP Version Number.................................................................................................................. 104
20.7 Configuring a Preemption Mode.............................................................................................................................. 104
20.8 Configuring the Mode in Which the Master Sends VRRP Advertisement Packets in a Super-VLAN................... 104
20.9 Enabling MAC Address Triggered ARP Entry Update............................................................................................104

21 Common SNMP Operations..................................................................................................105


21.1 Restricting Management Rights of the NMS........................................................................................................... 105
21.2 Setting the SNMP Version and Community Name.................................................................................................. 106
21.3 Configuring User Group and User Name................................................................................................................. 107
21.4 Configuring the SNMP Trap Function..................................................................................................................... 108
21.5 Deleting Community Name......................................................................................................................................108
21.6 Checking Whether Traps of a Module Are Enabled.................................................................................................109
21.7 Enabling or Disabling the Trap Function for a Specified Module............................................................................110

22 Common OSPF Operations................................................................................................... 111

Issue 17 (2018-08-17) Copyright © Huawei Technologies Co., Ltd. ix

S-ar putea să vă placă și