scalance w760/w720 to ieee 802.11n command line interface

432
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ ___________________ SIMATIC NET Industrial Wireless LAN SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual 11/2014 C79000-G8976-C351-03 Introduction 1 Description 2 Configuration 3 Functions specific to SCALANCE 4 System time 5 Network structures 6 Network protocols 7 Load control 8 Layer 3 functions 9 Security and authentication 10 Diagnostics 11

Upload: others

Post on 25-Feb-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

SCALANCE W760/W720 to IEEE

802.11n Command Line Interface

___________________

___________________

___________________

___________________

___________________

___________________

___________________

___________________

___________________

___________________

___________________

SIMATIC NET

Industrial Wireless LAN SCALANCE W760/W720 to IEEE 802.11n Command Line Interface

Configuration Manual

11/2014 C79000-G8976-C351-03

Introduction 1

Description 2

Configuration 3

Functions specific to SCALANCE

4

System time 5

Network structures 6

Network protocols 7

Load control 8

Layer 3 functions 9

Security and authentication 10

Diagnostics 11

Siemens AG Division Process Industries and Drives Postfach 48 48 90026 NÜRNBERG GERMANY

C79000-G8976-C351-03 Ⓟ 12/2014 Subject to change

Copyright © Siemens AG 2013 - 2014. All rights reserved

Legal information Warning notice system

This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION indicates that minor personal injury can result if proper precautions are not taken.

NOTICE indicates that property damage can result if proper precautions are not taken.

If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.

Proper use of Siemens products Note the following:

WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 3

Table of contents

1 Introduction ........................................................................................................................................... 15

1.1 Security information ................................................................................................................ 17

2 Description ............................................................................................................................................ 19

2.1 Working with the Command Line Interface (CLI) .................................................................... 19

2.2 CLI modes ............................................................................................................................... 20

2.3 The CLI command prompt ...................................................................................................... 21

2.4 Symbols of the CLI commands ............................................................................................... 22

2.5 Interface identifiers and addresses ......................................................................................... 23 2.5.1 Naming interfaces ................................................................................................................... 23 2.5.2 Address types, address ranges and address masks .............................................................. 25

2.6 General CLI commands .......................................................................................................... 26 2.6.1 clear screen ............................................................................................................................ 26 2.6.2 do ............................................................................................................................................ 26 2.6.3 end .......................................................................................................................................... 27 2.6.4 exit........................................................................................................................................... 27 2.6.5 Help functions and supported input ........................................................................................ 28 2.6.5.1 help ......................................................................................................................................... 28 2.6.5.2 The command "?" ................................................................................................................... 29 2.6.5.3 Completion of command entries ............................................................................................. 30 2.6.5.4 Abbreviated notation of commands ........................................................................................ 30 2.6.5.5 Reusing the last used commands ........................................................................................... 31 2.6.5.6 show history ............................................................................................................................ 31

3 Configuration ........................................................................................................................................ 33

3.1 System .................................................................................................................................... 33 3.1.1 show commands ..................................................................................................................... 33 3.1.1.1 show cli-console-timeout......................................................................................................... 33 3.1.1.2 show coordinates .................................................................................................................... 34 3.1.1.3 show device information ......................................................................................................... 34 3.1.1.4 show im ................................................................................................................................... 35 3.1.1.5 show interfaces ....................................................................................................................... 36 3.1.1.6 show interfaces ... counters .................................................................................................... 37 3.1.1.7 show interface mtu .................................................................................................................. 38 3.1.1.8 show ip interface ..................................................................................................................... 39 3.1.1.9 show pnio ................................................................................................................................ 40 3.1.1.10 show lldp neighbors ................................................................................................................ 40 3.1.1.11 show lldp status ...................................................................................................................... 41 3.1.1.12 show versions ......................................................................................................................... 41 3.1.2 clear counters ......................................................................................................................... 42 3.1.3 configure terminal ................................................................................................................... 43 3.1.4 clear line vty ............................................................................................................................ 44 3.1.5 disable ..................................................................................................................................... 45

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 4 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.6 enable .................................................................................................................................... 45 3.1.7 logout ..................................................................................................................................... 46 3.1.8 ping ........................................................................................................................................ 46 3.1.9 Commands in the global configuration mode ........................................................................ 48 3.1.9.1 coordinates height .................................................................................................................. 48 3.1.9.2 coordinates latitude ................................................................................................................ 49 3.1.9.3 coordinates longitude ............................................................................................................. 49 3.1.9.4 interface ................................................................................................................................. 50 3.1.9.5 no interface ............................................................................................................................ 51 3.1.9.6 cli-console-timeout ................................................................................................................. 52 3.1.9.7 no cli-console-timeout ............................................................................................................ 53 3.1.9.8 system contact ....................................................................................................................... 54 3.1.9.9 system location ...................................................................................................................... 54 3.1.9.10 system name .......................................................................................................................... 55 3.1.9.11 username ............................................................................................................................... 56 3.1.10 Commands in the Interface configuration mode .................................................................... 57 3.1.10.1 alias ........................................................................................................................................ 57 3.1.10.2 no alias ................................................................................................................................... 58 3.1.10.3 duplex ..................................................................................................................................... 58 3.1.10.4 no duplex ................................................................................................................................ 59 3.1.10.5 lldp .......................................................................................................................................... 60 3.1.10.6 no lldp ..................................................................................................................................... 61 3.1.10.7 mtu ......................................................................................................................................... 62 3.1.10.8 shutdown ................................................................................................................................ 63 3.1.10.9 no shutdown ........................................................................................................................... 64

3.2 Load and Save ....................................................................................................................... 65 3.2.1 show loadsave files ................................................................................................................ 65 3.2.2 show loadsave tftp ................................................................................................................. 66 3.2.3 Commands in the global configuration mode ........................................................................ 66 3.2.3.1 loadsave ................................................................................................................................. 66 3.2.4 Commands in the LOADSAVE configuration mode ............................................................... 67 3.2.4.1 delete ..................................................................................................................................... 67 3.2.4.2 tftp filename ............................................................................................................................ 68 3.2.4.3 tftp load .................................................................................................................................. 69 3.2.4.4 tftp save .................................................................................................................................. 70 3.2.4.5 tftp server ............................................................................................................................... 70 3.2.4.6 password ................................................................................................................................ 71 3.2.4.7 no password ........................................................................................................................... 72

3.3 Reset and Defaults ................................................................................................................ 74 3.3.1 restart ..................................................................................................................................... 74

3.4 Configuration Save & Restore ............................................................................................... 75 3.4.1 show running-config ............................................................................................................... 75 3.4.2 write startup-config ................................................................................................................. 77 3.4.3 Commands in the global configuration mode ........................................................................ 78 3.4.3.1 auto-save ............................................................................................................................... 78 3.4.3.2 no auto-save .......................................................................................................................... 79

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 5

3.5 SINEMA .................................................................................................................................. 80 3.5.1 show sinema ........................................................................................................................... 80 3.5.2 Commands in the global configuration mode ......................................................................... 80 3.5.2.1 sinema .................................................................................................................................... 81 3.5.2.2 no sinema ............................................................................................................................... 81

4 Functions specific to SCALANCE .......................................................................................................... 83

4.1 WBM ....................................................................................................................................... 83 4.1.1 show web-session-timeout ..................................................................................................... 83 4.1.2 Commands in the global configuration mode ......................................................................... 84 4.1.2.1 web-session-timeout ............................................................................................................... 84 4.1.2.2 no web-session-timeout .......................................................................................................... 85

4.2 Signal recorder ........................................................................................................................ 85 4.2.1 show wlan signal-recorder (Client) ......................................................................................... 85 4.2.2 wlan signal-recorder start sample_number (Client) ................................................................ 86 4.2.3 wlan signal-recorder stop (client) ............................................................................................ 88 4.2.4 wlan signal-recorder display (client) ....................................................................................... 89 4.2.5 wlan signal-recorder display sample_number (Client) ............................................................ 90

4.3 iPCF ........................................................................................................................................ 91 4.3.1 show wlan ipcf ......................................................................................................................... 91 4.3.2 WLAN Interface Configuration mode ...................................................................................... 92 4.3.2.1 wlan ipcf .................................................................................................................................. 92 4.3.2.2 no wlan ipcf ............................................................................................................................. 93

4.4 iPCF-MC ................................................................................................................................. 94 4.4.1 show wlan ipcf-mc ................................................................................................................... 94 4.4.2 Commands in the WLAN configuration mode ........................................................................ 95 4.4.2.1 wlan ipcf-mc ............................................................................................................................ 95 4.4.2.2 no wlan ipcf-mc ....................................................................................................................... 96 4.4.2.3 wlan ipcf-mc cycle-time (access point) ................................................................................... 97 4.4.2.4 wlan ipcf-mc mgmt-scan-period (client) .................................................................................. 98

5 System time .......................................................................................................................................... 99

5.1 System time setting ................................................................................................................. 99 5.1.1 The "show" commands ........................................................................................................... 99 5.1.1.1 show time ................................................................................................................................ 99 5.1.1.2 show dst info ......................................................................................................................... 100 5.1.2 Commands in the global configuration mode ....................................................................... 100 5.1.2.1 time ....................................................................................................................................... 100 5.1.2.2 time set ................................................................................................................................. 101 5.1.2.3 time dst date ......................................................................................................................... 102 5.1.2.4 time dst recurring .................................................................................................................. 103 5.1.2.5 no time dst ............................................................................................................................ 104

5.2 NTP client ............................................................................................................................. 105 5.2.1 show ntp info ......................................................................................................................... 105 5.2.2 Commands in the global configuration mode ....................................................................... 105 5.2.2.1 ntp ......................................................................................................................................... 106 5.2.3 Commands in the NTP configuration mode .......................................................................... 106 5.2.3.1 ntp server .............................................................................................................................. 107 5.2.3.2 no ntp server ......................................................................................................................... 108 5.2.3.3 ntp time diff ........................................................................................................................... 108

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 6 Configuration Manual, 11/2014, C79000-G8976-C351-03

5.3 SNTP client .......................................................................................................................... 109 5.3.1 show sntp broadcast-mode status ....................................................................................... 109 5.3.2 show sntp status .................................................................................................................. 110 5.3.3 show sntp unicast-mode status............................................................................................ 110 5.3.4 Commands in the global configuration mode ...................................................................... 111 5.3.4.1 sntp ...................................................................................................................................... 111 5.3.5 Commands in the SNTP configuration mode ...................................................................... 112 5.3.5.1 sntp time diff ......................................................................................................................... 112 5.3.5.2 sntp unicast-server ............................................................................................................... 113 5.3.5.3 no sntp unicast-server .......................................................................................................... 114 5.3.5.4 sntp client addressing-mode ................................................................................................ 115

6 Network structures ............................................................................................................................... 117

6.1 WLAN ................................................................................................................................... 117 6.1.1 The "show" commands ........................................................................................................ 117 6.1.1.1 show wlan advanced ............................................................................................................ 117 6.1.1.2 show wlan allowed channels ................................................................................................ 118 6.1.1.3 show wlan antennas ............................................................................................................ 119 6.1.1.4 show wlan ap (access point) ................................................................................................ 119 6.1.1.5 show wlan advanced-11n .................................................................................................... 120 6.1.1.6 show wlan available-ap-list (client) ...................................................................................... 121 6.1.1.7 show wlan basic ................................................................................................................... 122 6.1.1.8 show wlan client (Client) ...................................................................................................... 123 6.1.1.9 show wlan client-list (access point) ...................................................................................... 124 6.1.1.10 show wlan client-list-vap (access point) ............................................................................... 125 6.1.1.11 show wlan data rates (access point) .................................................................................... 125 6.1.1.12 show wlan device ................................................................................................................. 126 6.1.1.13 show wlan overlap-ap-list (access point) ............................................................................. 127 6.1.1.14 show wlan overview ............................................................................................................. 128 6.1.1.15 show wlan statistics ............................................................................................................. 130 6.1.1.16 show wlan ssid-table (client) ................................................................................................ 131 6.1.1.17 show wlan vap (access point) .............................................................................................. 131 6.1.1.18 show wlan wds (access point) ............................................................................................. 132 6.1.1.19 show wlan wds-list (access point) ........................................................................................ 133 6.1.1.20 show wlan ip-mapping ......................................................................................................... 134 6.1.2 clear wlan statistics .............................................................................................................. 135 6.1.3 Commands in the global configuration mode ...................................................................... 135 6.1.3.1 wlan ...................................................................................................................................... 136 6.1.4 Commands in the WLAN configuration mode ...................................................................... 136 6.1.4.1 device mode ......................................................................................................................... 137 6.1.4.2 commit mode ........................................................................................................................ 138 6.1.4.3 commit wlan-settings ........................................................................................................... 139 6.1.4.4 country ................................................................................................................................. 139 6.1.5 Commands in the WLAN Interface configuration mode ...................................................... 140 6.1.5.1 wlan allowed channels ......................................................................................................... 141 6.1.5.2 wlan allowed channels only ................................................................................................. 142 6.1.5.3 no wlan allowed channels only ............................................................................................ 143 6.1.5.4 wlan alternative channel (access point) ............................................................................... 144 6.1.5.5 wlan ampdu .......................................................................................................................... 145 6.1.5.6 no wlan ampdu ..................................................................................................................... 146 6.1.5.7 wlan ampdu bytes-limit ........................................................................................................ 146 6.1.5.8 wlan ampdu frames-limit ...................................................................................................... 147

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 7

6.1.5.9 wlan antenna additional-attenuation ..................................................................................... 148 6.1.5.10 wlan antenna cable-length .................................................................................................... 149 6.1.5.11 wlan antenna gain-2-4GHz ................................................................................................... 150 6.1.5.12 wlan antenna gain-5GHz ...................................................................................................... 150 6.1.5.13 wlan antenna type ................................................................................................................. 151 6.1.5.14 wlan any ssid (Client) ............................................................................................................ 152 6.1.5.15 no wlan any ssid (client)........................................................................................................ 153 6.1.5.16 wlan background scan interval (client).................................................................................. 154 6.1.5.17 wlan background scan mode (client) .................................................................................... 155 6.1.5.18 wlan beacon interval (access point) ...................................................................................... 156 6.1.5.19 wlan channel (Access Point) ................................................................................................. 157 6.1.5.20 wlan client mac mode (client) ............................................................................................... 158 6.1.5.21 wlan client mac address (client) ............................................................................................ 159 6.1.5.22 wlan data rates-11abg selected only (access point) ............................................................. 160 6.1.5.23 no wlan data rates-11abg selected only (access point) ........................................................ 161 6.1.5.24 wlan data rates-11n selected only (access point) ................................................................. 161 6.1.5.25 no wlan data rates-11n selected only (access point) ............................................................ 162 6.1.5.26 wlan data rate-11abg (access point) ..................................................................................... 163 6.1.5.27 wlan data rate-11n (access point) ......................................................................................... 165 6.1.5.28 wlan data rate-11abg defaults (access point) ....................................................................... 166 6.1.5.29 wlan data rate-11n defaults (Access Point) .......................................................................... 167 6.1.5.30 wlan dfs ................................................................................................................................. 168 6.1.5.31 no wlan dfs ............................................................................................................................ 169 6.1.5.32 wlan dtim (access point) ....................................................................................................... 169 6.1.5.33 wlan ssid-table edit (client) ................................................................................................... 170 6.1.5.34 wlan force roaming eth-down (access point) ........................................................................ 171 6.1.5.35 no wlan force roaming eth-down (access point) ................................................................... 172 6.1.5.36 wlan fragmentation threshold ................................................................................................ 173 6.1.5.37 wlan frequency band (access point) ..................................................................................... 173 6.1.5.38 wlan frequency band (client) ................................................................................................. 174 6.1.5.39 wlan guard interval (access point) ........................................................................................ 175 6.1.5.40 wlan ht channel width (access point) .................................................................................... 176 6.1.5.41 wlan hw-retries ...................................................................................................................... 177 6.1.5.42 wlan max tx-power ................................................................................................................ 178 6.1.5.43 wlan mode (access point) ..................................................................................................... 179 6.1.5.44 wlan mode (client) ................................................................................................................. 180 6.1.5.45 wlan outdoor ......................................................................................................................... 182 6.1.5.46 no wlan outdoor .................................................................................................................... 183 6.1.5.47 wlan overlap-ap aging (access point) ................................................................................... 183 6.1.5.48 wlan roaming threshold (client) ............................................................................................. 184 6.1.5.49 wlan rts-cts threshold ............................................................................................................ 185 6.1.6 Commands in the VAP Interface Configuration mode .......................................................... 186 6.1.6.1 vap wds id (access point) ..................................................................................................... 186 6.1.6.2 vap ssid (access point) ......................................................................................................... 187 6.1.6.3 vap broadcast ssid (access point) ........................................................................................ 188 6.1.6.4 no vap broadcast ssid (access point) ................................................................................... 189 6.1.6.5 vap wds only (access point) .................................................................................................. 190 6.1.6.6 no vap wds only (access point) ............................................................................................. 191

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 8 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.7 Commands in the WDS Interface Configuration mode ........................................................ 192 6.1.7.1 wds partner id-type (access point) ....................................................................................... 192 6.1.7.2 wds partner mac (access point) ........................................................................................... 193 6.1.7.3 wds partner wds-id (access point) ....................................................................................... 194 6.1.7.4 wds connection over (access point) ..................................................................................... 195

6.2 VLAN .................................................................................................................................... 196 6.2.1 The "show" commands ........................................................................................................ 196 6.2.1.1 show dot1d mac-address-table ............................................................................................ 196 6.2.1.2 show mac-address-table ...................................................................................................... 197 6.2.1.3 show mac-address-table count ............................................................................................ 198 6.2.1.4 show mac-address-table dynamic unicast ........................................................................... 198 6.2.1.5 show vlan ............................................................................................................................. 199 6.2.1.6 show vlan device info ........................................................................................................... 200 6.2.1.7 show vlan learning params .................................................................................................. 201 6.2.1.8 show vlan port config ........................................................................................................... 201 6.2.2 Commands in the global configuration mode ...................................................................... 202 6.2.2.1 mac-address-table aging ..................................................................................................... 202 6.2.2.2 no mac-address-table aging ................................................................................................ 203 6.2.2.3 vlan ....................................................................................................................................... 204 6.2.2.4 no vlan .................................................................................................................................. 205 6.2.2.5 base bridge-mode ................................................................................................................ 205 6.2.2.6 mgmt vlan ............................................................................................................................. 206 6.2.3 Commands in the interface configuration mode .................................................................. 207 6.2.3.1 switchport acceptable-frame-type ........................................................................................ 207 6.2.3.2 switchport access vlan ......................................................................................................... 208 6.2.3.3 no switchport access vlan .................................................................................................... 209 6.2.3.4 switchport ingress-filter ........................................................................................................ 210 6.2.3.5 no switchport ingress-filter ................................................................................................... 210 6.2.3.6 switchport priority default ..................................................................................................... 211 6.2.3.7 no switchport priority default ................................................................................................ 212 6.2.3.8 switchport pvid ..................................................................................................................... 212 6.2.3.9 no switchport pvid ................................................................................................................ 213 6.2.4 Commands in the VLAN configuration mode ....................................................................... 214 6.2.4.1 name .................................................................................................................................... 214 6.2.4.2 no name ............................................................................................................................... 215 6.2.4.3 ports ..................................................................................................................................... 216 6.2.4.4 no ports ................................................................................................................................ 217

6.3 Spanning Tree...................................................................................................................... 219 6.3.1 The "show" commands ........................................................................................................ 219 6.3.1.1 show spanning-tree .............................................................................................................. 219 6.3.1.2 show spanning-tree active ................................................................................................... 220 6.3.1.3 show spanning-tree bridge ................................................................................................... 221 6.3.1.4 show spanning-tree detail .................................................................................................... 222 6.3.1.5 show spanning-tree interface ............................................................................................... 222 6.3.1.6 show spanning-tree l2t-edge ................................................................................................ 223 6.3.1.7 show spanning-tree mst configuration ................................................................................. 224 6.3.1.8 show spanning-tree mst interface ........................................................................................ 225 6.3.1.9 show spanning-tree root ...................................................................................................... 226 6.3.2 clear spanning-tree counters ............................................................................................... 227 6.3.3 Commands in the global configuration mode ...................................................................... 227 6.3.3.1 spanning-tree ....................................................................................................................... 227

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 9

6.3.3.2 no spanning-tree ................................................................................................................... 228 6.3.3.3 spanning-tree compatibility ................................................................................................... 229 6.3.3.4 no spanning-tree compatibility .............................................................................................. 230 6.3.3.5 spanning-tree l2t-auto-edge .................................................................................................. 231 6.3.3.6 no spanning-tree l2t-auto-edge ............................................................................................. 231 6.3.3.7 spanning-tree l2t-edge .......................................................................................................... 232 6.3.3.8 no spanning-tree l2t-edge ..................................................................................................... 233 6.3.3.9 spanning-tree mst configuration ........................................................................................... 233 6.3.3.10 spanning-tree mst instance-id root ....................................................................................... 234 6.3.3.11 no spanning-tree mst instance-id root .................................................................................. 235 6.3.3.12 spanning-tree mst max-hops ................................................................................................ 236 6.3.3.13 no spanning-tree mst max-hops ........................................................................................... 237 6.3.3.14 spanning-tree priority ............................................................................................................ 237 6.3.3.15 no spanning-tree priority ....................................................................................................... 238 6.3.3.16 Time settings for the Spanning Tree protocol ....................................................................... 239 6.3.4 Commands in the interface configuration mode ................................................................... 242 6.3.4.1 spanning-tree ........................................................................................................................ 242 6.3.4.2 no spanning-tree ................................................................................................................... 244 6.3.4.3 spanning-tree auto-edge ....................................................................................................... 245 6.3.4.4 no spanning-tree auto-edge .................................................................................................. 246 6.3.4.5 spanning-tree bdpufilter ........................................................................................................ 246 6.3.4.6 spanning-tree bpdu-receive .................................................................................................. 247 6.3.4.7 spanning-tree bpdu-transmit ................................................................................................. 248 6.3.4.8 spanning-tree mst ................................................................................................................. 249 6.3.4.9 no spanning-tree mst ............................................................................................................ 250 6.3.4.10 spanning-tree mst hello-time ................................................................................................ 251 6.3.4.11 no spanning-tree mst hello-time ........................................................................................... 252 6.3.5 Commands in the MSTP configuration mode ....................................................................... 253 6.3.5.1 instance ................................................................................................................................. 253 6.3.5.2 no instance ............................................................................................................................ 254 6.3.5.3 name ..................................................................................................................................... 255 6.3.5.4 no name ................................................................................................................................ 256 6.3.5.5 revision .................................................................................................................................. 256 6.3.5.6 no revision ............................................................................................................................. 257

7 Network protocols ............................................................................................................................... 259

7.1 IPv4 protocol ......................................................................................................................... 259 7.1.1 The "show" commands ......................................................................................................... 259 7.1.1.1 show dcp forwarding ............................................................................................................. 259 7.1.1.2 show dcp server .................................................................................................................... 260 7.1.1.3 show ip route ......................................................................................................................... 260 7.1.1.4 show ip telnet ........................................................................................................................ 261 7.1.1.5 show ip dns ........................................................................................................................... 262 7.1.1.6 show ip dns cache ................................................................................................................ 262 7.1.1.7 show ip dns name-server ...................................................................................................... 263 7.1.1.8 show ip dns statistics ............................................................................................................ 263 7.1.2 Commands in the global configuration mode ....................................................................... 264 7.1.2.1 telnet-server .......................................................................................................................... 264 7.1.2.2 no telnet-server ..................................................................................................................... 265 7.1.2.3 ip echo-reply ......................................................................................................................... 265 7.1.2.4 no ip echo-reply .................................................................................................................... 266 7.1.2.5 ip route .................................................................................................................................. 267

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 10 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.1.2.6 no ip route ............................................................................................................................ 267 7.1.2.7 dcp server ............................................................................................................................ 268 7.1.2.8 no dcp server ....................................................................................................................... 269 7.1.2.9 ip domain lookup .................................................................................................................. 270 7.1.2.10 no ip domain lookup ............................................................................................................. 270 7.1.2.11 ip name-server ..................................................................................................................... 271 7.1.2.12 no ip name server ................................................................................................................ 272 7.1.2.13 ip domain used server .......................................................................................................... 272 7.1.3 Commands in the interface configuration mode .................................................................. 273 7.1.3.1 ip address ............................................................................................................................. 273 7.1.3.2 no ip address ........................................................................................................................ 274 7.1.3.3 ip address dhcp .................................................................................................................... 275 7.1.3.4 dcp forwarding...................................................................................................................... 276

7.2 DHCP client .......................................................................................................................... 277 7.2.1 show ip dhcp client stats ...................................................................................................... 277 7.2.2 show ip dhcp client ............................................................................................................... 277 7.2.3 renew dhcp ........................................................................................................................... 278 7.2.4 Commands in the global configuration mode ...................................................................... 279 7.2.4.1 ip dhcp config-file-request .................................................................................................... 279 7.2.4.2 no ip dhcp config-file-request ............................................................................................... 280 7.2.4.3 ip dhcp client mode .............................................................................................................. 280

7.3 DHCP server ........................................................................................................................ 281 7.3.1 show ip dhcp-server pools ................................................................................................... 281 7.3.2 show ip dhcp-server bindings .............................................................................................. 282 7.3.3 Commands in the global configuration mode ...................................................................... 283 7.3.3.1 ip dhcp-server ...................................................................................................................... 283 7.3.3.2 no ip dhcp-server ................................................................................................................. 284 7.3.3.3 ip dhcp-server icmp-probe ................................................................................................... 285 7.3.3.4 no ip dhcp-server icmp-probe .............................................................................................. 286 7.3.3.5 ip dhcp-server pool .............................................................................................................. 287 7.3.3.6 no ip dhcp-server pool ......................................................................................................... 288 7.3.4 Commands in the DHCPPOOL configuration mode ............................................................ 289 7.3.4.1 lease-time ............................................................................................................................. 289 7.3.4.2 network ................................................................................................................................. 290 7.3.4.3 option (IP address) ............................................................................................................... 291 7.3.4.4 option value-hex ................................................................................................................... 293 7.3.4.5 option value-string ................................................................................................................ 294 7.3.4.6 no option .............................................................................................................................. 295 7.3.4.7 pool-enable .......................................................................................................................... 296 7.3.4.8 no pool-enable ..................................................................................................................... 297 7.3.4.9 set-interface ......................................................................................................................... 298 7.3.4.10 static-lease mac ................................................................................................................... 299 7.3.4.11 no static-lease ...................................................................................................................... 300

7.4 SNMP ................................................................................................................................... 301 7.4.1 The "show" commands ........................................................................................................ 301 7.4.1.1 show snmp ........................................................................................................................... 301 7.4.1.2 show snmp community ........................................................................................................ 301 7.4.1.3 show snmp engineID ........................................................................................................... 302 7.4.1.4 show snmp filter ................................................................................................................... 302 7.4.1.5 show snmp group ................................................................................................................. 303 7.4.1.6 show snmp group access .................................................................................................... 303

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 11

7.4.1.7 show snmp inform statistics .................................................................................................. 304 7.4.1.8 show snmp notif .................................................................................................................... 304 7.4.1.9 show snmp targetaddr .......................................................................................................... 305 7.4.1.10 show snmp targetparam ....................................................................................................... 305 7.4.1.11 show snmp user .................................................................................................................... 306 7.4.1.12 show snmp viewtree ............................................................................................................. 306 7.4.2 Commands in the global configuration mode ....................................................................... 307 7.4.2.1 snmpagent ............................................................................................................................ 307 7.4.2.2 no snmpagent ....................................................................................................................... 308 7.4.2.3 snmp agent version ............................................................................................................... 308 7.4.2.4 snmp access ......................................................................................................................... 309 7.4.2.5 no snmp access .................................................................................................................... 311 7.4.2.6 snmp community index ......................................................................................................... 312 7.4.2.7 no snmp community index .................................................................................................... 313 7.4.2.8 snmp filterprofile .................................................................................................................... 314 7.4.2.9 no snmp filterprofile ............................................................................................................... 315 7.4.2.10 snmp group ........................................................................................................................... 316 7.4.2.11 no snmp group ...................................................................................................................... 317 7.4.2.12 snmp notify ............................................................................................................................ 318 7.4.2.13 no snmp notify ....................................................................................................................... 319 7.4.2.14 snmp targetaddr .................................................................................................................... 320 7.4.2.15 no snmp targetaddr ............................................................................................................... 321 7.4.2.16 snmp targetparams ............................................................................................................... 322 7.4.2.17 no snmp targetparams .......................................................................................................... 324 7.4.2.18 snmp v1-v2 readonly............................................................................................................. 324 7.4.2.19 no snmp v1-v2 readonly........................................................................................................ 325 7.4.2.20 snmp user ............................................................................................................................. 326 7.4.2.21 no snmp user ........................................................................................................................ 327 7.4.2.22 snmp view ............................................................................................................................. 328 7.4.2.23 no snmp view ........................................................................................................................ 329

7.5 SMTP client ........................................................................................................................... 330 7.5.1 show events smtp-server ...................................................................................................... 330 7.5.2 show events sender email .................................................................................................... 330 7.5.3 show events smtp-port .......................................................................................................... 331 7.5.4 Commands in the Events configuration mode ...................................................................... 331 7.5.4.1 smtp-server ........................................................................................................................... 332 7.5.4.2 no smtp-server ...................................................................................................................... 333 7.5.4.3 sender mail-address ............................................................................................................. 334 7.5.4.4 no sender mail-address ........................................................................................................ 334 7.5.4.5 smtp-port ............................................................................................................................... 335 7.5.4.6 no smtp-port .......................................................................................................................... 336

7.6 HTTP server .......................................................................................................................... 337 7.6.1 show ip http server status ..................................................................................................... 337 7.6.2 Commands in the Global Configuration mode ...................................................................... 337 7.6.2.1 ip http .................................................................................................................................... 338 7.6.2.2 no ip http ............................................................................................................................... 338

7.7 HTTPS server ....................................................................................................................... 339 7.7.1 show ip http secure server status ......................................................................................... 339 7.7.2 show ssl server-cert .............................................................................................................. 340

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 12 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.8 ARP ...................................................................................................................................... 340 7.8.1 show ip arp ........................................................................................................................... 340

7.9 SSH server ........................................................................................................................... 341 7.9.1 show ip ssh .......................................................................................................................... 342 7.9.2 Commands in the Global Configuration mode ..................................................................... 342 7.9.2.1 ssh-server ............................................................................................................................ 342 7.9.2.2 no ssh-server ....................................................................................................................... 343

8 Load control ......................................................................................................................................... 345

8.1 Dynamic MAC aging ............................................................................................................ 345 8.1.1 show mac-address-table aging-time .................................................................................... 345 8.1.2 show mac-address-table aging-status ................................................................................. 346 8.1.3 Commands in the global configuration mode ...................................................................... 346 8.1.3.1 mac-address-table aging-time ............................................................................................. 346

9 Layer 3 functions ................................................................................................................................. 349

9.1 NAT ...................................................................................................................................... 349 9.1.1 show nat (client) ................................................................................................................... 349 9.1.2 Commands in the global configuration mode ...................................................................... 350 9.1.2.1 nat (client) ............................................................................................................................ 350 9.1.3 Commands in the NAT configuration mode ......................................................................... 351 9.1.3.1 nat (client) ............................................................................................................................ 351 9.1.3.2 no nat (client) ....................................................................................................................... 353 9.1.3.3 nat local ip address (client) .................................................................................................. 354 9.1.3.4 nat interface (client) ............................................................................................................. 355 9.1.3.5 no nat interface (client) ........................................................................................................ 356 9.1.3.6 nat timeout (client) ............................................................................................................... 356 9.1.3.7 no nat timeout (client) .......................................................................................................... 358

10 Security and authentication .................................................................................................................. 359

10.1 User rights management ...................................................................................................... 359 10.1.1 whoami ................................................................................................................................. 359 10.1.2 show users ........................................................................................................................... 360

10.2 WLAN ................................................................................................................................... 360 10.2.1 show wlan security ............................................................................................................... 361 10.2.2 show wlan security ap-radius-authenticator (Access Point) ................................................ 361 10.2.3 show wlan security keys ...................................................................................................... 362 10.2.4 Commands in the WLAN configuration mode ...................................................................... 363 10.2.4.1 wlan security ap-radius-authenticator .................................................................................. 363 10.2.4.2 no wlan security ap-radius-authenticator ............................................................................. 364 10.2.4.3 wlan security ap-radius-authenticator address .................................................................... 365 10.2.4.4 wlan security ap-radius-authenticator max-retransmit ......................................................... 366 10.2.4.5 wlan security ap-radius-authenticator port-number ............................................................. 367 10.2.4.6 wlan security ap-radius-authenticator primary ..................................................................... 368 10.2.4.7 no wlan security ap-radius-authenticator primary ................................................................ 369 10.2.4.8 wlan security ap-radius-authenticator reauth-interval .......................................................... 370 10.2.4.9 wlan security ap-radius-authenticator reauth-mode............................................................. 371 10.2.4.10 wlan security ap-radius-authenticator shared-secret ........................................................... 372 10.2.5 Commands in the WLAN Interface configuration mode ...................................................... 373 10.2.5.1 wlan security authentication (client) ..................................................................................... 374 10.2.5.2 wlan security cipher (client) .................................................................................................. 376

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 13

10.2.5.3 wlan security default-key (client) ........................................................................................... 377 10.2.5.4 wlan security dot1x check-server-certificate (client) ............................................................. 378 10.2.5.5 no wlan security dot1x check-server-certificate (client) ........................................................ 379 10.2.5.6 wlan security dot1x eap-authentication-type (client) ............................................................. 380 10.2.5.7 wlan security dot1x username (client) .................................................................................. 381 10.2.5.8 wlan security dot1x password (client) ................................................................................... 382 10.2.5.9 wlan security edit key ............................................................................................................ 383 10.2.5.10 wlan security encryption (client) ............................................................................................ 384 10.2.5.11 no wlan security encryption (client) ....................................................................................... 385 10.2.5.12 wlan security wpa-psk-passphrase (client) ........................................................................... 386 10.2.6 Commands in the VAP Interface configuration mode ........................................................... 387 10.2.6.1 vap security authentication (access point) ............................................................................ 387 10.2.6.2 vap security cipher (access point) ........................................................................................ 389 10.2.6.3 vap security default-key (access point) ................................................................................. 390 10.2.6.4 vap security encryption (access point) .................................................................................. 391 10.2.6.5 no vap security encryption (access point)............................................................................. 392 10.2.6.6 vap security wpa-group-key-update-interval (Access Point) ................................................ 393 10.2.6.7 vap security wpa-psk-passphrase (access point) ................................................................. 394 10.2.6.8 vap communication with own-vap (access point) ................................................................. 395 10.2.6.9 no vap communication with own-vap (access point) ............................................................ 396 10.2.6.10 vap communication with ethernet (access point) .................................................................. 397 10.2.6.11 no vap communication with ethernet (access point) ............................................................. 398

10.3 Management Access Control List ......................................................................................... 399 10.3.1 show authorized-managers .................................................................................................. 399 10.3.2 Commands in the global configuration mode ....................................................................... 400 10.3.2.1 authorized-manager ip-source .............................................................................................. 400 10.3.2.2 no authorized-manager ip-source ......................................................................................... 402

11 Diagnostics ......................................................................................................................................... 403

11.1 Diagnostics ........................................................................................................................... 403 11.1.1 show authlog ......................................................................................................................... 403 11.1.2 show events config ............................................................................................................... 404 11.1.3 show events severity............................................................................................................. 404 11.1.4 show events faults config ...................................................................................................... 405 11.1.5 show events faults status ...................................................................................................... 406 11.1.6 show fault counter ................................................................................................................. 407 11.1.7 show logbook ........................................................................................................................ 407 11.1.8 show power-line-state ........................................................................................................... 408 11.1.9 show rmon ............................................................................................................................ 409 11.1.10 clear authlog ......................................................................................................................... 409 11.1.11 clear logbook ......................................................................................................................... 410 11.1.12 fault report ack ...................................................................................................................... 410 11.1.13 Commands in the global configuration mode ....................................................................... 411 11.1.13.1 events ................................................................................................................................... 411 11.1.14 Commands in the Events configuration mode ...................................................................... 412 11.1.14.1 add log .................................................................................................................................. 412 11.1.14.2 client config ........................................................................................................................... 413 11.1.14.3 no client config ...................................................................................................................... 414 11.1.14.4 event config ........................................................................................................................... 414 11.1.14.5 no event config ...................................................................................................................... 417 11.1.14.6 severity .................................................................................................................................. 418 11.1.14.7 no severity ............................................................................................................................. 419

Table of contents

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 14 Configuration Manual, 11/2014, C79000-G8976-C351-03

11.1.14.8 link ........................................................................................................................................ 420 11.1.14.9 no link ................................................................................................................................... 421 11.1.14.10 send test mail ....................................................................................................................... 422

11.2 Syslog client ......................................................................................................................... 423 11.2.1 show events syslogserver .................................................................................................... 423 11.2.2 Commands in the Events configuration mode ..................................................................... 423 11.2.2.1 syslogserver ......................................................................................................................... 424 11.2.2.2 no syslogserver .................................................................................................................... 425

Index ................................................................................................................................................... 427

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 15

Introduction 1

Validity of the configuration manual This Configuration Manual covers the following products:

● SCALANCE W761-1 RJ-45

● SCALANCE W722-1 RJ-45

● SCALANCE W721-1 RJ-45

This Configuration Manual applies to the following software version:

● SCALANCE W700 firmware as of Version V 5.00

Purpose of the Configuration Manual This Configuration Manual contains the CLI commands that are supported by SCALANCE W700 devices.

Orientation in the documentation Apart from the Configuration Manual you are currently reading, the following documentation is also available from SIMATIC NET on the topic of Industrial Wireless LANs:

● Configuration Manual: SCALANCE W760 / W720 Web Based Management

This Configuration Manual is intended to provide you with the information you require to commission and operate devices correctly. It explains how to configure the devices and how to integrate them in a WLAN network.

● Performance data 802.11 abgn SCALANCE W760/W720

This document contains information about the frequency, modulation, transmit power and receiver sensitivity.

● Operating Instructions SCALANCE W761-1/W722-1/W721-1

This document contains information on installing and connecting up the following products and their approvals:

– SCALANCE W761-1 RJ-45

– SCALANCE W722-1 RJ-45

– SCALANCE W721-1 RJ-45

Introduction 1.1 Security information

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 16 Configuration Manual, 11/2014, C79000-G8976-C351-03

● System Manual Structure of an Industrial Wireless LAN

Apart from the description of the physical basics and a presentation of the main IEEE standards, this also contains information on data security and a description of the industrial applications of wireless LAN. You should read this manual if you want to set up WLAN networks with a more complex structure (not simply a connection between two devices).

● System manual RCoax

This system manual contains both an explanation of the fundamental technical aspects as well as a description of the individual RCoax components and their functionality. Installation/commissioning and connection of RCoax components and their operating principle are explained. The possible applications of the various SIMATIC NET components are described.

● System manual - Passive Network Components IWLAN

This system manual explains the entire IWLAN cabling that you require for your IWLAN application. For a flexible combination and installation of the individual IWLAN components both indoors and outdoors, a wide ranging selection of compatible coaxial accessories are available. The system manual also covers connecting cables as well as a variety of plug-in connectors, lightning protectors, a power splitter and an attenuator.

SIMATIC NET manuals You will find SIMATIC NET manuals on the Internet pages of Siemens Industry Online Support:

● Using the search function:

support.automation.siemens.com (http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo2&aktprim=99&lang=en)

Enter the entry ID of the relevant manual as the search item.

● In the navigation panel on the left-hand side in the area "Industrial Communication":

Industrial communication (http://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=de&siteid=csius&aktprim=0&extranet=standard&viewreg=WW&objid=10805878&treeLang=en)

Go to the required product group and make the following settings: tab "Entry list", Entry type "Manuals"

You will find the documentation for the SIMATIC NET products relevant here on the data storage medium that ships with some products:

● Product CD / product DVD

● SIMATIC NET Manual Collection

● SIMATIC NET IWLAN CD

Introduction 1.1 Security information

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 17

Further documentation The "SIMATIC NET Industrial Ethernet Network Manual" contains information on other SIMATIC NET products that you can operate along with the devices of this product line in an Industrial Ethernet network. There, you will find among other things optical performance data of the communication partners that you require for the installation.

The "SIMATIC NET Industrial Ethernet Network Manual" can be found on the Internet pages of Siemens Industry Online Support under the following entry ID: 27069465 (http://support.automation.siemens.com/WW/view/en/27069465)

1.1 Security information Siemens provides automation and drive products with industrial security functions that support the secure operation of plants or machines. They are an important component in a holistic industrial security concept. With this in mind, our products undergo continuous development. We therefore recommend that you keep yourself informed with respect to our product updates. Please find further information and newsletters on this subject at: http://support.automation.siemens.com.

To ensure the secure operation of a plant or machine it is also necessary to take suitable preventive action (e.g. cell protection concept) and to integrate the automation and drive components into a state-of-the-art holistic industrial security concept for the entire plant or machine. Any third-party products that may be in use must also be taken into account. Please find further information at: http://www.siemens.com/industrialsecurity

SIMATIC NET glossary Explanations of many of the specialist terms used in this documentation can be found in the SIMATIC NET glossary.

You will find the SIMATIC NET glossary here:

● SIMATIC NET Manual Collection or product DVD

The DVD ships with certain SIMATIC NET products.

● On the Internet under the following entry ID:

50305045 (http://support.automation.siemens.com/WW/view/en/50305045)

Introduction 1.1 Security information

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 18 Configuration Manual, 11/2014, C79000-G8976-C351-03

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 19

Description 2 2.1 Working with the Command Line Interface (CLI)

Introduction All the configuration settings for the device can be made using the Command Line Interface (CLI). The CLI therefore provides the same options as Web Based Management (WBM). You should read the detailed explanations of the parameters in the configuration manual "SCALANCE W700 Web Based Management". The CLI allows remote configuration over Telnet.

Note Use with Windows 7

If you want to access the Command Line Interface in Windows 7, make sure that the functions required for this are enabled in Windows 7.

Starting the CLI in a Windows console Follow the steps outlined below to start the Command Line Interface in a Windows console:

1. Open a Windows console and type in the command "telnet" followed by the IP address of the device you are configuring: C:\>telnet <IP address>

2. Enter your login and password.

As an alternative, you can also enter the command "telnet" followed by the IP address of the device you are configuring in the Start > Run menu.

Note Requirement for use of the CLI

You should only use the command line interface if you are an experienced user.

Even commands that bring about fundamental changes to the configuration are executed without a prompt for confirmation.

Errors in the configuration can mean that no further operation is possible in the entire network.

Note

Command sets depend on the logged-on user. Changing configuration data is possible only with the "admin" login.

Description 2.2 CLI modes

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 20 Configuration Manual, 11/2014, C79000-G8976-C351-03

2.2 CLI modes

Grouping of the commands in the various modes The commands of the Command Line Interface are grouped according to various modes. Apart from a few exceptions (help, exit), commands can only be called up in the mode to which they are assigned. This grouping allows different levels of access rights for each individual group of commands. The following graphic is an overview of the available modes.

User EXEC mode This mode is active after you log in as "user" in a console window. In this mode, you can use show commands to display the current values of configuration parameters. You are logged out with the exit command.

It is not possible to modify parameters in this mode. To be able to modify configuration parameters, you need to change to the Privileged EXEC mode.

Privileged EXEC mode In this mode, you can you display the configuration data and change it.

If you log with the "admin" user, you change directly to the Privileged EXEC mode.

To change from the User EXEC Mode to the Privileged EXEC mode, enter the enable command. When the command executes, you will be prompted to enter the password for the "admin" user. You are logged out with the exit command.

Description 2.3 The CLI command prompt

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 21

Global Configuration mode In this mode, you can make basic configuration settings. In addition to this, you can also call up modes for the configuration of special interfaces or functions, for example to configure a VLAN or a PLUG. You change to this mode by entering configure terminal in the Privileged EXEC mode. You exit this mode by entering end or exit.

Other configuration modes From the Global Configuration mode, you can change to other configuration modes for special tasks. These are either general configuration modes (for example line configuration, interface configuration) or protocol-specific configuration modes (FTP, NTP).

2.3 The CLI command prompt

Overview The Command Line Interface prompt shows the following information:

● The mode in which the CLI is currently operating. Most commands can only be called in a particular mode. You should therefore check the CLI mode based on the command prompt.

– User Exec mode: CLI>

– Privileged Exec mode and configuration modes: CLI(...)#

● The selected interface when the CLI is in an Interface Configuration mode. In the Interface Configuration mode, the parameters are configured for one specific interface. The command prompt is displayed in the form CLI(config-if-$$$)# where the placeholder $$$ is replaced by the identifier of the Interface. You select the Interface by setting suitable parameters for the interface command.

● An identifier when the Trial mode is enabled. If you first test changes to the configuration and then want to discard them, disable the Auto save function with the no auto-save command. You are then in Trial mode. Changes to the configuration that you have not saved are indicated by an asterisk in front of the command prompt: *CLI(...)#. You save the changes to the configuration with the command write startup-config. With the auto-save command, you enable the Auto save function again.

Note

Upper and lower case

The Command Line Interface does not distinguish between upper case and lower case letters.

Make sure, however, that names used by the operating system or other programs are correctly written. Blank

To use blanks in a text, enter the text in quotes, for example "H e l l o"

Description 2.4 Symbols of the CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 22 Configuration Manual, 11/2014, C79000-G8976-C351-03

2.4 Symbols of the CLI commands

Symbols for representing CLI commands When setting parameters for CLI commands, the following characters are used: Charac-ter

Meaning

< ... > mandatory parameter Instead of the expression in parenthesis, enter a value. [ ... ] optional parameter Instead of the expression in parenthesis, you can enter a

value. ( ... ) Value or range of values Instead of the expression in parenthesis, enter a value. ( ... - ... ) Range of values Enter a value from this range. { ... } Selection list Select one more elements from the list. { ... | ... } exclusive selection Select exactly one element from this list.

These characters are used in combinations to describe mandatory and optional entries.

There is a general description of some of these combinations below: Character combinations Meaning < Parameter > Instead of the expression in parentheses<>, enter a

permitted value. < < Unit (a - b) > Instead of the expression in parentheses <>, enter a

value from the range "a" to "b". The unit to be used is specified before the brackets () and is also replaced by the entry.

[<Parameter 1 >< Parameter 2 >] The parameter pair is optional. If you use the parameter assignment, you need to enter a permitted value to replace both expressions in parenthesis <>.

[ [ Keyword < Unit (a - b)>] The parameter assignment is optional. If you use the keyword, you need to enter a value from the range "a" to "b" to replace the expression in parenthesis <>.

[keyword { A | B | C }] The parameter assignment is optional. If you use the keyword, you need to specify exactly one of the values "A", "B" or "C".

Keyword [A] [B] [C] After the keyword, enter no or several of the values "A", "B" or "C".

Description 2.5 Interface identifiers and addresses

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 23

2.5 Interface identifiers and addresses

2.5.1 Naming interfaces

Addressing interfaces The device has several types of interface that are addressed in different ways:

Addressing physical interfaces

This notation also applies to other commands that address an Interface.

● Enter the command "interface".

● Specify the interface type <interface-type>.

● After a space, enter the interface identifier, <interface-id>.

The interface identifier is made up of the module number and the port number separated by a slash. The interfaces permanently installed in the device are identified with module 0.

Examples:

Fast Ethernet: interface fa 0/1

WLAN1: interface wlan 0/1

Addressing logical interfaces

This notation also applies to other commands that address a logical interface.

● VAP / WDS

– Enter the command "interface".

– Specify the interface type <interface-type>.

– After a space, enter the interface identifier, <interface-id>.

The interface identifier is made up of the module number and the port number separated by a slash. The interfaces permanently installed in the device are identified with module 0.

Example:

VAP 1.1: interface vap1 0/1

● VLAN

– Enter the command "interface".

– Enter the keyword for the VLAN interface.

– After a space, enter the number of the VLAN interface you assigned when you created it.

Example:

VLAN 2: interface vlan 2

Description 2.5 Interface identifiers and addresses

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 24 Configuration Manual, 11/2014, C79000-G8976-C351-03

Available physical interfaces Device Interfaces interface-type interface-id W761-1 RJ-45 W722-1 RJ-45

1 x Fast Ethernet fa: fast-ethernet X = 1 fa 0/X

1 x WLAN wlan X = 1 wlan 0/X

Available logical interfaces ● VLAN

The device supports up to 8 virtual networks. To be able to use a VLAN, create it with the vlan command.

● VAP / WDS

The WLAN interface supports 1 virtual access point (VAP) and 1 WDS interface

Device interface-type interface-id W722-1 RJ-45 vap

X = 1 Y = 1

vapX 0/Y

W761-1 RJ-45

vap

X = 1 Y = 1

vapX 0/Y

wds X = 1 Y = 1

wdsX 0/Y

Identification of the interfaces in the command prompt of the Interface Configuration mode To configure the interface use the command interface in the global configuration mode.

Since you configure precisely one of the existing interfaces in the Interface Configuration mode, the command prompt shows not only the mode but also the identifier of this interface.

The command prompt is as follows:

cli(config-if-$$$)#

The placeholder $$$ is replaced by the following name of the interface: Type of interface Command prompt wlan 0/X cli(config-if-wlan-0-X)# vapX 0/Y cli(config-if-vapX-0-Y)# wdsX 0/Y cli(config-if-wdsX-0-Y)# fa 0/X cli(config-if-F-0-X)# vlan$ cli(config-if-vlan-$)#

The placeholders X, Y, $ stand for the numbering of the interface.

Description 2.5 Interface identifiers and addresses

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 25

2.5.2 Address types, address ranges and address masks

Overview Since the various types of addresses can be represented by different notations, the notations used in the Command Line Interface are shown below:

● IPv4 addresses Addresses for the Internet Protocol version 4 are written in the decimal notation of four numbers from the range 0 to 255, separated by a period.

● Network masks A network mask is a series of bits that describes the network part of an IP address. The notation is normally decimal in keeping with the IP address.

● Alternative notation for network masks In contrast to the notation described above, network masks can also be represented as a number of 1 bits. The mask of the decimal representation 255.255.0.0 is then written as /16. The syntax is then for example: <ipaddress> / 16 Note that there must be a space before and after the "/".

● MAC addresses In the syntax of the Command Line Interface, a MAC address is represented as a sequence of 6 bytes in hexadecimal format, in each case separated by a colon. The syntax is then, for example aa:bb:cc:dd:ee:ff

● Multicast addresses Layer 2 multicast addresses as used on this device use the notation of MAC addresses. For permitted address ranges, check the rules or ask your network administrator.

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 26 Configuration Manual, 11/2014, C79000-G8976-C351-03

2.6 General CLI commands This section describes commands that you can call up in any mode.

2.6.1 clear screen

Description With this command, you clear the screen.

The command prompt is displayed.

Syntax Call the command without parameters:

clear screen

Result The screen is cleared.

The command prompt is displayed.

2.6.2 do

Description With this command, you can execute the commands from the Privileged EXEC mode in any mode.

Syntax Call up the command with the following parameters:

do [ command ]

To do this, you replace [ command ] with the command from the Privileged EXEC mode that you want to execute.

Example

do show cli-console-timeout

Result The command from the Privileged EXEC mode will be executed.

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 27

2.6.3 end

Description With this command, you close all configuration modes.

You are then in the Privileged EXEC mode.

Requirement You are in a configuration mode.

Syntax Call the command without parameters:

end

Result You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

2.6.4 exit

Description With this command, you close the current mode.

You are then at the next higher level in the user modes.

If you are in Privileged EXEC Modus or in User EXEC Modus mode, you will be logged out.

Syntax Call the command without parameters:

exit

Result The current mode was exited.

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 28 Configuration Manual, 11/2014, C79000-G8976-C351-03

2.6.5 Help functions and supported input The Command Line Interface provides various functions that are helpful when making entries in the command line:

● help

● ?

● Command completion with the tab key

● Automatic completion of incomplete commands

● Paging in the list of most recently used commands

● Display of the list of most recently used commands (show history)

2.6.5.1 help

Description With this command, you display the help entry for a command or the command list.

Syntax Call up help with the following parameters:

help [command]

Here, you replace [command] with the command for which you require help.

If the command for which you require help consists of several words, enter these words without spaces.

Result The syntax of the command is displayed.

Syntax If you call up help without parameters, you will obtain a list of all permitted commands in the current mode:

help

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 29

Result The mode-specific as well as the global commands are displayed.

Note Incomplete command names

If you have specified an incomplete command when calling help, a list of all commands that start with the term you have entered is created.

2.6.5.2 The command "?"

Description With this command, you call up the command list.

Syntax Enter a question mark to obtain a list of all permitted commands in the current mode:

?

For this command, you do not need to press the enter key. The command executes immediately after you type the character.

Result The mode-specific as well as the global commands are displayed.

Note Incomplete command names

If you have specified an incomplete command when calling the help function, a list of all commands that start with the term you have entered is created.

Note Output in pages

With long lists, the results are displayed as pages. If -- more -- appears at the lower edge of the display, you can move to the next page with the spacebar. If the display is in pages, you cannot page back. You exit the page display with the q key.

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 30 Configuration Manual, 11/2014, C79000-G8976-C351-03

2.6.5.3 Completion of command entries

Description The command interpreter of the Command Line Interface supports you when you enter commands.

As soon as the first characters of the command have been entered in the input line, the system can complete the entry as long as the character string is unambiguous.

This can be repeated after entering further characters.

Procedure Enter the first characters of the command.

Press the tab key.

Result The command interpreter completes the input as long as the command is unambiguous.

If you enter a character string that cannot be completed to form a command, an error message is displayed.

● The command is not unique: % Ambiguous Command

● The command is unknown: % Invalid Command

● The command is incomplete: % Incomplete command

If the entry is not yet complete, enter further characters.

With ?, you obtain a list of the possible commands.

Repeat this if necessary until the command is complete and can execute.

2.6.5.4 Abbreviated notation of commands

Description The command interpreter of the Command Line Interface also detects commands if only the first character of the command or its parts is entered.

This is only possible if all the parts of the abbreviated input can be assigned to exactly one command or to the parts of the command.

Example The show event config command can be replaced by the expression sh e c.

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 31

2.6.5.5 Reusing the last used commands

Description The Command Line Interface saves the last 14 commands used in a list assigned to the particular mode. This can then only be called up in the relevant mode.

Example: In the Global Configuration mode, all entered commands are saved. If you entered commands earlier in the Interface Configuration mode, these commands are not included in the list of the Global Configuration mode. You can only call up and reuse these commands in the Interface Configuration mode.

Procedure You can page through the list of the commands most recently used using the arrow up and arrow down keys.

If the command you are looking for is displayed, you can edit the command line as required and execute the command with the enter key.

Further notes You display the list of commands last used with the show history command. This function is available in every mode.

See also show history (Page 31)

2.6.5.6 show history

Description This command shows the last 14 commands you entered.

The commands are listed in the order in which they were called up. The show history command is listed as the last command to be entered.

The list depends on the mode. In the Global configuration mode, the last 14 commands entered in this mode are displayed. These commands are not included in the list of the Interface configuration mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Description 2.6 General CLI commands

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 32 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

show history

Result The list of used commands is displayed.

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 33

Configuration 3

The following is described in this section:

● System settings

● Saving and loading configurations and firmware

3.1 System This section describes commands with which general system properties can be displayed and configured.

3.1.1 show commands This section describes commands with which you display various settings.

3.1.1.1 show cli-console-timeout

Description This command shows the global configuration for the timeout of the CLI console.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show cli-console-timeout

Result The configuration for the timeout is displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 34 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.1.2 show coordinates

Description This command shows the system coordinates.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show coordinates

Result The system coordinates are displayed.

3.1.1.3 show device information

Description This command shows information about the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show device information

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 35

Result The following information about the device is displayed:

● MAC address of the device

● Serial Number

● System up time

● System name

● System contact

● System location

● Device Type

● Restart counter

● Config Save mode

● Config Change: This indicates whether or not the current configuration has been saved.

● Login Authentication mode: This indicates whether the authentication is made locally or on the RADIUS server.

3.1.1.4 show im

Description This command shows information on device-specific vendor and maintenance data such as the article number, serial number, version numbers etc.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show im

Result The information is displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 36 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.1.5 show interfaces

Description This command shows the status and the configuration of one, several or all interfaces.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show interfaces

[{

[<interface-type><interface-id>]

[{description|status}]

|

{vlan<vlan-id(1-4094)>}

}]

The parameters have the following meaning: Parameter Description Range of values / note interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface description Shows the description of the interface - status Shows the status of the interface - vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameters from the parameter list, the status and configuration of all available interfaces will be displayed.

Result The status and the configuration of the selected interfaces are displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 37

3.1.1.6 show interfaces ... counters

Description This command shows the counters of one, several or all interfaces.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show interfaces

[{<interface-type><interface-id>]|{vlan<vlan-id(1-4094)>}]counters

The parameters have the following meaning: Parameter Description Range of values / note interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the entries are displayed for all available counters.

Result The counters of the selected interfaces are displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 38 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.1.7 show interface mtu

Description With this command, you show the setting for the Maximum Transmission Unit (MTU) of the interfaces on the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show interface mtu [{Vlan<vlan-id(1-4094)>|

<interface-type><interface-id>}]

The parameters have the following meaning: Parameter Description Range of values Vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094 interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If no parameters are specified, the settings for all interfaces are displayed.

Result The settings are displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 39

3.1.1.8 show ip interface

Description This command shows the configuration of one, several or all IP interfaces.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show ip interface

[{

vlan <vlan-id(1-4094)> |

<interface-type> <interface-id> |

loopback

}]

The parameters have the following meaning: Parameter Description Range of values / note vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094 interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface loopback Loopback -

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the configuration is displayed for all available IP interfaces.

Result The configuration of the selected IP interface is displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 40 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.1.9 show pnio

Description This command shows the current PROFINET IO configuration.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show pnio

Result The current PROFINET IO configuration is displayed.

3.1.1.10 show lldp neighbors

Description This command shows the current content of the neighborhood table.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameter assignment:

show lldp neighbors

Result The neighborhood table is displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 41

3.1.1.11 show lldp status

Description This command shows per port whether LLDP frames are sent or received.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show lldp status[{port<interface-type><interface-id>}]

The parameters have the following meaning: Parameter Description Values port Keyword for a port channel - interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on identifiers of interfaces and addresses, refer to the section "Interface identifiers and addresses (Page 23)".

Result The information is displayed.

3.1.1.12 show versions

Description This command shows the versions of the hardware and software of the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 42 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

show versions

Result The following settings are displayed:

● Basic device

● Name

● Revision

● Order ID

● Firmware

● Bootloader

● Description

● Version

● Date

3.1.2 clear counters

Description With this command, you reset the counters of an interface.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call up the command with the following parameters:

clear counters [<interface-type><interface-id>]

The parameters have the following meaning: Parameter Description Range of values / note interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 43

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If no parameters are specified, the counters for all interfaces are reset.

Result The counters of the interface are reset.

Further notes You can display the statistical information of the interfaces with the show interfaces - counters command.

3.1.3 configure terminal

Description With this command, you change to the Global configuration mode.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call the command without parameters:

configure terminal

Result You are now in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Further notes You exit the Global configuration mode with the end command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 44 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.4 clear line vty

Description With this command, you close a console session on the device.

With the forceful-clear option, you close a session and that is not reacting.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call up the command with the following parameters:

clear line vty {<line-number(2-9)>|all}[forceful-clear]

The parameters have the following meaning: Parameter Description Range of values / note line-number Number of the connection that will be

terminated 2 ... 9

all terminates all connections - forceful-clear closes a session that is not reacting -

Result The console session is closed.

Further notes You show the logged-on users with the show users command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 45

3.1.5 disable

Description With this command, you close the Privileged EXEC mode.

You are then in the User EXEC mode.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call the command without parameters:

disable

Result You are in the User EXEC mode.

The command prompt is as follows:

cli>

3.1.6 enable

Description With this command, you change to the Privileged EXEC mode.

Requirement You are in the User EXEC mode.

The command prompt is as follows:

cli>

Syntax Call the command without parameters:

enable

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 46 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result You are prompted to enter the administrator password. After logging in successfully, you are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

3.1.7 logout

Description With this command, you exit the Command Line Interface.

If you are connected to the device via telnet, the session is closed.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

logout

Result The CLI session is ended and the Windows Login prompt is displayed.

3.1.8 ping

Description With this command, you request a response from a device in the network.

This allows you to check whether or not another node is reachable.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 47

Syntax Call up the command with the following parameters:

ping [ip]<destination-address>

[size<byte(0-2080)>]

[count<packet_count(1-10)>]

[timeout<seconds(1-100)>]

The parameters have the following meaning: Parameters Description Range of values ip Uses an IP address - destination-address Address of the called node Enter a valid IP address or a valid

hostname size Keyword for the size of the packets to be

transferred -

byte Keyword for the size of the packets in bytes 0 … 2080 count Keyword for the number of packets to be

requested -

packet_count Number of packets 1 … 10 timeout Response wait time

If this time expires, the request is reported as "timed out".

-

seconds Time to the timeout in seconds 1 … 100

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameters from the parameter list, the default values are used.

At system start or when using the restart command with the option memoryor factory, the following defaults apply: Parameters Default value size 32 count 3 time-out 1

Result The messages relating to the response of the called node are displayed.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 48 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.9 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

3.1.9.1 coordinates height

Description With this command, you enter a height coordinate.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

coordinates height <meter>

The parameter has the following meaning: Parameter Description Range of values / note meter Input box for the height coordinate max. 32 characters

To use spaces in the entry, enter the height coordinate in quotes: coordinates height "123 456"

Result The height coordinate is created.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 49

3.1.9.2 coordinates latitude

Description With this command, you enter a latitude coordinate.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

coordinates latitude <latitude>

The parameter has the following meaning: Parameter Description Range of values / note latitude Input box for the latitude coordinate max. 32 characters

To use spaces in the entry, enter the latitude coordinate in quotes: coordinates latitude "123 456"

Result The latitude coordinate is created.

3.1.9.3 coordinates longitude

Description With this command, you enter a longitude coordinate.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 50 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

coordinates longitude <longitude>

The parameter has the following meaning: Parameter Description Range of values / note longitude Input box for the longitude coordinate max. 32 characters

To use spaces in the entry, enter the longitude coordinate in quotes: coordinates longitude "123 456"

Result The longitude coordinate is created.

3.1.9.4 interface

Description With this command, you change to the Interface Configuration mode.

There you can edit the settings for one interface. You select the interface with the parameters of this command. If you specify a logical interface that does not exist, it will be created. The name of the selected interface is displayed in the command prompt.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

interface{vlan<vlan-id(1-4094)>

<interface-type><interface-id>}

The parameters have the following meaning: Parameter Description Values vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 … 4094 interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 51

Result You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

The placeholder $$$ is replaced by the following name of the interface: Type of interface Command prompt wlan cli(config-if-wlan-0-$)# wds cli(config-if-wds$-0-$)# vap cli(config-if-vap$-0-$)# vlan cli(config-if-vlan-$)# fast-ethernet cli(config-if-F-0-$)#

The placeholders $ or $-$ denote the numbering of the interface.

For the value ranges for the VLAN logical interface, refer to the upper table. You can only call up interfaces that you created with the vlan command.

The ranges of values from the physical interfaces depend on the hardware configuration.

Further notes You exit the Interface Configuration mode with the end or exit command.

You delete a logical interface with the no interface command.

You display the status and the configuration of the interfaces with the show interfaces command.

3.1.9.5 no interface

Description With this command, you delete a logical interface.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 52 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

no interface{vlan<vlan-id(1-4094)>}

The parameters have the following meaning: Parameter Description Values vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 … 4094

Result The logical interface is deleted.

Further notes You configure an interface with the interface command.

You display the status and the configuration of the interfaces with the show interfaces command.

3.1.9.6 cli-console-timeout

Description With this command, you enable the automatic logout and you configure the timeout setting for the CLI.

Note No automatic logout from the CLI

If the connection is not terminated after the set time, check the setting of the "keepalive" function on the Telnet client. If the set interval is shorter than the configured time, the lower value applies. You have set, for example, 300 seconds for the automatic logout and the "keepalive" function is set to 120 seconds. In this case, a packet is sent every 120 seconds that keeps the connection up.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 53

Syntax Call up the command with the following parameters:

cli-console-timeout [seconds(60-600)]

The parameters have the following meaning: Parameter Description Range of values / note seconds Time in seconds until automatic logout

after the last entry 60 ... 600 Default: 300

Result The time is configured and automatic logout is enabled.

Further notes You disable automatic logout with the no cli-console-timeout command.

You display the current timeout setting with the show cli-console-timeout command.

3.1.9.7 no cli-console-timeout

Description With this command, you disable the automatic logout.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no cli-console-timeout

Result Automatic logout is disabled.

Further notes You enable automatic logout with the cli-console-timeout command.

You display the current timeout setting with the show cli-console-timeout command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 54 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.9.8 system contact

Description With this command, you enter contact information for the system.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

system contact <string>

The parameter has the following meaning: Parameter Description Range of values / note string Input box for contact information max. 255 characters

Result The contact information is created in the system.

3.1.9.9 system location

Description With this command, you enter the location information for the system.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 55

Syntax Call up the command with the following parameters:

system location <string>

The parameter has the following meaning: Parameter Description Range of values / note string Input box for the location information max. 255 characters

Result The location information is created in the system.

3.1.9.10 system name

Description This command, you enter a name for the system.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

system name <string>

The parameter has the following meaning: Parameter Description Range of values / note string Input box for the name max. 255 characters

Result The name is created in the system.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 56 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.9.11 username

Description With this command, you change the password of a user.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

username {user|admin}password<passwd>

The parameters have the following meaning: Parameter Description user the password for the user is changed admin the password for the administrator is changed password Keyword for a password passwd Value for the password

Note Length of the password

The password must be at least 6 characters long.

Result The password is changed.

Note Changing the password in Trial mode

Even if you change the password in Trial mode, this change is saved immediately.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 57

3.1.10 Commands in the Interface configuration mode This section describes commands that you can call up in the interface configuration mode. Depending on the Interface selected, various command sets are available.

In the Global configuration mode, enter the interface command to change to this mode.

Commands relating to other topics that can be called in the interface configuration mode can be found in the relevant sections.

● If you exit the Interface configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the Interface configuration mode with the end command, you return to the Privileged EXEC mode.

3.1.10.1 alias

Description With this command, you assign a name to an interface. The name only provides information and has no effect on the configuration.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

alias <port-name>

The parameter has the following meaning: Parameter Description Range of values / note port-name Name of the interface max. 63 characters

Result The interface was assigned a name.

Further notes You delete the name of the interface with the no alias command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 58 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.10.2 no alias

Description With this command, you delete the name of the interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameter assignment:

no alias

Result The name of the interface is removed.

Further notes You configure the name of the interface with the alias command.

3.1.10.3 duplex

Description Certain interfaces can be operated in full duplex mode or half duplex mode. The options here depend on the connected device.

Optical connections, for example, are always operated in full duplex mode since they have a fiber for each transmission direction.

With this command, you configure the duplex mode of an interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 59

Syntax Call up the command with the following parameters:

duplex {full|half}

The parameters have the following meaning: Parameter Description Range of values / note full The Interface will be operated in full

duplex mode. Default: full

half The Interface will be operated in half duplex mode

-

Result The duplex mode of the interface is configured.

Further notes You can reset the duplex mode of the Interface to the default value with the no duplex command.

3.1.10.4 no duplex

Description With this command, you reset the duplex mode of an interface to the default value.

The default value is full.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no duplex

Result The duplex mode of the Interface is reset to the default value.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 60 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You configure the duplex mode of the interface with the duplex command.

3.1.10.5 lldp

Description With this command, you enable the sending and receipt of LLDP packets on the interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

lldp{transmit|receive}

The parameters have the following meaning: Parameters Description transmit the sending of LLDP packets is enabled receive the receipt of LLDP packets is enabled

At system start or when using the restart command with the option memoryor factory, the following defaults apply:

● Sending and receipt of LLDP packets are enabled.

Note Enabling both options

When you call this command, you can only select one option.

If you want to enable both options, call up the command again.

Result The setting is configured.

Further notes You disable the sending or receipt of LLDP packets with the no lldp command.

You display the status of LLDP with the show lldp status command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 61

3.1.10.6 no lldp

Description With this command, you disable the sending and receipt of LLDP packets on the interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

no lldp{transmit|receive}

The parameters have the following meaning: Parameters Description transmit the sending of LLDP packets is enabled receive the receipt of LLDP packets is disabled

Note Disabling both options

When you call this command, you can only select one option.

If you want to disable both options, call up the command again.

Result The setting is configured.

Further notes You enable the sending or receipt of LLDP packets with the lldp command.

You display the status of LLDP with the show lldp status command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 62 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.10.7 mtu

Description With this command, you configure the size of the Maximum Transmission Unit (MTU) for an interface.

Requirement ● The Interface must be shut down.

You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

mtu <frame-size(64-1500)>

The parameter has the following meaning: Parameter Description Range of values frame-size Size of the MTU in bytes 64 ... 1500

At system start or when using the restart command with the option memoryor factory, the following defaults apply:

● The size of the MTU is configured to 1536 bytes.

Result The setting for the size of the MTU is configured.

Further notes You can shut down the interface with the shutdown complete command.

You display this setting with the show interface mtu command.

You display this setting and other information with the show interfaces command.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 63

3.1.10.8 shutdown

Description With this command, you shut down the interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

shutdown complete

Result The Interface is shut down.

Note

If you use this command in the Interface Configuration mode for a VLAN (input prompt CLI(config-if-vlan-$)#, management access to the device is no longer possible. This relates to configuration using CLI, WBM and SNMP. Access is only possible again after resetting the device to the factory settings with the Reset button.

Further notes You activate the interface with the no shutdown command.

You can display the status of this function and other information with the show interfacescommand.

Configuration 3.1 System

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 64 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.1.10.9 no shutdown

Description With this command, you shut down an interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no shutdown

Result The Interface is activated.

Further notes You activate the interface with the shutdown complete command.

You can display the status of this function and other information with the show interfacescommand.

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 65

3.2 Load and Save This section describes commands for displaying, copying, saving and downloading files for the device.

Note

Note that during the installation of a previous version, the configuration data can be lost. In this case, the device starts up with the factory configuration settings after the firmware has been installed.

3.2.1 show loadsave files

Description This command shows the current Load&Save file information.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show loadsave files

Result The current Load&Save file information is displayed.

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 66 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.2.2 show loadsave tftp

Description This command shows the current configuration of the TFTP server for Load&Save.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show loadsave tftp

Result The current configuration of the TFTP server for Load&Save is displayed.

3.2.3 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

3.2.3.1 loadsave

Description With this command, you change to the LOADSAVE configuration mode.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 67

Syntax Call the command without parameters:

loadsave

Result You are now in the LOADSAVE configuration mode.

The command prompt is as follows:

cli(config-loadsave)#

Further notes You exit the LOADSAVE configuration mode with the exit command.

3.2.4 Commands in the LOADSAVE configuration mode This section describes commands that you can call up in the LOADSAVE configuration mode.

In the Global Configuration mode, enter the loadsave command to change to this mode.

You display the valid file types for the commands in the LOADSAVE Configuration mode with the global command show loadsave tftp.

● If you exit the LOADSAVE configuration mode with the exitcommand, you return to the Global Configuration mode.

● If you exit the LOADSAVE configuration mode with the end command, you return to the Privileged EXEC mode.

3.2.4.1 delete

Description With this command, you call up the possible files or delete a specific file.

Requirement You are in the LOADSAVE configuration mode.

The command prompt is as follows:

cli(config-loadsave)#

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 68 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

delete{showfiles|filetype<filetype>}

The parameters have the following meaning: Parameter Description Range of values / note showfiles Shows the available files - filetype Keyword for the file type to be deleted - filetype Name of the file type max. 100 characters

Result The files are displayed or the file is deleted.

3.2.4.2 tftp filename

Description With this command, you assign a name to a file type.

The file type decides the type that is affected by the tftp load or tftp save action. The name decides the file to be copied to or from the TFTP server.

Requirement You are in the LOADSAVE configuration mode.

The command prompt is as follows:

cli(config-loadsave)#

Syntax Call up the command with the following parameters:

tftp filename {showfiles|filetype< filetype >name<filename>}

The parameters have the following meaning: Parameter Description Range of values / note showfiles Shows the available files - filetype Keyword for a file type to be assigned

a name -

filetype Name of the file type max. 100 characters name Keyword for a file name to be assigned

to the file type -

filename Name of the file max. 100 characters

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 69

Result The file types are displayed or the file type is assigned a name.

3.2.4.3 tftp load

Description With this command, you load a file from a TFTP server into the file system of the device. The TFTP protocol is used for the transfer. You can also display a list of available files.

Requirement ● The name of the file is specified

● You are in the LOADSAVE Configuration mode. The command prompt is: cli(config-loadsave)#

Syntax Call up the command with the following parameters:

tftp load{showfiles|filetype<filetype>}

The parameters have the following meaning: Parameter Description Range of values / note showfiles Shows the available files - filetype Keyword for a file type to be loaded - filetype Name of the file type max. 100 characters

Result The file types are displayed or the file is downloaded to the device.

Further notes You configure the name of the file with the tftp filename command.

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 70 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.2.4.4 tftp save

Description With this command, you copy a file from the file system of the device to a TFTP server. The TFTP protocol is used for the transfer. You can also display a list of available files.

Requirement ● The name of the file is specified

● You are in the LOADSAVE Configuration mode. The command prompt is: cli(config-loadsave)#

Syntax Call up the command with the following parameters:

tftp save {showfiles|filetype<filetype>}

The parameters have the following meaning: Parameter Description Range of values / note showfiles Shows the available files - filetype Keyword for a file type to be loaded - filetype Name of the file type max. 100 characters

Result The file types are displayed or the file is copied.

Further notes You configure the name of the file with the tftp filename command.

3.2.4.5 tftp server

Description With this command, you configure the access to a TFTP server.

Requirement You are in the LOADSAVE configuration mode.

The command prompt is as follows:

cli(config-loadsave)#

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 71

Syntax Call up the command with the following parameters:

tftp server {<ipv4-addr>}[port<tcp port(1-65535)>]

The parameters have the following meaning: Parameter Description Range of values / note ipv4-addr Identifies the unicast IPv4 address Enter a valid unicast IPv4 address port Keyword for the port of the server via

which the TFTP connection runs -

tcp port Number of the port 1 … 65535

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The settings for the access to the selected TFTP server are configured.

3.2.4.6 password

Description With this command, you activate and configure the password for the user certificate.

Note

This command is only available in the client mode

Requirement You are in the LOADSAVE configuration mode.

The command prompt is as follows:

cli(config-loadsave)#

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 72 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

password {showfiles|filetype<filetype>[pw<password>]}

The parameters have the following meaning: Parameter Description Values showfiles Shows the available files - filetype Shows that the file type follows that will be loaded - filetype Name of the file type max. 100 characters pw Keyword for the password - password Password Enter the password for

the user certificate.

Result The password for the user certificate is configured and activated.

Further notes You disable the password with the no password command.

3.2.4.7 no password

Description With this command, you disable the password for the user certificate.

Note

This command is only available in the client mode

Requirement You are in the LOADSAVE configuration mode.

The command prompt is as follows:

cli(config-loadsave)#

Configuration 3.2 Load and Save

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 73

Syntax Call up the command with the following parameters:

no password {showfiles|filetype<filetype>}

The parameters have the following meaning: Parameter Description Values showfiles Shows the available files - filetype Shows that the file type follows that will be loaded - filetype Name of the file type max. 100 characters

Result The password for the user certificate is disabled.

Further notes You enable the password for the user certificate with the password command.

Configuration 3.3 Reset and Defaults

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 74 Configuration Manual, 11/2014, C79000-G8976-C351-03

3.3 Reset and Defaults This section describes commands for restarting the device and for restoring the original configuration.

3.3.1 restart

Description With this command, you restart the device.

Select one of the following configuration settings:

● Device restart with the current configuration

● Device restart with the factory configuration settings with the exception of the following parameters:

– IP addresses

– Subnet mask

– IP address of the default gateway

– DHCP client ID

– DHCP

– System name

– System location

– System contact

– User names and passwords

– Mode of the device

● Device restart with the factory configuration settings.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Configuration 3.4 Configuration Save & Restore

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 75

Syntax Call up the command with the following parameters:

restart[{memory|factory}]

The parameters have the following meaning:

● if no parameters are specified: restarts the system with the current configuration

Parameter Description memory Resets the system to the factory configuration settings and restarts the system.

The parameters listed above are unaffected by a reset. factory Resets the system to the factory configuration settings and restarts the system.

Result The device is restarted with the selected settings.

3.4 Configuration Save & Restore This section describes commands for displaying, saving and restoring configuration settings.

3.4.1 show running-config

Description This command shows configuration settings of the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Configuration 3.4 Configuration Save & Restore

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 76 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

show running-config

[{

syslog|dhcp|qos|stp|vlan<vlan-id(1-4094)>|

interface

{

<interface-type><interface-id>|

vlan<vlan-id(1-4094)>

}|

ssh|ssl|acl|ip|snmp|radius|sntp|http|locked-port|

auto-logout|time|

ntp|auto-save|wlan

}][all]

The parameters have the following meaning: Parameter Description Range of values syslog Shows the configuration settings of the Syslog

function -

dhcp shows the configuration settings of the Dynamic Host Configuration Protocol

-

qos shows the configuration settings of QoS (Quali-ty of Service)

-

stp shows the configuration settings of the Span-ning Tree Protocol

-

vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094 interface Shows that an interface description follows - interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface ssh Shows the configuration settings of the Secure

Shell protocol -

ssl Shows the configuration settings of the Secure Sockets Layer protocol

-

acl Shows the configuration settings of the access control list

-

ip Shows the configuration settings of the Internet Protocol

-

snmp Shows the configuration settings of the Simple Network Management Protocol

-

radius Shows the configuration settings of the Remote Authentication Dial-In User service

-

sntp Shows the configuration settings of the Simple Network Time Protocol

-

http Shows the configuration settings of the Hyper-text Transfer Protocol

-

locked-port Shows the configuration settings of the locked port function.

Configuration 3.4 Configuration Save & Restore

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 77

Parameter Description Range of values auto-logout Shows the configuration settings of the auto

logout function -

time Shows the configuration settings of the system time

-

ntp Shows the configuration settings of the Network Time Protocol

-

auto-save Shows the configuration settings of the auto save function

-

wlan Shows the configuration settings of the WLAN - all Shows all configuration settings -

For information on identifiers of interfaces and addresses, refer to the section "Interface identifiers and addresses (Page 23)".

If you call up the command without parameters, only the active operational settings of all modules and all interfaces that do not match the preset values are displayed.

Result The selected configuration settings of the device are displayed.

3.4.2 write startup-config

Description With this command, you save the changes to the configuration in the configuration file.

The use of this command is required in the Trial mode. It can also be used in "auto save mode".

Requirement ● The Trial mode is activated.

● You are in the Privileged EXEC mode. The command prompt is: *cli(...)#

Syntax Call the command without parameter assignment:

write startup-config

Configuration 3.4 Configuration Save & Restore

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 78 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The changes are saved in the configuration file.

Use the restart command without parameters to restart the system with this configuration.

Further notes You enable the auto save function or disable the Trial mode with the auto-save command.

You disable the auto save function or enable the Trial mode with the no auto-save command.

3.4.3 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

3.4.3.1 auto-save

Description The CLI can save changes to the configuration automatically.

If you first want to test changes made to the configuration so that you can discard them afterwards if necessary, you can disable the auto save function.

You are then in the Trial mode.

Changes to the configuration that you have not saved, are indicated by an asterisk in front of the command prompt: *cli(...)#.

You save the changes to the configuration with the write startup-config command.

With the auto-save command, you enable the auto save function.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Configuration 3.4 Configuration Save & Restore

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 79

Syntax Call the command without parameters:

auto-save

As default the function is "enabled".

Result The auto save function is enabled.

Further notes You save changes to the configuration in the Trial mode with the write startup-config command.

You disable the function with the no auto-save command.

You can display the status of this function and other information with the show device informationcommand.

3.4.3.2 no auto-save

Description With this command, you disable the auto save function.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no auto-save

Result The auto save function is disabled. The Trial mode is activated.

Configuration 3.5 SINEMA

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 80 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You enable the function with the auto-save command.

You can display the status of this function and other information with the show device informationcommand.

You save changes to the configuration in the Trial mode with the write startupconfig command.

3.5 SINEMA

3.5.1 show sinema

Description This command shows whether the SINEMA configuration interface is enabled or disabled.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show sinema

Result The setting of the SINEMA configuration interface is displayed.

3.5.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

Configuration 3.5 SINEMA

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 81

3.5.2.1 sinema

Description With this command, you enable the SINEMA configuration interface.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameter assignment:

sinema

Result The SINEMA configuration interface is enabled.

Further notes You disable the SINEMA configuration interface with the no sinema command.

You display the setting whether the SINEMA configuration interface is enabled or disabled with the command show sinema.

3.5.2.2 no sinema

Description With this command, you disable the SINEMA configuration interface.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameter assignment:

no sinema

Configuration 3.5 SINEMA

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 82 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The SINEMA configuration interface is disabled.

Further notes You enable the SINEMA configuration interface with the sinema command.

You display the setting whether the SINEMA configuration interface is enabled or disabled with the command show sinema.

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 83

Functions specific to SCALANCE 4

This part contains the sections that describe functions specific to SCALANCE.

Note Availability of the iFeatures

The iPCF function is available only for the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

4.1 WBM On the device, you can limit the time available for access with Web Based Management. If no entry is made for a specific time, the WBM session is closed.

This section describes commands relevant for the configuration of this feature.

4.1.1 show web-session-timeout

Description This command shows the timeout setting for the WBM.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show web-session-timeout

Result The timeout setting for the WBM is displayed.

Functions specific to SCALANCE 4.1 WBM

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 84 Configuration Manual, 11/2014, C79000-G8976-C351-03

4.1.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

4.1.2.1 web-session-timeout

Description With this command, you enable the automatic logoff and you configure the timeout setting for the WBM.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

web-session-timeout[seconds(60-3600)]

The parameter has the following meaning: Parameter Description Range of values / note seconds Time in seconds until automatic logoff

after the last entry 60 … 3600 Default: 900

Result The time is configured and automatic logout is enabled.

Further notes You disable automatic logoff with the no web-session-timeout command.

You display the current timeout setting with the show web-session-timeout command.

Functions specific to SCALANCE 4.2 Signal recorder

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 85

4.1.2.2 no web-session-timeout

Description With this command, you disable the automatic logoff.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no web-session-timeout

Result Automatic logoff is disabled.

Further notes You enable automatic logoff with the web-session-timeout command.

You display the current timeout setting with the show web-session-timeout command.

4.2 Signal recorder This section describes the commands relevant for working with the signal recorder.

4.2.1 show wlan signal-recorder (Client)

Description This command shows the status of the signal recorder. You can call the command before, after or during the recording.

Note

This command is only available in the client mode.

Functions specific to SCALANCE 4.2 Signal recorder

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 86 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan signal-recorder <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The status of the signal recorder and the recording are displayed.

● If the recording has started, the configured interval and the current number of recorded measured values are displayed.

● If the recording has stopped, the configured interval and the number of recorded measured values are displayed.

4.2.2 wlan signal-recorder start sample_number (Client)

Description With this command, you configure and start recording with the signal recorder. The measured values are logged in files. On completion of the recording, the files can be downloaded as a zip file using http or tftp. The values are stored every 10 minutes. The file contains all values since the start of the recording.

Note

This command is only available in the client mode.

Functions specific to SCALANCE 4.2 Signal recorder

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 87

Requirement ● The WLAN interface is enabled.

You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

wlan signal-recorder <wlan 0/X> <ms (1 - 60000)> <sample_number(1 - 20000)> start

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface. ms The interval in milliseconds (ms) be-

tween acquisition of two measured values

1 - 60000

sample_number This parameter specifies how many measured values will be recorded.

1 - 20000

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The recording is configured and will be started. The measured values are logged in files. If these files already exist, they will be overwritten. If the set total number of measured values is reached, the recording stops automatically. Use the wlan signal-recorder <wlan 0/X> stop command to end the recording early or to end the recording if the number of measured values was not specified.

Further notes You stop the recording early with the wlan signal-recorder <wlan 0/X> stop command.

You display the status of the signal recorder and the recording with the show wlan signal-recorder <wlan 0/X> command.

Functions specific to SCALANCE 4.2 Signal recorder

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 88 Configuration Manual, 11/2014, C79000-G8976-C351-03

4.2.3 wlan signal-recorder stop (client)

Description With this command, you stop the recording with the signal recorder.

Note

This command is only available in the client mode.

Requirement ● A recording was started.

You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax ● The WLAN interface is enabled.

Call up the command with the following parameters:

wlan signal-recorder <wlan 0/X> stop

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The recording was stopped.

Further notes You start the recording with the wlan signal-recorder start command.

Functions specific to SCALANCE 4.2 Signal recorder

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 89

4.2.4 wlan signal-recorder display (client)

Description With this command, you configure and start recording with the signal recorder without specifying a total for the measured values. The measured values are output in the CLI and logged in files. The files can be downloaded as a zip file using http or tftp. The values are stored every 10 minutes and overwrite the existing values. The file therefore contains the values since the last time they were stored.

Note

This command is only available in the client mode.

Requirement ● The WLAN interface is enabled.

You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

wlan signal-recorder <wlan 0/X> <ms (100 - 60000)> display

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface. ms The interval in milliseconds (ms) be-

tween acquisition of two measured values

100 - 60000

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The recording is configured and will be started. The measured values are output in the CLI and logged in files. If these files already exist, they will be overwritten.

Use the wlan signal-recorder <wlan 0/X> stop command to stop the recording.

During the recording, it is possible that working in the CLI becomes slower.

Functions specific to SCALANCE 4.2 Signal recorder

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 90 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You stop the recording early with the wlan signal-recorder <wlan 0/X> stop command.

You display the status of the signal recorder and the recording with the show wlan signal-recorder <wlan 0/X> command.

4.2.5 wlan signal-recorder display sample_number (Client)

Description With this command, you configure and start recording with the signal recorder. The measured values are output in the CLI and logged in files. On completion of the recording, the files can be downloaded as a zip file using http or tftp. The values are stored every 10 minutes. The file contains all values since the start of the recording.

Note

This command is only available in the client mode.

Requirement ● The WLAN interface is enabled.

You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

wlan signal-recorder <wlan 0/X> <ms (100 - 60000)> <sample_number (1 - 20000)>

display

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface. ms The interval in milliseconds (ms) be-

tween acquisition of two measured values

100 - 60000

sample_number This parameter specifies how many measured values will be recorded.

1 - 20000

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Functions specific to SCALANCE 4.3 iPCF

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 91

Result The recording is configured and will be started. The measured values are output in the CLI and logged in files. If these files already exist, they will be overwritten. If the set total number of measured values is reached, the recording stops automatically.

Use the wlan signal-recorder <wlan 0/X> stop command to stop the recording early.

During the recording, it is possible that working in the CLI becomes slower.

Further notes You stop the recording early with the wlan signal-recorder <wlan 0/X> stop command.

You display the status of the signal recorder and the recording with the show wlan signal-recorder <wlan 0/X> command.

4.3 iPCF This section describes the commands relevant for working with the iPCF function (industrial Point Coordination Function).

Note

The commands are only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

4.3.1 show wlan ipcf

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description This command shows the settings of iPCF.

Functions specific to SCALANCE 4.3 iPCF

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 92 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan ipcf <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The iPCF settings are displayed.

4.3.2 WLAN Interface Configuration mode This section describes commands that you can call up in the WLAN Interface Configuration mode. Depending on the Interface selected, various command sets are available.

In the Global Configuration mode, enter the interface wlan 0/X command to change to this mode.

● If you exit the WLAN Interface Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the WLAN Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

4.3.2.1 wlan ipcf

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Functions specific to SCALANCE 4.3 iPCF

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 93

Description With this command, you enable the iPCF mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameters:

wlan ipcf

Result The iPCF mode is enabled.

Further notes You disable the iPCF mode with the no wlan ipcf command.

You display the setting with the show wlan ipcf command.

4.3.2.2 no wlan ipcf

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you disable the iPCF mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Functions specific to SCALANCE 4.4 iPCF-MC

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 94 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

no wlan ipcf

Result The iPCF mode is disabled.

Further notes You enable the iPCF mode with the wlan ipcf command.

You display the setting with the show wlan ipcf command.

4.4 iPCF-MC This section describes the commands relevant for working with the iPCF-MC function (industrial Point Coordination Function - Management Channel).

Note

The commands are only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AA0

(US version))

4.4.1 show wlan ipcf-mc

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description This command shows the settings of iPCF-MC.

Functions specific to SCALANCE 4.4 iPCF-MC

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 95

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameter assignment:

show wlan ipcf-mc

Result The iPCF_MC settings are displayed.

4.4.2 Commands in the WLAN configuration mode This section describes commands that you can call up in the WLAN configuration mode.

In the Global Configuration mode, enter the wlan command to change to this mode.

Commands relating to other topics that can be called in the WLAN configuration mode can be found in the relevant sections.

● If you exit the WLAN configuration mode with the exitcommand, you return to the Global configuration mode.

● If you exit the WLAN Configuration mode with the end command, you return to the Privileged EXEC mode.

4.4.2.1 wlan ipcf-mc

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you enable iPCF-MC on this device.

Functions specific to SCALANCE 4.4 iPCF-MC

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 96 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the WLAN configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call the command without parameter assignment:

wlan ipcf-mc

Result iPCF-MC is enabled.

Further notes You disable iPCF-MC with the no wlan ipcf-mc command.

You display the setting with the show wlan ipcf-mc command.

4.4.2.2 no wlan ipcf-mc

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you disable iPCF-MC on this device.

Requirement You are in the WLAN configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call the command without parameter assignment:

no wlan ipcf-mc

Functions specific to SCALANCE 4.4 iPCF-MC

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 97

Result iPCF-MC is disabled.

Further notes You enable iPCF-MC with the wlan ipcf-mc command.

You display the setting with the show wlan ipcf-mc command.

4.4.2.3 wlan ipcf-mc cycle-time (access point)

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you configure the cycle time for iPCF-MC.

Requirement You are in the WLAN configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call up the command with the following parameters:

wlan ipcf-mc cycle-time <ms (32-512)>

The parameter has the following meaning: Parameter Description Values or range of values ms Cycle time in millisec-

onds (ms) 32 ... 512

Result The cycle time is configured.

Further notes You display the setting with the show wlan ipcf-mc command.

Functions specific to SCALANCE 4.4 iPCF-MC

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 98 Configuration Manual, 11/2014, C79000-G8976-C351-03

4.4.2.4 wlan ipcf-mc mgmt-scan-period (client)

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you the time for the background scan interval as a multiple of the update time.

Requirement The device is in client mode.

You are in the WLAN configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call up the command with the following parameters:

wlan ipcf-mc mgmt-scan-period <num-of-cycles (1-10)>

The parameter has the following meaning: Parameter Description Values or range of values num-of-cycles Duration 1 ... 10

Result The time is set.

Further notes You display the setting with the show wlan ipcf-mc command.

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 99

System time 5

This part contains the sections describing how the system time is obtained and the settings.

5.1 System time setting This section describes commands relevant for the configuration of the system time.

5.1.1 The "show" commands This section describes commands with which you display various settings.

5.1.1.1 show time

Description This command shows the settings of the system clock.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show time

Result The settings for the system clock are displayed.

System time 5.1 System time setting

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 100 Configuration Manual, 11/2014, C79000-G8976-C351-03

5.1.1.2 show dst info

Description This command shows all the entries for daylight saving time stored on the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show dst info

Result The entries for daylight saving time are displayed.

5.1.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

5.1.2.1 time

Description With this command, you configure the way in which the system time is obtained.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

System time 5.1 System time setting

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 101

Syntax Call up the command with the following parameters:

time{manual|ntp|sntp|SINEC}

The parameters have the following meaning: Parameter Description manual The system time is entered by the user ntp The system time is obtained from an NTP server sntp The system time is obtained from an SNTP server SINEC The system time is obtained using the "SIMATIC time protocol"

Result The method of obtaining the system time is configured.

Further notes You display the settings for the system clock with the show time command.

5.1.2.2 time set

Description With this command, you set the system clock.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

time set hh:mm:ss <day (1-31)>

{january|february|march|april|may|june|july|august|september|october|november|decembe

r}

<year (2000 - 2035)>

System time 5.1 System time setting

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 102 Configuration Manual, 11/2014, C79000-G8976-C351-03

The parameters have the following meaning: Parameter Description Range of values / note hh:mm:ss Time of day Hour, minute, second each sepa-

rated by ":" no link day Day of the month 1 ... 31 - Month january, february, march, april,

may, june, july, august, septem-ber, october, november, decem-ber

year Year 2000 ... 2035

Result The system time is set.

Further notes You display the settings for the system clock with the show time command.

5.1.2.3 time dst date

Description With this command, you configure the start and end of daylight saving time.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

time dst date <name(16> <year (1900-2099)> begin <MMDDhh> end <MMDDhh>

System time 5.1 System time setting

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 103

The parameters have the following meaning: Parameter Description Range of values / note name Name of the entry maximum 16 characters year Year 1900 ... 2099 begin Keyword for the start of daylight saving

time. -

MMDDhh Time for the start of daylight saving time.

Time in the format MM Month DD Day hh Hour

end Keyword for the end of daylight saving time.

-

MMDDhh Time for the end of daylight saving time.

Time in the format MM Month DD Day hh Hour

Result The entry for the start and end of daylight saving time was created.

5.1.2.4 time dst recurring

Description With this command, you configure the start and end of daylight saving time with a generic description.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

time dst recurring <name(16)> begin {<week(1-5)> | last} <weekday> <month> <hour> end

{<week(1-5)> | last} <weekday> <month> <hour>

System time 5.1 System time setting

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 104 Configuration Manual, 11/2014, C79000-G8976-C351-03

The parameters have the following meaning: Parameter Description Range of values / note name Name of the entry maximum 16 characters begin Keyword for the start of daylight saving

time. -

week Calendar week in a month 1 ... 5 last Keyword for the last calendar week in a

month -

weekday Weekday monday, tuesday, wednesday, thursday, friday, saturday, sunday

month Month january, february, march, april, may, june, july, august, septem-ber, october, november, decem-ber

hour Hour 0 ... 23 end Keyword for the end of daylight saving

time. -

Result The entry for the start and end of daylight saving time was created.

5.1.2.5 no time dst

Description With this command you delete the entry for the start and end of daylight saving time with the specified name. If you do not specify a name as the parameter, all entries are deleted.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no time dst [<name(16>]

The parameter has the following meaning: Parameter Description Range of values name Name of the entry maximum 16 characters

System time 5.2 NTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 105

Result An entry or the entries for the start and end of daylight saving time was/were deleted.

5.2 NTP client This section describes commands relevant for configuration of the NTP client.

5.2.1 show ntp info

Description This command shows the current settings for the Network Time Protocol (NTP).

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ntp info

Result The current NTP settings are displayed.

5.2.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

System time 5.2 NTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 106 Configuration Manual, 11/2014, C79000-G8976-C351-03

5.2.2.1 ntp

Description With this command, you change to the Network Time Protocol (NTP).

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

ntp

Result You are now in the NTP configuration mode.

The command prompt is as follows:

cli(config-ntp)#

Further notes You exit the NTP configuration mode with the end or exit command.

5.2.3 Commands in the NTP configuration mode This section describes commands that you can call up in the NTP configuration mode.

In the Global configuration mode, enter the ntp command to change to this mode.

● If you exit the NTP configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the NTP configuration mode with the end command, you return to the Privileged EXEC mode.

System time 5.2 NTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 107

5.2.3.1 ntp server

Description With this command, you configure the connection to a server on the NTP client.

Requirement You are in the NTP configuration mode.

The command prompt is as follows:

cli(config-ntp)#

Syntax Call up the command with the following parameters:

ntp server{ipv4 <ip_addr> | fqdn-name <FQDN(100)>}[port<123,1025-

36564>][poll<seconds(64-1024)>]

The parameter has the following meaning: Parameter Description Range of values / note ipv4 Keyword for an IPv4 address - ip_addr Value for the IPv4 address of the time

server Enter a valid IPv4 address

fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Domain

Name) Maximum of 100 characters

port UDP port of the time server • 123 • 1025 … 36564 Default: 123

poll Keyword for the time after which the time of day is requested again

-

seconds Value for the time in seconds 64 … 1024

For information on identifiers of addresses and interfaces, refer to the section "Addresses and interface identifiers (Page 23)".

Result The connection to a server is configured on the NTP client.

Further notes You delete the connection to a server with the no ntp server command.

System time 5.2 NTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 108 Configuration Manual, 11/2014, C79000-G8976-C351-03

5.2.3.2 no ntp server

Description With this command, you delete the connection to a server on the NTP client.

Requirement You are in the NTP configuration mode.

The command prompt is as follows:

cli(config-ntp)#

Syntax Call the command without parameter assignment:

no ntp server

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The connection to a server is deleted on the NTP client.

Further notes You configure the connection to a server with the ntp server command.

5.2.3.3 ntp time diff

Description With this command, you configure the time difference between the device and the NTP server.

Requirement You are in the NTP configuration mode.

The command prompt is as follows:

cli(config-ntp)#

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 109

Syntax Call up the command with the following parameters:

ntp time diff <(+/-hh:mm)>

The parameter has the following meaning: Parameter Description + Time zones to the west of the NTP server time zone - Time zones to the east of the NTP server time zone hh Number of hours difference mm Number of minutes difference

Enter the number of hours and number of minutes with two digits each.

Default: No time difference.

Result The time difference between the device and the NTP server is configured.

5.3 SNTP client This section describes commands relevant for configuration of the SNTP client.

5.3.1 show sntp broadcast-mode status

Description This command shows the current configuration of the broadcast mode of SNTP.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show sntp broadcast-mode status

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 110 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The current SNTP broadcast configuration is displayed.

5.3.2 show sntp status

Description This command shows the settings of the Simple Network Time Protocol.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show sntp status

Result The settings of SNTP are displayed.

5.3.3 show sntp unicast-mode status

Description This command shows the current configuration of the unicast mode of SNTP.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show sntp unicast-mode status

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 111

Result The current SNTP unicast configuration is displayed.

5.3.4 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

5.3.4.1 sntp

Description With this command, you change to the SNTP configuration mode.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

sntp

Result You are now in the SNTP configuration mode.

The command prompt is as follows:

cli(config-sntp)#

Further notes You exit the SNTP configuration modewith the end or exit command.

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 112 Configuration Manual, 11/2014, C79000-G8976-C351-03

5.3.5 Commands in the SNTP configuration mode This section describes commands that you can call up in the SNTP configuration mode.

In the Global configuration mode, enter the sntp command to change to this mode.

● If you exit the SNTP configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the SNTP configuration mode with the end command, you return to the Privileged EXEC mode.

5.3.5.1 sntp time diff

Description With this command, you configure the time difference of the system time relative to the UTC time.

Requirement ● The SNTP server must have started up.

● You are in the SNTP Configuration mode. The command prompt is: cli(config-sntp)#

Syntax Call up the command with the following parameters:

sntp time diff <(+/-hh:mm)>

The parameter has the following meaning: Parameter Description + Time zones to the west of the SNTP server time zone - Time zones to the east of the SNTP server time zone hh Number of hours difference mm Number of minutes difference

Enter the time difference as follows:

● with sign

● without spaces

● Hours and minutes both two digits (with leading zero)

Default: no time difference

Result The time zone of the system time is configured.

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 113

Further notes You can display the settings of this function and other information with the show sntp statuscommand.

5.3.5.2 sntp unicast-server

Description With this command, you configure an SNTP unicast server.

Requirement ● The addressing mode of the SNTP client is configured as "unicast".

● You are in the SNTP Configuration mode. The command prompt is: cli(config-sntp)#

Syntax Call up the command with the following parameters:

sntp unicast-server {ipv4 <ucast_addr> | fqdn-name <FQDN(100)>} [port<1025-

36564>][poll<seconds(16-16284)>]

The parameters have the following meaning: Parameter Description Range of values / note ipv4 Keyword for an IP address - ucast_addr Value for an IPv4 unicast address Enter a valid IPv4 unicast ad-

dress. fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Domain

Name) Maximum of 100 characters

port UDP port of the time server 1025 … 36564 Default: 123

poll Keyword for the time after which the time of day is requested again

-

seconds Value for the time in seconds 16 ... 16284

Result The SNTP unicast server is configured.

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 114 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You can reset the setting to the default with the no sntp unicast-server command.

You display this setting and other information with the show sntp unicast–mode status command.

5.3.5.3 no sntp unicast-server

Description With this command, you delete the attributes for an SNTP unicast server and reset the address.

Requirement You are in the SNTP configuration mode.

The command prompt is as follows:

cli(config-sntp)#

Syntax Call up the command with the following parameters:

no sntp unicast-server {ipv4 <ucast_addr> | fqdn-name <FQDN(100)>}

The parameters have the following meaning: Parameter Description Range of values / note ipv4 Keyword for an IP address - ucast_addr Value for an IPv4 unicast address Enter a valid IPv4 unicast address fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Domain

Name) Maximum of 100 characters

Result The SNTP unicast server is reset to the default value.

Further notes You configure the setting with the sntp unicast-server ipv4 command.

You display this setting and other information with the show sntp unicast–mode status command.

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 115

5.3.5.4 sntp client addressing-mode

Description With this command, you configure the addressing mode of the SNTP client as unicast or broadcast.

Requirement ● The SNTP client is activated.

● You are in the SNTP Configuration mode. The command prompt is: cli(config-sntp)#

Syntax Call up the command with the following parameters:

sntp client addressing-mode{unicast|broadcast}

The parameters have the following meaning: Parameter Description Range of values / note unicast configures the SNTP client in unicast

mode Default: unicast enabled

broadcast configures the SNTP client in broad-cast mode

-

Result The addressing mode of the SNTP client is configured.

Further notes You display this setting and other information with the show sntp status command.

You display the settings for the unicast mode with the show sntp unicast-mode status command.

You display the settings for the broadcast mode with the show sntp broadcast-mode status command.

System time 5.3 SNTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 116 Configuration Manual, 11/2014, C79000-G8976-C351-03

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 117

Network structures 6 6.1 WLAN

This section describes commands for configuring and managing wireless LANs (WLANs).

Some commands are available only in the "access point" or in the "client" mode. In these cases, the titles have the term access point or client added to them.

Example: wlan mode

● wlan mode (access point): The function can only be used with access points.

● wlan mode (client): The function can only be used with clients.

6.1.1 The "show" commands This section describes commands with which you display various settings.

6.1.1.1 show wlan advanced

Description This command shows information about the send characteristics of the device, for example the beacon rate, fragmentation.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan advanced <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 118 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The following settings are displayed:

● RTS/CTS threshold

● Fragmentation length threshold

● HW retries

In Access Point mode, the following additional settings are displayed:

● Beacon interval

● DTIM

● Force roaming on link down

● Overlap AP aging interval

6.1.1.2 show wlan allowed channels

Description This command displays the available wireless channels. If you have selected channels explicitly for wireless communication, this information is also displayed.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan allowed channels <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The list of wireless channels available for establishing a wireless link to the relevant WLAN interface is displayed.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 119

6.1.1.3 show wlan antennas

Description This command shows the antenna settings for the device, for example cable length.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan antennas <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The antenna settings of the relevant WLAN interface are displayed.

6.1.1.4 show wlan ap (access point)

Description The command displays the configuration parameters of the access point.

Note

This command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 120 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

show wlan ap <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The following settings of the access point are displayed:

● Channel

● Alternative channel

● HT channel width

6.1.1.5 show wlan advanced-11n

Description The command shows the 802.11n configuration.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan advanced-11n <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 121

Result The following 802.11n configuration is displayed:

● A-MPDU

● A-MPDU limit [frames]

● A-MPDU limit [bytes]

● Guard Interval (only with access points)

6.1.1.6 show wlan available-ap-list (client)

Description This command shows the access points to which the client device can establish a wireless link or with which the client device is connected.

Note

This command is only available in the client mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan available-ap-list <wlan 0/X> [connected]

The parameters have the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface. connected shows the information of the access points

with which the client is connected. -

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The access points to which the client can set up a wireless link are displayed.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 122 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.1.7 show wlan basic

Description This command displays the WLAN-basic configuration, for example, transmission standard, frequency band.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan basic <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The following WLAN settings are displayed:

● Admin status (whether the interface is switched on or off)

● Frequency band

● WLAN mode

● DFS (802.11h)

● Outdoor Mode

● Max Tx Power

● TX power check: Indicates whether the current WLAN settings of the selected country violate the permitted transmit power restrictions.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 123

6.1.1.8 show wlan client (Client)

Description This command shows the client configuration of the device, for example how the MAC address is assigned to the client.

Note

This command is only available in the client mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan client <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The following client settings are displayed:

● MAC Mode

● Manual MAC Address

● Any SSID

● Roaming Threshold

● Background scan mode

● Background Scan Interval

● Scan Channels

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 124 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.1.9 show wlan client-list (access point)

Description This command shows a table with the clients logged on with the access point as well as additional information, for example status, signal strength, MAC address.

Note

The command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan client-list [wlan 0/X [{mac <macaddr> | sys <sysname> | AID}]]

The parameter has the following meaning: Parameter Description Values or range of val-

ues wlan 0/X WLAN interface Enter a valid interface. mac Keyword for the MAC address of the client - macaddr MAC address aa:bb:cc:dd:ee:ff sys Keyword for the system name of the client - sysname System name AID Connection ID of the client. -

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The table with the logged-on clients is displayed.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 125

6.1.1.10 show wlan client-list-vap (access point)

Description This command shows the VAP interface via which the clients are logged on to the access point in the form of a table.

Note

The command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan client-list-vap vapX 0/Y [AID]

The parameter has the following meaning: Parameter Description Values or range of values vapX 0/Y

VAP interface Enter a valid interface.

AID Connection ID of the client.

-

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The table with the logged-on clients is displayed.

6.1.1.11 show wlan data rates (access point)

Description This command shows the tables with the available data transmission speeds.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 126 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan data rates <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The configured data transmission speeds for the corresponding WLAN interface are displayed in the form of a table. The display of the tables depends on the selected frequency band and the transmission standard.

6.1.1.12 show wlan device

Description This command shows the WLAN basic configuration for the device, for example the mode (access point or client).

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show wlan device

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 127

Result The following settings of the device are displayed:

● Country code

● Device mode

● Commit Mode

See also device mode (Page 137)

commit mode (Page 138)

country (Page 139)

6.1.1.13 show wlan overlap-ap-list (access point)

Description This command shows all access points that are visible on the set or adjacent channels (at 2.4 GHz). If entries exist here, the maximum data throughput of the access point will be restricted.

Note

This command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan overlap-ap-list <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 128 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The access points are displayed.

6.1.1.14 show wlan overview

Description The command shows configuration of the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameter assignment:

show wlan overview

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 129

Result The configuration of the device is displayed. The content depends on the operating mode that is set.

● Access point:

– Radio

– WLAN mode

– Configured Channel

– Alternative DFS channel

– Operative channel

– HT channel width

– Status

– Radio

– Port

– MAC Address

– SSID

– Status

● Client

– Radio

– WLAN mode

– MAC Mode

– MAC Address

– Operative channel

– Connected BSSID

– Connected SSID

– HT Channel Width [Mhz]

– Status

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 130 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.1.15 show wlan statistics

Description This command shows the following statistics.

● how many bad frames were received or sent per WLAN interface.

● how many frames were sent per VAP interface.

● how many frames were received per VAP interface.

In access point mode, the following additional statistics are available:

● how many frames in response to logging on or logging off were counted per VAP interface

● how many requesting frames for logging on or logging off were counted per VAP interface

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan statistics <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The statistics are displayed for the selected WLAN interface. The range depends on the selected operating mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 131

6.1.1.16 show wlan ssid-table (client)

Description This command shows a table with the SSIDs of the access points to which the client device can establish a wireless link.

Note

This command is only available in the client mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan ssid-table <wlan 0/X>

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The table with the SSIDs configured on the client and their status is displayed.

6.1.1.17 show wlan vap (access point)

Description This command shows the configuration of the VAP interface.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 132 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan vap <vapX 0/Y>

The parameter has the following meaning: Parameter Description Values or range of values vapX 0/Y VAP interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The following settings of the VAP are displayed:

● Admin status

● SSID

● Broadcast SSID

● WDS only

● WDS ID

6.1.1.18 show wlan wds (access point)

Description This command shows the configuration of the WDS interface.

Note

This command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 133

Syntax Call up the command with the following parameters:

show wlan wds <wdsX 0/Y>

The parameter has the following meaning: Parameter Description Values or range of values wdsX 0/Y WDS interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The following WDS settings are displayed:

● Admin status

● Connection over

● Partner ID type

● Partner MAC

● Partner WDS ID

6.1.1.19 show wlan wds-list (access point)

Description This command shows the WDS partners connected to the WLAN interface.

Note

This command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan wds-list <wlan 0/X>

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 134 Configuration Manual, 11/2014, C79000-G8976-C351-03

The parameter has the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The WDS partners of the WLAN interface are displayed.

6.1.1.20 show wlan ip-mapping

Description This command shows the table for the IP mapping. The table contains the assignment of MAC address and IP address of the devices for which the client makes WLAN access possible.

Note

This page is only available for clients or access points in client mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show wlan ip-mapping

Result The IP mapping table is displayed.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 135

6.1.2 clear wlan statistics

Description With this command, you reset the WLAN statistics.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call the command without parameters:

clear wlan statistics

Result The WLAN statistics are reset.

Further notes You display the WLAN statistics tables with the show wlan statistics command.

6.1.3 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 136 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.3.1 wlan

Description With this command, you change to the WLAN Configuration mode.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

wlan

Result You are in the WLAN Configuration mode.

The command prompt is as follows:

cli (config-wlan)#

Further notes You exit the particular WLAN Configuration mode with the end or exit command.

6.1.4 Commands in the WLAN configuration mode This section describes commands that you can call up in the WLAN configuration mode.

In the Global Configuration mode, enter the wlan command to change to this mode.

Commands relating to other topics that can be called in the WLAN configuration mode can be found in the relevant sections.

● If you exit the WLAN configuration mode with the exitcommand, you return to the Global configuration mode.

● If you exit the WLAN Configuration mode with the end command, you return to the Privileged EXEC mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 137

6.1.4.1 device mode

Description With this command, you specify the mode of the device.

Requirement You are in the WLAN Configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call up the command with the following parameters:

device mode { ap | client }

The parameters have the following meaning: Parameters Description ap Mode: Access Point mode (default setting) client Mode: Client mode

Result The mode of the device is specified.

Note

If you change the operating mode, the device needs to be restarted. Before the device restarts, a prompt for confirmation is displayed. If you confirm the prompt, the device starts automatically in the new operating mode.

Further notes You display the settings for the mode with the show wlan device command.

See also show wlan device (Page 126)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 138 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.4.2 commit mode

Description With this command, you specify when the modified WLAN settings become effective on the device.

Requirement You are in the WLAN Configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call up the command with the following parameters:

commit mode { auto | manual }

The parameters have the following meaning: Parameters Description auto Each change to the WLAN settings is automatically applied and is immediately effec-

tive. manual The changes are accepted, but are still not active. The changes only take effect when

you confirm the changes with the "commit wlan-settings" command.

Result The commit mode is specified.

Further notes You show the settings for the commit mode with the show wlan device command.

See also show wlan device (Page 126)

commit wlan-settings (Page 139)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 139

6.1.4.3 commit wlan-settings

Description With this command, you confirm modified WLAN settings. The modified WLAN settings are then effective on the device.

Requirement ● Manual is set in Commit mode.

You are in the WLAN configuration mode.

The command prompt is as follows:

cli(config-wlan)#

Syntax Call the command without parameter assignment:

commit wlan-settings

Result The changes are confirmed and effective.

See also commit mode (Page 138)

6.1.4.4 country

Description With this command, you specify the country in which the device will be used.

Requirement You are in the WLAN Configuration mode.

The command prompt is as follows:

cli (config-wlan)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 140 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

country { show-countries | code <iso code> }

The parameters have the following meaning: Parameters Description Values or range of values show-countries Shows a list of the countries that can be

set along with their two-digit ISO codes. --

iso code Country code The country code com-plies with ISO 3166.

Enter the ISO code of the re-quired country.

Result The country is specified for the device.

Further notes You display the setting with the show wlan device command.

See also show wlan device (Page 126)

6.1.5 Commands in the WLAN Interface configuration mode This section describes commands that you can call up in the WLAN Interface Configuration mode. Depending on the Interface selected, various command sets are available.

In the Global Configuration mode, enter the interface wlan 0/X command to change to this mode.

● If you exit the WLAN Interface Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the WLAN Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 141

6.1.5.1 wlan allowed channels

Description This command specifies which of the permitted channels the device can use. A list of the permitted channels is created.

Requirement ● The "Allowed channels only" function is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan allowed channels{ all | none | {[add][del]} [ 2.4 | 4 | 5 ] <channels> }

The parameters have the following meaning: Parameters Description all All permitted channels are entered in the list. none • Access point:

All channels except for the following channels are deleted: – Operative channel – Alternative DFS channel

If "Auto" is set for the channel, the list is deleted and the first valid channel of the selected frequency band is applied.

• Client: The list is deleted and the first valid channel of the selected frequency band is applied.

add The channels located in the <channel> parameter are added to the list. del The channels located in the <channel> parameter are deleted from the

list. 2.4 Optional parameter. Use this parameter to specify the frequency band

from which you want to add one or more channels to the list. 4 Optional parameter. Use this parameter to specify the frequency band

from which you want to add one or more channels to the list.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 142 Configuration Manual, 11/2014, C79000-G8976-C351-03

Parameters Description 5 Optional parameter. Use this parameter to specify the frequency band

from which you want to add one or more channels to the list. channels Number of permitted channels.

To specify in more than one channel, write the channel numbers in quotes and use the <space> as the delimiter. Example: wlan allowed channels list 5 "40 36" If you do not use the "add" parameter, the existing entries in the list are overwritten.

Result The list of permitted channels has been created.

Further notes You display the list of valid channels with the show wlan allowed channels <wlan 0/X> command.

The "Allowed channels only" function is activated by the "wlan allowed channels only" command.

See also wlan allowed channels only (Page 142)

6.1.5.2 wlan allowed channels only

Description With this command, you enable the "Use allowed channels only" function. Only the channels you specified with the wlan allowed channels list command are used.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan allowed channels only

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 143

Result The function is enabled.

Further notes You display the setting with the show wlan allowed channels <wlan 0/X>command.

You disable the function with the no wlan allowed channels only command.

See also wlan allowed channels (Page 141)

no wlan allowed channels only (Page 143)

6.1.5.3 no wlan allowed channels only

Description With this command, you disable the "Use allowed channels only" function. This is the default setting.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan allowed channels only

Result The function is disabled.

Further notes You display the setting with the show wlan allowed channels <wlan 0/X> command.

You enable the function with the wlan allowed channels only command.

See also wlan allowed channels only (Page 142)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 144 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.4 wlan alternative channel (access point)

Description If you have activated the DFS function, you specify the alternative channel with this command. If the access point on the current channel discovers a disruption, it switches to the alternative channel.

Note

This command is available only in access point mode.

Requirement ● The DFS function is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan alternative channel { show-channels | <number (0=auto)> }

The parameters have the following meaning: Parameters Description Values / range of values show-channels Lists all available channels. -- number Number of the alternative channel

If you want the access point to search for a free channel itself, use "0".

Default value: 0 (AUTO)

Result The alternative channel is set.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

You enable the DFS function with the wlan dfs command.

See also wlan dfs (Page 168)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 145

6.1.5.5 wlan ampdu

Description With this command, you enable the sending of AMPDU data packets. The function is enabled as default.

Requirement ● The IEEE 802.11n transmission standard is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan ampdu

Result The sending of AMPDU data packets is enabled.

Further notes You display the setting with the show wlan advanced-11n <wlan 0/X> command.

You disable the function with the no wlan ampdu command.

See also no wlan ampdu (Page 146)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 146 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.6 no wlan ampdu

Description With this command, you disable the sending of AMPDU data packets. If the function is disabled, only AMPDU data packets can be received.

Requirement ● The IEEE 802.11n transmission standard is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan ampdu

Result The sending of AMPDU data packets is disabled.

Further notes You display the setting with the show wlan advanced-11n <wlan 0/X> command.

You enable the function with the wlan ampdu command (default setting).

See also wlan ampdu (Page 145)

6.1.5.7 wlan ampdu bytes-limit

Description With this command, you specify the maximum size of the AMPDU data packet in bytes.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 147

Requirement ● The IEEE 802.11n transmission standard is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan ampdu bytes-limit <bytes(1024-65535)>

The parameter has the following meaning: Parameters Description Values or range of values bytes Size of the AMPDU data packet in bytes 1024...65535

Default: 50000

Result The size for the AMPDU data packets is specified.

Further notes You display the setting with the show wlan advanced-11n <wlan 0/X> command.

6.1.5.8 wlan ampdu frames-limit

Description With this command, you specify the number of individual data packets (frames) grouped together in one AMPDU data packet.

Requirement ● The IEEE 802.11n transmission standard is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 148 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan ampdu frames-limit <frames(2-64)>

The parameter has the following meaning: Parameter Description Values or range of values frames Number of frames that are grouped to-

gether in one AMPDU data packet. 2...64 Default: 32

Result The number of frames is specified.

Further notes You display the setting with the show wlan advanced-11n <wlan 0/X> command.

6.1.5.9 wlan antenna additional-attenuation

Description With this command, you specify the additional attenuation caused, for example by an additional splitter. Using the show wlan basic command, check whether or not the current WLAN settings violate the permitted transmit power restrictions (TX Power Check) of the selected country.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan antenna additional-attenuation <index (1-X)> <dB(0-70)>

The parameters have the following meaning: Parameter Description Values or range of values index Antenna connector X = 1 dB Attenuation in decibels [dB] 0...70

Default: 0

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 149

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)"

Result The additional attenuation is specified.

Further notes You show the set value with the show wlan antennas <wlan 0/X> command.

6.1.5.10 wlan antenna cable-length

Description With this command, you configure the cable length between the device and the external antenna.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan antenna cable-length <index(1)> <meter(0-30)>

The parameters have the following meaning: Parameter Description Values or range of values index Antenna connector 1 meter Cable length in meters [m] 0...30

Default: 0

Result The cable length is specified.

Further notes You show the set cable length with the show wlan antennas <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 150 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.11 wlan antenna gain-2-4GHz

Description With this command, you specify the antenna gain of the antenna type "User defined" in the 2.4 GHz frequency band. With the show wlan basic command, check whether the maximum transmit power is exceeded with the setting.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan antenna gain-2-4GHz <index(1)> <dBi(0-30)>

The parameters have the following meaning: Parameter Description Values or range of values index Antenna connector 1 gain value Antenna gain in decibels isotropic (dBi) 0 ... 30

0 = antenna is not connected

Result The antenna gain is specified.

Further notes You show the set antenna gain with the show wlan antennas <wlan 0/X> command.

6.1.5.12 wlan antenna gain-5GHz

Description With this command, you specify the antenna gain of the antenna type "User defined" in the 5 GHz frequency band. With the show wlan basic command, check whether the maximum transmit power is exceeded with the setting.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 151

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan antenna gain-5GHz <index(1)> <dBi (0-30)>

The parameters have the following meaning: Parameter Description Values or range of values index Slot no. of the interface 1 gain value Antenna gain in decibels iso-

tropic (dBi) 0 ... 30 0 = antenna is not connected

Result The antenna gain is specified.

Further notes You show the set antenna gain with the show wlan antennas <wlan 0/X> command.

6.1.5.13 wlan antenna type

Description With this command, you specify which antenna type is connected to the relevant antenna connector.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 152 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan antenna type {show-types | <index(1)> <antenna-index>}

The parameters have the following meaning: Parameter Description Values or range of values show-types Shows a list of supported antennas

with the corresponding antenna index. --

index Antenna connector 1 antenna-index Antenna index Enter the required antenna index.

You can obtain an overview of the an-tenna indexes available on the on the device with the wlan antenna type show-types command.

Result The antenna type is specified.

6.1.5.14 wlan any ssid (Client)

Description With this command, you enable the "Any SSID" function. This setting is activated as default. In client mode, the access point attempts to connect to the network with the best transmission quality and that has suitable security settings. The clients can only connect to the access point on which the "Broadcast SSID" option is enabled.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan any ssid

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 153

Result The function is enabled.

Further notes You display the setting with the show wlan client <wlan 0/X> command.

You disable the function with the no wlan any ssid command.

See also no wlan any ssid (client) (Page 153)

vap broadcast ssid (access point) (Page 188)

6.1.5.15 no wlan any ssid (client)

Description With this command, you disable the "Any ssid" function. The client attempts to connect to the access point from the SSID list that provides the best transmission quality and on which the "Broadcast SSID" option is disabled.

Note

This command is only available in the client mode.

Requirement ● An active SSID is available.

You are in the Interface configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan any ssid

Result The function is disabled.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 154 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You display the setting with the show wlan client <wlan 0/X> command.

You enable the function with the wlan any ssid command (default setting).

See also wlan any ssid (Client) (Page 152)

6.1.5.16 wlan background scan interval (client)

Description With this command, you specify the Interval at which the client scans for further access points.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan background scan interval <ms(300-60000)>

The parameter has the following meaning: Parameters Description Values or range of values ms Time in milliseconds (ms) 300 ... 60 000

Default: 5000

Result The interval is specified.

Further notes You show the set interval with the show wlan client <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 155

6.1.5.17 wlan background scan mode (client)

Description With this command, you specify how the client scans for further access points.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan background scan mode { disable | idle | always }

The parameters have the following meaning: Parameters Description disable As long as the client is connected, it does not scan for any other access points. idle If there is no data traffic for a certain time, the device scans for a different access

point. always Continuous scanning for further access points. With the "wlan background

scan interval" command, you specify the scan interval.

Result Scanning for further access points is specified.

Further notes You display the setting with the show wlan client <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 156 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.18 wlan beacon interval (access point)

Description With this command, you specify the interval at which the device sends beacons. Beacons are packets that are sent cyclically by an access point to inform clients of its existence.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan beacon interval <ms(40-1000)>

The parameter has the following meaning: Parameters Description Values or range of values ms Length of the interval in milliseconds

(ms). 40 ... 1000 Default: 100

Result The interval is specified.

Further notes You show the set interval with the show wlan advanced <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 157

6.1.5.19 wlan channel (Access Point)

Description With this command, you specify the channel via which the access point communicates with the client.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan channel { show-channels | <number(0=auto)> }

The parameters have the following meaning: Parameters Description Values / range of values show-channels Lists the available channels. -- number Channel number

If you want the access point to search for a free channel itself, use "0".

Enter the channel number. Default setting for both frequency bands: 0 = Auto

Result The channel is set.

Further notes You display the setting with the show wlan ap <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 158 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.20 wlan client mac mode (client)

Description With this command, you specify how the MAC address is assigned to the client. This MAC address is used by the client for communication with the access point.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan client mac mode { auto | manual | own | l2t }

The parameters have the following meaning: Parameters Description auto The client automatically adopts the source MAC address of the first frame that it

receives over the Ethernet interface. This parameter is set as default. manual Enter the MAC address with the "wlan client manual mac" command. own The client uses the MAC address of the Ethernet interface for the WLAN interface. l2t The L2T parameter activates layer 2 tunneling. The client uses the MAC address of

the Ethernet interface for the WLAN interface. The network is also informed of the MAC addresses connected to the Ethernet interface of the client

Result The MAC address was assigned to the client.

Further notes You display the setting with the show wlan client <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 159

6.1.5.21 wlan client mac address (client)

Description With this command, you specify the MAC address of the client.

Note

This command is only available in the client mode.

Requirement ● The MAC address is assigned to the client manually.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan client mac address <mac address>

The parameter has the following meaning: Parameters Description Values or range of values mac address MAC address of the client aa:aa:aa:aa:aa:aa

Result The MAC address was assigned to the client.

Further notes You display the setting with the show wlan client <wlan 0/X> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 160 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.22 wlan data rates-11abg selected only (access point)

Description With this command, you enable the "Use selected data rates only" function. Only the data transmission speeds you specified with the wlan data rate-11abg command are used.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11a/b/g/n is set.

Syntax Call the command without parameter assignment:

wlan data rates-11abg selected only

Result The function is enabled.

Further notes You display the setting with the show wlan data rates command.

You disable the function with the no wlan data rates-11abg selected only command.

You configure the data transmission speeds with the wlan data rate-11abg command.

You configure the transmission standard with the wlan mode command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 161

6.1.5.23 no wlan data rates-11abg selected only (access point)

Description With this command, you enable / disable the automatic selection of the data transmission speed.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11a/b/g/n is set.

Syntax Call the command without parameter assignment:

no wlan data rates-11abg selected only

Result The function is disabled. The data transmission speed is adapted automatically.

Further notes You display the setting with the show wlan data rates command.

You enable the function with the wlan data rates-11abg selected only command.

You configure the transmission standard with the wlan mode command.

6.1.5.24 wlan data rates-11n selected only (access point)

Description With this command, you enable the "Use selected data rates only" function. Only the data transmission speeds you specified with the wlan data rate-11n command are used.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 162 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11n or IEEE 802.11n only is set.

Syntax Call the command without parameter assignment:

wlan data rates-11n selected only

Result The function is enabled.

Further notes You display the setting with the show wlan data rates command.

You disable the function with the no wlan data rates-11n selected only command.

You configure the data transmission speeds with the wlan data rate-11n command.

You configure the transmission standard with the wlan mode command.

6.1.5.25 no wlan data rates-11n selected only (access point)

Description With this command, you enable / disable the automatic selection of the data transmission speed.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11n or IEEE 802.11n only is set.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 163

Syntax Call the command without parameter assignment:

no wlan data rates-11n selected only

Result The function is disabled. The data transmission speed is adapted automatically.

Further notes You display the setting with the show wlan data rates command.

You enable the function with the wlan data rates-11abg selected only command.

You configure the transmission standard with the wlan mode command.

6.1.5.26 wlan data rate-11abg (access point)

Description With this command, you assign data transmission speeds to the required WLAN interface. The access point will then use only the selected data transmission speeds for communication with the clients.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11a/b/g/n is set.

● The "Use selected data rates only" function is enabled.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 164 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan data rate-11abg {show-rates | {{add | del} <rate> | all | none} [basic]}

The parameters have the following meaning: Parameters Description show-rates Shows a list of the available data transmission speeds. add The data transmission speed is assigned to the WLAN interface entered

in the <rate> parameter. del The data transmission speed is removed from the WLAN interface en-

tered in the <rate> parameter. rate Data transmission speed all All available data transmission speeds are assigned to the WLAN inter-

face. none Only the first available data transmission speed is assigned to the

WLAN interface. The other data transmission rates are deselected. basic The data transmission speed entered in the <rate> parameter is de-

clared as "Basic". The "basic" parameter can only be called in conjunction with the pa-rameters "add", "del", "all" and "none".

Note

You need to assign at least one data transmission speed and one "Basic" to the WLAN interface.

Result The data transmission speeds are assigned to the WLAN interface.

Further notes You display the setting with the show wlan data rates command.

You enable the function with the wlan data rates-11abg selected only command.

You configure the transmission standard with the wlan mode command.

You can reset the selection to the default setting with the wlan data rate-11abg defaults command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 165

6.1.5.27 wlan data rate-11n (access point)

Description With this command, you assign data transmission speeds to the required WLAN interface. The access point will then use only the selected data transmission speeds for communication with the clients.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11n or IEEE 802.11n only is set.

● The "Use selected data rates only" function is enabled.

Syntax Call up the command with the following parameters:

wlan data rate-11n { show-MCS-indexes | {add | del} <index> | all | none }

The parameters have the following meaning: Parameters Description show-MCS-indexes Shows a list of the available data transmission speeds (MCS indexes). add The MCS index is assigned to the WLAN interface entered in the <in-

dex> parameter. del The MCS index is removed from the WLAN interface entered in the

<index> parameter. index MCS index all All available MCS indexes are assigned to the WLAN interface. none Only the first available MCS index is assigned to the WLAN interface.

The other MCS indexes are deselected.

Note

You need to enable at least one MCS index of the WLAN interface.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 166 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The MCS indexes are assigned to the WLAN interface.

Further notes You display the setting with the show wlan data rates command.

You enable the function with the wlan data rates-11n selected only command.

You configure the transmission standard with the wlan mode command.

6.1.5.28 wlan data rate-11abg defaults (access point)

Description You can reset the selection to the default setting with this command.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11a/b/g/n is set.

● The "Use selected data rates only" function is enabled.

Syntax Call the command without parameter assignment:

wlan data rate-11abg defaults

Result The selection is reset to the default setting.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 167

Further notes You display the setting with the show wlan data rates command.

You disable the function with the no wlan data rates-11abg selected only command.

You configure the data transmission speeds with the wlan data rate-11abg command.

You configure the transmission standard with the wlan mode command.

6.1.5.29 wlan data rate-11n defaults (Access Point)

Description You can reset the selection to the default setting with this command.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

● The transmission standard IEEE 802.11a/b/g/n is set.

● The "Use selected data rates only" function is enabled.

Syntax Call the command without parameter assignment:

wlan data rate-11n defaults

Result The selection is reset to the default setting.

Further notes You display the setting with the show wlan data rates command.

You disable the function with the no wlan data rates-11n selected only command.

You configure the data transmission speeds with the wlan data rate-11n command.

You configure the transmission standard with the wlan mode command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 168 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.5.30 wlan dfs

Description With this command, you enable the "DFS(802.11h)" function. If the access point discovers a disruption on the current channel, for example due to a radar device, it automatically switches to an alternative channel.

Requirement ● Frequency band 5 GHz is used.

In client mode, a mixed frequency band mode is possible (2.4 - 5 GHz).

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan dfs

Result The DFS function is enabled.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

You disable the function with the no wlan dfs command (default setting).

See also no wlan dfs (Page 169)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 169

6.1.5.31 no wlan dfs

Description With this command, you disable the "DFS" function. This setting is activated as default.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan dfs

Result The DFS function is enabled.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

You enable the function with the wlan dfs command.

See also wlan dfs (Page 168)

6.1.5.32 wlan dtim (access point)

Description With this command, you configure the DTIM interval. The DTIM interval (1-15) specifies the number of beacons to be sent before the access point sends the packets (broadcast/unicast/multicast) to the client.

If, for example, you enter "5", this would mean that the access point collects the packets and sends them after every fifth beacon.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 170 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan dtim <1-15>

The parameter has the following meaning: Parameters Description Values or range of values 1-15 DTIM interval after which the collected pack-

ets are sent to the client. 1...15 Default: 1

Result The DTIM interval is configured.

Further notes You display the setting with the show wlan advanced <wlan 0/X> command.

6.1.5.33 wlan ssid-table edit (client)

Description With this command, you change or delete an entry in the SSID list.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan ssid-table edit <index (1-4)> {enable | disable| delete} [ssid]

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 171

The parameters have the following meaning: Parameters Description Values or range of values index Index entry in the SSID list 1...4 enable Entry is used -- disable Entry is not used Default delete Entry is deleted. The ssid pa-

rameter is ignored. --

ssid SSID Enter the SSID of the access point. The length of the character string for SSID is 1 to 32 characters. ASCII code 0x20 to 0x7e is used for the SSID. To be able to use spaces in the SSID, enter the SSID in quotes: wlan ssid-table edit "H a l l o"

Result The corresponding index entry in the SSID list is changed or deleted.

Further notes You display the list with the show wlan ssid-table <wlan 0/X> command.

You delete an SSID entry with the wlan ssid-table edit <index (1-4)> delete command.

6.1.5.34 wlan force roaming eth-down (access point)

Description If the wired Ethernet interface is no longer available (cable break, connector removed), a client connected over the wireless network is not aware of this.

The access point can force the logged-on clients to roam by deactivating its WLAN interface. The client then attempts to log on at a different access point. With this command, you enable this function.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 172 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameter assignment:

wlan force roaming eth-down

Result The function is enabled.

Further notes You display the setting with the show wlan advanced <wlan 0/X> command.

You disable the function with the no wlan force roaming eth-down command.

6.1.5.35 no wlan force roaming eth-down (access point)

Description With this command, you disable roaming if the connection aborts on the Ethernet interface. This setting is activated as default.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan force roaming eth-down

Result The function is disabled.

Further notes You display the setting with the show wlan advanced <wlan 0/X> command.

You enable the function with the wlan force roaming eth-down command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 173

6.1.5.36 wlan fragmentation threshold

Description With this command, you specify the maximum packet size transferred on the wireless link. Large packets are divided up into small packets prior to transmission and then reassembled into the original size after they have been received.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan fragmentation threshold <bytes(256-2346)>

The parameter has the following meaning: Parameters Description Values or range of values bytes Packet size in bytes 256...2346

Default: 2346

Result The packet size is specified.

Further notes You display the setting with the show wlan advanced <wlan 0/X>command.

6.1.5.37 wlan frequency band (access point)

Description With this command, you specify the frequency band for the WLAN interface.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 174 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan frequency band { 2.4 | 5 }

The parameters have the following meaning: Parameter Description Default setting 2.4 Frequency band 2.4 GHz WLAN1: 2.4 GHz 5 Frequency band 5.2 (4.9; 5.6; 5.8) GHz

Result The frequency band for the WLAN interface is specified.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

6.1.5.38 wlan frequency band (client)

Description With this command, you specify the frequency band for the WLAN interface.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 175

Syntax Call up the command with the following parameters:

wlan frequency band { all | 2.4 | 5 }

The parameters have the following meaning: Parameters Description Default setting all Both frequency bands are used. WLAN1: 2.4 GHz

2.4 Frequency band 2.4 GHz 5 Frequency band 5.2 (4.9; 5.6; 5.8) GHz

Result The frequency band for the WLAN interface is specified.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

6.1.5.39 wlan guard interval (access point)

Description With this command, you specify the send pause that must be kept to between two transferred OFDM symbols.

Note

This command is available only in access point mode.

Requirement ● The IEEE 802.11n transmission standard is enabled.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 176 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan guard interval { GI400 | GI800 }

The parameters have the following meaning: Parameters Description GI400 The send pause is 400 ns (default) GI800 The send pause is 800 ns

Result The function is enabled and the send pause set.

Further notes You display the setting with the show wlan advanced-11n <wlan 0/X> command.

6.1.5.40 wlan ht channel width (access point)

Description With this command, you specify the channel bandwidth. With IEEE 802.11n, data can be transferred via two directly neighboring channels (channel bonding). The two 20 MHz channels are put together to form one channel with 40 MHz channel bandwidth

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 177

Syntax Call up the command with the following parameters:

wlan ht channel width { HT-20 | HT-40-UP | HT-40-DOWN }

The parameters have the following meaning: Parameters Description HT-20 Channel bandwidth 20 MHz HT-40-UP Channel bandwidth 40 MHz. The configured channel and the neighbor-

ing channel above it are used. (default setting) HT-40-DOWN Channel bandwidth 40 MHz. The configured channel and the underlying

neighboring channel are used.

Note Channel bandwidth 40 MHz and frequency band 2.4 GHz

If the access point detects another access point on the configured channel or on neighboring channels, the access point changes the channel bandwidth from 40 MHz to 20 MHz. If you set a "free" channel on the access point, the access point uses the channel bandwidth 40 MHz.

Result The channel bandwidth is set.

Further notes You display the setting with the show wlan ap <wlan 0/X> command.

6.1.5.41 wlan hw-retries

Description With this command, you specify the number of retries. The hardware repetition is performed by the WLAN chip itself when it tries to repeat an unacknowledged packet immediately.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 178 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan hw-retries <1-60>

The parameter has the following meaning: Parameters Description Values or range of values 1-60 Number of retries 1 ... 60

Default: 16

Result The number of retries is specified.

Further notes You display the setting with the show wlan advanced <wlan 0/X> command.

6.1.5.42 wlan max tx-power

Description With this command, you specify the transmit power of the device. It may be necessary to reduce the transmit power when using antennas to avoid exceeding the maximum legal transmit power. Reducing the transmit power effectively reduces cell size.

Note

The maximum possible transmit power varies depending on the channel and data rate. For more detailed information on transmit power, refer to the documentation "Characteristics radio interface".

Using the show wlan basic command, check whether or not the current WLAN settings violate the permitted transmit power restrictions (TX Power Check) of the selected country.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 179

Syntax Call up the command with the following parameters:

wlan max tx-power <dBm(5-20)>

The parameter has the following meaning: Parameters Description Values or range of values dBm Transmit power in decibel-milliwatts (dBm) 5...20

Default: 20

Result The transmit power is specified.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

6.1.5.43 wlan mode (access point)

Description With this command, you specify the transmission standard.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 180 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan mode { show-modes |<mode>}

The parameter has the following meaning: Parameters Description Values or range of values show-modes Lists the transmission standards. -- mode Value corresponding to a specif-

ic transmission standard. • a

IEEE 802.11a (5 GHz) • g

IEEE 802.11g (2.4 GHz) Is downwards compatible with IEEE 802.11b

• n IEEE 802.11n (2.4 GHz + 5 GHz) Is downwards compatible with IEEE 802.11a and IEEE 802.11g

• n-only IEEE 802.11n (2.4 GHz + 5 GHz) Is not downwards compatible with IEEE 802.11a and IEEE 802.11g

Depending on the current configuration, some settings are not possible. In this case, a message to this effect is displayed.

Result The transmission standard is specified.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

6.1.5.44 wlan mode (client)

Description With this command, you specify the transmission standard.

Note

This command is only available in the client mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 181

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan mode { show-modes | [2.4 | 5] <mode>}

The parameters have the following meaning: Parameters Description Values or range of values show-modes Lists the transmission standards. -- 2.4 Optional. You can use the parameter in

conjunction with "auto" and "n". This only takes into account the transmis-sion standard for 2.4 GHz. Use the parameter if the client operates in dual-frequency mode.

--

5 Optional. You can use the parameter in conjunction with "auto" and "n". This only takes into account the transmis-sion standard for 5 GHz. Use the parameter if the client operates in dual-frequency mode.

--

mode Value corresponding to a specific transmission standard.

• auto The transmission standard is detected automatically.

• a IEEE 802.11a (5 GHz)

• g IEEE 802.11g (2.4 GHz) Is downwards compatible with IEEE 802.11b

• n IEEE 802.11n (2.4 GHz + 5 GHz) Is downwards compatible with IEEE 802.11a and IEEE 802.11g

• n-only IEEE 802.11n (2.4 GHz + 5 GHz) Is not downwards compatible with IEEE 802.11a and IEEE 802.11g

Depending on the current configuration, some settings are not possible. In this case, a message to this effect is displayed.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 182 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The transmission standard is specified.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

6.1.5.45 wlan outdoor

Description With this command, you enable the outdoor mode. In outdoor mode, the selection of country-dependent channels and the transmit power for operation are restricted for outdoor use.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan outdoor

Result The outdoor mode is enabled.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

You disable the function with the no wlan outdoor command (default setting).

See also no wlan outdoor (Page 183)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 183

6.1.5.46 no wlan outdoor

Description With this command, you disable the outdoor mode or enable the indoor mode. This setting is activated as default.

In indoor mode, all the country-dependent permitted channels and transmit power settings are available for operation in a building.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan outdoor

Result The indoor mode is enabled or the outdoor mode is disabled.

Further notes You display the setting with the show wlan basic <wlan 0/X> command.

You enable the outdoor mode with the wlan outdoor command.

See also wlan outdoor (Page 182)

6.1.5.47 wlan overlap-ap aging (access point)

Description With this command, you configure the aging time for the list of overlapping access points. If an access point is inactive for longer than the set time, it is removed from the list.

Note

This command is available only in access point mode.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 184 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan overlap-ap aging <min(1-7200)>

The parameter has the following meaning: Parameters Description Values or range of values min Time in minutes (min) 1...7200

Default: 120

Result The aging time is specified.

Further notes You display the setting with the show wlan advanced <wlan 0/X> command.

6.1.5.48 wlan roaming threshold (client)

Description With this command, you specify the threshold after which the client roams to the new access point.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 185

Syntax Call up the command with the following parameters:

wlan roaming threshold { low | medium | high }

The parameters have the following meaning: Parameter Description low Even if the difference in field strength is low, change to the AP with the stronger

signal. medium If the difference in field strength is medium, change to the AP with the stronger

signal. Default: medium

high If the difference in field strength is high, change to the AP with the stronger sig-nal.

Result The threshold is specified.

Further notes You display the setting with the show wlan client <wlan 0/X> command.

6.1.5.49 wlan rts-cts threshold

Description With this command, you specify the packet size starting at which RTS/CTS (Request To Send/Clear To Send) will be used.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan rts-cts threshold < bytes(1-2346)>

The parameter has the following meaning: Parameters Description Values or range of values bytes Size specified in bytes 1...2346

Default: 2346

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 186 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The packet size is specified.

Further notes You display the setting with the show wlan advanced <wlan 0/X> command.

6.1.6 Commands in the VAP Interface Configuration mode This section describes commands that you can call up in the VAP Interface Configuration mode. Depending on the Interface selected, various command sets are available.

In the Global Configuration mode, enter the interface vapX 0/Y command to change to this mode.

● If you exit the VAP Interface Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the VAP Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

6.1.6.1 vap wds id (access point)

Description With this command, you set the WDS ID for the relevant VAP interface. To establish a WDS connection, enter this WDS ID on the WDS partner.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 187

Syntax Call up the command with the following parameters:

vap wds-id <wds id>

The parameter has the following meaning: Parameter Description wds id WDS ID

The WDS ID can be a maximum of 32 characters long.

Result The WDS ID for the VAP interface is set.

Note

WDS IDs longer than 32 characters are truncated at 32 characters.

Further notes You display the setting with the show wlan vap <vap X 0/Y>command.

6.1.6.2 vap ssid (access point)

Description With this command, you configure the SSID for the relevant VAP interface.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 188 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

vap ssid <ssid>

The parameter has the following meaning: Parameters Description Range of values ssid SSID of the VAP interface Enter the SSID.

The length of the character string for SSID is 1 to 32 characters. ASCII code 0x20 to 0x7e is used for the SSID. To be able to use spaces in the SSID, enter the SSID in quotes: vap ssid "H a l l o"

Result The SSID for the VAP interface is configured.

Further notes You display the setting with the show wlan vap <vap X 0/Y>command.

6.1.6.3 vap broadcast ssid (access point)

Description With this command, you enable the "Broadcast SSID" function. The SSID is sent in the frame of the access point and is visible for other devices. This means that clients on which the "Any SSID" option is enabled can also connect to the access point.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

vap broadcast ssid

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 189

Result The function is enabled.

Further notes You display the setting with the show wlan vap <vap X 0/Y>command.

You disable the function with the no vap broadcast ssid command.

See also no vap broadcast ssid (access point) (Page 189)

6.1.6.4 no vap broadcast ssid (access point)

Description With this command, you disable the "Broadcast SSID" function. The SSID is no longer sent in the frame of the access point. This means that the SSID is not visible for other devices. Only stations that know the SSID of the access point and that are configured with it can connect to the access point. The "Any SSID" option must be disabled on these clients.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

no vap broadcast ssid

Result The function is disabled.

Further notes You display the setting with the show wlan vap <vap X 0/Y>command.

You enable the function with the vap broadcast ssid command (default setting).

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 190 Configuration Manual, 11/2014, C79000-G8976-C351-03

See also vap broadcast ssid (access point) (Page 188)

6.1.6.5 vap wds only (access point)

Description With this command, you specify that the access point only supports communication via WDS.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

vap wds only

Result You have specified who the VAP interface connects to.

Further notes You display the setting with the show wlan vap <vap X 0/Y>command.

You disable the function with the no vap wds only command (default setting).

See also no vap wds only (access point) (Page 191)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 191

6.1.6.6 no vap wds only (access point)

Description With this command, you specify that the access point supports not only communication via WDS. This setting is activated as default.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

no vap wds only

Result You have specified who the VAP interface connects to.

Further notes You display the setting with the show wlan vap <vap X 0/Y>command.

You enable the function with the vap wds only command.

See also vap wds only (access point) (Page 190)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 192 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.1.7 Commands in the WDS Interface Configuration mode This section describes commands that you can call up in the WDS Interface Configuration mode. Depending on the Interface selected, various command sets are available.

In the Global Configuration mode, enter the interface wdsX 0/Y command to change to this mode.

● If you exit the WDS Interface Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the WDS Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

6.1.7.1 wds partner id-type (access point)

Description With this command, you specify whether the WDS partner is detected by the access point by the MAC address or the WDS ID.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode for the WDS interface.

The command prompt is as follows:

cli (config-if-wdsX-0-Y)#

Syntax Call up the command with the following parameters:

wds partner id-type { mac-address | wds-id }

The parameters have the following meaning: Parameters Description mac-address The MAC address is used for communication. With the "wds partner mac"

command, you specify the MAC address. wds-id The WDS ID is used for communication. With the "wds partner wds id" com-

mand, you specify the WDS ID.

Result The type of communication is specified.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 193

Further notes You display the setting with the show wlan wds <wdsX 0/Y> command.

See also wds partner mac (access point) (Page 193)

wds partner wds-id (access point) (Page 194)

6.1.7.2 wds partner mac (access point)

Description With this command, you enter the MAC address of the WDS partner.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode for the WDS interface.

The command prompt is as follows:

cli (config-if-wdsX-0-Y)#

Syntax Call up the command with the following parameters:

wds partner mac <mac-address>

The parameter has the following meaning: Parameters Description mac-address MAC address of the communications partner

Result The MAC address is specified.

Further notes You display the setting with the show wlan wds <wdsX 0/Y> command.

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 194 Configuration Manual, 11/2014, C79000-G8976-C351-03

See also wds partner id-type (access point) (Page 192)

6.1.7.3 wds partner wds-id (access point)

Description With this command, you enter the WDS ID of the WDS partner.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode for the WDS interface.

The command prompt is as follows:

cli (config-if-wdsX-0-Y)#

Syntax Call up the command with the following parameters:

wds partner wds-id <wds-id>

The parameter has the following meaning: Parameters Description wds-id WDS ID of the WDS partner

Result The WDS ID is specified.

Further notes You display the setting with the show wlan wds <wdsX 0/Y> command.

See also wds partner id-type (access point) (Page 192)

Network structures 6.1 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 195

6.1.7.4 wds connection over (access point)

Description With this command, you specify the VAP interface via which the WDS connection is established.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode for the WDS interface.

The command prompt is as follows:

cli (config-if-wdsX-0-Y)#

Syntax Call up the command with the following parameters:

wds conncection over <vapX 0/Y>

The parameter has the following meaning: Parameter Description Values or range of values wdsX 0/Y Interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The VAP interface is set.

Further notes You display the setting with the show wlan wds <wdsX 0/Y> command.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 196 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.2 VLAN This section describes commands for configuring and managing virtual networks (VLANs).

6.2.1 The "show" commands This section describes commands with which you display various settings.

6.2.1.1 show dot1d mac-address-table

Description This command shows the table with the static and dynamic unicast entries and the dynamic multicast entries.

Requirement ● In "base bridge-mode", the mode for the device is set to "transparent".

You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call up the command with the following parameters:

show dot1d mac-address-table [address<aa:bb:cc:dd:ee:ff>]

[interface{<interface-type><interface-id>}]

The parameters have the following meaning: Parameter Description Values address Keyword for a MAC address - aa:bb:cc:dd:ee:ff MAC address - interface Keyword for a an interface description - interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the entries are displayed for all available interfaces.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 197

Result The entries are displayed.

6.2.1.2 show mac-address-table

Description This command shows the table with the static and dynamic unicast MAC addresses and multicast MAC addresses.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show mac-address-table [vlan<vlan-range>][address<aa:aa:aa:aa:aa:aa>]

[interface <interface-type><interface-id>]

The parameters have the following meaning: Parameter Description Range of values / note vlan Keyword for a VLAN or VLAN range - vlan-range Number of the addressed VLAN or

VLAN range 1 ... 4094

address Keyword for a MAC address - aa:aa:aa:aa:aa:aa MAC address - interface Keyword for a an interface description - interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the entries are displayed for all available interfaces.

Result The entries of the MAC addresses table are displayed.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 198 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.2.1.3 show mac-address-table count

Description With this command, you show the number of MAC addresses for all or a selected VLAN.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show mac-address-table count[vlan<vlan-id(1-4094)>]

The parameters have the following meaning: Parameter Description Range of values / note vlan Keyword for a VLAN - vlan-id Number of the addressed VLAN 1 ... 4094

If you do not select any parameter from the parameter list, the total number of entries is displayed for all VLANs.

Result The number of MAC addresses for the selected VLAN is displayed.

6.2.1.4 show mac-address-table dynamic unicast

Description This command shows the MAC addresses of the dynamic unicast configuration.

Requirement ● In "base bridge-mode", the mode for the device is set to "transparent".

You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 199

Syntax Call up the command with the following parameters:

show mac-address-table dynamic unicast[vlan<vlan-range>]

[address<aa:aa:aa:aa:aa:aa>][{interface<interface-type>

<interface-id>}]

The parameters have the following meaning: Parameter Description Values vlan Keyword for a VLAN or VLAN range - vlan-range Number of the addressed VLAN or VLAN range 1 ... 4094 address Keyword for a MAC address - aa:aa:aa:aa:aa:aa MAC address - interface Keyword for a an interface description - interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the entries are displayed for all available interfaces.

Result The entries are displayed.

6.2.1.5 show vlan

Description This command shows the specific information for all or a selected VLAN.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 200 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

show vlan[brief|id<vlan-range>|summary]

The parameters have the following meaning: Parameter Description Range of values / note brief Shows brief information about all

VLANs -

id Keyword for a VLAN or VLAN range - vlan-range Number of the addressed VLAN or

VLAN range 1 ... 4094

summary Shows a summary of the VLANs

If you do not select any parameter from the parameter list, the entries of all available interfaces are displayed.

Result The information for the selected VLAN is displayed.

6.2.1.6 show vlan device info

Description This command shows all the global information that is valid for all VLANs.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show vlan device info

Result The global information is displayed.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 201

6.2.1.7 show vlan learning params

Description This command shows the parameters for the automatic learning of addresses for selected or all VLANs (active and inactive VLANs).

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show vlan learning params[vlan<vlan-range>]

The parameters have the following meaning: Parameter Description Range of values / note vlan Keyword for a VLAN or VLAN range - vlan-range Number of the addressed VLAN or

VLAN range 1 ... 4094

If you do not select any parameter from the parameter list, the entries of all available interfaces are displayed.

Result The settings for the automatic learning of addresses are displayed.

6.2.1.8 show vlan port config

Description This command shows the VLAN-specific information for ports.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 202 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

show vlan port config[{port<interface-type><interface-id>}]

The parameters have the following meaning: Parameter Description Range of values / note port Keyword for a port - interface-type Type of interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the entries of all available interfaces are displayed.

Result The information about the ports is displayed.

6.2.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

6.2.2.1 mac-address-table aging

Description With this command, you enable the "Aging" function. The "Aging" function ensures that an entry in the MAC address list that was learned dynamically is deleted again after a certain time.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 203

Syntax Call the command without parameters:

mac-address-table aging

Result The "Aging" function is enabled.

Further notes You configure the time with the mac-address-table aging-time command.

You disable the "Aging" function with the no mac-address-table aging command.

6.2.2.2 no mac-address-table aging

Description With this command, you disable the "Aging" function.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no mac-address-table aging

Result The "Aging" function is disabled.

Further notes You enable the "Aging" function with the mac-address-table aging command.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 204 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.2.2.3 vlan

Description With this command, you create a VLAN on the device and change to the VLAN configuration mode.

Note

The device supports up to 2 virtual networks.

In the provider backbone bridge mode, this command is used to create user, service and backbone VLANs.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

vlan <vlan-id(1-4094)>

The parameter has the following meaning: Parameter Description Range of values vlan-id Number of the addressed VLAN 1 ... 4094

Do not enter any leading zeros with the number of the VLAN.

Result The VLAN is created.

You are now in the VLAN configuration mode.

The command prompt is as follows:

cli(config-vlan-$$$)#

Further notes You delete the VLAN with the no vlan command.

You can display information about the VLAN with the show vlan command.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 205

6.2.2.4 no vlan

Description With this command, you delete a VLAN on the device.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameter:

no vlan <vlan-id(2-4094)> Parameter Description Range of values / note vlan-id Number of the addressed VLAN 2 ... 4094

The VLAN with number 1 cannot be deleted.

Result The VLAN is deleted

Further notes With the vlan command, you create a VLAN on the device.

You can display information about the VLAN with the show vlan command.

6.2.2.5 base bridge-mode

Description With this command, you configure whether or not the device is configured as a bridge according to IEEE 802.1D for the Spanning Tree protocol or according to IEEE 802.1Q for a virtual bridged LAN.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 206 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

base bridge-mode {dot1d-bridge|dot1q-vlan}

The parameters have the following meaning: Parameter Description Range of values dot1d-bridge Sets the mode of the device to "transparent"

for the Spanning Tree protocol. Default setting

dot1q-vlan sets the mode of the device to "VLAN-aware" for a virtual bridged LAN.

-

Result The device mode is configured.

Further notes You display the status of this function and other information with the show vlan device info command.

6.2.2.6 mgmt vlan

Description With this command, you change the agent VLAN ID. You can only use VLANs that have already been configured.

Note Changing the agent VLAN ID

If the configuration PC is connected directly to the device via Ethernet and you change the agent VLAN ID, the device is no longer reachable via Ethernet following the change.

Requirement ● In "base bridge-mode", the mode for the device is set to dot1q-vlan

You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 207

Syntax Call up the command with the following parameters:

mgmt vlan <vlan-id(1-4094)>

The parameter has the following meaning: Parameters Description Range of values vlan-id Number of the addressed VLAN 1 ... 4094

Result The Agent VLAN ID has been changed.

Further notes You reset the dot1q-vlan setting with the base bridge-mode command.

6.2.3 Commands in the interface configuration mode This section describes commands that you can call up in the interface configuration mode. Depending on the Interface selected, various command sets are available.

In the Global configuration mode, enter the interface command to change to this mode.

Commands relating to other topics that can be called in the interface configuration mode can be found in the relevant sections.

● If you exit the Interface configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the Interface configuration mode with the end command, you return to the Privileged EXEC mode.

6.2.3.1 switchport acceptable-frame-type

Description With this command, you configure which types of frames the interface accepts.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 208 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

switchport acceptable-frame-type{all|tagged}

The parameters have the following meaning: Parameters Description all All frames (with and without VLAN variables) are accepted tagged Only frames with VLAN variables are accepted

At system start or when using the restart command with the option memoryor factory, the following defaults apply:

● The function is configured for all.

Result The setting is enabled.

Further notes You can display the status of this function and other information with the show vlan port config command.

6.2.3.2 switchport access vlan

Description With this command, you assign an VLAN to an interface and configure the port VLAN identifier (PVID) for it.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

switchport access vlan <vlan-id(1-4094)>

The parameter has the following meaning: Parameter Description Range of values / note vlan-id Number of the addressed VLAN 1 ... 4094

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 209

Result The Interface is added to the VLAN as an untagged port and the corresponding VLAN ID is set.

Further notes You can reset the setting to the default with the no switchport access vlan command.

You display the setting and other information with the show vlan port config command.

6.2.3.3 no switchport access vlan

Description With this command, you reset the setting for the port VLAN identifier (PVID) for an interface to the default value.

The default value is 1.

Requirement You are in the interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no switchport access vlan

Result The setting is reset to the default value.

Further notes You configure the setting with the switchport access vlan command.

You can display the status of this function and other information with the show vlan port configcommand.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 210 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.2.3.4 switchport ingress-filter

Description With incoming packets, the ingress filter checks whether the port on which the packet was received belongs to the sending VLAN. If this is not the case, the packet is not processed.

With this command, you enable the ingress filter.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

switchport ingress-filter

Result The ingress filter is activated.

Further notes You disable the filter with the no switchport ingress-filter command.

You can display the status of the ingress filter and other settings with the show vlan port config command.

6.2.3.5 no switchport ingress-filter

Description With this command, you disable the ingress filter.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 211

Syntax Call the command without parameters:

no switchport ingress-filter

Result The ingress filter is deactivated.

Further notes You enable the filter with the switchport ingress-filter command.

You can display the status of the ingress filter and other settings with the show vlan port config command.

6.2.3.6 switchport priority default

Description With this command, you configure the priority default for the interface.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

switchport priority default <0-7>

The parameter has the following meaning: Parameter Description Range of values / note - Value for the priority default 0 ... 7

Default: 0

Result The setting for the default priority of the interface is configured.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 212 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You reset the priority default to the original default with the no switchport priority default command.

You display this setting and other information with the show vlan port config command.

6.2.3.7 no switchport priority default

Description With this command, you reset the priority default for the interface to the default value.

The default value is 0.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no switchport priority default

Result The setting is reset to the default value.

Further notes You configure the priority default with the switchport priority default command.

You display this setting and other information with the show vlan port config command.

6.2.3.8 switchport pvid

Description With this command, you assign an interface to a VLAN and configure the port VLAN identifier (PVID) for it. If a received frame has no VLAN tag, it has a tag added with the VLAN ID specified here and is sent according to the switch rules for the port.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 213

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

switchport pvid <vlan-id(1-4094)>

The parameter has the following meaning: Parameter Description Range of values / note vlan-id Number of the addressed VLAN 1 ... 4094

Result The PVID is configured

Further notes You can reset the setting to the default with the no switchport pvid command.

You configure the VLAN ID with the switchport access vlan command.

You display the setting and other information with the show vlan port config command.

6.2.3.9 no switchport pvid

Description With this command, you reset the setting for the port VLAN identifier (PVID) for an interface to the default value.

The default value is 1.

Requirement You are in the Interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no switchport pvid

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 214 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The setting is reset to the default value.

Further notes You configure the setting with the switchport pvid command.

You configure the VLAN ID with the switchport access vlan command.

You can display the status of this function and other information with the show vlan port config command.

6.2.4 Commands in the VLAN configuration mode This section describes commands that you can call up in the VLAN Configuration mode.

In the Global Configuration mode, enter the vlan $$$ command to change to this mode. When doing this, you need to replace the $$$ placeholders with the relevant VLAN ID.

Commands relating to other topics that can be called in the VLAN Configuration mode can be found in the relevant sections.

● If you exit the VLAN Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the VLAN Configuration mode with the end command, you return to the Privileged EXEC mode.

6.2.4.1 name

Description With this command, you assign a name to the VLAN.

Requirement You are in the VLAN Configuration mode.

The command prompt is as follows:

cli(config-vlan-$$$)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 215

Syntax Call up the command with the following parameters:

name <vlan-name>

The parameter has the following meaning: Parameter Description Range of values / note vlan-name Name that will be assigned to the

VLAN max. 32 characters

Result The VLAN is assigned a name.

Further notes You delete name assignment for a VLAN with the no name command.

6.2.4.2 no name

Description With this command, you delete the name assignment for a VLAN.

Requirement You are in the VLAN configuration mode.

The command prompt is as follows:

cli(config-vlan-$$$)#

Syntax Call the command without parameters:

no name

Result The name of the VLAN is deleted.

Further notes You assign the VLAN a name with the command name.

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 216 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.2.4.3 ports

Description With this command, you generate a static VLAN entry that specifies the use of the ports. Here, you configure the following types of ports:

● Member ports (tagged ports) These ports are permanently added to the list of outgoing connections

● Untagged ports These ports transfer data packets without a VLAN marking

● Forbidden ports These ports are not used for communication in a VLAN

The tagged and untagged ports specified with this command are used for outgoing data traffic.

Requirement You are in the VLAN Configuration mode.

The command prompt is as follows:

cli(config-vlan-$$$)#

Syntax Call up the command with the following parameters:

ports

(

[<interface-type><0/a-b,0/c,...>]

[<interface-type><0/a-b,0/c,...>]

)

[

untagged<interface-type> <0/a-b,0/c,...>

(

[<interface-type><0/a-b,0/c,...>] [all]

)

]

[

forbidden<interface-type><0/a-b,0/c,...>

[<interface-type><0/a-b,0/c,...>]

]

[name<vlan-name>]

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 217

The parameters have the following meaning: Parameter Description Values interface-type Type or speed of the interface • fastethernet /a-b,0/c,... Port no. of the interface Enter a valid interface name /a-b,0/c,... Port no. of the interface Enter a valid interface name untagged Keyword for interfaces or ports that transfer

data packets without VLAN marking -

all Specifies that all interfaces or ports are set to "untagged"

-

forbidden Keyword for forbidden interfaces or ports - name Keyword for the name assignment - vlan-name Name of the VLAN max. 32 characters

Result The settings are enabled.

Further notes You display details of the function with the show vlan command.

You reset the settings with the no ports command.

6.2.4.4 no ports

Description With this command, you reset the ports for a VLAN.

Requirement You are in the VLAN Configuration mode.

The command prompt is as follows:

cli(config-vlan-$$$)#

Network structures 6.2 VLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 218 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

no ports

(

[<interface-type><0/a-b,0/c,...>]

[<interface-type><0/a-b,0/c,...>] [all]

)

[

untagged<interface-type> <0/a-b,0/c,...>

(

[<interface-type><0/a-b,0/c,...>] [all]

)

]

[

(

forbidden<interface-type><0/a-b,0/c,...>

[<interface-type><0/a-b,0/c,...>] [all]

)

]

[name<vlan-name>]

The parameters have the following meaning: Parameter Description Values interface-type Type or speed of the interface Enter a valid interface. /a-b,0/c,... Port no. of the interface untagged Keyword for interfaces or ports that transfer

data packets without VLAN marking -

all Specifies that all interfaces or ports are set to "untagged"

-

forbidden Keyword for forbidden interfaces or ports - name Keyword for the name assignment - vlan-name Name of the VLAN max. 32 characters

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The ports are reset.

Further notes You display details of the function with the show vlan command.

You reset the setting with the no ports command.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 219

6.3 Spanning Tree The Spanning Tree Protocol is used to monitor a LAN for redundant connections. These are blocked and reactivated when necessary if there are changes to the network topology.

This section describes the commands of the Spanning Tree Protocol (STP), the Rapid Spanning Tree Protocol (RSTP) and the Multiple Spanning Tree Protocol (MSTP).

Note Avoiding bad configurations

When using the commands in this section, you should take particular care because a bad configuration of this function can have serious negative affects on the network.

6.3.1 The "show" commands

6.3.1.1 show spanning-tree

Description This command shows the settings of the spanning tree function.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show spanning-tree [{summary|blockedports|pathcost method}]

The parameters have the following meaning: Parameter Description summary Shows a summary blockedports Shows the blocked ports pathcost method Shows whether 16-bit (short) or 32 bit (long) values are used in the calcula-

tion

Result The settings for the spanning tree function are displayed.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 220 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You can show further settings for special aspects of the Spanning Tree Protocol with the following commands:

● show spanning-tree active

● show spanning-tree bridge

● show spanning-tree detail

● show spanning-tree interface

● show spanning-tree root

● show spanning-tree mst

6.3.1.2 show spanning-tree active

Description This command shows the settings for the active ports of the spanning tree function.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show spanning-tree active [detail]

The parameter has the following meaning: Parameter Description detail Shows settings in detail

Result The settings for the active ports of the spanning tree function are displayed.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 221

6.3.1.3 show spanning-tree bridge

Description This command shows the settings of the spanning tree function of the bridge.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show spanning-tree bridge

[{address|forward-time|hello-time|id|max-age|protocol|priority|detail}]

The parameters have the following meaning: Parameter Description address Shows the MAC address of the bridge forward-time Shows the time that the bridge is in the listening mode when changing from

the blocking mode to the learning mode hello-time Shows the time after which the bridge sends configuration frames (BPDUs) id Shows the ID of the bridge max-age Shows the maximum age of the data packet after which it is deleted protocol Shows the protocol used priority Shows the priority of the bridge detail Shows detailed information about the spanning tree settings of the interface

Result The settings for the spanning tree function of the bridge are displayed.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 222 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.3.1.4 show spanning-tree detail

Description This command shows the detailed settings of the spanning tree function.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show spanning-tree detail

Result The detailed settings for the spanning tree function are displayed.

6.3.1.5 show spanning-tree interface

Description This command shows the settings of the ports for the spanning tree function.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show spanning-tree interface <interface-type><interface-id>

[{cost|priority|portfast|rootcost|restricted-role|

restricted-tcn|state|stats|detail}]

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 223

The parameters have the following meaning: Parameter Description Range of values / note interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface cost Shows the port costs used to calculate

the lowest-cost path. -

priority Shows the priority of the port. - portfast Shows whether spanning-tree port-

fast is enabled. -

rootcost Shows the costs of the path to the root bridge.

-

restricted-role Shows whether spanning-tree re-stricted-role is enabled.

-

restricted-tcn Shows whether spanning-tree re-stricted-tcn is enabled.

-

state Shows the status of the interface. - stats Shows the counters of the various

BPDU transmissions. -

detail Shows detailed information about the spanning tree settings of the interface.

-

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The settings of the ports for the spanning tree function are displayed.

6.3.1.6 show spanning-tree l2t-edge

Description This command displays the status of the layer 2 tunnel ports.

Note

This command is available only in access point mode.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 224 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameter assignment:

show spanning-tree l2t-edge

Result The status of the layer 2 tunnel ports is displayed.

6.3.1.7 show spanning-tree mst configuration

Description This command shows various settings for an instance of the Multiple Spanning Tree Protocol.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show spanning-tree mst configuration

Result The settings of an instance of the Multiple Spanning Tree protocol are displayed.

Further notes You display the general settings for the Spanning Tree Protocol with the show spanning-tree command.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 225

6.3.1.8 show spanning-tree mst interface

Description This command shows port-specific settings of a Multiple Spanning Tree configuration.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with one of the following parameter assignments:

show spanning-tree mst

[<instance-id(1-64)>] interface<interface-type><interface-id>

[{stats|hello-time|detail}]

The parameters have the following meaning: Parameter Description Range of values instance-id Number of the instance or range of instances

whose settings are displayed 1 ... 64

interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface stats Shows the number of incoming and outgoing

packets for each path of the interface -

hello-time Shows the intervals at which the root switch sends its "Hello" message to the other switches

-

detail Shows detailed information about the select-ed interface

-

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The settings are displayed.

Further notes You display the general settings for the Spanning Tree Protocol with the show spanning-tree command.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 226 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.3.1.9 show spanning-tree root

Description This command shows the settings of the root bridge for the spanning tree function.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show spanning-tree root

[{address|cost|forward-time|id|max-age|port|priority|detail}]

The parameters have the following meaning: Parameter Description address Shows the MAC address of the root bridge cost Shows the costs of the connection to the root bridge. forward-time Shows the time that the bridge is in the listening mode when changing from

the blocking mode to the learning mode id Shows the ID of the root bridge max-age Shows the maximum age of the data packet after which it is deleted port Shows the interface via which the spanning tree is set up priority Shows the priority of the bridge detail Shows detailed information about the root bridge

Result The settings of the root bridge for the spanning tree function are displayed.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 227

6.3.2 clear spanning-tree counters

Description With this command, you reset all the statistical counters of the spanning tree function at the device and port level.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

clear spanning-tree counters

Result The spanning tree counters are reset.

6.3.3 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

6.3.3.1 spanning-tree

Description The Spanning Tree Protocol is used to monitor a LAN for redundant connections. These are blocked and reactivated when necessary if there are changes to the network topology.

With this command, you enable the spanning tree function.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 228 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

spanning-tree

Result The spanning tree function is enabled.

Further notes As default the function is "enabled".

You disable the spanning tree function with the no spanning tree command.

You can display the status of this function and other information with the show spanning tree detail command.

You can display information about active ports with the show spanning tree active command.

6.3.3.2 no spanning-tree

Description With this command, you disable the spanning tree function.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no spanning-tree

Result The spanning tree function is disabled.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 229

Further notes You enable the spanning tree function with the spanning tree command.

You can display the status of this function and other information with the show spanning tree detail command.

You can display information about active ports with the show spanning tree active command.

6.3.3.3 spanning-tree compatibility

Description With this command, you configure the compatibility version of the protocol that will be used by the spanning tree function.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

spanning-tree compatibility {stp|rst|mst}

The parameters have the following meaning: Parameter Description Range of values / note stp The version is compatible with the

Spanning Tree protocol -

rst The version is compatible with the Rapic Spanning Tree protocol

Default: enabled

mst The version is compatible with the Multiple Spanning Tree protocol

-

Result The compatibility version of the protocol is selected.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 230 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You can reset the setting to the default mst with the no spanning-tree compatibility command.

You can display the status of this function and other information with the show spanning tree detail command.

You can display information about active ports with the show spanning tree active command.

6.3.3.4 no spanning-tree compatibility

Description With this command, you reset the compatibility version of the protocol of the spanning tree function to the default value.

The default value is MST.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no spanning-tree compatibility

Result The compatibility version is reset to the default value.

Further notes You configure the setting with the spanning-tree compatibility command.

You can display the status of this function and other information with the show spanning tree detail command.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 231

6.3.3.5 spanning-tree l2t-auto-edge

Description This command specifies that at all layer 2 tunnel ports it should be automatically detected whether or not an end device is connected.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

spanning-tree l2t-auto-edge

Result The automatic detection is enabled.

Further notes You disable the automatic detection with the no spanning-tree l2t-auto-edge command.

You can display the status of this function with the show spanning-tree l2t-edgecommand.

6.3.3.6 no spanning-tree l2t-auto-edge

Description With this command, you disable automatic detection of an end device at layer 2 tunnel ports.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no spanning-tree l2t-auto-edge

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 232 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The automatic discovery of a bridge on the interface is disabled.

Further notes You enable the automatic detection with the spanning-tree l2t-auto-edge command.

You can display the status of this function with the show spanning-tree l2t-edgecommand.

6.3.3.7 spanning-tree l2t-edge

Description With this command, you specify that an end device can be located at a layer 2 tunnel port. Otherwise a reconfiguration of the network will be triggered whenever a link to this port is modified. The L2T clients should be interconnected.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

spanning-tree l2t-edge

Result The setting is enabled.

Further notes You disable the setting with the no spanning-tree l2t-edge command.

You can display the status of this function with the show spanning-tree l2t-edgecommand.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 233

6.3.3.8 no spanning-tree l2t-edge

Description With this command, you disable the setting that an end device may be located at a layer 2 tunnel port.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no spanning-tree l2t-edge

Result The setting is disabled.

Further notes The automatic discovery of a bridge on the interface is disabled with the spanning-tree l2t-edge command.

You can display the status of this function with the show spanning-tree l2t-edgecommand.

6.3.3.9 spanning-tree mst configuration

Description With this command, you change to the MSTP configuration mode.

Requirement You are in the Global configuration mode.

● MSTP is enabled

● Base bridge mode: 802.1Q VLAN Bridge

● Compatibility mode: MSTP

The command prompt is as follows:

cli(config)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 234 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

spanning-tree mst configuration

Result You are now in the MSTP configuration mode.

The command prompt is as follows:

cli(config-mst)#

Further notes You exit the MSTP configuration mode with the end or exit command.

6.3.3.10 spanning-tree mst instance-id root

Description With this command you specify whether the device is a root bridge (primary) or a substitute root bridge (secondary).

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

spanning-tree mst{instance-id<instance-id(1-64)>}root{primary|secondary}

The parameters have the following meaning: Parameter Description Range of values / note instance-id Keyword for the instance - instance-id Number of the instance 1 ... 64

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 235

Parameter Description Range of values / note primary The priority of the device is set to a low value so that the

device can become the root bridge (primary) of the Spanning Tree instance. The lower the value, the higher the priority.

The priority is set to the value 24576.

secondary The priority of the device is set to a low value so that the device becomes the substitute root bridge (secondary) of the Spanning Tree instance. If the root bridge (prima-ry) fails, the substitute root bridge (secondary) takes over the task of the root bridge without delay.

The priority is set to the value 28672.

Result The function of the device is specified.

Further notes You disable the root bridge with the no spanning-tree mst instance-id root command.

You display this setting and other information with the commands that start with show spanning tree ....

6.3.3.11 no spanning-tree mst instance-id root

Description With this command, you disable the "root bridge" function on the device.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

spanning-tree mst{instance-id<instance-id(1-64)>}root

The parameters have the following meaning: Parameter Description Range of values instance-id Keyword for the instance - instance-id Number of the instance 1 ... 64

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 236 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The "root bridge" function is disabled.

Further notes You enable the root bridge function with the spanning-tree mst instance-id root command.

You display this setting and other information with the commands that start with show spanning tree ....

6.3.3.12 spanning-tree mst max-hops

Description With this command, you configure the maximum number of nodes (hops) that a path can run through in an MST.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

spanning-tree mst max-hops <value(6-40)>

The parameter has the following meaning: Parameter Description Range of values / note value Maximum number of hops that a path

can run through in an MST 6 ... 40 Default: 20

Result The setting for the maximum number of hops is configured.

Further notes You can reset the setting for the maximum number of nodes to the default with the no spanning-tree mst max-hops command.

You display this setting and other information with the show spanning tree mst configuration command.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 237

6.3.3.13 no spanning-tree mst max-hops

Description With this command, you reset the maximum number of hops that a path in an MST can run through to the default value.

The default value is 20.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no spanning-tree mst max-hops

Result The setting for the maximum number of nodes is reset to the default value.

Further notes You can configure the setting for the maximum number of nodes with the spanning-tree mst max-hops command.

You display this setting and other information with the show spanning tree mst configuration command.

6.3.3.14 spanning-tree priority

Description With this command, you configure the priority of the device. Which device becomes the root bridge is decided based on the priority. The bridge with the highest priority becomes the root bridge. The lower the value, the higher the priority.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 238 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

spanning-tree[mst <instance-id(1-64)>] priority <value(0-61440)>

The parameters have the following meaning: Parameter Description Range of values / note mst Keyword for a Multiple Spanning Tree

instance -

instance-id Number of the instance 1 ... 64 priority Keyword for the priority - value Value for the priority 0 ... 61440

Default: 32768

You can only change the value for the priority in the steps of 4096.

Result The priority of the device is configured.

Further notes You can reset the setting to the default with the no spanning-tree priority command.

You display this setting and other information with the commands that start with show spanning tree ....

6.3.3.15 no spanning-tree priority

Description With this command, you reset the priority of the device back to the default value.

The default value is 32768.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 239

Syntax Call up the command with the following parameters:

no spanning-tree[mst <instance-id(1-64)>]priority

The parameters have the following meaning: Parameter Description Range of values / note mst Keyword for a Multiple Spanning Tree

instance -

instance-id Number of the instance 1 ... 64

Result The priority of the device is reset to the default value.

Further notes You configure the setting with the spanning-tree priority command.

You display this setting and other information with the commands that start with show spanning tree ....

6.3.3.16 Time settings for the Spanning Tree protocol

spanning-tree

Description With this command, you configure the various time settings of the spanning tree function:

● With the forward-time option, you configure the time after which a port changes its spanning tree status from "Blocking" to "Forwarding".

● With the hello-time option, you configure the time after which the bridge sends its configuration BPDUs.

● With the max-age option, you configure the time after which the information of the BPDUs becomes invalid.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 240 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

spanning-tree{forward-time<seconds(4-30)>|hello-time<seconds(1-2)>|

max-age<seconds(6-40)>}

The parameters have the following meaning: Parameter Description Range of values forward-time Keyword for the time after which a port changes its spanning

tree status from "Blocking" to "Forwarding" -

seconds Time after which the changeover takes place 4 ... 30 Default: 15

hello-time Keyword for the time after which the bridge sends its configu-ration BPDUs

-

seconds Time after which they are sent 1 ... 2 Default: 2

max-age Keyword for the time after which the information of the BPDUs becomes invalid

-

seconds Maximum age of the BPDUs in seconds 6 ... 40 Default: 20

Note Dependencies when setting the timing

If you specify the time settings for spanning tree, you need to keep to the following two rules:

2 * (forward-time - 1) >= max-age

and

max-age >= 2 * (hello-time + 1)

Result The selected setting for the time is configured.

Further notes You can reset the time to the default with the no spanning-tree command (time settings).

You display these settings and other information with the commands that start with show spanning tree ....

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 241

no spanning-tree

Description With this command, you reset the various time settings of the spanning tree function to the default value.

The default values are as follows: Parameters Default value forward-time 15 seconds hello-time 2 seconds max-age 20 seconds

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no spanning-tree{forward-time|hello-time|max-age}

The parameters have the following meaning: Parameters Description forward-time Time after which a port changes its spanning tree status from "Blocking" to

"Forwarding" hello-time Time after which the bridge sends its configuration BPDUs max-age Time after which the information of the BPDUs becomes invalid

Result The selected setting for the time is reset to the default value.

Further notes You configure the time with the spanning-tree command (time settings).

You display these settings and other information with the commands that start with show spanning tree ....

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 242 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.3.4 Commands in the interface configuration mode This section describes commands that you can call up in the Interface Configuration mode.

Note

The commands are only available with layer 3 and when the interface is a VLAN interface.

In the Interface Configuration mode, enter the interface command to change to this mode.

Commands relating to other topics that can be called in the Interface Configuration mode can be found in the relevant sections.

● If you exit the Interface Configuration mode with the exit command, you return to the Interface Configuration mode.

● If you exit the Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

6.3.4.1 spanning-tree

Description With this command, you configure the various properties of the spanning tree function:

● With the cost option, you configure the port costs used to calculate the lowest-cost path.

● With the disable option, you disable the interface for the spanning tree function.

● With the link-type option, you configure the connection status of the following network segment. The following settings are possible:

– point-to-point – the interface communicates with precisely one network component

– shared - the interface is connected to more than one network component

● With the portfast option, you enable the PortFast function on the interface. The interface is connected to an end device and can therefore ignore the waiting time before changing to Forwarding mode.

● With the port-priority option, you configure the priority of the interface for negotiating a spanning tree configuration.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 243

Syntax Call up the command with the following parameters:

spanning-tree {cost <0-200000000>|disable|

link-type{point-to-point|shared}|portfast|

port-priority<0-240>}

The parameters have the following meaning: Parameter Description Range of values / note cost Keyword

Describes the costs of the port for calculating the lowest cost path.

0 ... 200000000 Default: if dynamic calculation of the path costs is not enabled: • 200000 for physical interfaces • 199999 for port channels

disable disables the interface for spanning tree - Default: The spanning tree function is enabled on the interface

link-type Connection status of the following network segment

• point-to-point • shared Default: • point-to-point

The connection is configured as full-duplex

• shared

in all other cases portfast Enables the PortFast function -

Default: disabled port-priority Priority of the interface 0 ... 240 in steps of 16

Default: 128

Note Configure multiple properties

With each call of the command, you can configure precisely one property. If you want to configure several properties, call the command several times.

Result The selected property is configured.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 244 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You can reset the setting to the default with the no spanning-tree (properties) command.

You display these settings and other information with the commands that start with show spanning tree ....

6.3.4.2 no spanning-tree

Description With this command, you reset the various properties of the spanning tree function to the default value:

The default values are as follows: Parameter Default value cost if dynamic calculation of the path costs is not enabled:

• 200000 for physical interfaces • 199999 for port channels

disable The spanning tree function is enabled on the interface link-type • point-to-point

The connection is configured as full-duplex • shared

in all other cases portfast disabled port-priority 128

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

no spanning-tree {cost|disable|link-type|portfast|port-priority}

The parameters have the following meaning: Parameter Description cost Keyword for the costs of the port for calculating the lowest-cost path. disable Enables the interface for spanning tree. link-type Connection status of the following network segment

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 245

Parameter Description portfast Disables the PortFast function. port-priority Keyword for the priority of the interface

Note Configure multiple properties

With each call of the command, you can configure precisely one property. If you want to configure several properties, call the command several times.

Result The selected setting was reset to the default value.

Further notes You configure the setting with the spanning-tree command (properties).

You display these settings and other information with the commands that start with show spanning tree ....

6.3.4.3 spanning-tree auto-edge

Description With this command, you enable automatic discovery of a bridge connected to the interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

spanning-tree auto-edge

Result The automatic discovery of a bridge on the interface is enabled.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 246 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes The automatic discovery of a bridge on the interface is enabled with the no spanning-tree auto-edge command.

6.3.4.4 no spanning-tree auto-edge

Description With this command, you disable automatic discovery of a bridge connected to the interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no spanning-tree auto-edge

Result The automatic discovery of a bridge on the interface is disabled.

Further notes The automatic discovery of a bridge on the interface is disabled with the spanning-tree auto-edge command.

6.3.4.5 spanning-tree bdpufilter

Description With this command, you configure the BPDU transmit status for a port.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 247

Syntax Call up the command with the following parameters:

spanning-tree bpdufilter{disable|enable}

The parameters have the following meaning: Parameter Description Range of values / note disable The transfer of BPDU packets is disa-

bled for the port Default: disabled

enable The transfer of BPDU packets is ena-bled for the port

-

Result The BPDU transmit status is configured.

6.3.4.6 spanning-tree bpdu-receive

Description With this command, you enable or disable the BPDU receive status at the port.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

spanning-tree bpdu-receive{enabled|disabled}

The parameters have the following meaning: Parameter Description Range of values / note enabled BPDU packets are received at the port Default: enabled disabled BPDU packets are ignored at the port -

Result The BPDU receive status is enabled or disabled.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 248 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You can display the status of this function and other information with the show spanning tree interface command with the detail option.

6.3.4.7 spanning-tree bpdu-transmit

Description With this command, you enable or disable the BPDU transmit status at the port.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

spanning-tree bpdu-transmit{enabled|disabled}

The parameters have the following meaning: Parameter Description Range of values / note enabled BPDU packets are transmitted at the

port Default: enabled

disabled BPDU packets are not transmitted at the port

-

Result The BPDU transmit status has switched over.

Further notes You can display the status of this function and other information with the show spanning tree interface command with the detail option.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 249

6.3.4.8 spanning-tree mst

Description With this command, you configure the various properties of the Multiple Spanning Tree function:

● With the cost option, you configure the port costs used to calculate the lowest-cost path.

● With the port-priority option, you configure the priority of the interface for negotiating a Multiple Spanning Tree configuration.

● With the disable option, you disable the interface for the Multiple Spanning Tree function.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

spanning-tree mst<instance-id(1-64)>

{cost(0-200000000)|port-priority (0-240)|disable}

The parameters have the following meaning: Parameter Description Range of values / note instance-id Number of the addressed instance 1 ... 64 cost Costs of the port for calculating the

lowest cost path. 0 ... 200000000 Default: • 200000 for physical interfaces • 199999 for port channels

port-priority Priority of the interface 0 ... 240 in steps of 16 Default: 128

disable disables the interface for multiple spanning tree

- Default: The Multiple Spanning Tree func-tion is enabled on the interface

Note Configure multiple properties

With each call of the command, you can configure precisely one property. If you want to configure several properties, call the command several times.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 250 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The selected property is configured.

Further notes You can reset the setting to the default with the no spanning-tree mst (properties) command.

You display these settings and other information with the commands that start with show spanning tree ....

6.3.4.9 no spanning-tree mst

Description With this command, you reset the various properties of the Multiple Spanning Tree function to the default value.

The default values are as follows: Parameter Default value cost • 200000 for physical interfaces

• 199999 for port channels port-priority 128 disable The Multiple Spanning Tree function is enabled on the interface

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

no spanning-tree mst<instance-id(1-64)>{cost|port-priority|disable}

The parameters have the following meaning: Parameter Description Range of values / note instance-id Number of the addressed instance 1 ... 64 cost Keyword for the costs of the port for

calculating the lowest-cost path. -

port-priority Keyword for the priority of the interface - disable Enables the interface for multiple

spanning tree. -

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 251

Note Configure multiple properties

With each call of the command, you can configure precisely one property. If you want to configure several properties, call the command several times.

Result The selected setting is reset to the default value.

Further notes You configure the setting with the spanning-tree mst command (properties).

You display these settings and other information with the commands that start with show spanning tree ....

6.3.4.10 spanning-tree mst hello-time

Description With this command, you configure the Hello time after which the bridge sends its configuration frames (BPDUs).

A change to this value applies to all MST instances active on this interface.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

spanning-tree mst hello-time <seconds(1-2)>

The parameter has the following meaning: Parameter Description Range of values / note seconds Time after which the bridge sends its

configuration frames (BPDUs) 1 ... 2 Default: 2

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 252 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The setting for the hello time is configured.

Further notes You can reset the setting for the hello time to the default with the no spanning-tree mst hello-time command.

You display this setting and other information with the commands that start with show spanning tree ....

6.3.4.11 no spanning-tree mst hello-time

Description With this command, you reset the hello time after which the bridge sends its configuration BPDUs to the default value.

The default value is 2 seconds.

Requirement You are in the interface configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call the command without parameters:

no spanning-tree mst hello-time

Result The setting for the hello time is reset to the default value.

Further notes You can configure the setting for the hello time with the spanning-tree mst hello-time command.

You display this setting and other information with the commands that start with show spanning tree ....

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 253

6.3.5 Commands in the MSTP configuration mode This section describes commands that you can call up in the MSTP configuration mode.

In the Global configuration mode, enter the spanning-tree mst configuration command to change to this mode.

● If you exit the MSTP configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the MSTP configuration mode with the end command, you return to the Privileged EXEC mode.

Requirements for changing to this mode:

● MSTP is enabled

● Base bridge mode: 802.1Q VLAN Bridge

● Compatibility mode: MSTP

6.3.5.1 instance

Description With this command, you assign a range of VLANs to an MST instance.

Requirement You are in the MSTP configuration mode.

The command prompt is as follows:

cli(config-mst)#

Syntax Call up the command with the following parameters:

instance <instance-id(1-64)> vlan <vlan-range>

The parameters have the following meaning: Parameter Description Range of values / note instance-id Number of the instance 1 ... 64

You can define up to 2 MSTP instances. Default: The VLANs 1 – 4094 are as-signed to instance "0"

vlan Keyword for a VLAN connection - vlan-range Range of VLANs assigned to an in-

stance enter the range limts with a hy-phen or blank

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 254 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The range of VLANs is assigned to the MST instance.

Further notes You cancel the assignment of the VLAN to an MST instance with the no instance command.

You delete the MST instance with the no instance command.

You display this setting and other information with the show spanning-tree mst configuration command.

6.3.5.2 no instance

Description With this command, you cancel the assignment of a VLAN to an MST instance or delete the MST instance.

Requirement You are in the MSTP Configuration mode.

The command prompt is as follows:

cli(config-mst)#

Syntax Call up the command with the following parameters:

no instance <instance-id (1-64)> [vlan <vlan-range>]

The parameters have the following meaning: Parameter Description Range of values / note instance-id Number of the MST instance 1 ... 64 vlan Keyword for a VLAN connection - vlan-range Range of VLANs that will be deleted

from the instance enter the range limts with a hy-phen or blank

If you specify a VLAN or a VLAN range, the assignment to an MST instance is canceled.

If you do not specify a VLAN, the MST instance is deleted.

Result The assignment of a VLAN to an MST instance is canceled or the MST instance is deleted.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 255

Further notes You assign a VLAN to an MST instance with the instance command.

You display this setting and other information with the show spanning-tree mst configuration command.

6.3.5.3 name

Description With this command, you configure a name for the MST region.

Requirement You are in the MSTP Configuration mode.

The command prompt is as follows:

cli(config-mst)#

Syntax Call up the command with the following parameters:

name <region-name>

The parameter has the following meaning: Parameter Description Range of values / note region-name Name of the MST region max. 32 characters

The default value of the name is the MAC address of the device.

Result The name is configured.

Further notes You delete the name of the MST region with the no namecommand.

You display this setting and other information with the show spanning tree mst configuration command.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 256 Configuration Manual, 11/2014, C79000-G8976-C351-03

6.3.5.4 no name

Description With this command, you reset the name for the MST region to the default value.

The default value is:

● The MAC address of the device is configured as name.

Requirement You are in the MSTP Configuration mode.

The command prompt is as follows:

cli(config-mst)#

Syntax Call the command without parameters:

no name

Result The name is reset to the default value.

Further notes You configure the name of the MST region with the name command.

You display this setting and other information with the show spanning tree mst configuration command.

6.3.5.5 revision

Description With this command, you assign a revision number to the MST region.

Requirement You are in the MSTP Configuration mode.

The command prompt is as follows:

cli(config-mst)#

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 257

Syntax Call up the command with the following parameters:

revision <revision-no(0-65535)>

The parameters have the following meaning: Parameter Description Range of values / note revision-no Value of the revision number 0 ... 65535

Default: 0

Result The MST region is assigned a revision number.

Further notes You delete a revision number with the no revision command.

You display this setting and other information with the show spanning tree mst configuration command.

6.3.5.6 no revision

Description With this command, you reset the revision number of the MST region to the default value.

The default value is 0.

Requirement You are in the MSTP Configuration mode.

The command prompt is as follows:

cli(config-mst)#

Syntax Call the command without parameters:

no revision

Result The revision number of the MST region is reset to the default value.

Network structures 6.3 Spanning Tree

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 258 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You assign a revision number to the MST region with the revision command.

You display this setting and other information with the show spanning tree mst configuration command.

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 259

Network protocols 7

This part contains the sections that describe the commands for working with the various network protocols.

7.1 IPv4 protocol This section describes commands of the Internet Protocol (IP) version 4.

7.1.1 The "show" commands This section describes commands with which you display various settings.

7.1.1.1 show dcp forwarding

Description This command shows an overview of the DCP forwarding behavior on one or all interfaces.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show dcp forwarding [port<interface-type><interface-id>]

The parameters have the following meaning: Parameter Description Range of values / note port Keyword for a an interface description - interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 260 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The overview of the DCP forwarding behavior is displayed.

7.1.1.2 show dcp server

Description This command shows whether or not the DCP function is enabled on the device.

If the DCP function is enabled, the read and write permissions are displayed.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show dcp server

Result The overview of the status of the DCP function and access rights is displayed.

7.1.1.3 show ip route

Description This command shows the routes currently being used.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show ip route[{<ip-address>[<mask>]|connected|static}]

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 261

The parameters have the following meaning: Parameter Description Range of values ip-address shows the information for a specific IP address enter a valid IP ad-

dress mask defines an address range using the subnet mask /8, /16 or /24 connected Shows the direct connections - static Shows the static connections -

Result The routing table is displayed.

7.1.1.4 show ip telnet

Description This command shows the admin status and the port number of the Telnet server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip telnet

Result The admin status and the port number of the Telnet server are displayed.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 262 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.1.1.5 show ip dns

Description This command shows information about the DNS client, for example the status of the DNS client and parameters for querying the DNS server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip dns

Result Information on the DNS client is displayed.

7.1.1.6 show ip dns cache

Description This command shows the content of the DNS cache. The DNS cache buffers replies of the DNS server for a brief time. This allows other queries for the same name to be replied to directly without sending another query to the DNS server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip dns cache

Result The content of the DNS cache is displayed.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 263

7.1.1.7 show ip dns name-server

Description This command shows information about the DNS servers configured on the device. The table contains the index, the address type (e.g. IPv4) as well as the IP address and the origin.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip dns name-server

Result The table with the information about the DNS servers is displayed.

7.1.1.8 show ip dns statistics

Description This command shows DNS statistics. It provides information about the type and number of queries to the DNS server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip dns statistics

Result Information about the communication with the DNS server is displayed.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 264 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.1.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

7.1.2.1 telnet-server

Description With this command, you enable the Telnet server.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

telnet-server

As default the function is "enabled".

Result The Telnet server is enabled.

Further notes You disable the Telnet server with the no telnet-server command.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 265

7.1.2.2 no telnet-server

Description With this command, you disable the Telnet server.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no telnet-server

Result The Telnet server is disabled.

Further notes You enable the Telnet server with the telnet-server command.

7.1.2.3 ip echo-reply

Description To check the availability of a network node, packets of the Internet Control Message Protocol (ICMP) can be sent to it. These packets of type 8 request the recipient to send a packet back to the sender (echo reply).

With this command, you enable the ICMP echo reply messages.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 266 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

ip echo-reply

Result "ICMP echo reply messages" are enabled.

Further notes You disable the setting with the no ip echo-reply command.

You can display the setting of this function and other information with the show ip informationcommand.

7.1.2.4 no ip echo-reply

Description With this command, you disable the "ICMP echo reply messages".

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no ip echo-reply

Result "ICMP echo reply messages" are disabled.

Further notes You change the setting with the ip echo-reply command.

You can display the setting of this function and other information with the show ip informationcommand.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 267

7.1.2.5 ip route

Description With this command, you configure a static entry in the IP routing table.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

ip route <gateway>

The parameter has the following meaning: Parameter Description Range of values gateway Specifies the IP address of the gateway enter a valid IP address

Result The entry is configured.

Further notes You delete an entry from the IP routing table with the no ip route command.

You display the IP routing table with the show ip route command.

7.1.2.6 no ip route

Description With this command, you delete a static entry from the IP routing table.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 268 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

no ip route <gateway>

The parameter has the following meaning: Parameter Description Range of values gateway Specifies the IP address of the gateway. Specify a valid IP address.

Result The entry is deleted.

Further notes You configure an entry from the IP routing table with the ip route command.

You display the IP routing table with the show ip route command.

7.1.2.7 dcp server

Description With this command, you configure the read and write permissions for the DCP server and enable it.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

dcp server {read-only|read-write}

The parameters have the following meaning: Parameter Description Range of values / note read-only only reading is permitted on the DCP

server -

read-write reading and writing is permitted on the DPC server

Default: read-write

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 269

Result The read and write permissions for the DPC server are configured.

The DCP server is enabled.

Further notes You disable the DCP server with the no dcp server command.

7.1.2.8 no dcp server

Description With this command, you disable the DCP server.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no dcp server

Result The DCP server is disabled.

Further notes You enable and configure the DCP server with the dcp server command.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 270 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.1.2.9 ip domain lookup

Description This command enables the DNS client of the device. To be able to use the function, a DNS server must be reachable.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

ip domain lookup

Result The DNS client of the device is enabled and when necessary sends queries to the DNS server.

7.1.2.10 no ip domain lookup

Description This command disables the DNS client of the device.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no ip domain lookup

Result The DNS client of the device is disabled.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 271

7.1.2.11 ip name-server

Description This command specifies an IP address of a DNS server. If there is more than one server, you can specify the order in which the servers are queried. To allow this, the optional parameter index is available. The server with the lowest index is queried first.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

ip name-server ipv4 <ucast_addr> [index <id(1-3)>]

The parameters have the following meaning: Parameter Description Range of values / note ipv4 Keyword for IPv4 - ucast_addr IP address of the DNS server Enter a valid IP address index Keyword for the index - id Index of the DNS server 1 ... 3

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The IP address and, if specified, the index for a DNS server has been set.

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 272 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.1.2.12 no ip name server

Description This command deletes the entry with the specified index for a DNS server. If you do not specify an index, all entries are deleted.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no ip name-server [index <id(1-3)>]

The parameters have the following meaning: Parameter Description Range of values / note index Keyword for the index - id Index of the DNS server 1 ... 3

Result The specified entries for the DNS servers were deleted.

7.1.2.13 ip domain used server

Description This command specifies which DNS server the device uses.

Note

Only resource records of type A (IPv4 address of a host) are supported.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 273

Syntax Call up the command with the following parameters:

ip domain used server {public-only | manual-only | all}

The parameters have the following meaning: Parameter Description Range of values public-only The device uses only the DNS servers

assigned by DHCP. -

manual-only The device uses only the manually con-figured DNS servers. A maximum of three DNS servers can be configured.

-

all The device uses all available DNS serv-ers.

-

Result The device uses the DNS servers specified in the configuration.

7.1.3 Commands in the interface configuration mode This section describes commands that you can call up in the interface configuration mode. Depending on the Interface selected, various command sets are available.

In the Global configuration mode, enter the interface command to change to this mode.

Commands relating to other topics that can be called in the interface configuration mode can be found in the relevant sections.

● If you exit the Interface configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the Interface configuration mode with the end command, you return to the Privileged EXEC mode.

7.1.3.1 ip address

Description With this command, you assign an IP address to a VLAN interface.

Requirement ● Interface is a router port

You are in the Interface configuration mode of VLAN.

The command prompt is as follows:

cli(config-if-vlan-$$$)#

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 274 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

ip address <ip-address> {<subnet-mask>|/<prefix-length(0-32)>}

The parameters have the following meaning: Parameter Description Values ip-address IP address for the VLAN interface enter a valid IP address subnet-mask Subnet mask of the corresponding subnet enter a valid subnet mask prefix-length Decimal representation of the mask as a

number of "1" bits 0 ... 32

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The IP address is assigned to the VLAN interface.

Note Effectiveness of the command

The command is effective immediately.

If you configure the interface via which you access the device, the connection will be lost!

Further notes You delete the settings with the no ip address command.

You display this setting and other information with the show ip interface command.

7.1.3.2 no ip address

Description With this command, you delete the assignment of an IP address to a VLAN interface.

Requirement You are in the Interface configuration mode of VLAN.

The command prompt is as follows:

cli(config-if-vlan-$$$)#

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 275

Syntax Call up the command with the following parameters:

no ip address [{ <ucast_addr>}]

The parameter has the following meaning: Parameter Description Values ucast_addr IP Address of the VLAN interface that will

be deleted enter a valid IP address

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The assignment of the IP address to a VLAN interface is deleted and DHCP is disabled.

Note Effectiveness of the command

The command is effective immediately.

If you configure the interface via which you access the device, you can lose the connection!

Further notes You configure the setting with the ip address command.

You display this setting and other information with the show ip interface command.

7.1.3.3 ip address dhcp

Description With this command, the VLAN interface obtains the IP address via DHCP.

Requirement You are in the Interface Configuration mode of VLAN.

The command prompt is as follows:

cli(config-if-vlan-$$$)#

Syntax Call the command without parameters:

ip address dhcp

Network protocols 7.1 IPv4 protocol

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 276 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The DHCP assigns the IP address to the VLAN interface.

Further notes You delete the settings with the no ip address command.

You display this setting and other information with the show ip interface command.

7.1.3.4 dcp forwarding

Description With this command, you configure the forwarding behavior of the interface for DCP frames.

Requirement You are in the Interface Configuration mode.

The command prompt is as follows:

cli(config-if-$$$)#

Syntax Call up the command with the following parameters:

dcp forwarding {block|forward}

The parameters have the following meaning: Parameter Description block DCP frames are discarded forward DCP frames are forwarded

Default: forward

Result The forwarding behavior of the interface for DCP frames is configured.

Network protocols 7.2 DHCP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 277

7.2 DHCP client This section describes commands of the Dynamic Host Configuration Protocol (DHCP).

7.2.1 show ip dhcp client stats

Description With this command, you display the statistical counters of the DHCP client.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip dhcp client stats

Result The counters are displayed.

7.2.2 show ip dhcp client

Description With this command, you display the configuration settings of the DHCP client.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip dhcp client

Network protocols 7.2 DHCP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 278 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The configuration settings of the DHCP client are displayed.

7.2.3 renew dhcp

Description This command reassigns an IP address to the selected interface via DHCP.

Requirement ● The IP address of the selected interface was assigned via DHCP.

You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call up the command with the following parameters:

renew dhcp [{vlan<vlan-id(1-4094)>|<interface-type><interface-id>}]

The parameters have the following meaning: Parameter Description Range of values vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094 interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The IP address is assigned again.

This address can be a different address from the previously assigned address.

Further notes You can display the statistical information of the DHCP client with the show ip dhcp client stats command.

You show the statistical information and the configuration of the IP interface with the show ip interface command.

Network protocols 7.2 DHCP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 279

7.2.4 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

7.2.4.1 ip dhcp config-file-request

Description If the DHCP config file request option is set, the device requests the TFTP address and the name of a configuration file from the DHCP server. If the device is restarted following the completed download, the configuration settings are read from this file.

With this command, you enable the DHCP config file request option.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

ip dhcp config-file-request

Result The DHCP config file request option is enabled.

Further notes You disable the DHCP config file request option with the no ip dhcp config-file-request command.

Network protocols 7.2 DHCP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 280 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.2.4.2 no ip dhcp config-file-request

Description With this command, you disable the DHCP config file request option.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no ip dhcp config-file-request

Result The DHCP config file request option is disabled.

Further notes You enable the DHCP config file request option with the ip dhcp config-file-request command.

7.2.4.3 ip dhcp client mode

Description With this command, you configure the type of identifier with which the DHCP client logs on with its DHCP server.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

ip dhcp client mode {mac|client-id<client-id>|sysname}

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 281

The parameters have the following meaning: Parameter Description Range of values mac The client registers with its MAC address - client-id The client registers with the assigned ID - client-id Name of the assigned ID max. 32 characters sysname The client registers with the assigned system

name -

Result The registration mode of the DHCP client is configured.

7.3 DHCP server This section describes commands relevant for configuring the DHCP server.

Requirement

The connected devices are configured so that they obtain the IPv4 address from a DHCP server.

7.3.1 show ip dhcp-server pools

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description The command shows the DHCP server configuration of a specific IPv4 address band or all IPv4 address bands and the corresponding DHCP options.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 282 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

show ip dhcp-server pools [pool-id (1-5)]

The parameter has the following meaning: Parameter Description Range of values / note pool-id ID of the addressed IPv4 address

band 1 ... 5 Only ID = 1 is supported.

Result The configuration of the DHCP server and the DHCP options is displayed.

7.3.2 show ip dhcp-server bindings

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description This command shows the current assignments of IPv4 addresses of the DHCP server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameter assignment:

show ip dhcp-server bindings

Result The information is displayed.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 283

7.3.3 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

7.3.3.1 ip dhcp-server

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you enable the DHCP server on the device.

Note

To avoid conflicts with IPv4 addresses, only one device may be configured as a DHCP server in the network.

Requirement ● NAT is enabled

● You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameter assignment:

ip dhcp-server

Result The DHCP server is enabled.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 284 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You disable the DHCP server with the no ip dhcp-server. command.

7.3.3.2 no ip dhcp-server

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you disable the DHCP server on the device.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameter assignment:

no ip dhcp-server

Result The DHCP server is disabled.

Further notes You enable the DHCP server with the ip dhcp-server command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 285

7.3.3.3 ip dhcp-server icmp-probe

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you enable the "Probe address with ICMP Echo before offer" function. The DHCP server checks whether or not the IPv4 address has already been assigned. If no reply is received, the DHCP server can assign the IPv4 address.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameter assignment:

ip dhcp-server icmp-probe

Result The function is enabled.

Further notes You disable the function with the no ip dhcp-server icmp-probe command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 286 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.3.3.4 no ip dhcp-server icmp-probe

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you disable the "Probe address with ICMP Echo before offer" function.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameter assignment:

no ip dhcp-server icmp-probe

Result The function is disabled.

Further notes You enable the function with the ip dhcp-server icmp-probe command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 287

7.3.3.5 ip dhcp-server pool

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you have two options of changing to the DHCPPOOL configuration mode and to assign an interface to the IPv4 address band.

1. If you call the command ip dhcp-server pool with the parameter pool-id (1-5), you change directly to the DHCPPOOL configuration mode.

If the ID of the addressed IPv4 address band does not yet exist, it is first created and assigned to an interface by default. You then configure the interface and the other settings in the DHCPPOOL configuration mode.

2. If you call the command ip dhcp-server pool with the parameter show-interface-options, you call a variant of the command. With this variant, you assign an interface to the IPv4 address band and change to the DHCPPOOL configuration mode. If the ID of the address IPv4 address band does not yet exist, it will be created. You then configure the other settings in the DHCPPOOL configuration mode.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

ip dhcp-server pool { <pool-id (1-5)> | show-interface-options }

The parameters have the following meaning: Parameter Description Range of values / note pool-id ID of the addressed IPv4

address band 1 ... 5 Only ID = 1 is supported.

show-interface-options Displays the possible options for the interface.

-

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 288 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The ID of the addressed IPv4 address band is configured.

You are now in the DHCPPOOL Configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Further notes You exit the DHCPPOOL configuration mode with the exit command.

You delete the entry with the no ip dhcp-server pool command.

7.3.3.6 no ip dhcp-server pool

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you delete the required IPv4 address band.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no ip dhcp-server pool <pool-id (1-5)>

The parameter has the following meaning: Parameter Description Range of values / note pool-id ID of the addressed IPv4 address band 1 ... 5

Only ID = 1 is supported.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 289

Result The required IPv4 address band is deleted.

Further notes You create the IPv4 address band with the ip dhcp-server pool command.

7.3.4 Commands in the DHCPPOOL configuration mode This section describes commands that you can call up in the DHCPPOOL Configuration mode.

In the Global Configuration mode, enter the ip dhcp-server pool command to change to this mode.

● If you exit the DHCPPOOL Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the DHCPPOOL Configuration mode with the end command, you return to the Privileged EXEC mode.

7.3.4.1 lease-time

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you specify how long the assigned IPv4 address remains valid. Once this period has elapsed, the device must either request a new IPv4 address or extend the lease time of the existing IPv4 address.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 290 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

lease-time <seconds (60-31536000)>

The parameter has the following meaning: Parameter Description Range of values / note seconds Time until renewal of the assigned

IPv4 address in seconds 60 ... 31536000

Result The time is configured.

Further notes You display the setting with the show ip dhcp-server pools command.

7.3.4.2 network

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command you configure the IPv4 address band from which the DHCP client receives any IPv4 address.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 291

Syntax Call up the command with the following parameters:

network <lower-IP> <upper-IP> { <subnet-mask> | / <prefix-length (0-32)> }

The parameters have the following meaning: Parameter Description Range of values / note lower-IP Start of the IPv4 address band Enter a valid IPv4 address. upper-IP End of the IPv4 address band Enter a valid IPv4 address. subnet-mask Subnet mask of the corresponding

subnet Enter a valid subnet mask

prefix-length Decimal representation of the mask as a number of "1" bits

0 ... 32

Result The IPv4 address band is configured. The DHCP options 1, 3, 6, 66 and 67 are created automatically. With the exception of option 1, the options can be deleted.

Further notes You display the setting with the show ip dhcp-server pools command.

You assign an IP address to an interface with the set interface command.

You configure the DHCP option 67 with the option value-string command.

You configure the DHCP options 3, 6 and 66 with the option command.

You delete the DHCP option with the no option command.

7.3.4.3 option (IP address)

Note

The command is only available when the following requirements are met: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version)) • The IPv4 address band is not enabled.

Description With this command you configure the DHCP options 3, 6 and 66 that contain an IPv4 address as DHCP parameter. The DHCP options 3, 6 and 66 are created automatically when the IPv4 address band is created.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 292 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

option <option-code> { <ip-address-list> | int-ip }

The parameters have the following meaning: Parameter Description Range of values / note option-code Code of the DHCP option • 3 - Router

• 6 - DNS server • 66 - TFTP server name

ip-adress-list IPv4 address or IPv4 address list Enter an IPv4 address. With the excep-

tion of DHCP option 3, you can specify several IPv4 addresses separated by commas.

int-ip Uses IPv4 address of the interface that is assigned to the IPv4 address band.

-

Result The DHCP option is created.

Further notes You display the setting with the show ip dhcp-server pools command.

You disable the IPv4 address band with the no pool-enable command.

You delete the DHCP option with the no option command.

You configure the DHCP option 67 with the option value-string command.

You configure all other DHCP options with the option value-hex command.

You configure the interface with the set interface command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 293

7.3.4.4 option value-hex

Note

The command is only available when the following requirements are met: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version)) • The IPv4 address band is not enabled.

Description With this command, you create DHCP options that contain a hexadecimal value as DHCP parameter. The various DHCP options are defined in RFC 2132.

The exceptions are the DHCP options: 1, 3, 66 and 67. You configure the DHCP options 3, 6 and 66 with the command option (IP address) and the DHCP option 67 with the command option value-string.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

option <option-code> value-hex <dhcp-param>

The parameters have the following meaning: Parameter Description Range of values / note option-code Code of the DHCP option Enter a valid DHCP option.

The following DHCP options are not sup-ported: • 50 - 60 • 255

dhcp-param DHCP parameter in hexadecimal Enter a valid hexadecimal value. Format: XXXXX e.g. C0A86402

Result The DHCP option is configured.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 294 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You display the setting with the show ip dhcp-server-pools command.

You disable the IPv4 address band with the no pool-enable command.

You delete the DHCP option with the no option command.

7.3.4.5 option value-string

Note

The command is only available when the following requirements are met: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version)) • The IPv4 address band is not enabled.

Description With this command you configure the DHCP option 67 and the name of the boot file as DHCP parameter. The DHCP option 67 is created automatically when the IPv4 address band is created.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

option <option-code> value-string <dhcp-param>

The parameters have the following meaning: Parameter Description Range of values / note option-code Code of the DHCP option 67 - Boot file name dhcp-param Name of the boot file -

Result The DHCP option 67 is configured.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 295

Further notes You display the setting with the show ip dhcp-server pools command.

You delete the DHCP option with the no option command.

You configure the DHCP options 3, 6 and 66 with the option command.

You disable the IPv4 address band with the no pool-enable command.

You configure all other DHCP options with the option value-hex command.

7.3.4.6 no option

Note

The command is only available when the following requirements are met: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version)) • The IPv4 address band is not enabled.

Description With this command, you delete the DHCP option with the specified number.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

no option <option-code>

The parameter has the following meaning: Parameter Description Range of values / note option-code Code of the DHCP option Enter a valid number.

Result The specified DHCP option is deleted.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 296 Configuration Manual, 11/2014, C79000-G8976-C351-03

Further notes You configure the DHCP option 67 with the option value-string command.

You configure the DHCP options 3, 6 and 66 with the option command.

You configure all other DHCP options with the option value-hex command.

7.3.4.7 pool-enable

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command you specify that this IPv4 address band will be used.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call the command without parameter assignment:

pool-enable

Result The setting is enabled.

Note

If the IPv4 address band is activated, no DHCP options (option ...) and static assignments (static leases) can be configured.

Further notes You display the setting with the show ip dhcp-server pools command.

You disable the setting with the no pool-enable command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 297

7.3.4.8 no pool-enable

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command you specify that this IPv4 address band will not be used.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call the command without parameter assignment:

no pool-enable

Result The setting is disabled.

Further notes You display the setting with the show ip dhcp-server pools command.

You enable the setting with the pool-enable command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 298 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.3.4.9 set-interface

Note

The command is only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version))

Description With this command, you specify the interface via which the IPv4 addresses are dynamically assigned.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

set-interface {vlan <vlan-id (1-4094)> | <interface-type> <interface-id> }

The parameters have the following meaning: Parameter Description Range of values / note vlan Keyword for a VLAN connection. - vlan-id Number of the

addressed VLAN 1 ... 4094

interface-type Type or speed of the interface Enter a valid interface interface-id Module no. and port no. of the interface

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The interface is assigned. Before the IPv4 address band can be used, it still needs to be activated.

Further notes You display the setting with the show ip dhcp-server pools command.

You enable the IPv4 address band with the pool-enable command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 299

7.3.4.10 static-lease mac

Note

The command is only available when the following requirements are met: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version)) • The IPv4 address band is not enabled.

Description With this command you specify that devices with a certain MAC address are assigned to the selected IPv4 address. A maximum of 20 assignments are possible.

Requirement ● The assignment has not yet been created.

● You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

static lease mac <mac-address><ip-address>

The parameters have the following meaning: Parameter Description Range of values / note mac-address Unicast MAC address Specify the MAC address.

aa:bb:cc:dd:ee:ff ip-address Unicast IPv4 address Enter a valid IPv4 address.

Result The assignment is specified.

Further notes You display the setting with the show ip dhcp dhcp-server bindings command.

You disable the IPv4 address band with the no pool-enable command.

You delete the assignment with the no static-lease mac command.

Network protocols 7.3 DHCP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 300 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.3.4.11 no static-lease

Note

The command is only available when the following requirements are met: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AB0

(US version)) • The IPv4 address band is not enabled.

Description With this command, you delete the assignment of an IPv4 address to a MAC address.

Requirement You are in the DHCPPOOL configuration mode.

The command prompt is as follows:

cli(config-dhcp-pool-<ID>)#

Syntax Call up the command with the following parameters:

no static lease mac <mac-address>

The parameter has the following meaning: Parameter Description Range of values / note mac-address Unicast MAC address Specify a valid MAC address.

Result The assignment is deleted.

Further notes You configure the assignment with the static-lease mac command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 301

7.4 SNMP This section describes commands of the Simple Network Management Protocol (SNMP).

7.4.1 The "show" commands This section describes commands with which you display various settings.

7.4.1.1 show snmp

Description This command shows the status information of SNMP.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show snmp

Result The status information is displayed.

7.4.1.2 show snmp community

Description This command shows the details of the configured of SNMP communities.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 302 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

show snmp community

Result The details of the configured SNMP communities are displayed.

7.4.1.3 show snmp engineID

Description This command shows the SNMP identification number of the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show snmp engineID

Result The SNMP identification number of the device is displayed.

7.4.1.4 show snmp filter

Description This command shows the configured SNMP filters.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 303

Syntax Call the command without parameters:

show snmp filter

Result The configured SNMP filters are displayed.

7.4.1.5 show snmp group

Description This command shows the configured SNMP groups.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show snmp group

Result The configured SNMP groups are displayed.

7.4.1.6 show snmp group access

Description This command shows the rights of the configured SNMP groups.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 304 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

show snmp group access

Result The rights of the configured SNMP groups are displayed.

7.4.1.7 show snmp inform statistics

Description This command shows the statistics of the Inform Messages.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show snmp inform statistics

Result The statistics of the Inform Messages are displayed.

7.4.1.8 show snmp notif

Description With this command, you display the configured SNMP notification types.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 305

Syntax Call the command without parameters:

show snmp notif

Result The configured SNMP notification types are displayed.

7.4.1.9 show snmp targetaddr

Description This command shows the configured SNMP target addresses.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show snmp targetaddr

Result The configured SNMP target addresses are displayed.

7.4.1.10 show snmp targetparam

Description This command shows the configured SNMP target parameters.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 306 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

show snmp targetparam

Result The configured SNMP target parameters are displayed.

7.4.1.11 show snmp user

Description This command shows the settings for the SNMP user.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show snmp user

Result The settings for the SNMP user are displayed.

7.4.1.12 show snmp viewtree

Description This command shows the settings for the SNMP tree views.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 307

Syntax Call the command without parameters:

show snmp viewtree

Result The settings for the SNMP tree views are displayed.

7.4.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

7.4.2.1 snmpagent

Description With this command, you enable the SNMP agent function.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

snmpagent

Result The SNMP agent function is enabled.

Further notes You disable the SNMP agent function with theno snmpagent command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 308 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.2 no snmpagent

Description With this command, you disable the SNMP agent function.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no snmpagent

Result The SNMP agent function is disabled.

Further notes You enable the SNMP agent function with the snmpagent command.

7.4.2.3 snmp agent version

Description With this command, you configure whether all SNMP queries or only SNMPv3 queries are processed.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 309

Syntax Call up the command with the following parameters:

snmp agent version{v3only|all}

The parameters have the following meaning: Parameter Description Range of values / note v3only only SNMPv3 queries are processed - all all SNMP queries are processed Default: all

Result The setting is configured.

7.4.2.4 snmp access

Description With this command, you configure the access to an SNMP group.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp access <GroupName>{v1|v2c|v3{auth|noauth|priv}}

[read <ReadView|none>][write <WriteView|none>][notify <NotifyView|none>]

[{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values / note GroupName Name of the group to which access is

configured max. 32 characters

- Selects the version of the protocol used

• v1 • v2c • v3

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 310 Configuration Manual, 11/2014, C79000-G8976-C351-03

Parameter Description Range of values / note - Selects the authentication method: • auth

enables MD5 or SHA as au-thentication method

• noauth

no authentication • priv

enables authentication and encryption

read the data can be read Keyword

• ReadView • none

write the data can be read and written Keyword

• WriteView • none

notify Changes can be set as a tag Keyword

• NotifyView • none

Storage type specifies whether the settings remain following a restart

• volatile (volatile): The settings are lost after a restart

• nonvolatile (non-volatile): The settings are retained after a restart

The keywords need to be specified.

If optional parameters are not specified when configuring a group, the default value will be used.

Result The settings for access to an SNMP group are configured.

Further notes You delete the access to an SNMP group with the no snmp access command.

You display the configured SNMP groups with the show snmp group command.

You display the access configurations for SNMP groups with the show snmp group access command.

You display the configured SNMP tree views with the show snmp viewtree command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 311

7.4.2.5 no snmp access

Description With this command, you delete the access to an SNMP group.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp access <GroupName>{v1|v2c|v3{auth|noauth|priv}}

The parameters have the following meaning: Parameter Description Range of values / note GroupName Name of the group to which access is

deleted max. 32 characters

Version Selects the version of the protocol used

• v1 • v2c • v3

Authentication Selects the authentication method: • auth • noauth • priv

Result The access to an SNMP group is deleted.

Further notes You configure the setting with the snmp access command.

You display the configured SNMP groups with the show snmp group command.

You display the access configurations for SNMP groups with the show snmp group access command.

You display the configured SNMP tree views with the show snmp viewtree command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 312 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.6 snmp community index

Description With this command, you configure the details of an SNMP community.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp community index <CommunityIndex> name <CommunityName>

security <SecurityName> [context <Name>][{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values / note CommunityIndex Index of the community max. 32 characters name Keyword for the name of the communi-

ty -

CommunityName Name of the community max. 32 characters security Keyword for the security name - SecurityName Security name max. 32 characters context Keyword for the context name - Name Context name max. 32 characters Storage type specifies whether the settings remain

following a restart • volatile (volatile):

The settings are lost after a restart

• nonvolatile (non-volatile): The settings are retained after a restart

If optional parameters are not specified when configuring a community, the default values apply.

Result The settings are configured.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 313

Further notes You delete the details of an SNMP community with the no snmp community index command.

You show the details of an SNMP community with the show snmp community command.

You show the status information of the SNMP communication with the show snmp command.

7.4.2.7 no snmp community index

Description With this command, you delete the details of an SNMP community.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp community index <CommunityIndex>

The parameters have the following meaning: Parameter Description Range of values / note CommunityIndex Name of the community max. 32 characters

Result The details of an SNMP community are deleted.

Further notes You configure the details of an SNMP community with the snmp community index command.

You show the details of an SNMP community with the show snmp community command.

You show the status information of the SNMP communication with the show snmp command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 314 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.8 snmp filterprofile

Description With this command, you configure a filter that describes the access rights to the MIB tree.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp filterprofile <profile-name> <OIDTree> [mask<OIDMask>]

{included|excluded}[{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values profile-name Name of the filter profile max. 32 characters OIDTree Object ID Path information of the MIB tree mask Keyword for the OID mask - OIDMask Mask that filters access to the elements of

the MIB tree A series of "0" and "1" separated by dots in keeping with the path infor-mation of the MIB tree

- Specifies whether the filtered elements are used or excluded

• included • excluded

- specifies whether the settings remain fol-lowing a restart:

• volatile (volatile): The default settings are used after a restart

• nonvolatile (non-volatile): The saved settings are used after a restart

Note that the meaning of the filter mask changes depending on the "included/excluded" parameter:

● ...0... and "included" means: Access denied

● ...0... and "excluded" means: Access permitted

● ...1... and "included" means: Access permitted

● ...1... and "excluded" means: Access denied

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 315

Result The filter is created.

Further notes You delete a filter with the no snmp filterprofile command.

You display the created filter with the show snmp filter table command.

7.4.2.9 no snmp filterprofile

Description With this command, you delete a filter.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp filterprofile<profile-name><OIDTree>

The parameters have the following meaning: Parameters Description Range of values profile-name Name of the filter profile max. 32 characters OIDTree Object ID Path information of the MIB tree

Result The filter is deleted.

Further notes You create a filter with the snmp filterprofile command.

You display the created filter with the show snmp filter table command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 316 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.10 snmp group

Description With this command, you configure the details of an SNMP group.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp group <GroupName> user <UserName>security-model{v1|v2c|v3}

[{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values / note GroupName Name of the group max. 32 characters user Keyword for the user name - UserName Name of the user max. 32 characters security-model specifies which security settings will be

used • v1 • v2c • v3

Storage type specifies whether the settings remain following a restart

• volatile (volatile): The settings are lost after a restart

• nonvolatile (non-volatile): The settings are retained after a restart

If optional parameters are not specified when configuring a group, the default values apply.

Result The details of the group are configured.

Further notes You delete the details of an SNMP group with the no snmp group command.

You display the created SNMP groups with the show snmp group command.

You display the created SNMP user with the show snmp user command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 317

7.4.2.11 no snmp group

Description With this command, you delete the details of an SNMP group.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp group <GroupName> user <UserName>security-model{v1|v2c|v3}

The parameters have the following meaning: Parameter Description Range of values / note GroupName Name of the group max. 32 characters user Keyword for the user name - UserName Name of the user max. 32 characters security-model Specifies which security settings are

used for sending • v1 • v2c • v3

Result The details of the group are deleted.

Further notes You change the details of an SNMP group with the snmp group command.

You display the created SNMP groups with the show snmp group command.

You display the created SNMP user with the show snmp user command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 318 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.12 snmp notify

Description With this command, you configure the details of the SNMP notifications.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp notify <NotifyName> tag <TagName> type {Trap|Inform}

[{volatile|nonvolatile}]]

The parameters have the following meaning: Parameter Description Range of values / note NotifyName Name of the SNMP notification max. 32 characters tag Keyword for a target key - TagName Name of the target key max. 32 characters Type Type of the SNMP notification • Trap

generates a trap • Inform

generates a log entry or sends an entry to the log server

Storage type specifies whether the settings remain following a restart:

• volatile (volatile): The settings are lost after a restart

• nonvolatile (non-volatile): The settings are retained after a restart

Result The details of the SNMP notifications are configured.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 319

Further notes You delete the details of an SNMP group with the no snmp notify command.

You display the configured SNMP notifications with the show snmp notif command.

You display the configured SNMP target addresses with the show snmp targetaddr command.

7.4.2.13 no snmp notify

Description With this command, you delete the details of the SNMP notifications.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp notify <NotifyName>

The parameters have the following meaning: Parameter Description Range of values / note NotifyName Name of the notification max. 32 characters

Result The details of the SNMP notifications are deleted.

Further notes You change the details of an SNMP group with the snmp notify command.

You display the configured SNMP notifications with the show snmp notif command.

You display the configured SNMP target addresses with the show snmp targetaddr command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 320 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.14 snmp targetaddr

Description With this command, you configure the SNMP target address.

Requirement ● The SNMP target parameters are configured.

You are in the Global Configuration mode. The command prompt is: cli(config)#

Syntax Call up the command with the following parameters:

snmp targetaddr <TargetAddressName> param <ParamName>{ipv4 <ip address> | fqdn-name

<FQDN(100)>}

[timeout <Seconds(1-1500)][retries <RetryCount(1-3)]

[taglist <TagIdentifier|none>][{volatile|nonvolatile}]

[port <integer(1-65535)>] Parameter Description Range of values TargetAddressName Name of the target address max. 32 characters param Keyword for the parameter name - ParamName Name of the parameter max. 32 characters ipv4 Keyword for an IP address - ip address Value for an IPv4 unicast address Enter a valid IPv4 unicast address. fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Do-

main Name) Maximum of 100 characters

timeout Keyword for the time the SNMP agent waits for a response before it repeats the inform request message

-

Seconds Time in seconds 1 ... 1500 retries Keyword for the maximum number of

attempts to obtain a response to an inform request message

-

RetryCount Number of attempts 1 ... 3 taglist Keyword for • TagIdentifier

• none

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 321

Parameter Description Range of values volatile nonvolatile Specifies whether the settings re-

main following a restart: • volatile:

The default settings are used af-ter a restart.

• nonvolatile: The saved settings are used af-ter a restart.

port Keyword for the port number at which the SNMP manager receives traps and inform messages

-

integer Port number 1 ... 65535

For information on addresses and interfaces, refer to the section "Addresses and interface names".

If optional parameters are not specified when configuring, the default values apply.

Result The SNMP target address is configured.

Further notes You delete the SNMP target address with the no snmp targetaddr command.

You display the SNMP target address with the show snmp targetaddr command.

You configure the SNMP target parameters with the snmp targetparams command.

You display the SNMP target parameters with the show snmp targetparam command.

7.4.2.15 no snmp targetaddr

Description With this command, you delete the SNMP target address.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 322 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

no snmp targetaddr <TargetAddressName>

The parameters have the following meaning: Parameter Description Range of values / note TargetAddressName SNMP target address max. 32 characters

Result The SNMP target address is deleted.

Further notes You change the SNMP target address with the snmp targetaddr command.

You display the SNMP target address with the show snmp targetaddr command.

7.4.2.16 snmp targetparams

Description With this command, you configure the SNMP target parameters.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp targetparams <ParamName>

user <UserName>

security-model {v1|v2c|v3{auth|noauth|priv}}

message-processing {v1|v2c|v3}[{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values / note ParamName Name of the SNMP parameter max. 32 characters user Keyword for the user name - UserName Value for the user name max. 32 characters

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 323

Parameter Description Range of values / note security-model Specifies whether the security settings

are used according to SNMP version 1, 2c or 3 Keyword

• v1 • v2c • v3

Authentication Authentication and encryption setting for v3

• auth • noauth • priv

message-processing Specifies whether the processing of the messages is according to SNMP ver-sion 1, 2c or 3 Keyword

• v1 • v2c • v3

Storage type specifies whether the settings remain following a restart:

• volatile (volatile): The settings are lost after a restart

• nonvolatile (non-volatile): The settings are retained after a restart

Keywords need to be specified.

If optional parameters are not specified when configuring, the default values apply.

Result The SNMP target parameters are configured.

Further notes You delete the SNMP target parameters with the no snmp targetparams command.

You display settings of this function with the show snmp targetparam command.

You configure the user profile with the snmp user command.

You configure a filter with the snmp filterprofile command.

You display the list of users with the show snmp user command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 324 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.17 no snmp targetparams

Description With this command, you delete the SNMP target parameters.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp targetparams <ParamName>

The parameter has the following meaning: Parameter Description Range of values / note ParamName Name of the SNMP parameter max. 32 characters

Result The SNMP target parameters are deleted.

Further notes You change the SNMP target parameters with the snmp targetparams command.

You display settings of this function with the show targetparam command.

7.4.2.18 snmp v1-v2 readonly

Description With this command, you block write access for SNMPv1 and SNMPv2 PDUs.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 325

Syntax Call the command without parameters:

snmp v1-v2 readonly

Result Write access for SNMPv1 and SNMPv2 PDUs is blocked.

Further notes You release write access for SNMPv1 and SNMPv2 PDUs with the no snmp v1-v2 readonly command.

7.4.2.19 no snmp v1-v2 readonly

Description With this command, you enable write access for SNMPv1 and SNMPv2 PDUs.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no snmp v1-v2 readonly

Result Write access for SNMPv1 and SNMPv2 PDUs is enabled.

Further notes You block write access for SNMPv1 and SNMPv2 PDUs with the snmp v1-v2 readonly command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 326 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.20 snmp user

Description With this command, you configure the details of an SNMP user.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

snmp user <UserName>[auth{md5|sha} <passwd>[priv DES<passwd>]]

[{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values / note UserName Name of the user max. 32 characters auth specifies that authentication takes

place and which algorithm is used • md5 (Message Digest 5) • sha (Secure Hash Algorithm) Default: No authentication

passwd Password for authentication max. 32 characters priv DES specifies that there is encryption -

Default: no encryption passwd Value for the password of the encryp-

tion max. 32 characters

Storage type specifies whether the settings remain following a restart:

• volatile (volatile): The default settings are used after a restart

• nonvolatile (non-volatile): The saved settings are used after a restart

If optional parameters are not specified when configuring an SNMP user, the defaults values apply.

Result The details of the SNMP user are configured.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 327

Further notes You delete the settings with the no snmp user command.

You display the configured users with the show snmp user command.

7.4.2.21 no snmp user

Description With this command, you delete the details of an SNMP user.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp user <UserName>

The parameter has the following meaning: Parameter Description Range of values / note UserName Name of the user max. 32 characters

Result The details of the SNMP user are deleted.

Further notes You change the settings with the snmp user command.

You display the configured users with the show snmp user command.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 328 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.4.2.22 snmp view

Description With this command, you configure an SNMP view.

Requirement ● An SNMP group has been created

● The access to the group is configured with snmp access

● You are in the Global Configuration mode. The command prompt is: cli(config)#

Syntax Call up the command with the following parameters:

snmp view <ViewName><OIDTree>[mask<OIDMask>]{included|excluded}

[{volatile|nonvolatile}]

The parameters have the following meaning: Parameter Description Range of values / note ViewName Name of the SNMP view max. 32 characters OIDTree Object ID Path information of the MIB tree mask Keyword for the OID mask - OIDMask Mask that filters access to the ele-

ments of the MIB tree A series of "0" and "1" separated by dots in keeping with the path information of the MIB tree

View type Specifies whether the filtered elements are used or excluded

• include (Default) • excluded

Storage type specifies whether the settings remain following a restart:

• volatile (volatile): The settings are lost after a restart

• nonvolatile (non-volatile): The settings are retained after a restart (default)

If optional parameters are not specified when configuring, the default values apply.

Result The SNMP view is configured.

Network protocols 7.4 SNMP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 329

Further notes You delete the view with the no snmp view command.

You display the configured view trees with the show snmp viewtree command.

You display the SNMP group access rights with the show snmp group access command.

You configure the SNMP group access rights with the snmp access command.

7.4.2.23 no snmp view

Description With this command, you delete an SNMP view.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

no snmp view <ViewName><OIDTree>

The parameters have the following meaning: Parameter Description Range of values / note ViewName Name of the view max. 32 characters OIDTree Object ID Path information of the MIB tree

Result The SNMP view is deleted.

Further notes You configure a view with the snmp view command.

You display the configured view trees with the show snmp viewtree command.

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 330 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.5 SMTP client This section describes commands of the Simple Mail Transfer Protocol (SMTP).

7.5.1 show events smtp-server

Description This command shows the configured SMTP servers.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events smtp-server

Result The configured SMTP servers are displayed.

7.5.2 show events sender email

Description This command shows the configured e-mail sender address.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events sender email

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 331

Result The configured e-mail sender address is displayed.

7.5.3 show events smtp-port

Description This command shows the configured SNMP port.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events smtp port

Result The configured SMTP port is displayed.

7.5.4 Commands in the Events configuration mode This section describes commands that you can call up in the EVENTS configuration mode.

In the Global configuration mode, enter the events command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

● If you exit the EVENTS configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the EVENTS configuration mode with the end command, you return to the Privileged EXEC mode.

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 332 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.5.4.1 smtp-server

Description With this command, you configure an entry for an SMTP server.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

smtp-server {ipv4 <ucast_addr> | fqdn-name <FQDN(100)>} <receiver mail-address>

The parameters have the following meaning: Parameter Description Note on the range if values ipv4 Keyword for an IP address - ucast_addr Value for an IPv4 unicast address Enter a valid IPv4 unicast ad-

dress. fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Domain

Name) Maximum of 100 characters

receiver mail-address Name of the recipient max. 100 characters

For information on addresses and interfaces, refer to the section "Addresses and interface names (Page 23)".

Result An entry for the SMTP server is configured.

Further notes You delete an SMTP server entry with the no smtp-server command.

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 333

7.5.4.2 no smtp-server

Description With this command, you delete an SMTP server entry.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

no smtp-server { ipv4 <ucast_addr> | fqdn-name <FQDN(100)> }

The parameter has the following meaning: Parameter Description Range of values ipv4 Keyword for an IPv4 address - ucast_addr Value for an IPv4 address Enter a valid IPv4 address. fqdn-name Keyword for a domain name. - FQDN(100) Domain name (Fully Qualified

Domain Name) Maximum of 100 characters

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The SMTP server entry is deleted.

Further notes You configure an e-mail server entry with the smtp-server command.

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 334 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.5.4.3 sender mail-address

Description With this command, you configure the e-mail name of the sender.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

sender mail-address <mail-address>

The parameter has the following meaning: Parameter Description Range of values / note mail-address Email name of the sender max. 100 characters

Result The e-mail name of the sender is configured.

Further notes You reset the e-mail name of the sender with the no sender mail-address.

You display the setting with the show events sender email command.

7.5.4.4 no sender mail-address

Description With this command, you reset the e-mail name of the sender.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 335

Syntax Call the command without parameters:

no sender mail-address

Result The e-mail name of the sender is reset.

Further notes You configure the e-mail name of the sender with the sender mail-address.

You display the setting with the show events sender email command.

7.5.4.5 smtp-port

Description With this command, you configure an SMTP port.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

smtp-port <smtp-port(1-65535)>

The parameter has the following meaning: Parameter Description Range of values / note smtp-port Value for the SMTP port 1 ... 65535

Default: 25

Result An SMTP port is configured.

Further notes You can reset the setting to the default with the no smtp-port command.

You display the setting with the show smtp-port command.

Network protocols 7.5 SMTP client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 336 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.5.4.6 no smtp-port

Description With this command, you reset the SMTP port to the default.

The default value is 25.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call the command without parameters:

no smtp-port

Result The SMTP port is reset to the default value.

Further notes You configure the setting with the smtp-port command.

You display the setting with the show smtp-port command.

Network protocols 7.6 HTTP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 337

7.6 HTTP server This section describes commands of the Hypertext Transfer Protocol (HTTP).

7.6.1 show ip http server status

Description This command shows the status of the HTTP server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip http server status

Result The status of the HTTP server is displayed.

7.6.2 Commands in the Global Configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

Network protocols 7.6 HTTP server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 338 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.6.2.1 ip http

Description With this command, you enable HTTP on the device.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

ip http

As default the function is "enabled".

Result HTTP is enabled on the device.

Further notes You can display the setting of this function and other information with the show ip http server statuscommand.

You deactivate HTTP on the device with the no ip http command.

7.6.2.2 no ip http

Description With this command, you disable HTTP on the device.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.7 HTTPS server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 339

Syntax Call the command without parameters:

no ip http

Result HTTP is disabled on the device.

Further notes You can display the setting of this function and other information with the show ip http server statuscommand.

You enable HTTP with the ip http command.

7.7 HTTPS server This section describes commands of the Hypertext Transfer Protocol Secure (HTTPS).

7.7.1 show ip http secure server status

Description This command shows the status of the HTTPS server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip http secure server status

Result The status, cipher suite and version of the HTTPS server are displayed.

Network protocols 7.8 ARP

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 340 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.7.2 show ssl server-cert

Description This command shows the SSL server certificate.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ssl server-cert

Result The SSL server certificate is displayed.

7.8 ARP This section describes commands of the Address Resolution Protocol (ARP).

7.8.1 show ip arp

Description With this command, you display the IP ARP table.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Network protocols 7.9 SSH server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 341

Syntax Call up the command with the following parameters:

show ip arp [{Vlan<vlan-id(1-4094)>|<interface-type><interface-id>|

<ip-address>|<mac-address>|summary|information}]

The parameters have the following meaning: Parameter Description Range of values / note Vlan Keyword for a VLAN connection - vlan-id Number of the addressed VLAN 1 ... 4094 interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface ip-address Shows the IP addresses of the entries

in the ARP table -

mac-address Shows the MAC addresses of the en-tries in the ARP table

-

summary Shows a summary of the entries in the ARP table

-

information Displays information on the ARP con-figuration

-

For information on names of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameter from the parameter list, the IP ARP table is displayed.

Result The IP ARP table is displayed.

7.9 SSH server This section describes commands of the Secure Shell (SSH) Server.

Network protocols 7.9 SSH server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 342 Configuration Manual, 11/2014, C79000-G8976-C351-03

7.9.1 show ip ssh

Description This command shows the settings of the SSH server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show ip ssh

Result The settings for the SSH server are displayed.

7.9.2 Commands in the Global Configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

7.9.2.1 ssh-server

Description With this command, you enable the SSH protocol on the device.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Network protocols 7.9 SSH server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 343

Syntax Call the command without parameters:

ssh-server

As default the function is "enabled".

Result The SSH protocol is enabled on the device.

Further notes You disable the SSH protocol with the no ssh-server command.

7.9.2.2 no ssh-server

Description With this command, you disable the SSH protocol on the device.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

no ssh-server

Result The SSH protocol is disabled on the device.

Further notes You enable the SSH protocol with the ssh-server command.

Network protocols 7.9 SSH server

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 344 Configuration Manual, 11/2014, C79000-G8976-C351-03

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 345

Load control 8

This part contains the sections describing the functions for controlling and balancing network load.

8.1 Dynamic MAC aging The section describes commands with which the aging of dynamically learned entries is configured in a MAC address list.

8.1.1 show mac-address-table aging-time

Description To ensure that the address entries are up-to-date, MAC addresses are only kept in the address table for a specified time.

This command shows the time after which the MAC addresses are removed from the address table.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show mac-address-table aging-time

Result The time is displayed.

Load control 8.1 Dynamic MAC aging

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 346 Configuration Manual, 11/2014, C79000-G8976-C351-03

8.1.2 show mac-address-table aging-status

Description This command shows whether or not MAC aging is enabled.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show mac-address-table aging-status

Result The status of the MAC aging is displayed.

8.1.3 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

8.1.3.1 mac-address-table aging-time

Description With this command, you configure the aging of a dynamically learned entry in the MAC address list.

Note Addresses with light data traffic

For addresses with low data traffic, it is recommended to enter a higher value for the aging.

Load control 8.1 Dynamic MAC aging

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 347

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

mac-address-table aging-time <seconds(10-1000000)>

The parameter has the following meaning: Parameters Description Range of values seconds Life of the entry in seconds 10 ... 1000000

At system start or when using the restart command with the option memoryor factory, the following defaults apply:

● The function is configured to 300 seconds.

Result The value of the aging of a dynamically learned entry is configured.

Further notes You can reset the setting to the default with the no mac-address-table aging-time command.

You display the setting with the show mac-address-table aging-time command.

Load control 8.1 Dynamic MAC aging

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 348 Configuration Manual, 11/2014, C79000-G8976-C351-03

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 349

Layer 3 functions 9 9.1 NAT

This section describes commands relevant for NAT / NAPT.

Note

The commands are only available with the following device: • SCALANCE W722-1 RJ-45 (MLFB 6GK5722-1FC00-0AA0 and 6GK5722-1FC00-0AA0

(US version))

9.1.1 show nat (client)

Description This command shows the NAT configuration and the translation list.

Note

This command is only available in the client mode

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show nat

Result The configuration and the translation list are displayed.

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 350 Configuration Manual, 11/2014, C79000-G8976-C351-03

See also nat (client) (Page 351)

nat local ip address (client) (Page 354)

nat interface (client) (Page 355)

nat timeout (client) (Page 356)

9.1.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

9.1.2.1 nat (client)

Description With this command, you change to the NAT Configuration mode.

Note

This command is only available in the client mode

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

nat

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 351

Result You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Further notes You exit the NAT Configuration mode with the end or exit command.

9.1.3 Commands in the NAT configuration mode This section describes commands that you can call up in the NAT Configuration mode.

In the Global Configuration mode, enter the nat command to change to this mode.

● If you exit the NAT Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the NAT Configuration mode with the end command, you return to the Privileged EXEC mode.

9.1.3.1 nat (client)

Description With this command, you configure the translation list for communication from the global to the local network.

A maximum of 60 entries are possible.

Note

This command is only available in the client mode

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 352 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

nat {tcp|udp} <globalportfrom> [<globalportto>] <localip> <localportfrom>

[<localportto>] [{enable|disable}]

The parameters have the following meaning: Parameter Description Values tcp Assignment of TCP for the follow-

ing global port -

udp Assignment of UDP for the follow-ing global port

-

globalportfrom Start port of the global port range enter the start port globalportto End port of the global port range enter the end port localip IPV4 address of the node in the

local network enter a valid IPv4 address

localportfrom Start port of the local port range enter the start port localportto End port of the local port range enter the end port enable Enables the NAT rule - disable Disables the NAT rule -

Note Global port

If the port is already occupied by a local service, for example Telnet, a warning is displayed. In this case, avoid using TCP port 23 (Telnet), port 22 (SSH), ports 80/443 (http/https: reachability of the client with the WBM) and UDP port 161 (SNMP) as global port.

Result The translation list is configured.

If the command is executed without the optional parameters enable|disable, the newly created address assignment is disabled as default.

Further notes You show the NAT configuration and the translation list with the show nat command.

You delete entries with the no nat command.

See also show nat (client) (Page 349)

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 353

9.1.3.2 no nat (client)

Description With this command, you delete an entry from the translation list.

Note

This command is only available in the client mode

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Syntax Call up the command with the following parameters:

no nat {tcp|udp} <globalportfrom> [<globalportto>] <localip> <localportfrom>

[<localportto>]

The parameters have the following meaning: Parameter Description Values tcp Assignment of TCP for the follow-

ing global port -

udp Assignment of UDP for the follow-ing global port

-

globalportfrom Start port of the global port range enter the start port globalportto End port of the global port range enter the end port localip IPv4 address of the node in the

local network enter a valid IPv4 address

localportfrom Start port of the local port range enter the start port localportto End port of the local port range enter the end port

Result The entry is deleted from the translation list.

Further notes You show the NAT configuration and the translation list with the show nat command.

You configure entries with the nat command.

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 354 Configuration Manual, 11/2014, C79000-G8976-C351-03

See also show nat (client) (Page 349)

9.1.3.3 nat local ip address (client)

Description With this command, you configure the IP address of the Ethernet interface. This IP address is the gateway address of the local device.

Note

This command is only available in the client mode

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Syntax Call up the command with the following parameters:

nat local ip address <ip-address> {<subnet-mask>|/<prefix-length(0-32)>

The parameters have the following meaning: Parameters Description Values ip-address Address of the Ethernet interface enter a valid IP address subnet-mask Subnet mask of the local Ethernet enter a valid subnet mask prefix-length Decimal representation of the mask as

a number of "1" bits 1 ... 32

Result The local IP address of the Ethernet interface is configured.

Further notes You show the NAT configuration and the translation list with the show nat command.

See also show nat (client) (Page 349)

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 355

9.1.3.4 nat interface (client)

Description With this command, you enable NAT for the Ethernet interface.

Note

This command is only available in the client mode

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

● "Own" is set for "MAC Mode".

Syntax Call up the command with the following parameters:

nat interface <interface-type><interface-id>}

The parameters have the following meaning: Parameter Description Values interface-type Type or speed of the interface Enter a valid interface. interface-id Module no. and port no. of the interface

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result NAT is activated for the Ethernet interface.

Further notes You disable NAT with the no nat interface command.

You configure the MAC mode with the wlan client mac mode command.

You show the NAT configuration and the translation list with the show nat command.

See also show nat (client) (Page 349)

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 356 Configuration Manual, 11/2014, C79000-G8976-C351-03

9.1.3.5 no nat interface (client)

Description With this command, you disable NAT.

Note

This command is only available in the client mode

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Syntax Call the command without parameters:

no nat interface

Result NAT is disabled.

Further notes You enable NAT with the nat interface command.

See also show nat (client) (Page 349)

9.1.3.6 nat timeout (client)

Description With this command, you configure the time period for the TCP / UDP connection. If no data exchange takes place, the TCP / UDP connection is deleted from the translation table when this time has elapsed.

Note

This command is only available in the client mode

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 357

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Syntax Call up the command with the following parameters:

nat {tcp|udp} timeout <seconds>

The parameters have the following meaning: Parameters Description Values tcp TCP connection - udp UDP connection - seconds Period of time in seconds 1 ... 4294967295

Result The period of time is configured.

Further notes You show the NAT configuration and the translation list with the show nat command.

You delete the period of time with the no nat timeout command.

See also show nat (client) (Page 349)

Layer 3 functions 9.1 NAT

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 358 Configuration Manual, 11/2014, C79000-G8976-C351-03

9.1.3.7 no nat timeout (client)

Description With this command, you delete the time period for the TCP / UDP connection.

Note

This command is only available in the client mode

Requirement You are now in the NAT Configuration mode.

The command prompt is as follows:

cli(config-nat)#

Syntax Call up the command with the following parameters:

no nat {tcp|udp} timeout

The parameters have the following meaning: Parameters Description Values tcp TCP connection - udp UDP connection -

Result The time period for the TCP / UDP connection was set to the default setting.

Further notes You show the NAT configuration and the translation list with the show nat command.

You configure the time with the nat timeout command.

See also show nat (client) (Page 349)

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 359

Security and authentication 10

This part contains the sections that describe the access rights and authentication methods.

10.1 User rights management This section describes commands for access as administrator and the configuration of the authentication methods.

10.1.1 whoami

Description This command shows the user name of the logged in user.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

whoami

Result The user name of the logged in user is displayed.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 360 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.1.2 show users

Description This command displays the users that logged on via Telnet or SSH.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call the command without parameters:

show users

Result The logged in users are displayed.

10.2 WLAN This section describes commands for configuring and managing wireless LANs (WLANs).

Some commands are available only in the "access point" or in the "client" mode. In these cases, the titles have the term access point or client added to them.

Example: wlan mode

● wlan mode (access point): The function can only be used with access points.

● wlan mode (client): The function can only be used with clients.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 361

10.2.1 show wlan security

Description This command shows the security settings of the device, for example the encryption method.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show wlan security <wlan 0/X | vapX 0/Y>

The parameters have the following meaning: Parameter Description Values or range of values wlan 0/X WLAN interface

Only available in client mode Enter a valid interface.

vapX 0/Y VAP interface Only available in Access Point mode

Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The settings are displayed.

10.2.2 show wlan security ap-radius-authenticator (Access Point)

Description This command shows the settings of the RADIUS server.

Note

This command is available only in access point mode.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 362 Configuration Manual, 11/2014, C79000-G8976-C351-03

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameter assignment:

show wlan security ap-radius-authenticator

Result The settings are displayed.

See also wlan security ap-radius-authenticator (Page 363)

wlan security ap-radius-authenticator address (Page 365)

wlan security ap-radius-authenticator max-retransmit (Page 366)

wlan security ap-radius-authenticator port-number (Page 367)

wlan security ap-radius-authenticator primary (Page 368)

no wlan security ap-radius-authenticator primary (Page 369)

wlan security ap-radius-authenticator reauth-interval (Page 370)

wlan security ap-radius-authenticator reauth-mode (Page 371)

wlan security ap-radius-authenticator shared-secret (Page 372)

10.2.3 show wlan security keys

Description This command shows a table with the WEP key of the device.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 363

Syntax Call up the command with the following parameters:

show wlan security-keys < wlan 0/X >

The parameters have the following meaning: Parameter Description Range of values / note wlan 0/X WLAN interface Enter a valid interface.

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The key table is displayed.

10.2.4 Commands in the WLAN configuration mode This section describes commands that you can call up in the WLAN configuration mode.

In the Global Configuration mode, enter the wlan command to change to this mode.

Commands relating to other topics that can be called in the WLAN configuration mode can be found in the relevant sections.

● If you exit the WLAN configuration mode with the exitcommand, you return to the Global configuration mode.

● If you exit the WLAN Configuration mode with the end command, you return to the Privileged EXEC mode.

10.2.4.1 wlan security ap-radius-authenticator

Description With this command, you enable the RADIUS server.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 364 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator <index (1-2)>

The parameter has the following meaning: Parameters Description Values or range of values index Index of the RADIUS server 1...2

Result The RADIUS server is enabled.

Further notes You disable the RADIUS server with the no wlan security ap-radius-authenticator command.

You display the setting with the show wlan security ap-radius-authenticator command.

See also no wlan security ap-radius-authenticator (Page 364)

show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.2 no wlan security ap-radius-authenticator

Description With this command, you disable the RADIUS server.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 365

Syntax Call up the command with the following parameters:

no wlan security ap-radius-authenticator <index (1-2)>

The parameter has the following meaning: Parameters Description Values or range of values index Index of the RADIUS server 1...2

Result The RADIUS server is disabled.

Further notes You disable the RADIUS server with the wlan security ap-radius-authenticator command.

You display the setting with the show wlan security ap-radius-authenticator command.

See also wlan security ap-radius-authenticator (Page 363)

show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.3 wlan security ap-radius-authenticator address

Description With this command, you configure the IP address of the RADIUS server.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 366 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator address <index (1-2)> {ipv4 <ucast_addr> |

fqdn-name <FQDN (100)>}

The parameters have the following meaning: Parameter Description Values or range of values index Index of the RADIUS server 1...2 ipv4 Keyword for an IPv4 address - ucast_addr IPv4 address Enter a valid IPv4 address. fqdn-name Keyword for a domain name - FQDN Domain name (Fully Qualified Domain Name) Maximum of 100 characters

Result The RADIUS server is enabled.

Further notes You display the setting with the show wlan security ap-radius-authenticator command.

See also show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.4 wlan security ap-radius-authenticator max-retransmit

Description With this command, you configure maximum number of attempts to establish a connection.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 367

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator max-retransmit <index (1-2)> <1-254>

The parameters have the following meaning: Parameter Description Values or range of values index Index of the RADIUS server 1...2 1-254 Number of connection attempts 1...5

Result The maximum number of attempts to establish a connection is configured.

Further notes You display the setting with the show wlan security ap-radius-authenticator command.

See also show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.5 wlan security ap-radius-authenticator port-number

Description With this command, you configure the input port of the RADIUS server.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 368 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator port-number <index (1-2)> <1-65535>

The parameters have the following meaning: Parameters Description Values or range of values index Index of the RADIUS server 1...2 1-65535 Number of port 1...6553

Result The input port is configured.

Further notes You display the setting with the show wlan security ap-radius-authenticator command.

See also show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.6 wlan security ap-radius-authenticator primary

Description With this command, you configure the RADIUS server as primary server.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode and the "wlan security ap-radius-authenticator address" is configured.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 369

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator primary <index (1-2)>

The parameter has the following meaning: Parameter Description Values or range of values index Index of the RADIUS server 1...2

Result The RADIUS server is configured as primary server.

Further notes You disable the setting with the no wlan security ap-radius-authenticator primary command.

You display the setting with the show wlan security ap-radius-authenticator command.

See also no wlan security ap-radius-authenticator primary (Page 369)

show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.7 no wlan security ap-radius-authenticator primary

Description With this command, you disable the primary server.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 370 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

no wlan security ap-radius-authenticator primary <index (1-2)>

The parameter has the following meaning: Parameters Description Values or range of values index Index of the RADIUS server 1...2

Result The primary server is disabled.

Further notes You enable the setting with the wlan security ap-radius-authenticator primary command.

You display the setting with the show wlan security ap-radius-authenticator command.

See also wlan security ap-radius-authenticator primary (Page 368)

show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.8 wlan security ap-radius-authenticator reauth-interval

Description With this command, you configure the lifetime of the authentication (in seconds).

Note

This command is available only in access point mode.

Requirement ● Local time management is active.

You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 371

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator reauth-interval <s(60-43200)>

The parameter has the following meaning: Parameters Description Values or range of values s Lifetime in seconds 60 s ... 43200

Default: 3600

Result The lifetime is configured.

Further notes You display the setting with the show wlan security ap-radius-authenticator command.

You configure the local time management with thewlan security ap-radius-authenticator reauht-mode command.

See also wlan security ap-radius-authenticator reauth-mode (Page 371)

show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.9 wlan security ap-radius-authenticator reauth-mode

Description With this command, you specify who decides the time before the clients are forced to reauthenticate.

Note

This command is available only in access point mode.

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 372 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator reauth-mode {show-modes | <mode>}

The parameters have the following meaning: Parameters Description Values or range of values show-modes Lists the available values. • disabled

Function is disabled • server

Time management on the server • local

Local time management. You specify the period of validity with the wlan se-curity ap-radius-authenticator

reauth-interval command.

mode Method of time management

Result The function is configured.

Further notes You display the setting with the show wlan security ap-radius-authenticator command.

See also wlan security ap-radius-authenticator reauth-interval (Page 370)

show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.4.10 wlan security ap-radius-authenticator shared-secret

Description With this command, you configure the password for the RADIUS server.

Note

This command is available only in access point mode.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 373

Requirement You are in the WLAN Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-wlan)#

Syntax Call up the command with the following parameters:

wlan security ap-radius-authenticator shared-secret <index(1-2)> <string>

The parameters have the following meaning: Parameters Description Values or range of values index Index of the RADIUS server 1...2 string Password Enter the password of the

RADIUS server.

Result The password is configured.

Further notes You display the setting with the show wlan security ap-radius-authenticator command.

See also show wlan security ap-radius-authenticator (Access Point) (Page 361)

10.2.5 Commands in the WLAN Interface configuration mode This section describes commands that you can call up in the WLAN Interface Configuration mode. Depending on the Interface selected, various command sets are available.

In the Global Configuration mode, enter the interface wlan 0/X command to change to this mode.

● If you exit the WLAN Interface Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the WLAN Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 374 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.1 wlan security authentication (client)

Description With this command, you specify the type of authentication.

Note

This command is only available in the client mode.

Note iPCF or iPCF-MC mode enabled

If iPCF or iPCF-MC mode is enabled, only "Open System" with the encryption method AES is supported in the security settings.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 375

Syntax Call up the command with the following parameters:

wlan security authentication { show-methods | methods }

The parameters have the following meaning: Parameter Description Values / range of values show-methods Lists the available types of

authentication • open-system

Without authentication. Encryption with a fixed (un-changing) key can be selected as an option. To ena-ble encryption, use the "wlan security encryption" command.

• shared-key A fixed key is stored for authentication.

• wpa (Radius) WPA authentication.

• wpa-psk WPA authentication without RADIUS server.

• wpa2 (Radius) WPA2 authentication.

• wpa2-psk WPA2 authentication without RADIUS server.

• wpa-wpa2-auto (Radius) WPA and WPA2 authentication

• wpa-wpa2-auto-psk WPA and WPA2 authentication without a RADIUS server

methods Value corresponding to an authentication method.

Result The type of authentication is specified.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

See also no wlan security encryption (client) (Page 385)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 376 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.2 wlan security cipher (client)

Description With this command, you configure the encryption method for the WPA(2) authentication.

Note

This command is only available in the client mode.

Note iPCF or iPCF-MC mode enabled

If you want encryption with AES in iPCF or iPCF-MC mode, only keys with a 128 bit key length are supported.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security cipher { auto | wep | aes | tkip }

The parameters have the following meaning: Parameter Description auto TKIP or AES is used depending on the capability of the other station. wep WEP (Wired Equivalent Privacy)

A symmetrical stream encryption method with only 40- or 104-bit long keys based on the RC4 algorithm (Ron’s Code 4).

aes AES (Advanced Encryption Standard): Strong symmetrical block encryption method based on the Rijndael algorithm that further improves the functions of TKIP.

tkip TKIP (Temporal Key Integrity Protocol): A symmetrical encryption method with the RC4 algorithm (Ron’s Code 4). In contrast to the weak WEP encryption, TKIP uses changing keys derived from a main key.

Note

The encryption method "TKIP" is not available with the transmission standards "802.11n" and "802.11n only".

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 377

Result The encryption method is configured.

Further notes You display the settings with the show wlan security command.

10.2.5.3 wlan security default-key (client)

Description With this command, you specify which WEP key from the key table is used for encryption.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security default-key <index(1-4)>

The parameter has the following meaning: Parameters Description Values or range of values index Index of the key table 1...4

Default: 1

Result The WEP key is specified.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 378 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.4 wlan security dot1x check-server-certificate (client)

Description With this command, you enable the validation of the server certificate on the client.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan security dot1x check-server-certificate

Result Validation is enabled.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

You disable the validity check with the no wlan security dot1x check-server-certificate command (default setting).

See also no wlan security dot1x check-server-certificate (client) (Page 379)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 379

10.2.5.5 no wlan security dot1x check-server-certificate (client)

Description With this command, you disable the validation of the server certificate on the client. This setting is activated as default.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan security dot1x check-server-certificate

Result Validation is disabled.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

You enable the validation with the wlan security dot1x check-server-certificate command.

See also wlan security dot1x check-server-certificate (client) (Page 378)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 380 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.6 wlan security dot1x eap-authentication-type (client)

Description With this command, you specify which RADIUS authentication methods the client offers to the RADIUS server. With "auto", the client offers a RADIUS server all supported methods. Any other selection restricts the support by the client to this one method.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security dot1x eap-authentication-type { show-types | <type> }

The parameters have the following meaning: Parameters Description Values or range of values show-types Lists the available authenti-

cation methods • auto

Client offers RADIUS server all methods • eap-tls

Extensible Authentication Protocol - Transport Layer Security: Uses certificates for authentica-tion

• eap-ttls Extensible Authentication Protocol - Tunnel Transport Layer Security: After setting up the TLS tunnel, MS-CHAPv2 is used for internal au-thentication.

• peap Protected Extensible Authentication Protocol: Al-ternative draft protocol of IETF for EAP-TTLS

type Value that contains the au-thentication method

Result The authentication method is specified.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 381

Further notes You display the settings with the show wlan security <wlan 0/X> command.

10.2.5.7 wlan security dot1x username (client)

Description With this command, you specify the user name for the RADIUS server.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security dot1x username <string>

The parameter has the following meaning: Parameters Description Values or value table string User name Enter the user name for the RADIUS server. You speci-

fy the corresponding password with the wlan security dot1x password command.

Result The user name is specified.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 382 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.8 wlan security dot1x password (client)

Description With this command, you specify the password for the RADIUS server. When assigning the password, ASCII code 0x20 to 0x7e is used.

Note

This command is only available in the client mode.

Requirement You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security dot1x password <string>

The parameter has the following meaning: Parameters Description Values or range of values string New password Enter the password for the user name. You specify

the user name with the wlan security dot1x username command

Result The password is specified.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 383

10.2.5.9 wlan security edit key

Description With this command, you add a WEP or AES key to the key table. You can choose between several key lengths.

● 5 or 13 ASCII or 10 or 26 hexadecimal characters specify a weaker key (40/104 bits).

● 16 ASCII or 32 hexadecimal characters, on the other hand, define a strong key (128 bits).

Note iPCF or iPCF-MC mode activated

If you want encryption with AES in iPCF or iPCF-MC mode, only keys with a 128 bit key length are supported.

Requirement You are in the Interface configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security edit key <index(1-4)> <key>

The parameters have the following meaning: Parameter Description Values or range of values index Index of the key table 1...4 key Key Enter the WEP or AES key.

Result The WEP or AES key is inserted in the key table.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 384 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.10 wlan security encryption (client)

Description With this command, you enable encryption with a fixed (unchanging) WEP key. You can only enable or disable encryption if you have selected "Open System" for authentication. All other security methods include both authentication and encryption. If you use "Open system" with "Encryption" or "Shared Key", you always need to specify the WEP key used for the encryption.

Note

This command is only available in the client mode.

Requirement ● The type of authentication is "open system".

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

wlan security encryption

Result The encryption is enabled.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

You disable the encryption with the no wlan security encryption command (default setting).

You define a WEP key with the wlan security edit key command.

You configure which WEP key is used with the wlan security default-key (Client) command.

See also no wlan security encryption (client) (Page 385)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 385

10.2.5.11 no wlan security encryption (client)

Description With this command, you disable encryption with a fixed (unchanging) WEP key. This setting is activated as default. You can only enable or disable encryption if you have selected "Open System" for authentication.

Note

This command is only available in the client mode.

Requirement ● The type of authentication is "open-system".

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call the command without parameter assignment:

no wlan security encryption

Result The encryption is disabled.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

You enable the encryption with the wlan security encryption command.

See also wlan security encryption (client) (Page 384)

wlan security authentication (client) (Page 374)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 386 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.5.12 wlan security wpa-psk-passphrase (client)

Description With this command, you store the WPA(2) key that is used in WPA-PSK and WPA2-PSK authentication.

Note

The key can be 8 to 63 ASCII characters or exactly 64 hexadecimal characters long. It should be selected so that is complex for example consisting of random numbers, letters (upper-/lowercase), have few repetitions and special characters. Do not use known names, words or terms that could be guessed. If a device is lost or if the key becomes known, the key should be changed on all devices to maintain security.

Note

This command is only available in the client mode.

Requirement ● WPA-PSK, WPA2-PSK or WPA(2)-PSK auto is set for the type of authentication.

You are in the Interface Configuration mode of the WLAN interface.

The command prompt is as follows:

cli (config-if-wlan-0-X)#

Syntax Call up the command with the following parameters:

wlan security wpa-psk-passphrase <string>

The parameter has the following meaning: Parameter Description Description string WPA(2) key 8....63 ASCII or exactly 64 hex

Result A WPA(2) key is specified.

Further notes You display the settings with the show wlan security <wlan 0/X> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 387

See also wlan security authentication (client) (Page 374)

10.2.6 Commands in the VAP Interface configuration mode This section describes commands that you can call up in the VAP Interface Configuration mode. Depending on the Interface selected, various command sets are available.

In the Global Configuration mode, enter the interface vapX 0/Y command to change to this mode.

● If you exit the VAP Interface Configuration mode with the exit command, you return to the Global Configuration mode.

● If you exit the VAP Interface Configuration mode with the end command, you return to the Privileged EXEC mode.

10.2.6.1 vap security authentication (access point)

Description With this command, you specify the type of authentication.

Note

This command is available only in access point mode.

Note iPCF or iPCF-MC mode enabled

If iPCF or iPCF-MC mode is enabled, only "Open System" with the encryption method AES is supported in the security settings.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 388 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

vap security authentication { show-methods | <methods> }

The parameters have the following meaning: Parameter Description Description show-methods Lists the available types of

authentication • open-system

Without authentication. Encryption with a fixed (un-changing) key can be selected as an option. To ena-ble the key, use the "vap security encryption" command.

• shared-key A fixed key is stored for authentication.

• wpa (Radius) WPA authentication.

• wpa-psk WPA authentication without RADIUS server.

• wpa2 (Radius) WPA2 authentication.

• wpa2-psk WPA2 authentication without RADIUS server.

• wpa-wpa2-auto (Radius) WPA and WPA2 authentication

• wpa-wpa2-auto-psk WPA and WPA2 authentication without a RADIUS server

methods Value corresponding to an authentication method.

Result The type of authentication is specified.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 389

10.2.6.2 vap security cipher (access point)

Description With this command, you configure the encryption method for the WPA authentication.

Note

This command is available only in access point mode.

Note iPCF or iPCF-MC mode enabled

If you want encryption with AES in iPCF or iPCF-MC mode, only keys with a 128 bit key length are supported.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call up the command with the following parameters:

vap security cipher { auto | aes | tkip }

The parameters have the following meaning: Parameter Description auto TKIP or AES is used depending on the capability of the other station. aes AES (Advanced Encryption Standard): Strong symmetrical block encryption

method based on the Rijndael algorithm that further improves the functions of TKIP.

tkip TKIP (Temporal Key Integrity Protocol): A symmetrical encryption method with the RC4 algorithm (Ron’s Code 4). In contrast to the weak WEP encryption, TKIP uses changing keys derived from a main key.

Note

The encryption methods "WEP" and "TKIP" are not available with the transmission standards "802.11n" and "802.11n only".

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 390 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The encryption method is configured.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

10.2.6.3 vap security default-key (access point)

Description With this command, you specify which WEP key from the key table is used for encryption.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call up the command with the following parameters:

vap security default-key <index (1-4)>

The parameter has the following meaning: Parameters Description Values or range of values index Index of the key table 1...4

Result The WEP key is specified.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 391

10.2.6.4 vap security encryption (access point)

Description With this command, you enable encryption with a fixed (unchanging) WEP key. You can only enable or disable encryption if you have selected "Open System" for authentication. All other security methods include both authentication and encryption. If you use "Open system" with "Encryption" or "Shared Key", you always need to specify the WEP key used for the encryption.

Note

This command is available only in access point mode.

Requirement ● The type of authentication is "open-system".

You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

vap security encryption

Result The encryption is enabled. You can only disable encryption if you have selected "open-sytem" for authentication

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

You disable the encryption with the no vap security encryption command.

You define a WEP key with the wlan security edit key command.

With the vap security default-key (Access Point)command, you configure the WEP key used for encryption.

See also no vap security encryption (access point) (Page 392)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 392 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.6.5 no vap security encryption (access point)

Description With this command, you disable encryption with a fixed (unchanging) WEP key. This setting is activated as default. You can only enable or disable encryption if you have selected "Open System" for authentication.

Note

This command is available only in access point mode.

Requirement ● The type of authentication is "open-system".

You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

no vap security encryption

Result The encryption is disabled.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

You enable the encryption with the vap security encryption command.

See also vap security encryption (access point) (Page 391)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 393

10.2.6.6 vap security wpa-group-key-update-interval (Access Point)

Description With this command you specify the time after which the key is renewed.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call up the command with the following parameters:

vap security wpa-group-key-update-interval {0|seconds (30-36000)}

The parameter has the following meaning: Parameter Description Values or range of values 0 The key will not be renewed. - seconds When the time expires (second),

the key is renewed. 30 ... 36000

Result The time for renewal of the key is specified.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 394 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.6.7 vap security wpa-psk-passphrase (access point)

Description With this command, you store the WPA(2) key that is used in WPA-PSK and WPA2-PSK authentication.

Note

The key can be 8 to 63 ASCII characters or exactly 64 hexadecimal characters long. It should be selected so that is complex for example consisting of random numbers, letters (upper-/lowercase), have few repetitions and special characters. Do not use known names, words or terms that could be guessed. If a device is lost or if the key becomes known, the key should be changed on all devices to maintain security.

Note

This command is available only in access point mode.

Requirement ● WPA-PSK, WPA2-PSK or WPA(2)-PSK auto is set for the type of authentication.

You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call up the command with the following parameters:

vap security wpa-psk-passphrase <string>

The parameter has the following meaning: Parameter Description Values or range of values string WPA(2) key. 8....63 ASCII or exactly 64 hex

Result A WPA(2) key is specified.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 395

10.2.6.8 vap communication with own-vap (access point)

Description With this command, you specify that the clients logged on to the same SSID of an access point can communicate with each other.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

vap communication with own-vap

Result The communication option on the same SSID of an access point is enabled.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

You disable the function with the no vap communication with own-vap command.

See also no vap communication with own-vap (access point) (Page 396)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 396 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.6.9 no vap communication with own-vap (access point)

Description With this command, you specify that clients logged on to the same SSID of an access point cannot communicate with each other.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

no vap communication with own-vap

Result The communication option on the same SSID of an access point is disabled.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

You enable the function with the vap communication with own-vap command.

See also vap communication with own-vap (access point) (Page 395)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 397

10.2.6.10 vap communication with ethernet (access point)

Description With this command, you specify that the client can communicate via the Ethernet interface.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

vap communication with ethernet

Result The communication option is enabled.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

You disable the function with the no vap communication with ethernet command.

See also no vap communication with ethernet (access point) (Page 398)

Security and authentication 10.2 WLAN

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 398 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.2.6.11 no vap communication with ethernet (access point)

Description With this command, you specify that the client cannot communicate via the Ethernet interface.

Note

This command is available only in access point mode.

Requirement You are in the Interface Configuration mode of the VAP interface.

The command prompt is as follows:

cli (config-if-vapX-0-Y)#

Syntax Call the command without parameter assignment:

no vap communication with ethernet

Result The communication option is disabled.

Further notes You display the settings with the show wlan security <vapX 0/Y> command.

You enable the function with the vap communication with ethernet command.

See also vap communication with ethernet (access point) (Page 397)

Security and authentication 10.3 Management Access Control List

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 399

10.3 Management Access Control List This section describes the commands relevant for working with the management access control list.

10.3.1 show authorized-managers

Description This command shows the information about the configuration of the authorized managers.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show authorized-managers[ip-source<ip-address>]

The parameters have the following meaning: Parameter Description Range of values / note ip-source Keyword for the network or host ad-

dress -

ip-address Value for an IP address specify a valid IP address

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The information about the configuration of the authorized managers is displayed.

Security and authentication 10.3 Management Access Control List

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 400 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.3.2 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

10.3.2.1 authorized-manager ip-source

Description With this command, you configure the interfaces and protocols via which an authorized manager is allowed to access the device.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

authorized-manager ip-source <ip-address>

[{<subnet-mask>|/<prefix-length(1-32)>}]

[interface[<interface-type<0/a-b,0/c,...>]

[<interface-type<0/a-b,0/c,...>]]

[vlan<a,b or a-b or a,b,c-d>] [service[snmp][telnet][http][https][ssh]]

The parameters have the following meaning: Parameter Description Range of values ip-address Specifies the network or the IP address for

which the IP manager is authorized Enter a valid IPv4 address or a network

subnet-mask Subnet mask that restricts the authorization Enter a valid mask prefix-length Decimal representation of the mask as a number

of "1" bits 1 .. 32

interface Keyword for a an interface description - interface-type Type or speed of the interface Enter a valid interface. 0/a-b,0/c,... Module no. and port no. of the interface vlan Keyword for a VLAN connection -

Security and authentication 10.3 Management Access Control List

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 401

Parameter Description Range of values a,b or a-b or a,b,c-d Number of a VLAN or VLAN range enter a valid VLAN or VLAN

range service Specifies the services for which the manager is

authorized. You can select several options.

• snmp • telnet • http • https • ssh

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

The IP address 0.0.0.0 means "any manager"

If optional parameters are not specified when configuring, the following defaults apply:

● The manager is authorized for all services.

Note

Configuration of the first entry

As long as the list of authorized managers is empty, access to the system is not restricted.

As soon as the list contains an entry, access to the system is blocked for all others.

You should therefore configure the interface via which you access the system first because your access is otherwise blocked.

Result The interfaces and protocols via which an authorized manager is allowed to access the device are configured.

Further notes You delete an interface for access of an authorized manager with the no authorized-manager ip-source command.

You show the information about the configuration of the authorized managers with the show authorized-manager command.

Security and authentication 10.3 Management Access Control List

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 402 Configuration Manual, 11/2014, C79000-G8976-C351-03

10.3.2.2 no authorized-manager ip-source

Description With this command, you delete an interface via which an authorized manager is allowed to access the device.

Requirement You are in the Global Configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call up the command with the following parameters:

authorized-manager ip-source <ip-address>

[{<subnet-mask>|/<prefixlength(1-32)>}]

The parameters have the following meaning: Parameter Description Range of values / note ip-address Specifies the network or the IP address

for which the IP manager is authorized Enter a valid IP address or a network

subnet-mask Subnet mask that restricts the authori-zation

Enter a valid mask

prefixlength Decimal representation of the mask as a number of "1" bits

1 ... 32

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result An authorized manager is deleted from the list.

Further notes You configure the interfaces and protocols via which an authorized manager is allowed to access the device with the authorized-manager ip-source command.

You show the information about the configuration of the authorized managers with the show authorized-manager command.

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 403

Diagnostics 11

The monitoring of the system and error diagnostics are handled in different ways:

● Events and faults handling: Predefined events generate a message. These messages can be distributed in different ways:

– Entry in the local log

– Transfer to the Syslog server

– Sending as e-mail

– Sending as SNMP trap

● Syslog: Configures the transfer to the Syslog server

● Port mirroring: Mirroring of ports to analyze the data stream without disturbing operation

11.1 Diagnostics In events and faults handling, you set the events whose messages will be distributed in one of the available ways.

You configure the monitoring of certain system events and power supply and physical interfaces in the Events configuration mode.

11.1.1 show authlog

Description With this command, you show the information about successful or failed authentication attempts.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 404 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

show authlog

Result The content of the logbook is displayed.

11.1.2 show events config

Description This command shows the current configuration for forwarding the messages of the various event types.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events config

Result The current configuration of the events display is displayed.

11.1.3 show events severity

Description This command shows the degree of severity of an event ("Info", "Warning" or "Critical") starting at which a notification (sending of an e-mail, entry in the Syslog table, entry in the Syslog file) is generated.

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 405

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events severity

Result The corresponding degree of severity is shown for each type of notification.

Further notes You configure the assignment of the degree of severity of an event and the type of notification with the severity command.

11.1.4 show events faults config

Description This command shows the current configuration of the following error monitoring functions:

● Monitoring of the power supply for power outage

● Monitoring of the network connections for a change in the connection status

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 406 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

show events faults config [{link}]

The parameters have the following meaning: Parameter Description link Monitoring of the network connections for a change in the connection

status.

If no parameters are specified, the settings for error monitoring are displayed.

Result The current configuration of the selected error monitoring function is displayed.

11.1.5 show events faults status

Description This command shows the status messages of fault monitoring of the power supply and network connections.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events faults status

Result A table with the status messages of the error monitoring functions is displayed.

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 407

11.1.6 show fault counter

Description This command shows the number of fault transitions of the power supply and network connections.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events fault counter

Result The number of indicated faults is displayed.

11.1.7 show logbook

Description With this command, you display the content of the logbook.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show logbook

or

Call up the command with the following parameters:

show logbook { info | warning | critical }

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 408 Configuration Manual, 11/2014, C79000-G8976-C351-03

Parameter The parameters have the following meaning: Parameter Description info Information warning Warning critical Critical

Result The content of the logbook is displayed.

11.1.8 show power-line-state

Description This command shows the status of the power supply.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show power-line-state

Result The status of the power supply is displayed.

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 409

11.1.9 show rmon

Description This command shows the counter reading.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call up the command with the following parameters:

show rmon [statistics [<stats-index (1-65535)>]]

The parameters have the following meaning: Parameter Description Range of val-

ues statistics Keyword for the rmon statistics to be investigated. - stats-index Index number for the statistical values 1 ... 65535

If you enter the command without parameters, the display shows whether rmon is enabled or disabled.

Result The values entered for the selected statistics index are displayed.

11.1.10 clear authlog

Description With this command, you delete the content of the logbook.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 410 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call the command without parameters:

clear authlog

Result The content of the logbook is deleted.

11.1.11 clear logbook

Description With this command, you delete the content of the logbook.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Syntax Call the command without parameters:

clear logbook

Result The content of the logbook is deleted.

11.1.12 fault report ack

Description With this command, you acknowledge (delete) the messages of the "Cold/Warm start" event.

Requirement You are in the Privileged EXEC mode.

The command prompt is as follows:

cli#

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 411

Syntax Call up the command with the following parameter:

fault report ack <fault-state-id>

The parameter has the following meaning: Parameters Description Value fault-state-id ID of the mes-

sage Enter the ID of the message for the "Cold/Warm Start" event. To obtain the ID, use the "show events faults status" command.

Result The message is acknowledged.

11.1.13 Commands in the global configuration mode This section describes commands that you can call up in the Global configuration mode.

In Privileged EXEC mode, enter the configure terminal command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

You exit the Global configuration mode with the end or exit command and are then in the Privileged EXEC mode again.

11.1.13.1 events

Description With this command, you change to the EVENTS configuration mode.

Requirement You are in the Global configuration mode.

The command prompt is as follows:

cli(config)#

Syntax Call the command without parameters:

events

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 412 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result You are now in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Further notes You exit the EVENTS configuration mode with the command end or exit.

11.1.14 Commands in the Events configuration mode This section describes commands that you can call up in the EVENTS configuration mode.

In the Global configuration mode, enter the events command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

● If you exit the EVENTS configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the EVENTS configuration mode with the end command, you return to the Privileged EXEC mode.

11.1.14.1 add log

Description With this command, you create an entry in the log.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call the command without parameters:

add log <log entry>

The parameter has the following meaning: Parameter Description Range of values / note log entry Entry in the logbook max. 150 characters

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 413

Result The entry has been made in the logbook.

11.1.14.2 client config

Description With this command, you enable one of the clients that processes or forwards the messages of the device.

The following clients are available:

● syslog: sends the messages to the Syslog server

● trap: sends the messages as SNMP trap to a configured recipient

● email: sends the messages as e-mail

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

client config {syslog|trap|email|all}

The parameters have the following meaning: Parameter Description syslog Enables the client that sends the messages to the Syslog server trap Enables the client that sends the SNMP traps email Enables the client that sends the e-mails all Enables all clients at once

Result The function of the client selected for the transfer is enabled.

Further notes You display the status of the events and the clients with the show events config command.

You disable a client with the no client config command.

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 414 Configuration Manual, 11/2014, C79000-G8976-C351-03

11.1.14.3 no client config

Description With this command, you disable one of the clients that processes or forwards the messages of the device.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

no client config {syslog|trap|email|all}

The parameters have the following meaning: Parameter Description syslog Disables the client that sends the messages to the Syslog server trap Disables the client that sends the SNMP traps email Disables the client that sends the e-mails all Disables all clients at once

Result The client selected for the transfer is disabled.

Further notes You display the status of the events and the clients with the show events config command.

You enable the function with the client config command.

11.1.14.4 event config

Description With this command, you configure which of the various message types of the device will be stored or forwarded.

The following events or message types are available:

● Message if there is cold or warm restart

● Message when there is a status change on a physical interface

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 415

● Message if there is an incorrect login

● Message when there is a status change in the power supply

● Message when there is a status change in the error monitoring

● Message when there is a change in the spanning tree

● Message if radio channels overlap

● Message when changes are made to the connection status of WDS

● Message if a radar signal is received or if there is a status change in the DFS scan.

● Message if the channel bandwidth changes

● Message for successful or failed authentication attempts

● Message if there is a change in the error status (error LED)

● Message when using iPCF.

These messages can be processed by the clients in different ways:

● Entry in the logbook of the device

● Sending the message to the log server of the system

● Sending an e-mail

● Sending an SNMP trap

● Lighting up of the error LED

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

event config {cold-warmstart|linkchange|authentication-failure|

power-change|faultstate-change|stp-change|

overlap-ap|wds|dfs|wlan-general|

wlan-auth-log|ipcf-cycle-time|ipcf-poll-

size|all}{logtable|syslog|email|trap|faults|all}

The parameters have the following meaning: Parameter Description cold-warmstart Message if there is cold or warm restart linkchange Message when there is a status change on a physical interface authentication-failure Message if there is an incorrect login power-change Message when there is a status change in the power supply faultstate-change Message when there is a status change in the error monitoring

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 416 Configuration Manual, 11/2014, C79000-G8976-C351-03

Parameter Description stp-change Message when there is a change in the spanning tree overlap-ap Message if radio channels overlap (in Access Point mode only) wds Message if there are changes to WDS (in Access Point mode only) dfs Message if a radar signal is received or if there is a status change in the DFS scan

(only in Access Point mode) wlan-general Message if the channel bandwidth has changed (in Access Point mode only) wlan-auth-log Message if changes are made to the log file (in Client mode only) ipcf-cycle-time Message if too many clients are logged on for the set iPCF cycle time or if some cli-

ents were not reached in one cycle (only in access point mode and only available if supported by the device)

ipcf-poll-size Message when the PNIO data size is too large for the transmission. (only available if supported by the device)

all All messages logtable Client that processes the logbook entries syslog Client that sends the messages to the log server email Client that sends the e-mails trap Client that sends the SNMP traps faults The device triggers an error. The error LED lights up. all All clients at once

Result The setting deciding which message of the device is stored or forwarded is configured.

Further notes You display the status of the events and the clients with the show events config command.

You delete the settings with the no event config command.

With this command, the clients are not enabled.

To enable the clients, use the client config command.

Note Changing several message types or clients

With each command call, you can only select one message type and one client.

If you want to process several message types or clients, it may be more efficient to first select the all option and then disable individual elements.

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 417

11.1.14.5 no event config

Description With this command, you configure which of the various message types of the device will no longer be stored or forwarded.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

no event config

{cold-warmstart|linkchange|authentication-failure|

power-change|faultstate-change|stp-change|

overlap-ap|wds|dfs|wlan-general|

wlan-auth-log|all}{logtable|syslog|email|trap|faults|all}

The parameters have the following meaning: Parameter Description cold-warmstart Message if there is cold or warm restart linkchange Message when there is a status change on a physical interface authentication-failure Message if there is an incorrect login power-change Message when there is a status change in the power supply faultstate-change Message when there is a status change in the error monitoring stp-change Message when there is a change in the Spanning Tree overlap-ap Message if radio channels overlap (in Access Point mode only) wds Message if there are changes to WDS (in Access Point mode only) dfs Message if a radar signal is received or if there is a status change in the DFS scan

(only in Access Point mode) wlan-general Message if the channel bandwidth has changed (in Access Point mode only) wlan-auth-log Message if changes are made to the log file (in Client mode only) ipcf-cycle-time Message if too many clients are logged on for the set iPCF cycle time or if some cli-

ents were not reached in one cycle (only in access point mode and only available if supported by the device)

ipcf-poll-size Message when the PNIO data size is too large for the transmission. (only available if supported by the device)

all All messages logtable Client that processes the logbook entries syslog Client that sends the messages to the log server email Client that sends the e-mails

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 418 Configuration Manual, 11/2014, C79000-G8976-C351-03

Parameter Description trap Client that sends the SNMP traps faults The device triggers an error. The error LED lights up. all All clients at once

Result The setting deciding which messages of the device are not stored or forwarded is configured.

Further notes You display the status of the events and the clients with the show events config command.

You configure which of the various message types of the device will be stored or forwarded with the event config command.

11.1.14.6 severity

Description With this command, you configure the threshold values for the sending of system event notifications.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli (config-events) #

Syntax Call up the command with the following parameters:

severity { mail | log | syslog } { info | warning | critical }

The parameters have the following meaning: Parameter Description Range of values / note mail Specifies the threshold value for send-

ing system event messages by e-mail. -

log Specifies the threshold value for enter-ing system event messages in the log table.

-

syslog

Specifies the threshold value for enter-ing system event messages in the Syslog file.

-

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 419

Parameter Description Range of values / note info System events are processed as of the

severity level "Information". -

warning System events are processed as of the severity level "Warning".

-

critical System events are processed as of the severity level "Critical".

-

Result The settings for sending system event messages are configured.

The "severity" function is enabled.

Further notes You disable the setting with the no severity command.

You display the status of this function and other information show events severity

11.1.14.7 no severity

Description With this command, you disable the setting for the threshold values for the sending of system event notifications.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli (config-events) #

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 420 Configuration Manual, 11/2014, C79000-G8976-C351-03

Syntax Call up the command with the following parameters:

no severity { mail | log | syslog }

The parameters have the following meaning: Parameter Description Range of values / note mail The setting of the threshold value for

sending system event messages by e-mail is disabled.

-

log The setting of the threshold value for entering system event messages in the log table disabled.

-

syslog

The setting of the threshold value the entering event messages in the Syslog file is disabled.

-

If you do not select any parameters from the parameter list, the default value is used.

Result The settings for sending system event messages are configured.

Further notes You enable the setting with the severity command.

You display the status of this function and other information show events severity.

11.1.14.8 link

Description With this command, you configure and enable the monitoring of the physical network connections for cable breaks or for pulling of the connector.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 421

Syntax Call up the command with the following parameters:

link {up|down}

The parameters have the following meaning: Parameters Description Range of values up Only the establishment of a connection is signaled - down Only a break on a connection is signaled -

Result The settings for monitoring the physical network connections have been configured.

Further notes You can display the current setting with the show events faults config command.

You disable the function with the no link command.

11.1.14.9 no link

Description With this command, you disable the monitoring of the physical network connections for cable breaks or for pulling of the connector.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call up the command with the following parameters:

no link {up|down}

The parameters have the following meaning: Parameters Description Range of values up The message when establishing a connection is

disabled -

down The message when a connection is down is disa-bled

-

Diagnostics 11.1 Diagnostics

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 422 Configuration Manual, 11/2014, C79000-G8976-C351-03

Result The settings for monitoring the physical network connections have been configured.

Further notes You can display the current setting with the show events faults config command.

You enable the function with the link command.

11.1.14.10 send test mail

Description With this command, you send an e-mail according to the currently configured SMTP settings.

Requirement You are in the EVENTS configuration mode.

The command prompt is as follows:

cli(config-events)#

Syntax Call the command without parameters:

send test mail

Result An e-mail according to the currently configured SMTP settings is sent.

Further notes You can display the current SMTP settings with the show events smtp-server command.

Diagnostics 11.2 Syslog client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 423

11.2 Syslog client With the commands in this section, the following settings are configured:

● Transfer of the messages to the Syslog server

● Local buffering and storage of messages

● Receipt and forwarding of messages from other devices (relay mode)

11.2.1 show events syslogserver

Description This command shows the entries of the configured Syslog server.

Requirement You are in the User EXEC mode or in the Privileged EXEC mode.

The command prompt is as follows:

cli> or cli#

Syntax Call the command without parameters:

show events syslogserver

Result The entries of the configured Syslog server are displayed.

11.2.2 Commands in the Events configuration mode This section describes commands that you can call up in the EVENTS configuration mode.

In the Global configuration mode, enter the events command to change to this mode.

Commands relating to other topics that can be called in the Global configuration mode can be found in the relevant sections.

● If you exit the EVENTS configuration mode with the exit command, you return to the Global configuration mode.

● If you exit the EVENTS configuration mode with the end command, you return to the Privileged EXEC mode.

Diagnostics 11.2 Syslog client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 424 Configuration Manual, 11/2014, C79000-G8976-C351-03

11.2.2.1 syslogserver

Description With this command, you configure the Syslog server address.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli (config-events) #

Syntax Call up the command with the following parameters:

syslogserver {ipv4 <ucast_addr> | fqdn-name <FQDN(100)>} [<port(1-65535)>]

The parameters have the following meaning: Parameter Description Range of values / note ipv4 Keyword for an IP address - ucast_addr Syslog server IPv4 Address Enter a valid IPv4 address. fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Domain

Name) Maximum of 100 characters

port Serverport 1 .. 65535 Default: 514

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

If you do not select any parameters from the parameter list, the default value is used.

Result The settings for the Syslog server are configured.

Further notes You disable the setting with the no syslogserver command.

You can display the status of this function and other information with the show events config command.

Diagnostics 11.2 Syslog client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 425

11.2.2.2 no syslogserver

Description With this command, you configure the Syslog server address.

Requirement You are in the EVENTS Configuration mode.

The command prompt is as follows:

cli (config-events) #

Syntax Call up the command with the following parameters:

syslogserver {ipv4 <ucast_addr> | fqdn-name <FQDN(100)>}

The parameters have the following meaning: Parameter Description Range of values / note ipv4 Keyword for an IP address - ucast_addr Syslog server IPv4 Address Enter a valid IPv4 address. fqdn-name Keyword for a domain name - FQDN(100) Domain name (Fully Qualified Domain

Name) Maximum of 100 characters

For information on identifiers of addresses and interfaces, refer to the section "Interface identifiers and addresses (Page 23)".

Result The settings for the Syslog server are disabled.

Further notes You enable the setting with the syslogserver command.

You can display the status of this function and other information with the show events config command.

Diagnostics 11.2 Syslog client

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 426 Configuration Manual, 11/2014, C79000-G8976-C351-03

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 427

Index

A Access point

no vap broadcast ssid, 189 no vap communication with ethernet, 398 no vap communication with own-vap, 396 no vap security encryption, 392 no vap wds-only, 191 no wlan data rates-11n selected only, 162 no wlan force roaming eth-down, 172 no wlan security ap-radius-authenticator, 364 no wlan security ap-radius-authenticator primary, 369 show client-list, 124 show client-list-vap, 125 show spanning-tree l2t-edge, 223 show wlan ap, 119 show wlan data rates, 125 show wlan overlap-ap-list, 127 show wlan vap, 131 show wlan wds, 132 show wlan wds-list, 133 vap broadcast ssid, 188 vap communication with ethernet, 397 vap communication with own-vap, 395 vap security authentication, 387 vap security cipher, 389 vap security default-key, 390 vap security encryption, 391 vap security wpa-group-key-update-interval, 393 vap security wpa-psk-passphrase, 394 vap ssid, 187 vap wds id, 186 vap wds only, 190 wds connection over, 195 wds partner id-type, 192 wds partner mac, 193 wds partner wds id, 194 wlan alternative channel, 144 wlan beacon interval, 156 wlan channel, 157 wlan data rate-11abg, 163 wlan data rate-11n, 165 wlan data rates-11abg selected only, 160, 166 wlan data rates-11n selected only, 161, 167 wlan dtim, 169 wlan force roaming eth-down, 171

wlan frequency band, 173 wlan guard interval, 175 wlan ht channel, 176 wlan ipcf-mc cycle-time, 97 wlan mode, 179 wlan overlap-ap aging, 183 wlan security ap-radius-authenticator, 363 wlan security ap-radius-authenticator address, 365 wlan security ap-radius-authenticator max-retransmit, 366 wlan security ap-radius-authenticator port-number, 367 wlan security ap-radius-authenticator primary, 368 wlan security ap-radius-authenticator reauth-interval, 370 wlan security ap-radius-authenticator reauth-mode, 371 wlan security ap-radius-authenticator shared-secret, 372

add log, 412 alias, 57

no alias, 58 authorized-manager ip-source, 400

no authorized-manager ip-source, 402 auto-save, 78

no auto-save, 79

B base bridge mode, 205

C clear authlog, 409 clear counters, 42 clear line vty, 44 clear logbook, 410 clear screen, 26 clear spanning-tree counters, 227 clear wlan statistics, 135 CLI commands

Symbolic representation, 22 cli-console-timeout, 52

no cli-console-timeout, 53

Index

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 428 Configuration Manual, 11/2014, C79000-G8976-C351-03

Client nat, 350, 351 nat interface, 355 nat timeout, 356 no nat, 353 no nat timeout, 358 no password, 72 no wlan any ssid, 153 no wlan security dot1x check-server-certificate, 379 no wlan security encryption, 385 password, 71 show nat, 349 show wlan available-ap-list, 121 show wlan client, 123 show wlan ssid-table, 131 wlan any ssid, 152 wlan background scan interval, 154 wlan background scan mode, 155 wlan client mac address, 159 wlan client mac mode, 158 wlan frequency band, 174 wlan ipcf-mc mgmt-scan-period, 98 wlan mode, 180 wlan roaming threshold, 184 wlan security authentication, 374 wlan security cipher, 376 wlan security default-key, 377 wlan security dot1x, 380 wlan security dot1x check-server-certificate, 378 wlan security dot1x password, 382 wlan security dot1x username, 381 wlan security encryption, 384 wlan security wpa-psk-passphrase, 386 wlan signal-recorder start, 86, 89, 90 wlan signal-recorder stop, 88 wlan ssid-table edit, 170

commit mode, 138 commit wlan-settings, 139 configure terminal, 43 coordinates height, 48 coordinates latitude, 49 coordinates longitude, 49 country, 139

D dcp forwarding, 276 dcp server, 268

no dcp server, 269 delete, 67 device mode, 137 disable, 45

do, 26 duplex, 58

no duplex, 59

E enable, 45 end, 27 event config, 414

no event config, 417 events, 411 exit, 27

F fault counter, 407 fault report ack, 410

G Glossary, 17

H help, 28

I instance, 253

no instance, 254 interface, 50

no interface, 51 ip address, 273, 275

no ip address, 274 ip dhcp client mode, 280 ip dhcp config-file-request, 279

no ip dhcp config-file-request, 280 ip dhcp-server, 283

no ip dhcp-server, 284 ip dhcp-server icmp-probe, 285

no ip dhcp-server icmp-probe, 286 ip dhcp-server pool

no ip dhcp-server pool, 288 ip dhcp-server pool, 287 ip domain lookup, 270

no ip domain lookup, 270 ip domain used server, 272 ip echo-reply, 265

no ip echo-reply, 266

Index

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 429

ip http, 338 no ip http, 338

ip name server, 271 no ip name server, 272

ip route, 267 no ip route, 267

L lease time, 289 link, 420

no link, 421 lldp, 60

no lldp, 61 loadsave, 66 logout, 46

M mac-address-table aging, 202

no mac-address-table aging, 203 mac-address-table aging-time, 346 mgmt vlan, 206 mtu, 62

N name, 214, 255

no name, 215, 256 nat, 350, 351

no nat, 353 nat interface, 355

no nat interface, 356 nat local ip address, 354 nat timeout, 356

no nat timeout, 358 network, 290 no sinema, 81 no snmp filterprofile, 315 ntp, 106 ntp server, 107

no ntp server, 108 ntp time diff, 108

O option, 291

no option, 295 option value-hex, 293

option value-string, 294 no option, 295, 295

P password, 71

no password, 72 ping, 46 pool-enable, 296

no pool-enable, 297 ports, 216

no ports, 217

R renew dhcp, 278 restart, 74 revision, 256

no revision, 257

S Scope of the manual, 15 send test mail, 422 sender mail-address, 334

no sender mail-address, 334 set-interface, 298 severity, 418

no severity, 419 show authlog, 403 show authorized-managers, 399 show cli-console-timeout, 33 show coordinates, 34 show dcp forwarding, 259 show dcp server, 260 show device information, 34 show dot1d mac-address-table, 196 show dst info, 100 show events config, 404 show events faults config, 405 show events faults status, 406 show events sender email, 330 show events severity, 404 show events smtp-port, 331 show events smtp-server, 330 show events syslogserver, 423 show history, 31 show in, 35 show interface mtu, 38 show interfaces, 36 show interfaces ... counters, 37

Index

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 430 Configuration Manual, 11/2014, C79000-G8976-C351-03

show ip arp, 340 show ip dhcp client, 277 show ip dhcp client stats, 277 show ip dhcp server pools, 281 show ip dhcp-server bindings, 282 show ip dns, 262 show ip dns cache, 262 show ip dns name server, 263 show ip dns statistics, 263 show ip http secure server status, 339 show ip http server status, 337 show ip interface, 39 show ip route, 260 show ip ssh, 342 show ip telnet, 261 show lldp neighbors, 40 show lldp status, 41 show loadsave files, 65 show loadsave tftp, 66 show logbook, 407 show mac-address-table, 197 show mac-address-table aging-status, 346 show mac-address-table aging-time, 345 show mac-address-table count, 198 show mac-address-table dynamic unicast, 198 show nat, 349 show ntp info, 105 show pnio, 40 show power-line-state, 408 show rmon, 409 show running-config, 75 show sinema, 80 show snmp, 301 show snmp community, 301 show snmp engineID, 302 show snmp filter, 302 show snmp group, 303 show snmp group access, 303 show snmp inform statistics, 304 show snmp notif, 304 show snmp targetaddr, 305 show snmp targetparam, 305 show snmp user, 306 show snmp viewtree, 306 show sntp broadcast-mode status, 109 show sntp status, 110 show sntp unicast-mode status, 110 show spanning-tree, 219 show spanning-tree active, 220 show spanning-tree bridge, 221 show spanning-tree detail, 222 show spanning-tree interface, 222

show spanning-tree l2t-edge, 223 show spanning-tree mst configuration, 224 show spanning-tree mst interface, 225 show spanning-tree root, 226 show ssid table, 131 show ssl server-cert, 340 show time, 99 show users, 360 show versions, 41 show vlan, 199 show vlan device info, 200 show vlan learning params, 201 show vlan port config, 201 show web-session-timeout, 83 show wlan advanced, 117 show wlan advanced-11n, 120 show wlan allowed channels, 118 show wlan antennas, 119 show wlan ap, 119 show wlan available-ap-list, 121 show wlan basic, 122 show wlan client, 123 show wlan client-list, 124 show wlan client-list-vap, 125 show wlan data rates, 125 show wlan device, 126 show wlan ipcf, 91, 94 show wlan ip-mapping, 134 show wlan overlap-ap-list, 127 show wlan overview, 128 show wlan security, 361 show wlan security ap-radius-authenticator, 361 show wlan security keys, 362 show wlan signal-recorder, 85 show wlan statistics, 130 show wlan vap, 131 show wlan wds, 132 show wlan wds-list, 133 shutdown complete, 63

no shutdown, 64 SIMATIC NET glossary, 17 sinema, 81 SMTP

no smtp-server, 333 smtp-port, 335

no smtp-port, 336 smtp-server, 332 snmp

client config, 413 no client config, 414

snmp access, 309 no snmp access, 311

Index

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface Configuration Manual, 11/2014, C79000-G8976-C351-03 431

snmp agent version, 308 snmp community index, 312

no snmp community index, 313 snmp filterprofile, 314 snmp group, 316

no snmp group, 317 snmp notify, 318

no snmp notify, 319 snmp targetparams, 322

no snmp targetparams, 324 snmp user, 326

no snmp user, 327 snmp v1-v2 readonly, 324

no snmp v1-v2 readonly, 325 snmp view, 328

no snmp view, 329 snmpagent, 307

no snmpagent, 308 sntp, 111 sntp client addressing-mode, 115 sntp time diff, 112 sntp unicast-server, 113

no sntp unicast-server, 114 spanning-tree, 227

no spanning-tree, 228 spanning-tree (properties), 242

no spanning-tree, 244 spanning-tree (time settings), 239

no spanning-tree, 241 spanning-tree auto-edge, 245

no spanning-tree auto-edge, 246 spanning-tree bpdufilter, 246 spanning-tree bpdu-receive, 247 spanning-tree bpdu-transmit, 248 spanning-tree compatibility, 229

no spanning-tree compatibility, 230 spanning-tree l2t-auto-edge, 231

no spanning-tree l2t-auto-edge, 231 spanning-tree l2t-edge, 232

no spanning-tree l2t-edge, 233 spanning-tree mst (properties), 249

no spanning-tree mst, 250 spanning-tree mst configuration, 233 spanning-tree mst hello-time, 251

no spanning-tree mst hello-time, 252 spanning-tree mst instance-id root, 234

no spanning-tree mst instance-id root, 235 spanning-tree mst max-hops, 236

no spanning-tree mst max-hops, 237 spanning-tree priority, 237

no spanning-tree priority, 238

ssh-server, 342 no ssh-server, 343

static-lease mac, 299 no static-lease, 300

switchport acceptable-frame-type, 207 switchport access vlan, 208

no switchport access vlan, 209 switchport ingress-filter, 210

no switchport ingress-filter, 210 switchport priority default, 211

no switchport priority default, 212 switchport pvid, 212

no switchport pvid, 213 syslogserver, 424

no syslogserver, 425 system contact, 54 system location, 54 system name, 55

T telnet-server, 264

no telnet-server, 265 tftp filename, 68 tftp load, 69 tftp save, 70 tftp server, 70 time, 100 time dst date, 102

no time dst, 104 time dst recurring, 103 time set, 101

U username, 56

V vap broadcast ssid, 188

no vap broadcast ssid, 189 vap communication with ethernet, 397

no vap communication with ethernet, 398 vap communication with own-vap, 395

no vap communication with own-vap, 395, 396 vap security authentication, 387 vap security cipher, 389 vap security default-key, 390 vap security encryption, 391

no vap security encryption, 392 vap security wpa-group-key-update-interval), 393

Index

SCALANCE W760/W720 to IEEE 802.11n Command Line Interface 432 Configuration Manual, 11/2014, C79000-G8976-C351-03

vap security wpa-psk-passphrase, 394 vap ssid, 187 vap wds id, 186 vap wds only, 190

no vap wds only, 191 vlan, 204

no vlan, 205

W wds connection over, 195 wds partner id-type, 192 wds partner mac (access point), 193 wds partner wds id, 194 web-session-timeout, 84

no web-session-timeout, 85 whoami, 359 wlan, 136 wlan allowed channels, 141 wlan allowed channels only, 142

no wlan allowed channels only, 143 wlan alternative channel, 144 wlan ampdu, 145

no wlan ampdu, 146 wlan ampdu bytes-limit, 146 wlan ampdu frames-limit, 147 wlan antenna additional-attenuation, 148 wlan antenna cable-length, 149 wlan antenna gain-2-4GHz, 150 wlan antenna gain-5GHz, 150 wlan antenna type, 151 wlan any ssid, 152

no wlan any ssid, 153 wlan background scan interval, 154 wlan background scan mode, 155 wlan beacon interval, 156 wlan channel (access point), 157 wlan client mac address, 159 wlan client mac mode, 158 WLAN Configuration mode, 136 wlan data rate-11abg, 163 wlan data rate-11n, 165 wlan data rates-11abg selected only, 160, 166

no wlan data rates-11abg selected only, 161 wlan data rates-11n selected only, 161, 167

no wlan data rates-11n selected only, 162 wlan dfs, 168

no wlan dfs, 169 wlan dtim, 169 wlan force roaming eth-down, 171

no wlan force roaming eth-down, 172 wlan fragmentation threshold, 173

wlan frequency band, 173, 174 wlan guard interval, 175 wlan ht channel, 176 wlan hw entries, 177 wlan ipcf, 93, 95

no wlan ipcf, 93, 96 wlan ipcf-mc cycle-time, 97 wlan ipcf-mc mgmt-scan-period, 98 wlan max tx-power, 178 wlan mode, 179, 180 wlan outdoor, 182

no wlan outdoor, 183 wlan overlap-ap aging, 183 wlan roaming threshold, 184 wlan rts-cts threshold, 185 wlan security ap-radius-authenticator, 363

no wlan security ap-radius-authenticator, 364 wlan security ap-radius-authenticator address, 365 wlan security ap-radius-authenticator max-retransmit, 366 wlan security ap-radius-authenticator port-number, 367 wlan security ap-radius-authenticator primary, 368

no wlan security ap-radius-authenticator primary, 369

wlan security ap-radius-authenticator reauth-interval, 370 wlan security ap-radius-authenticator reauth-mode, 371 wlan security ap-radius-authenticator shared-secret, 372 wlan security authentication, 374 wlan security cipher, 376 wlan security default-key, 377 wlan security dot1x, 380 wlan security dot1x check-server-certificate, 378

no wlan security dot1x check-server-certificate, 379 wlan security dot1x password, 382 wlan security dot1x username, 381 wlan security edit key, 383 wlan security encryption, 384

no wlan security encryption, 385 wlan security wpa-psk-passphrase, 386 wlan signal-recorder display, 89, 90 wlan signal-recorder start, 86 wlan signal-recorder stop, 88 wlan ssid-table edit, 170 write startup-config, 77

?