Zyxel XGS-4728F [5/298] Document conventions
![Zyxel XGS-4728F [5/298] Document conventions](/views2/1169513/page5/bg5.png)
Document Conventions
Ethernet Switch CLI Reference Guide
5
Document Conventions
Warnings and Notes
These are how warnings and notes are shown in this CLI Reference Guide.
1 Warnings tell you about things that could harm you or your device. See your
User’s Guide for product specific warnings.
" Notes tell you other important information (for example, other things you may
need to configure or helpful tips) or recommendations.
Syntax Conventions
This manual follows these general conventions:
• ZyXEL’s switches (such as the ES-2024A, ES-2108, GS-3012, and so on) may be referred
to as the “Switch”, the “device”, the “system” or the “product” in this Reference Guide.
• Units of measurement may denote the “metric” value or the “scientific” value. For
example, “k” for kilo may denote “1000” or “1024”, “M” for mega may denote “1000000”
or “1048576” and so on.
Command descriptions follow these conventions:
• Commands are in
courier new font.
• Required input values are in angle brackets <>; for example,
ping <ip> means that you
must specify an IP address for this command.
• Optional fields are in square brackets []; for instance show logins [name], the name
field is optional.
The following is an example of a required field within an optional field: snmp-server
[contact <system contact>], the contact field is optional. However, if you
use contact, then you must provide the system contact information.
• Lists (such as <port-list>) consist of one or more elements separated by commas.
Each element might be a single value (1, 2, 3, ...) or a range of values (1-2, 3-5, ...)
separated by a dash.
•The | (bar) symbol means “or”.
• italic terms represent user-defined input values; for example, in snmp-server
[contact <system contact>], system contact can be replaced by the
administrator’s name.
• A key stroke is denoted by square brackets and uppercase text, for example, [ENTER]
means the “Enter” or “Return” key on your keyboard.
Содержание
- Cli reference guide 1
- Default login 1
- Ethernet switch 1
- Www zyxel com 1
- About this cli reference guide 3
- This guide is intended as a command reference for a series of products therefore many commands in this guide may not be available in your product see your user s guide for a list of supported features and details about feature implementation 3
- Document conventions 5
- Notes tell you other important information for example other things you may need to configure or helpful tips or recommendations 5
- Warnings tell you about things that could harm you or your device see your user s guide for product specific warnings 5
- Document conventions 7
- Ethernet switch cli reference guide 7
- Figures in this guide may use the following generic icons the switch icon is not an exact representation of your device 7
- Icons used in figures 7
- Contents overview 9
- Introduction 3 9
- Reference a g 9 9
- Reference h m 7 9
- Reference n s 67 10
- Reference t z 29 10
- Appendices and index of commands 73 11
- Introduction 13
- Accessing the cli 15
- Console port 15
- Hapter 15
- How to access and use the cli 15
- Telnet 15
- Logging in 16
- The switch automatically logs you out of the management interface after five minutes of inactivity if this happens to you simply log back in again 16
- Using shortcuts and getting help 16
- Logging out 17
- Saving your configuration 17
- You should save your changes after each cli session all unsaved configuration changes are lost once you restart the switch 17
- Hapter 19
- Privilege level and command mode 19
- Privilege levels 19
- Privilege levels for commands 19
- Privilege levels for login accounts 19
- Privilege levels for sessions 20
- Chapter 2 privilege level and command mode 21
- Command modes 21
- Command modes for privilege levels 0 12 21
- Command modes for privilege levels 13 14 21
- Consists of 1 32 alphanumeric characters for example the following command sets the password for privilege level 13 to pswd13 see chapter 77 on page 263 for more information about this command 21
- Disable command 21
- Ethernet switch cli reference guide 21
- If the session s privilege level is 0 12 the user and all of the allowed commands are in user mode users do not have to change modes to run any allowed commands 21
- If the session s privilege level is 13 14 the allowed commands are in one of several modes 21
- Show privilege command 21
- Table 7 command modes for privilege levels 13 14 and the types of commands in each one 21
- The cli is divided into several modes if a user has enough privilege to run a particular command the user has to run the command in the correct mode the modes that are available depend on the session s privilege level 21
- This command displays the session s current privilege level this command is available in user mode or enable mode 21
- This command reduces the session s privilege level to 0 it also changes the session to user mode this command is available in enable mode 21
- Chapter 2 privilege level and command mode 22
- Each command is usually in one and only one mode if a user wants to run a particular command the user has to change to the appropriate mode the command modes are organized like a tree and users start in enable mode the following table explains how to change from one mode to another 22
- Ethernet switch cli reference guide 22
- Listing available commands 22
- Log into the cli this takes you to the enable mode 22
- Table 7 command modes for privilege levels 13 14 and the types of commands in each one 22
- Table 8 changing between command modes for privilege levels 13 14 22
- Use the help command to view the executable commands on the switch you must have the highest privilege level in order to view all the commands follow these steps to create a list of supported commands 22
- Changing the administrator password 25
- Changing the enable password 25
- Hapter 25
- Initial setup 25
- Afterwards you have to use the new ip address to access the switch 26
- Changing the management ip address 26
- Changing the out of band management ip address 26
- Prohibiting concurrent logins 26
- Chapter 3 initial setup 27
- Ethernet switch cli reference guide 27
- Looking at basic system information 27
- Looking at the operating configuration 27
- See chapter 77 on page 263 for more information about these attributes 27
- This is illustrated in the following example 27
- Use this command to look at general system information about the switch 27
- Use this command to look at the current operating configuration 27
- Reference a g 29
- Aaa commands 31
- Command summary 31
- Hapter 31
- Chapter 4 aaa commands 32
- Ethernet switch cli reference guide 32
- Table 10 command summary aaa accounting continued 32
- Table 11 aaa authorization command summary 32
- Arp commands 33
- Command examples 33
- Command summary 33
- Hapter 33
- Arp inspection commands 35
- Command summary 35
- Hapter 35
- Chapter 6 arp inspection commands 36
- Ethernet switch cli reference guide 36
- Table 16 command summary arp inspection log continued 36
- Table 17 command summary interface arp inspection 36
- Table 18 command summary arp inspection vlan 36
- Chapter 6 arp inspection commands 37
- Command examples 37
- Ethernet switch cli reference guide 37
- Table 19 show arp inspection filter 37
- The following table describes the labels in this screen 37
- This example looks at log messages that were generated by arp packets and that have not been sent to the syslog server yet 37
- This example looks at the current list of mac address filters that were created because the switch identified an unauthorized arp packet when the switch identifies an unauthorized arp packet it automatically creates a mac address filter to block traffic from the source mac address and source vlan id of the unauthorized arp packet 37
- Chapter 6 arp inspection commands 38
- Ethernet switch cli reference guide 38
- Table 20 show arp inspection log 38
- Table 21 show arp inspection interface port channel 38
- The following table describes the labels in this screen 38
- This example displays whether ports are trusted or untrusted ports for arp inspection 38
- Chapter 6 arp inspection commands 39
- Ethernet switch cli reference guide 39
- Table 21 show arp inspection interface port channel continued 39
- Bandwidth commands 41
- Command summary 41
- Hapter 41
- Chapter 7 bandwidth commands 42
- Command examples ingress 42
- Ethernet switch cli reference guide 42
- Note the sum of cirs cannot be greater than or equal to the uplink bandwidth 42
- Table 23 command summary bandwidth control bandwidth limit 42
- The following section lists the commands for this feature 42
- This example sets the outgoing traffic bandwidth limit to 5000 kbps and the incoming traffic bandwidth limit to 4000 kbps for port 1 42
- Chapter 7 bandwidth commands 43
- Command examples cir pir 43
- Ethernet switch cli reference guide 43
- This example deactivates the outgoing bandwidth limit on port 1 43
- This example displays the bandwidth limits configured on port 1 43
- This example sets the guaranteed traffic bandwidth limit on port 1 to 4000 kbps and the maximum traffic bandwidth limit to 5000 kbps for port 1 43
- Broadcast storm commands 45
- Command summary 45
- Hapter 45
- 128 broadcast packets per second 256 multicast packets per second 46
- Chapter 8 broadcast storm commands 46
- Command example bmstorm limit 46
- Command example broadcast limit multicast limit dlf limit 46
- Ethernet switch cli reference guide 46
- Table 25 command summary storm control bmstorm limit and bstorm control continued 46
- This example enables broadcast storm control on port 1 and limits the combined maximum rate of broadcast multicast and dlf packets to 128 kbps 46
- This example enables broadcast storm control on the switch and configures port 1 to accept up to 46
- 64 dlf packets per second 47
- Chapter 8 broadcast storm commands 47
- Ethernet switch cli reference guide 47
- Cfm commands 49
- Cfm overview 49
- Hapter 49
- How cfm works 49
- Cfm term definition 50
- Chapter 9 cfm commands 51
- Ethernet switch cli reference guide 51
- Table 26 cfm term definitions 51
- Table 27 cfm command user input values 51
- This section lists the common term definition appears in this chapter refer to user s guide for more detailed information about cfm 51
- User input values 51
- Chapter 9 cfm commands 52
- Command summary 52
- Ethernet switch cli reference guide 52
- Table 28 cfm command summary 52
- The following section lists the commands for this feature 52
- Chapter 9 cfm commands 53
- Ethernet switch cli reference guide 53
- Note if you set the format to vid the vlan id should be the same as the vlan id you use to identify the ma 53
- Table 28 cfm command summary continued 53
- Chapter 9 cfm commands 54
- Ethernet switch cli reference guide 54
- Table 28 cfm command summary continued 54
- Command examples 55
- Remember to save new settings using the write memory command 55
- Chapter 9 cfm commands 56
- Ethernet switch cli reference guide 56
- Table 29 show cfm action mipccmdb 56
- The following table describes the labels in this screen 56
- This example displays all neighbors mep port information in the mip ccm databases 56
- This example lists all cfm domains in this example only one md md1 is configured the ma3 with the associated mep port 1 is under this md1 56
- This example starts a loopback test and displays the test result on the console 56
- Chapter 9 cfm commands 57
- Ethernet switch cli reference guide 57
- This example assigns a virtual mac address to port 3 and displays the mac addresses of the ports 2 4 the assigned virtual mac address should be unique in both the switch and the network to which it belongs 57
- This example sets the switch to carry its host name and management ip address 192 68 00 in cfm packets 57
- This example shows remote mep database information the remote mep has been configured to carry its host name and a specified ip address in cfm packets 57
- Classifier commands 59
- Command summary 59
- Hapter 59
- Chapter 10 classifier commands 60
- Command examples 60
- Ethernet switch cli reference guide 60
- In an ipv4 packet header the protocol field identifies the next level protocol the following table shows some common ipv4 protocol types and the corresponding protocol number refer to http www iana org assignments protocol numbers for a complete list 60
- Table 31 common ethernet types and protocol number 60
- Table 32 common ipv4protocol types and protocol numbers 60
- The following table shows some other common ethernet types and the corresponding protocol number 60
- This example creates a classifier for packets with a vlan id of 3 the resulting traffic flow is identified by the name vlan3 the policy command can use the name vlan3 to apply policy rules to this traffic flow see the policy example in chapter 48 on page 181 60
- Cluster commands 63
- Command summary 63
- Hapter 63
- Chapter 11 cluster commands 64
- Command examples 64
- Ethernet switch cli reference guide 64
- Table 34 show cluster member 64
- The following table describes the labels in this screen 64
- This example creates the cluster cmanage in vlan 1 then it looks at the current list of candidates for membership in this cluster and adds two switches to cluster 64
- Chapter 11 cluster commands 65
- Ethernet switch cli reference guide 65
- Table 35 show cluster 65
- The following table describes the labels in this screen 65
- This example logs in to the cli of member 00 13 49 00 00 01 looks at the current firmware version on the member switch logs out of the member s cli and returns to the cli of the manager 65
- This example looks at the current status of the switch s cluster 65
- Command summary 67
- Date and time commands 67
- Hapter 67
- Chapter 12 date and time commands 68
- Command examples 68
- Ethernet switch cli reference guide 68
- Table 37 time command summary continued 68
- Table 38 timesync command summary 68
- This example sets the current date current time time zone and daylight savings time 68
- Chapter 12 date and time commands 69
- Ethernet switch cli reference guide 69
- Table 39 show timesync 69
- The following table describes the labels in this screen 69
- This example looks at the current time server settings 69
- Command summary 71
- Dhcp commands 71
- Hapter 71
- Chapter 13 dhcp commands 72
- Ethernet switch cli reference guide 72
- Note you have to configure the vlan before you configure a dhcp relay for the vlan you have to disable dhcp smart relay before you can enable dhcp relay 72
- Table 41 dhcp relay command summary 72
- Table 42 dhcp relay broadcast command summary 72
- Table 43 dhcp server command summary 72
- Chapter 13 dhcp commands 73
- Command examples 73
- Ethernet switch cli reference guide 73
- Figure 3 example global dhcp relay 73
- In this example the switch relays dhcp requests for the vlan1 and vlan2 domains there is only one dhcp server for dhcp clients in both domains 73
- In this example there are two vlans vids 1 and 2 in a campus network two dhcp servers are installed to serve each vlan the switch forwards dhcp requests from the dormitory rooms vlan 1 to the dhcp server with ip address 192 68 00 dhcp requests from the academic buildings vlan 2 are sent to the other dhcp server with ip address 172 6 0 00 73
- This example shows how to configure the switch for this configuration dhcp relay agent information option 82 is also enabled 73
- Vlan1 vlan2 73
- In this example the switch is a dhcp server for clients on vlan 1 and vlan 2 the dhcp clients in vlan 1 are assigned ip addresses in the range 192 68 00 to 192 68 00 and clients on vlan 2 are assigned ip addresses in the range 172 6 0 to 172 6 30 74
- This example shows how to configure the dhcp server for vlan 1 with the configuration shown in figure 5 on page 74 it also provides the dhcp clients with the ip address of the default gateway and the dns server 74
- This example shows how to configure these dhcp servers the vlans are already configured 74
- Command summary 75
- Dhcp snooping dhcp vlan commands 75
- Hapter 75
- Chapter 14 dhcp snooping dhcp vlan commands 76
- Command examples 76
- Enables dhcp snooping switch sets up an external dhcp snooping database on a network server with ip address 172 6 7 7 76
- Ethernet switch cli reference guide 76
- Table 44 dhcp snooping command summary continued 76
- Table 45 dhcp vlan command summary 76
- The following table describes the dhcp vlan commands 76
- This example 76
- Chapter 14 dhcp snooping dhcp vlan commands 77
- Enables dhcp snooping on vlans 1 2 3 200 and 300 sets the switch to add the slot number port number and vlan id to dhcp requests that it broadcasts to the dhcp vlan sets ports 1 5 as dhcp snooping trusted ports sets the maximum number of dhcp packets that can be received on ports 1 5 to 100 packets per second configures a dhcp vlan with a vlan id 300 displays dhcp snooping configuration details 77
- Ethernet switch cli reference guide 77
- Command summary 79
- Diffserv commands 79
- Hapter 79
- Command summary 81
- Dvmrp commands 81
- Dvmrp overview 81
- Hapter 81
- Chapter 16 dvmrp commands 82
- Command examples 82
- Enables igmp and dvmrp on the switch enables dvmrp on the following routing domains 10 0 0 24 172 6 24 displays dvmrp settings configured on the switch 82
- Ethernet switch cli reference guide 82
- Figure 6 dvmrp network example 82
- In this example the switch is configured to exchange dvmrp information with other dvmrp enabled routers as shown next the switch is a dvmrp router c dvmrp is activated on ip routing domains 10 0 0 24 and 172 6 24 so that it can exchange dvmrp information with routers a and b 82
- Table 47 command summary dvmrp continued 82
- Disabled port recovery overview 83
- Error disable recovery commands 83
- Hapter 83
- User input values 83
- Chapter 17 error disable recovery commands 84
- Command examples 84
- Command summary 84
- Ethernet switch cli reference guide 84
- Table 49 errdisable recovery command summary 84
- The following section lists the commands for this feature 84
- This example enables the disabled port recovery function and the recovery timer for the loopguard feature on the switch if a port is shut down due to the specified reason the switch activates the port 300 seconds the default value later this example also shows the number of the disabled port s and the time left before the port s becomes active 84
- Command summary 85
- Ethernet oam commands 85
- Hapter 85
- Ieee 802 ah link layer ethernet oam implementation 85
- Chapter 18 ethernet oam commands 86
- Command examples 86
- Ethernet switch cli reference guide 86
- Table 50 ethernet oam command summary continued 86
- This example enables ethernet oam on port 7 and sets the mode to active 86
- Chapter 18 ethernet oam commands 87
- Ethernet switch cli reference guide 87
- Table 51 show ethernet oam discovery 87
- The following table describes the labels in this screen 87
- This example performs ethernet oam discovery from port 7 87
- Chapter 18 ethernet oam commands 88
- Ethernet switch cli reference guide 88
- Table 51 show ethernet oam discovery continued 88
- This example looks at the number of oam packets transferred on port 1 88
- Chapter 18 ethernet oam commands 89
- Ethernet switch cli reference guide 89
- Table 52 show ethernet oam statistics 89
- Table 53 show ethernet oam summary 89
- The following table describes the labels in this screen 89
- This example looks at the configuration of ports on which oam is enabled 89
- Chapter 18 ethernet oam commands 90
- Ethernet switch cli reference guide 90
- Table 53 show ethernet oam summary continued 90
- Command summary 91
- External alarm commands 91
- Hapter 91
- Chapter 19 external alarm commands 92
- Command examples 92
- Ethernet switch cli reference guide 92
- This example configures and shows the name and status of the external alarm s 92
- Command summary 93
- Garp commands 93
- Garp overview 93
- Hapter 93
- Chapter 20 garp commands 94
- Command examples 94
- Ethernet switch cli reference guide 94
- In this example the administrator looks at the switch s garp timer settings and decides to change them the administrator sets the join timer to 300 milliseconds the leave timer to 800 milliseconds and the leave all timer to 11000 milliseconds 94
- Command examples 95
- Command summary 95
- Gvrp commands 95
- Hapter 95
- Reference h m 97
- Command summary 99
- Hapter 99
- Https server commands 99
- Chapter 22 https server commands 100
- Command examples 100
- Ethernet switch cli reference guide 100
- Table 58 show https 100
- The following table describes the labels in this screen 100
- This example shows the current https settings statistics and sessions 100
- Chapter 22 https server commands 101
- Ethernet switch cli reference guide 101
- Table 58 show https continued 101
- Table 59 show https session 101
- The following table describes the labels in this screen 101
- This example shows the current https sessions 101
- Chapter 22 https server commands 102
- Ethernet switch cli reference guide 102
- Table 59 show https session continued 102
- Command examples 103
- Command summary 103
- Hapter 103
- Ieee 802 x authentication commands 103
- Command summary 105
- Hapter 105
- Igmp and multicasting commands 105
- Igmp overview 105
- Chapter 24 igmp and multicasting commands 106
- Command examples 106
- Ethernet switch cli reference guide 106
- Sets the switch to flood unknown multicast frames sets the switch to non querier mode 106
- Table 61 igmp command summary continued 106
- Table 62 ipmc command summary 106
- This example configures igmp on the switch with the following settings 106
- Command summary 109
- Hapter 109
- Igmp snooping commands 109
- Chapter 25 igmp snooping commands 110
- Ethernet switch cli reference guide 110
- Table 64 igmp snooping command summary continued 110
- Chapter 25 igmp snooping commands 111
- Ethernet switch cli reference guide 111
- Table 64 igmp snooping command summary continued 111
- Table 65 igmp snooping vlan command summary 111
- Table 66 interface igmp command summary 111
- Chapter 25 igmp snooping commands 112
- Ethernet switch cli reference guide 112
- Table 66 interface igmp command summary continued 112
- Chapter 25 igmp snooping commands 113
- Command examples 113
- Ethernet switch cli reference guide 113
- Host timeou 113
- Table 66 interface igmp command summary continued 113
- This example enables igmp snooping on the switch sets the 113
- This example limits the number of multicast groups on port 1 to 5 113
- Value to 30 seconds and sets the switch to drop packets from unknown multicast groups 113
- Chapter 25 igmp snooping commands 114
- Ethernet switch cli reference guide 114
- Table 67 show multicast 114
- The following table describes the labels in this screen 114
- This example restricts ports 1 4 to multicast ip addresses 224 55 55 through 225 55 55 55 114
- This example shows the current multicast groups on the switch 114
- This example shows the current multicast vlan on the switch 114
- Command summary 115
- Hapter 115
- Igmp filtering commands 115
- Chapter 26 igmp filtering commands 116
- Command examples 116
- Ethernet switch cli reference guide 116
- This example restricts ports 1 4 to multicast ip addresses 224 55 55 through 225 55 55 55 116
- Command summary 117
- Hapter 117
- Interface commands 117
- Chapter 27 interface commands 118
- Ethernet switch cli reference guide 118
- Table 69 interface command summary continued 118
- Chapter 27 interface commands 119
- Command examples 119
- Ethernet switch cli reference guide 119
- Table 70 show interfaces 119
- The following table describes the labels in this screen 119
- This example looks at the current status of port 1 119
- Chapter 27 interface commands 120
- Ethernet switch cli reference guide 120
- Table 70 show interfaces continued 120
- Chapter 27 interface commands 121
- Ethernet switch cli reference guide 121
- Sets the default port vid to 200 2 sets these ports to accept only tagged frames 121
- Sets the ieee 802 p quality of service priority to four 4 2 sets the name test 3 sets the speed to 100 mbps in half duplex mode 121
- Table 70 show interfaces continued 121
- This example configures ports 1 3 4 and 5 in the following ways 121
- This example configures ports 1 5 in the following ways 121
- Command examples 123
- Command summary 123
- Hapter 123
- Interface route domain mode 123
- Command summary 125
- Hapter 125
- Ip commands 125
- Chapter 29 ip commands 126
- Command examples 126
- Ethernet switch cli reference guide 126
- Table 73 tcp and udp command summary continued 126
- Table 74 show ip tcp 126
- The following table describes the labels in this screen 126
- This example shows the tcp statistics and listener ports see rfc 1213 for more information 126
- Chapter 29 ip commands 127
- Ethernet switch cli reference guide 127
- Table 74 show ip tcp continued 127
- Chapter 29 ip commands 128
- Ethernet switch cli reference guide 128
- Table 74 show ip tcp continued 128
- Table 75 show ip udp 128
- The following table describes the labels in this screen 128
- This example shows the udp statistics and listener ports see rfc 1213 for more information 128
- Command examples 129
- Command summary 129
- Hapter 129
- Ip source binding commands 129
- Chapter 30 ip source binding commands 130
- Ethernet switch cli reference guide 130
- Table 77 show ip source binding continued 130
- Command summary 131
- Hapter 131
- Layer 2 protocol tunnel l2pt commands 131
- Chapter 31 layer 2 protocol tunnel l2pt commands 132
- Command examples 132
- Ethernet switch cli reference guide 132
- Table 78 l2pt command summary continued 132
- This example enables l2pt on the switch and sets the destination mac address for encapsulating layer 2 protocol packets received on an access port 132
- Chapter 31 layer 2 protocol tunnel l2pt commands 133
- Ethernet switch cli reference guide 133
- This example displays l2pt settings and status on port 3 you can also see how many cdp stp vtp lacp pagp and udld packets received on this port are encapsulated decapsulated or dropped 133
- This example enables l2pt for stp cdp and vtp packets on port 3 it also sets l2pt mode to access for this port 133
- This example sets l2pt mode to tunnel for port 4 133
- Hapter 135
- Link layer discovery protocol lldp commands 135
- Lldp overview 135
- Chapter 32 link layer discovery protocol lldp commands 136
- Command summary 136
- Ethernet switch cli reference guide 136
- Table 79 lldp command summary 136
- The following section lists the commands for this feature 136
- Chapter 32 link layer discovery protocol lldp commands 137
- Ethernet switch cli reference guide 137
- Note make sure the lldp packet transmitting interval is shorter than its ttl to have the switch s device information being updated in the neighboring devices before it ages out 137
- Table 79 lldp command summary continued 137
- Chapter 32 link layer discovery protocol lldp commands 138
- Command examples 138
- Ethernet switch cli reference guide 138
- Table 79 lldp command summary continued 138
- This example enables lldp on the switch sets port 2 to send and receive lldp packets and allows the switch to send optional basic management tlvs such as management address port description and system description tlvs on port 2 this example also shows the lldp settings on port 2 and global lldp settings on the switch 138
- Command examples 139
- Command summary 139
- Hapter 139
- Logging commands 139
- Command examples 141
- Command summary 141
- Hapter 141
- Login account commands 141
- Command summary 143
- Hapter 143
- Loopguard commands 143
- Chapter 35 loopguard commands 144
- Command examples 144
- Ethernet switch cli reference guide 144
- Table 83 show loopguard 144
- The following table describes the labels in this screen 144
- This example enables loopguard on ports 1 3 144
- Command summary 145
- Hapter 145
- Mac address commands 145
- Chapter 36 mac address commands 146
- Command examples 146
- Ethernet switch cli reference guide 146
- Table 84 mac mac aging time and mac flush command summary continued 146
- Table 85 show mac address table 146
- The following table describes the labels in this screen 146
- This example shows the current mac address table 146
- Command summary 147
- Hapter 147
- Mac authentication commands 147
- Mac authentication overview 147
- Chapter 37 mac authentication commands 148
- Command examples 148
- Ethernet switch cli reference guide 148
- Table 86 mac authentication command summary continued 148
- This example enables mac authentication on the switch specifies the name prefix clientname and the mac authentication password lech89 next mac authentication is activated on ports 1 5 and configuration details are displayed 148
- Command summary 149
- Hapter 149
- Mac filter commands 149
- Command example 150
- Command example filter source 150
- Command summary 151
- Hapter 151
- Mac forward commands 151
- Command summary 153
- Hapter 153
- Mirror commands 153
- Chapter 40 mirror commands 154
- Command examples 154
- Ethernet switch cli reference guide 154
- Table 90 mirror command summary continued 154
- Table 91 mirror filter command summary 154
- This example enables port mirroring and copies outgoing traffic from ports 1 4 5 and 6 to port 3 154
- Chapter 40 mirror commands 155
- Ethernet switch cli reference guide 155
- This example displays the mirror settings of the switch after you configured in the example above 155
- Command summary 157
- Hapter 157
- Mrstp commands 157
- Mrstp overview 157
- Chapter 41 mrstp commands 158
- Command examples 158
- Enables mrstp on the switch activates tree 1 and sets the bridge priority hello time maximum age and forward values for this rstp configuration activates mrstp for ports 1 5 and sets path cost on these ports to 127 adds ports 1 5 to tree index 1 158
- Ethernet switch cli reference guide 158
- Table 92 command summary mrstp 158
- This example configures mrstp in the following way 158
- Command summary 159
- Hapter 159
- Mstp commands 159
- Chapter 42 mstp commands 160
- Command examples 160
- Ethernet switch cli reference guide 160
- Table 94 mstp instance command summary continued 160
- Table 95 show mstp 160
- The following table describes the labels in this screen 160
- This example shows the current mstp configuration 160
- Chapter 42 mstp commands 161
- Ethernet switch cli reference guide 161
- Table 95 show mstp continued 161
- Table 96 show mstp instance 161
- The following table describes the labels in this screen 161
- This example shows the current cist configuration mstp instance 0 161
- Chapter 42 mstp commands 162
- Ethernet switch cli reference guide 162
- Table 96 show mstp instance continued 162
- This example adds the switch to the mst region mstregionnorth mstregionnorth is on revision number 1 in mstregionnorth vlan 2 is in mst instance 1 and vlan 3 is in mst instance 2 162
- Command examples 163
- Command summary 163
- Hapter 163
- Multiple login commands 163
- Command summary 165
- Hapter 165
- Mvr commands 165
- Command examples 166
- Reference n s 167
- Command summary 169
- Hapter 169
- Ospf commands 169
- Ospf overview 169
- Chapter 45 ospf commands 170
- Ethernet switch cli reference guide 170
- Table 100 ospf command summary continued 170
- Chapter 45 ospf commands 171
- Ethernet switch cli reference guide 171
- Table 100 ospf command summary continued 171
- Chapter 45 ospf commands 172
- Command examples 172
- Ethernet switch cli reference guide 172
- Figure 7 ospf network example 172
- In this example the switch a is an area border router abr in an ospf network 172
- Table 100 ospf command summary continued 172
- This example enables ospf on the switch sets the router id to 172 6 configures an ospf area id as 0 backbone and enables simple authentication 172
- Chapter 45 ospf commands 174
- Ethernet switch cli reference guide 174
- From the example above the third octet of all the four network ip addresses is 00001000 00001001 00001010 000001011 respectively the first 4 digits 000010 are the common part among these ip addresses so 192 68 22 can be used to represent all of the 4 networks the following example shows you how to configure the ospf summary address and then show all redistribution entries 174
- This example shows you how to enable the redistribution for rip protocol and then show all redistribution entries 174
- Command examples 175
- Command summary 175
- Hapter 175
- Password commands 175
- Command summary 177
- Hapter 177
- Poe commands 177
- Chapter 47 poe commands 178
- Command examples 178
- Ethernet switch cli reference guide 178
- This example enables power over ethernet poe on ports 1 4 and enables traps when the power usage reaches 25 178
- This example shows the current status and configuration of power over ethernet 178
- Chapter 47 poe commands 179
- Ethernet switch cli reference guide 179
- Note if the management mode is set to consumption this field shows na 179
- Note the switch must have at least 16 w of remaining power in order to supply power to a poe device even if the poe device requested less than 16 w 179
- Table 103 show pwr 179
- The following table describes the labels in this screen 179
- Command summary 181
- Hapter 181
- Policy commands 181
- Chapter 48 policy commands 182
- Ethernet switch cli reference guide 182
- Table 104 policy command summary 182
- Chapter 48 policy commands 183
- Command examples 183
- Ethernet switch cli reference guide 183
- Table 104 policy command summary 183
- This example creates a policy highpriority for the traffic flow identified via classifier vlan3 see the classifier example in chapter 10 on page 59 this policy replaces the ieee 802 priority field with the ip tos priority field value 7 for vlan3 packets 183
- Chapter 48 policy commands 184
- Ethernet switch cli reference guide 184
- This example creates a policy policy1 for the traffic flow identified via classifier class1 see the classifier example in chapter 10 on page 59 this policy forwards class1 packets to port 8 184
- Command summary 185
- Hapter 185
- Port security commands 185
- Chapter 49 port security commands 186
- Command examples 186
- Ethernet switch cli reference guide 186
- Table 105 port security command summary continued 186
- This example enables port security on port 1 and limits the number of learned mac addresses to 5 186
- Command examples 187
- Command summary 187
- Hapter 187
- Port based vlan commands 187
- Hapter 189
- Private vlan commands 189
- Private vlan overview 189
- Chapter 51 private vlan commands 190
- Command examples 190
- Command summary 190
- Ethernet switch cli reference guide 190
- Table 107 private vlan command summary 190
- The following section lists the commands for this feature 190
- This example sets a private vlan rule that applies to vlan 123 ports 7 and 8 are the promiscuour ports in vlan 123 other ports in this vlan are added to the isolated port list automatically and cannot communicate with each other the isolated ports in vlan 123 can send and receive traffic from ports 7 and 8 this example also shows all private vlan rules configured on the 190
- Command summary 191
- Hapter 191
- Protocol based vlan commands 191
- Protocol based vlan overview 191
- Chapter 52 protocol based vlan commands 192
- Command examples 192
- Ethernet switch cli reference guide 192
- Note protocols in the hexadecimal number range 0x0000 to 0x05ff are not allowed 192
- Table 108 protocol based vlan command summary continued 192
- This example creates an ip based vlan called ip_vlan on ports 1 4 with a vlan id of 200 and a priority 6 192
- Hapter 193
- Queuing commands 193
- Queuing overview 193
- Chapter 53 queuing commands 194
- Command summary port by port configuration 194
- Ethernet switch cli reference guide 194
- For example using the default setting q0 on port 1 gets a guaranteed bandwidth of 194
- Note some models only support 4 queues 194
- Table 109 queuing command summary 194
- The following section lists the commands for this feature 194
- Weighted fair queuing wfq guarantees each queue s minimum bandwidth based on its bandwidth weight portion when there is traffic congestion wfq is activated only when a port has more traffic than it can handle queues with larger weights get more guaranteed bandwidth than queues with smaller weights this queuing mechanism is highly efficient in that it divides any available bandwidth across the different traffic queues by default the weight for q0 is 1 for q1 is 2 for q2 is 3 and so on guaranteed bandwidth is calculated as follows 194
- Weighted round robin scheduling wrr services queues on a rotating basis and is activated only when a port has more traffic than it can handle a queue is a given an amount of bandwidth based on the queue weight value queues with larger weights get more service than queues with smaller weights this queuing mechanism is highly efficient in that it divides any available bandwidth across the different traffic queues and returns to queues that have not yet emptied hybrid mode wrr spq or wfq spq some switch models allow you to configure higher priority queues to use spq and use wrr or wfq for the lower level queues 194
- Chapter 53 queuing commands 195
- Command examples port by port configuration 195
- Ethernet switch cli reference guide 195
- Table 109 queuing command summary continued 195
- This example configures wfq on ports 1 5 and assigns weight values 1 2 3 4 12 13 14 15 to the physical queues q0 to q8 195
- Chapter 53 queuing commands 196
- Command examples system wide 196
- Command summary system wide configuration 196
- Ethernet switch cli reference guide 196
- Note some models only support 4 queues 196
- Table 110 queueing command summary 196
- The following section lists the commands for this feature 196
- This example configures the switch to use wrr as a queueing method but configures the gigabit ports 9 12 to use spq for queues 5 6 and 7 196
- This example configures wfq on the switch and assigns weight values 1 2 3 4 12 13 14 15 to the physical queues q0 to q8 196
- Command summary 197
- Hapter 197
- Radius commands 197
- Chapter 54 radius commands 198
- Command examples 198
- Ethernet switch cli reference guide 198
- Table 112 radius accounting command summary continued 198
- This example sets up one primary radius server 172 6 0 0 and one secondary radius server 172 6 0 1 the secondary radius server is also the accounting server 198
- Command summary 199
- Hapter 199
- Remote management commands 199
- Chapter 55 remote management commands 200
- Command examples 200
- Ethernet switch cli reference guide 200
- Table 115 service control command summary continued 200
- This example allows computers in subnet 172 6 7 24 to access the switch through any service except snmp allows the computer at 192 68 0 to access the switch only through snmp and prevents other computers from accessing the switch at all 200
- This example disables all snmp and icmp access to the 200
- Command examples 201
- Command summary 201
- Hapter 201
- Rip commands 201
- Rip overview 201
- Command summary 203
- Hapter 203
- Running configuration commands 203
- Switch configuration file 203
- Chapter 57 running configuration commands 204
- Command examples 204
- Ethernet switch cli reference guide 204
- Table 118 running config command summary 204
- The following section lists the commands for this feature 204
- This example copies all attributes of port 1 to port 2 and copies selected attributes active bandwidth limit and stp settings from port 1 to ports 5 8 204
- This example resets the switch to the factory default settings 204
- Hapter 205
- Smart isolation commands 205
- Smart isolation overview 205
- Command summary 206
- The uplink port connected to the internet should be the root port otherwise with smart isolation enabled the isolated ports cannot access the internet 206
- Chapter 58 smart isolation commands 207
- Command examples 207
- Ethernet switch cli reference guide 207
- Table 120 show smart isolation 207
- The following table describes the labels in this screen 207
- This example enables smart isolation and displays smart isolation status and information on the switch you should have configured rstp or mrstp on the switch in order to have smart isolation work by adding the designated port s to the isolated port list you also have created vlan 200 and configured a private vlan rule for vlan 200 to put ports 3 4 and 5 in the isolated port list in this example the designated port 7 is added to the isolated port list after smart isolation is enabled 207
- Chapter 58 smart isolation commands 208
- Ethernet switch cli reference guide 208
- Table 120 show smart isolation continued 208
- Command summary 209
- Hapter 209
- Snmp server commands 209
- Chapter 59 snmp server commands 210
- Ethernet switch cli reference guide 210
- Note the settings on the snmp manager must be set at the same security level or higher than the security level settings on the switch 210
- Table 122 snmp server command summary continued 210
- Table 123 snmp server trap destination enable traps command summary 210
- Chapter 59 snmp server commands 211
- Ethernet switch cli reference guide 211
- Table 123 snmp server trap destination enable traps command summary continued 211
- Command summary 213
- Hapter 213
- Stp and rstp commands 213
- Chapter 60 stp and rstp commands 214
- Command examples 214
- Enables stp on the switch 2 sets the bridge priority of the switch to 0 3 sets the hello time to 4 maximum age to 20 and forward delay to 15 4 enables stp on port 5 with a path cost of 150 5 sets the priority for port 5 to 20 214
- Ethernet switch cli reference guide 214
- Table 124 spanning tree command summary continued 214
- This example configures stp in the following ways 214
- This example shows the current stp settings 214
- Chapter 60 stp and rstp commands 215
- Ethernet switch cli reference guide 215
- Table 125 show spanning tree config 215
- The following table describes the labels in this screen 215
- Command examples 217
- Command summary 217
- Hapter 217
- Ssh commands 217
- Chapter 61 ssh commands 218
- Ethernet switch cli reference guide 218
- Table 127 show ssh 218
- The following table describes the labels in this screen 218
- This example shows the general ssh settings 218
- Command summary 219
- Hapter 219
- Static multicast commands 219
- Command examples 220
- Command summary 221
- Hapter 221
- Static route commands 221
- Chapter 63 static route commands 222
- Command examples 222
- Ethernet switch cli reference guide 222
- For example you cannot create an active static route that routes traffic for 192 68 0 24 to 192 68 222
- Is in 172 6 7 24 or 127 16 you cannot create an active static route to other ip addresses 222
- Table 130 show ip route 222
- The following table describes the labels in this screen 222
- This example shows the current routing table 222
- You can create this static route if it is inactive however 222
- Chapter 63 static route commands 223
- Ethernet switch cli reference guide 223
- You can create an active static route that routes traffic for 192 68 0 24 to 172 6 7 54 223
- Command summary 225
- Hapter 225
- Subnet based vlan commands 225
- Subnet based vlan overview 225
- Chapter 64 subnet based vlan commands 226
- Command examples 226
- Ethernet switch cli reference guide 226
- Table 131 subnet based vlan command summary continued 226
- This example configures a subnet based vlan subnet1vlan with priority 6 and a vid of 200 for traffic received from ip subnet 172 6 7 24 226
- Command summary 227
- Hapter 227
- Syslog commands 227
- Reference t z 229
- Command summary 231
- Hapter 231
- Tacacs commands 231
- Command summary 233
- Hapter 233
- Tftp commands 233
- Command summary 235
- Hapter 235
- Trunk commands 235
- Chapter 68 trunk commands 236
- Command examples 236
- Ethernet switch cli reference guide 236
- Table 140 lacp command summary 236
- Table 141 show trunk 236
- The following table describes the labels in this screen 236
- This example activates trunk 1 and places ports 5 8 in the trunk using static link aggregation 236
- This example disables trunk one t1 and removes ports 1 3 4 and 5 from trunk two t2 236
- This example looks at the current trunks 236
- Chapter 68 trunk commands 237
- Ethernet switch cli reference guide 237
- Table 141 show trunk continued 237
- Table 142 show lacp 237
- The following table describes the labels in this screen 237
- This example shows the current lacp settings 237
- Command summary 239
- Hapter 239
- Trtcm commands 239
- Trtcm overview 239
- Chapter 69 trtcm commands 240
- Command examples 240
- Ethernet switch cli reference guide 240
- Sets the switch to inspect the dscp value of the packets color aware mode enables trtcm on ports 1 5 sets the committed information rate cir to 4000 kbps sets the peak information rate pir to 4500 kbps specifies dscp value 7 for green packets 22 for yellow packets and 44 for red packets 240
- Table 143 trtcm command summary continued 240
- This example activates trtcm on the switch with the following settings 240
- Hapter 241
- Vlan commands 241
- Vlan configuration overview 241
- Vlan overview 241
- Command summary 242
- See chapter 27 on page 117 for interface port channel commands 242
- The following section lists the commands for the ingress checking feature 242
- The following section lists the commands for this feature 242
- Vlan ingress checking implementation differs across switch models 242
- Chapter 70 vlan commands 243
- Command examples 243
- Ethernet switch cli reference guide 243
- Some models enable or disable vlan ingress checking on all the ports via the vlan1q ingress check command other models enable or disable vlan ingress checking on each port individually via the ingress check command in the config interface mode 243
- Table 145 vlan1q ingress check command summary 243
- Table 146 ingress check command summary 243
- This example configures ports 1 to 5 as fixed and untagged ports in vlan 2000 243
- This example deletes entry 2 in the static vlan table 243
- This example shows the vlan table 243
- Chapter 70 vlan commands 244
- Ethernet switch cli reference guide 244
- Table 147 show vlan 244
- The following table describes the labels in this screen 244
- This example enables ingress checking on ports 1 5 244
- Chapter 70 vlan commands 245
- Ethernet switch cli reference guide 245
- Table 148 show vlan counters 245
- The following table describes the labels in this screen 245
- This example displays concurrent incoming packet statistics for vlan 1 245
- Chapter 70 vlan commands 246
- Ethernet switch cli reference guide 246
- Table 148 show vlan counters continued 246
- Command summary 247
- Hapter 247
- Ip interfaces overview 247
- Vlan ip commands 247
- Chapter 71 vlan ip commands 248
- Command examples 248
- Ethernet switch cli reference guide 248
- See section 3 on page 26 for an example of how to configure a vlan management ip address 248
- Table 149 vlan ip address command summary continued 248
- Command summary 249
- Hapter 249
- Vlan mapping commands 249
- Chapter 72 vlan mapping commands 250
- Command examples 250
- Ethernet switch cli reference guide 250
- This example enables vlan mapping on port 4 250
- This example enables vlan mapping on the switch and creates a vlan mapping rule to translate the vlan id from 123 to 234 in the packets received on port 4 250
- Command summary 251
- Hapter 251
- Vlan port isolation commands 251
- Command summary 253
- Hapter 253
- Vlan stacking commands 253
- A 37 24 254
- B 48 24 254
- Chapter 74 vlan stacking commands 254
- Command examples 254
- Customer a customer a 254
- Customer b customer b 254
- Ethernet switch cli reference guide 254
- Figure 10 example vlan stacking 254
- In the following example figure both a and b are service provider s network spn customers with vpn tunnels between their head offices and branch offices respectively both have an identical vlan tag for their vlan group the service provider can separate these two vlans within its network by adding tag 37 to distinguish customer a and tag 48 to distinguish customer b at edge device x and then stripping those tags at edge device y as the data frames leave the network 254
- Table 152 vlan stacking command summary continued 254
- Vlan 24 vlan 24 254
- Chapter 74 vlan stacking commands 255
- Ethernet switch cli reference guide 255
- This example shows how to configure ports 1 and 2 on the switch to tag incoming frames with the service provider s vid of 37 ports are connected to customer a network this example also shows how to set the priority for ports 1 and 2 to 3 255
- Command summary 257
- Hapter 257
- Vlan trunking commands 257
- Command summary 259
- Hapter 259
- Vrrp commands 259
- Vrrp overview 259
- Chapter 76 vrrp commands 260
- Command examples 260
- Ethernet 260
- Ethernet switch cli reference guide 260
- Figure 11 example vrrp 260
- Table 154 vrrp command summary continued 260
- The following figure shows a vrrp network example with the switches a and b implementing one virtual router vr1 to ensure the link between the host x and the uplink gateway g host x is configured to use vr1 192 68 54 as the default gateway switch a has a higher priority so it is the master router switch b having a lower priority is the backup router 260
- Chapter 76 vrrp commands 261
- Ethernet switch cli reference guide 261
- This example shows how to create the ip routing domains and configure the switch to act as router a in the topology shown in figure 11 on page 260 261
- Chapter 76 vrrp commands 262
- Ethernet switch cli reference guide 262
- This example shows how to create the ip routing domains and configure the switch to act as router b in the topology shown in figure 11 on page 260 262
- Additional commands 263
- Command summary 263
- Hapter 263
- Chapter 77 additional commands 264
- Ethernet switch cli reference guide 264
- Table 156 command summary additional enable mode continued 264
- Chapter 77 additional commands 265
- Command examples 265
- Ethernet switch cli reference guide 265
- Table 156 command summary additional enable mode continued 265
- Table 157 command summary additional configure mode 265
- This example checks the cable pairs on port 7 265
- Chapter 77 additional commands 266
- Ethernet switch cli reference guide 266
- Table 158 ping 266
- Table 159 show alarm status 266
- The following table describes the labels in this screen 266
- This example sends ping requests to an ethernet device with ip address 172 6 7 54 266
- This example shows the current status of the various alarms in the switch 266
- Chapter 77 additional commands 267
- Ethernet switch cli reference guide 267
- Table 159 show alarm status continued 267
- Table 160 show cpu utilization 267
- The following table describes the labels in this screen 267
- This example shows the current and recent cpu utilization 267
- Chapter 77 additional commands 268
- Ethernet switch cli reference guide 268
- Table 161 show hardware monitor 268
- The following table describes the labels in this screen 268
- This example looks at the current sensor readings from various places in the hardware 268
- Chapter 77 additional commands 269
- Ethernet switch cli reference guide 269
- Table 161 show hardware monitor continued 269
- Table 162 show multicast vlan 269
- Table 163 show poe status 269
- The following table describes the labels in this screen 269
- This example displays multicast vlan configuration on the 269
- This example shows the current status of power over ethernet 269
- Chapter 77 additional commands 270
- Ethernet switch cli reference guide 270
- Note if the management mode is set to consumption this field shows na 270
- Note the switch must have at least 16 w of remaining power in order to supply power to a poe device even if the poe device requested less than 16 w 270
- Table 163 show poe status continued 270
- Table 164 show system information 270
- The following table describes the labels in this screen 270
- This example looks at general system information about the switch 270
- Chapter 77 additional commands 271
- Ethernet switch cli reference guide 271
- For temperature voltage transmission bias transmission and receiving power as shown 271
- This example displays route information to an ethernet device with ip address 271
- This example displays run time sfp small form facter pluggable parameters on ports 9 the first sfp port 0 with an sfp transceiver installed and 10 the second sfp port 1 no sfp transceiver installed on the 271
- This example runs an internal loopback test on ports 3 6 271
- You can also see the alarm and warning threasholds 271
- Appendices and index of commands 273
- Default values 275
- Ppendix 275
- Certifications 277
- Copyright 277
- Legal information 277
- Ppendix 277
- Zyxel limited warranty 278
- Index of commands 281
- Use of undocumented commands or misconfiguration can damage the unit and possibly render it unusable 281
- Ethernet switch cli reference guide 282
- Index of commands 282
- Ethernet switch cli reference guide 283
- Index of commands 283
- Ethernet switch cli reference guide 284
- Index of commands 284
- Ethernet switch cli reference guide 285
- Index of commands 285
- Ethernet switch cli reference guide 286
- Index of commands 286
- Ethernet switch cli reference guide 287
- Index of commands 287
- Ethernet switch cli reference guide 288
- Index of commands 288
- Ethernet switch cli reference guide 289
- Index of commands 289
- Ethernet switch cli reference guide 290
- Index of commands 290
- Ethernet switch cli reference guide 291
- Index of commands 291
- Ethernet switch cli reference guide 292
- Index of commands 292
- Ethernet switch cli reference guide 293
- Index of commands 293
- Ethernet switch cli reference guide 294
- Index of commands 294
- Ethernet switch cli reference guide 295
- Index of commands 295
- Ethernet switch cli reference guide 296
- Index of commands 296
- Ethernet switch cli reference guide 297
- Index of commands 297
- Ethernet switch cli reference guide 298
- Index of commands 298
Похожие устройства
- Zyxel XGS-4728F Технические характеристики
- Zyxel XGS4700-48F Инструкция по эксплуатации
- Zyxel XGS4700-48F Справочник командного интерфейса
- Zyxel XGS4700-48F Технические характеристики
- HP pavilion 17-f153nr, k1x74ea Инструкция по эксплуатации
- HP pavilion 17-f154nr, k1x75ea Инструкция по эксплуатации
- HP pavilion 17-f155nr, k1x76ea Инструкция по эксплуатации
- HP pavilion 17-f156nr, k1x77ea Инструкция по эксплуатации
- HP pavilion 17-f157nr, k1x78ea Инструкция по эксплуатации
- HP pavilion 17-f201ur, l1t85ea Инструкция по эксплуатации
- HP pavilion 17-f204ur, l1t88ea Инструкция по эксплуатации
- HP pavilion 17-f207ur, l1t91ea Инструкция по эксплуатации
- HP pavilion 17-f208ur, l1t92ea Инструкция по эксплуатации
- HP pavilion 17-f209ur, l1t94ea Инструкция по эксплуатации
- HP pavilion 17-f210ur, l1t96ea Инструкция по эксплуатации
- HP pavilion 17-f211ur, l1t98ea Инструкция по эксплуатации
- HP pavilion 17-f252ur, l2e35ea Инструкция по эксплуатации
- HP pavilion 17-f253ur, l2e36ea Инструкция по эксплуатации
- HP pavilion 17-f254ur, l2e37ea Инструкция по эксплуатации
- HP pavilion 17-f255ur, l2e38ea Инструкция по эксплуатации
Скачать
Случайные обсуждения