工控编程吧

标题: 西门子X 500 命令行接口 配置手册 中文超清版 [打印本页]

作者: qq263946146    时间: 2015-1-5 19:52
标题: 西门子X 500 命令行接口 配置手册 中文超清版

工控编程吧 gkbc8 com

西门子X 500 命令行接口 配置手册 中文超清版

文档手册目录或截图为:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                

目录

1  常规信息.........................................................................................................................................15
1.1  有关命令行接口的常规信息................................................................................................ 15
1.2  命令行接口的结构............................................................................................................... 16
1.3  CLI 命令提示符................................................................................................................... 18
1.4  CLI 命令的符号................................................................................................................... 18
1.5  地址和接口名称.................................................................................................................. 20
1.5.1  地址类型、地址范围和地址掩码......................................................................................... 20
1.5.2  命名接口............................................................................................................................. 21
1.6  常用 CLI 命令..................................................................................................................... 22
1.6.1  clear screen........................................................................................................................ 22
1.6.2  end ..................................................................................................................................... 23
1.6.3  exit...................................................................................................................................... 23
1.6.4  帮助功能和支持的输入....................................................................................................... 24
1.6.4.1  help .................................................................................................................................... 24
1.6.4.2  命令“?” .............................................................................................................................. 25
1.6.4.3  完成命令条目...................................................................................................................... 26
1.6.4.4  命令的缩写......................................................................................................................... 27
1.6.4.5  复用最后使用的命令........................................................................................................... 27
1.6.4.6  show history ....................................................................................................................... 27
2  组态................................................................................................................................................29
2.1  系统.................................................................................................................................... 29
2.1.1  “show”命令......................................................................................................................... 29
2.1.1.1  show cli-console-timeout.................................................................................................... 29
2.1.1.2  show coordinates ............................................................................................................... 30
2.1.1.3  show device information..................................................................................................... 30
2.1.1.4  show versions .................................................................................................................... 31
2.1.1.5  show hardware................................................................................................................... 31
2.1.1.6  show env temperature........................................................................................................ 32
2.1.1.7  show interfaces .................................................................................................................. 32
2.1.1.8  show interfaces ... counters................................................................................................ 34
2.1.1.9  show ip interface ................................................................................................................ 35
2.1.1.10  show interface access lists................................................................................................. 36
2.1.1.11  show broadcast-block config.............................................................................................. 37
2.1.1.12  show multicast-block config................................................................................................ 37
2.1.1.13  show interface mtu............................................................................................................. 38
2.1.2  clear counters..................................................................................................................... 39
2.1.3 configure terminal................................................................................................................40
2.1.4 lock......................................................................................................................................41
2.1.5  logout ..................................................................................................................................42
2.1.6  ping .....................................................................................................................................42
2.1.7  clear line vty ........................................................................................................................44
2.1.8  全局组态模式中的命令........................................................................................................45
2.1.8.1  interface..............................................................................................................................45
2.1.8.2  no interface .........................................................................................................................47
2.1.8.3  cli-console-timeout ..............................................................................................................48
2.1.8.4  coordinates height...............................................................................................................49
2.1.8.5  coordinates latitude.............................................................................................................49
2.1.8.6  coordinates longitude ..........................................................................................................50
2.1.8.7  system contact....................................................................................................................51
2.1.8.8  system location...................................................................................................................51
2.1.8.9  system name.......................................................................................................................52
2.1.8.10  username ............................................................................................................................53
2.1.8.11  set cli-console-timeout........................................................................................................54
2.1.9  接口组态模式中的命令........................................................................................................55
2.1.9.1  duplex .................................................................................................................................55
2.1.9.2  no duplex ............................................................................................................................56
2.1.9.3  mtu......................................................................................................................................57
2.1.9.4  negotiation ..........................................................................................................................58
2.1.9.5  no negotiation......................................................................................................................58
2.1.9.6  set broadcast-block .............................................................................................................59
2.1.9.7  set multicast-block...............................................................................................................60
2.1.9.8  shutdown.............................................................................................................................61
2.1.9.9  no shutdown........................................................................................................................61
2.1.9.10  speed ..................................................................................................................................62
2.1.9.11  lldp ......................................................................................................................................63
2.1.9.12  no lldp .................................................................................................................................64
2.2  加载和保存..........................................................................................................................65
2.2.1  show loadsave files.............................................................................................................65
2.2.2  show loadsave tftp ..............................................................................................................66
2.2.3  全局组态模式中的命令........................................................................................................66
2.2.3.1  loadsave..............................................................................................................................67
2.2.4  LOADSAVE 组态模式中的命令...........................................................................................67
2.2.4.1  tftp filename ........................................................................................................................68
2.2.4.2  tftp load ...............................................................................................................................68
2.2.4.3  tftp save..............................................................................................................................69
2.2.4.4  tftp server............................................................................................................................70
2.3  重置和默认值.......................................................................................................................71
2.3.1 restart ..................................................................................................................................71
2.4  组态保存和恢复...................................................................................................................72
2.4.1 show running-config........................................................................................................... 72
2.4.2 write startup-config............................................................................................................. 74
2.4.3  全局组态模式中的命令....................................................................................................... 75
2.4.3.1  auto-save ........................................................................................................................... 75
2.4.3.2  no auto-save ...................................................................................................................... 76
3  SCALANCE 特定的功能..................................................................................................................79
3.1  PROFINET IO.................................................................................................................... 79
3.1.1  show pnio ........................................................................................................................... 79
3.2  C-PLUG.............................................................................................................................. 79
3.2.1  show cplug ......................................................................................................................... 80
3.2.2  全局组态模式中的命令....................................................................................................... 80
3.2.2.1  cplug................................................................................................................................... 80
3.2.3  C-PLUG 组态模式中的命令................................................................................................ 81
3.2.3.1  factoryclean........................................................................................................................ 81
3.2.3.2  write.................................................................................................................................... 82
3.3  WBM .................................................................................................................................. 83
3.3.1  show web-session-timeout ................................................................................................. 83
3.3.2  全局组态模式中的命令....................................................................................................... 83
3.3.2.1  set web-session-timeout..................................................................................................... 84
3.3.2.2  web-session-timeout .......................................................................................................... 84
3.4  面板按钮............................................................................................................................. 85
3.4.1  全局组态模式中的命令....................................................................................................... 85
3.4.1.1  set panel-button control-factory-defaults............................................................................ 86
3.4.1.2  set panel-button control-faultmask..................................................................................... 87
4  系统时间.........................................................................................................................................89
4.1  NTP 客户端........................................................................................................................ 89
4.1.1  show ntp info ...................................................................................................................... 89
4.1.2  全局组态模式中的命令....................................................................................................... 89
4.1.2.1  ntp ...................................................................................................................................... 90
4.1.3  NTP 组态模式中的命令...................................................................................................... 90
4.1.3.1  ntp server ........................................................................................................................... 91
4.1.3.2  no ntp server ...................................................................................................................... 92
4.1.3.3  ntp time diff......................................................................................................................... 92
4.2  SNTP 客户端...................................................................................................................... 93
4.2.1  show sntp broadcast-mode status...................................................................................... 94
4.2.2  show sntp unicast-mode status .......................................................................................... 94
4.2.3  show sntp status................................................................................................................ 95
4.2.4  全局组态模式中的命令....................................................................................................... 95
4.2.4.1  sntp .................................................................................................................................... 96
4.2.5  SNTP 组态模式中的命令.................................................................................................... 96
4.2.5.1  set sntp client addressing-mode......................................................................................... 97
4.2.5.2 set sntp client time zone......................................................................................................98
4.2.5.3 set sntp unicast-poll-interval................................................................................................99
4.2.5.4  set sntp unicast-server ipv4..............................................................................................100
4.2.5.5  no sntp unicast-server ipv4 ...............................................................................................101
4.3  系统时间设置.....................................................................................................................102
4.3.1 show time..........................................................................................................................102
4.3.2  全局组态模式中的命令......................................................................................................102
4.3.2.1  time ...................................................................................................................................103
4.3.2.2  time set.............................................................................................................................104
5  网络结构....................................................................................................................................... 105
5.1  VLAN.................................................................................................................................105
5.1.1  “show”命令........................................................................................................................105
5.1.1.1  show mac-address-table ...................................................................................................106
5.1.1.2  show mac-address-table dynamic multicast......................................................................107
5.1.1.3  show mac-address-table dynamic unicast........................................................................108
5.1.1.4  show mac-address-table static multicast...........................................................................109
5.1.1.5  show mac-address-table static unicast.............................................................................110
5.1.1.6  show mac-address-table count.........................................................................................111
5.1.1.7  show vlan ..........................................................................................................................111
5.1.1.8  show vlan device info........................................................................................................112
5.1.1.9  show vlan learning params ...............................................................................................113
5.1.1.10  show vlan port config ........................................................................................................114
5.1.2  全局组态模式中的命令......................................................................................................115
5.1.2.1  set mac-address-table aging.............................................................................................115
5.1.2.2  vlan ...................................................................................................................................116
5.1.2.3  no vlan ..............................................................................................................................117
5.1.3  接口组态模式中的命令......................................................................................................118
5.1.3.1  switchport acceptable-frame-type .....................................................................................118
5.1.3.2  no switchport acceptable-frame-type ................................................................................119
5.1.3.3  switchport access vlan ......................................................................................................120
5.1.3.4  no switchport access vlan.................................................................................................120
5.1.3.5  switchport priority default..................................................................................................121
5.1.3.6  no switchport priority default .............................................................................................122
5.1.3.7  switchport pvid ..................................................................................................................123
5.1.3.8  no switchport pvid .............................................................................................................124
5.1.4  VLAN 组态模式中的命令...................................................................................................124
5.1.4.1  ports ..................................................................................................................................125
5.1.4.2  no ports .............................................................................................................................127
5.1.4.3  name .................................................................................................................................128
5.1.4.4  no name ............................................................................................................................129
5.2  链路汇聚............................................................................................................................130
5.2.1 show etherchannel............................................................................................................130
5.2.2  show interfaces etherchannel ...........................................................................................131
5.2.3 show lacp......................................................................................................................... 132
5.2.4  全局组态模式中的命令..................................................................................................... 133
5.2.4.1  port-channel load-balance................................................................................................ 133
5.2.4.2  no port-channel load-balance........................................................................................... 134
5.2.5  接口组态模式中的命令..................................................................................................... 135
5.2.5.1  channel-group .................................................................................................................. 136
5.2.5.2  no channel-group............................................................................................................. 136
5.3  生成树.............................................................................................................................. 137
5.3.1 “show”命令....................................................................................................................... 137
5.3.1.1  show spanning-tree.......................................................................................................... 137
5.3.1.2  show spanning-tree mst................................................................................................... 139
5.3.1.3  show spanning-tree active................................................................................................ 139
5.3.1.4  show spanning-tree bridge ............................................................................................... 140
5.3.1.5  show spanning-tree detail ................................................................................................ 141
5.3.1.6  show spanning-tree interface........................................................................................... 142
5.3.1.7  show spanning-tree root................................................................................................... 143
5.3.1.8  show spanning-tree mst configuration.............................................................................. 144
5.3.1.9  show spanning-tree mst interface..................................................................................... 145
5.3.2  clear spanning-tree detected protocols............................................................................ 146
5.3.3  clear spanning-tree counters............................................................................................ 147
5.3.4  全局组态模式中的命令..................................................................................................... 147
5.3.4.1  spanning-tree ................................................................................................................... 148
5.3.4.2  no spanning-tree .............................................................................................................. 148
5.3.4.3  spanning-tree compatibility............................................................................................... 149
5.3.4.4  no spanning-tree compatibility.......................................................................................... 150
5.3.4.5  spanning-tree priority........................................................................................................ 151
5.3.4.6  no spanning-tree priority................................................................................................... 152
5.3.4.7  spanning-tree mst configuration....................................................................................... 153
5.3.4.8  spanning-tree mst max-hops............................................................................................ 154
5.3.4.9  no spanning-tree mst max-hops....................................................................................... 155
5.3.4.10  spanning-tree mst instance-id root................................................................................... 155
5.3.4.11  no spanning-tree mst instance-id root.............................................................................. 156
5.3.4.12 生成树协议的时间设置..................................................................................................... 157
5.3.5  接口组态模式中的命令..................................................................................................... 160
5.3.5.1  spanning-tree ................................................................................................................... 160
5.3.5.2  no spanning-tree .............................................................................................................. 162
5.3.5.3  spanning-tree mst............................................................................................................. 164
5.3.5.4  no spanning-tree mst........................................................................................................ 166
5.3.5.5  spanning-tree auto-edge .................................................................................................. 167
5.3.5.6  no spanning-tree auto-edge ............................................................................................. 168
5.3.5.7  spanning-tree bpdu-transmit............................................................................................ 168
5.3.5.8  spanning-tree bpdu-receive.............................................................................................. 169
5.3.5.9  spanning-tree bdpufilter.................................................................................................... 170
5.3.5.10  spanning-tree layer2-gateway-port................................................................................... 171
  SCALANCE X-500 命令行接口
8
5.3.5.11 no spanning-tree layer2-gateway-port...............................................................................172
5.3.5.12 spanning-tree loop-guard..................................................................................................173
5.3.5.13  no spanning-tree loop-guard .............................................................................................174
5.3.5.14  spanning-tree restricted-role .............................................................................................174
5.3.5.15  no spanning-tree restricted-role........................................................................................175
5.3.5.16  spanning-tree restricted-tcn ..............................................................................................176
5.3.5.17  no spanning-tree restricted-tcn..........................................................................................177
5.3.5.18  spanning-tree mst hello-time.............................................................................................177
5.3.5.19  no spanning-tree mst hello-time........................................................................................178
5.3.5.20  spanning-tree mst PseudoRootId......................................................................................179
5.3.5.21  no spanning-tree mst PseudoRootId.................................................................................180
5.3.6  MSTP 组态模式中的命令 ..................................................................................................181
5.3.6.1  instance.............................................................................................................................181
5.3.6.2  no instance........................................................................................................................182
5.3.6.3  name .................................................................................................................................183
5.3.6.4  no name ............................................................................................................................184
5.3.6.5  revision..............................................................................................................................185
5.3.6.6  no revision.........................................................................................................................186
6  网络协议....................................................................................................................................... 189
6.1  IPv4 协议...........................................................................................................................189
6.1.1  show ip route.....................................................................................................................189
6.1.2  show ip gateway................................................................................................................190
6.1.3  show ip telnet ....................................................................................................................190
6.1.4  show dcp server ................................................................................................................191
6.1.5  show dcp forwarding .........................................................................................................192
6.1.6  全局组态模式中的命令......................................................................................................192
6.1.6.1  ip route..............................................................................................................................193
6.1.6.2  no ip route .........................................................................................................................194
6.1.6.3  ip echo-reply.....................................................................................................................195
6.1.6.4  no ip echo-reply.................................................................................................................196
6.1.6.5  telnet-server ......................................................................................................................196
6.1.6.6  no telnet-server .................................................................................................................197
6.1.6.7  dcp server .........................................................................................................................198
6.1.6.8  no dcp server ....................................................................................................................199
6.1.7  接口组态模式中的命令......................................................................................................199
6.1.7.1  ip address.........................................................................................................................200
6.1.7.2  no ip address.....................................................................................................................201
6.1.7.3  dcp forwarding...................................................................................................................202
6.2  DHCP 客户端....................................................................................................................203
6.2.1  show ip dhcp client stats...................................................................................................203
6.2.2  show ip dhcp client ............................................................................................................204
6.2.3  全局组态模式中的命令......................................................................................................204
6.2.3.1  ip dhcp config-file-request .................................................................................................204
6.2.3.2 no ip dhcp config-file-request........................................................................................... 205
6.2.3.3 ip dhcp client mode .......................................................................................................... 206
6.3  SNMP............................................................................................................................... 207
6.3.1  “show”命令....................................................................................................................... 207
6.3.1.1  show snmp ....................................................................................................................... 207
6.3.1.2  show snmp community..................................................................................................... 207
6.3.1.3  show snmp eingineid........................................................................................................ 208
6.3.1.4  show snmp filter............................................................................................................... 209
6.3.1.5  show snmp group............................................................................................................. 209
6.3.1.6  show snmp group access................................................................................................. 210
6.3.1.7  show snmp inform statistics............................................................................................. 210
6.3.1.8  show snmp notif ............................................................................................................... 211
6.3.1.9  show snmp targetaddr...................................................................................................... 211
6.3.1.10  show snmp targetparam................................................................................................... 212
6.3.1.11  show snmp tcp................................................................................................................. 213
6.3.1.12  show snmp user ............................................................................................................... 213
6.3.1.13  show snmp-server traps ................................................................................................... 214
6.3.1.14  show snmp viewtree......................................................................................................... 214
6.3.2  全局组态模式中的命令..................................................................................................... 215
6.3.2.1  snmpagent ....................................................................................................................... 215
6.3.2.2  no snmpagent .................................................................................................................. 216
6.3.2.3  snmp agent version.......................................................................................................... 216
6.3.2.4  snmp access.................................................................................................................... 217
6.3.2.5  no snmp access............................................................................................................... 219
6.3.2.6  snmp community index..................................................................................................... 220
6.3.2.7  no snmp community index................................................................................................ 222
6.3.2.8  snmp group...................................................................................................................... 222
6.3.2.9  no snmp group ................................................................................................................. 224
6.3.2.10  snmp notify....................................................................................................................... 225
6.3.2.11  no snmp notify.................................................................................................................. 226
6.3.2.12  snmp targetaddr ............................................................................................................... 227
6.3.2.13  no snmp targetaddr .......................................................................................................... 229
6.3.2.14  snmp targetparams .......................................................................................................... 230
6.3.2.15  no snmp targetparams..................................................................................................... 231
6.3.2.16  snmp v1-v2 readonly........................................................................................................ 232
6.3.2.17  no snmp v1-v2 readonly ................................................................................................... 233
6.3.2.18  snmp user ........................................................................................................................ 234
6.3.2.19  no snmp user ................................................................................................................... 235
6.3.2.20  snmp view ........................................................................................................................ 236
6.3.2.21  no snmp view................................................................................................................... 237
6.4  SMTP 客户端 ................................................................................................................... 238
6.4.1  show events emailserver.................................................................................................. 238
6.4.2  show events sender email ................................................................................................ 239
6.4.3 show events smtp-port......................................................................................................240
6.4.4 EVENT 组态模式中的命令 ................................................................................................240
6.4.4.1  emailserver .......................................................................................................................240
6.4.4.2  no emailserver...................................................................................................................241
6.4.4.3  sender mail-address..........................................................................................................242
6.4.4.4  no sender mail-address.....................................................................................................243
6.4.4.5  smtp-port...........................................................................................................................243
6.4.4.6  no smtp-port......................................................................................................................244
6.5  HTTP 服务器.....................................................................................................................245
6.5.1  show ip http server status.................................................................................................245
6.5.2  全局组态模式中的命令......................................................................................................246
6.5.2.1  set ip http..........................................................................................................................246
6.6  HTTPS 服务器...................................................................................................................247
6.6.1  show ip http secure server status......................................................................................247
6.6.2  show ssl server-cert..........................................................................................................248
6.7  ARP...................................................................................................................................248
6.7.1  show ip arp........................................................................................................................248
6.8  SSH 服务器.......................................................................................................................250
6.8.1  show ip ssh .......................................................................................................................250
6.8.2  全局组态模式中的命令......................................................................................................250
6.8.2.1  ssh-server .........................................................................................................................251
6.8.2.2  no ssh-server ....................................................................................................................251
7  第 2 层管理协议............................................................................................................................253
7.1  GARP................................................................................................................................253
7.1.1  show forward-all ................................................................................................................253
7.1.2  show forward-unregistered................................................................................................254
7.1.3  全局组态模式中的命令......................................................................................................254
7.1.3.1  set gmrp ............................................................................................................................254
7.1.3.2  set port gmrp.....................................................................................................................255
7.1.3.3  set gvrp .............................................................................................................................257
7.1.3.4  set port gvrp ......................................................................................................................258
7.2  IGMP 监听.........................................................................................................................259
7.2.1  show ip igmp snooping......................................................................................................259
7.2.2  show ip igmp snooping forwarding-database ....................................................................260
7.2.3  show ip igmp snooping statistics.......................................................................................260
7.2.4  show ip igmp snooping switch-ip.......................................................................................261
7.2.5  全局组态模式中的命令......................................................................................................262
7.2.5.1  ip igmp vlan-snooping .......................................................................................................262
7.2.5.2  no ip igmp vlan-snooping..................................................................................................263
7.2.5.3  ip igmp snooping clear counters........................................................................................263
7.2.5.4  ip igmp snooping switch-ip ................................................................................................264
7.2.5.5 ip igmp snooping port-purge-interval................................................................................ 265
7.2.5.6 no ip igmp snooping port-purge-interval........................................................................... 266
7.3  IGMP 查询器.................................................................................................................... 267
7.3.1  VLAN 组态模式中的命令.................................................................................................. 267
7.3.1.1  ip igmp snooping querier .................................................................................................. 267
7.3.1.2  no ip igmp snooping querier ............................................................................................. 268
8  加载控制.......................................................................................................................................269
8.1  速率控制........................................................................................................................... 269
8.1.1  show rate-limit output....................................................................................................... 269
8.1.2  接口组态模式中的命令..................................................................................................... 270
8.1.2.1  rate-limit output ................................................................................................................ 270
8.1.2.2  no rate-limit output............................................................................................................ 271
8.1.2.3  storm-control .................................................................................................................... 272
8.1.2.4  no storm-control ............................................................................................................... 273
8.1.2.5  storm-control level ............................................................................................................ 274
8.1.2.6  no storm-control level ....................................................................................................... 275
8.2  静态 MAC 过滤................................................................................................................. 276
8.2.1  全局组态模式中的命令..................................................................................................... 276
8.2.1.1  mac-address-table block static multicast.......................................................................... 276
8.2.1.2  mac-address-table static multicast................................................................................... 277
8.2.1.3  no mac-address-table static multicast.............................................................................. 279
8.2.1.4  mac-address-table static unicast ...................................................................................... 280
8.2.1.5  no mac-address-table static unicast................................................................................. 281
8.2.2  接口组态模式中的命令..................................................................................................... 282
8.2.2.1  switchport ingress-filter..................................................................................................... 282
8.2.2.2  no switchport ingress-filter................................................................................................ 283
8.3  动态 MAC 老化................................................................................................................. 284
8.3.1 show mac-address-table aging-time................................................................................. 284
8.3.2  show mac-address-table aging-status.............................................................................. 284
8.3.3  全局组态模式中的命令..................................................................................................... 285
8.3.3.1  mac-address-table aging-time.......................................................................................... 285
8.3.3.2  no mac-address-table aging-time..................................................................................... 286
8.4  流量控制........................................................................................................................... 287
8.4.1 show flow-control.............................................................................................................. 287
8.4.2  接口组态模式中的命令..................................................................................................... 288
8.4.2.1  flowcontrol ........................................................................................................................ 288
8.5  服务等级........................................................................................................................... 290
8.5.1  show qos cos-map ........................................................................................................... 290
8.5.2  show qos dscp-map ......................................................................................................... 290
8.5.3  全局组态模式下的命令..................................................................................................... 291
8.5.3.1  qos ................................................................................................................................... 291
8.5.4 QOS 组态模式下的命令 ....................................................................................................292
8.5.4.1 cos-map ............................................................................................................................292
8.5.4.2  dscp-map ..........................................................................................................................293
9  安全和验证................................................................................................................................... 295
9.1  用户权限管理.....................................................................................................................295
9.1.1  show users........................................................................................................................295
9.1.2  whoami..............................................................................................................................296
9.2  Radius client .....................................................................................................................296
9.2.1  show radius statistics........................................................................................................296
9.2.2  show radius server ............................................................................................................297
9.2.3  全局组态模式中的命令......................................................................................................298
9.2.3.1  radius-server host .............................................................................................................298
9.2.3.2  no radius-server host ........................................................................................................300
9.3  MAC 访问控制列表............................................................................................................301
9.3.1  show access-lists..............................................................................................................301
9.3.2  全局组态模式中的命令......................................................................................................302
9.3.2.1  mac access-list extended..................................................................................................302
9.3.2.2  no mac access-list extended.............................................................................................303
9.3.3  接口组态模式中的命令......................................................................................................304
9.3.3.1  mac access-group.............................................................................................................304
9.3.3.2  no mac access-group........................................................................................................305
9.3.4  MAC ACL 组态模式中的命令 ............................................................................................306
9.3.4.1  permit ................................................................................................................................306
9.3.4.2  deny ..................................................................................................................................308
9.4  Port Access Control List Locked Ports..............................................................................309
9.4.1  show lock port ...................................................................................................................309
9.4.2  全局组态模式下的命令......................................................................................................310
9.4.2.1  clear-all-static-unicast.......................................................................................................310
9.4.2.2  auto-learn..........................................................................................................................311
9.4.3  接口组态模式中的命令......................................................................................................312
9.4.3.1  switchport lock...................................................................................................................312
9.4.3.2  no switchport lock..............................................................................................................313
9.4.4  AUTOLEARN 模式下的命令..............................................................................................313
9.4.4.1  start ...................................................................................................................................314
9.4.4.2  stop ...................................................................................................................................314
9.5  管理访问控制列表.............................................................................................................315
9.5.1 show authorized-managers...............................................................................................315
9.5.2  全局组态模式下的命令......................................................................................................316
9.5.2.1  authorized-manager ip-source ..........................................................................................316
9.5.2.2  no authorized-manager ip-source .....................................................................................318
9.6  基于端口的网络访问控制...................................................................................................319
SCALANCE X-500 命令行接口
9.6.1 show dot1x....................................................................................................................... 319
9.6.2  全局组态模式中的命令..................................................................................................... 321
9.6.2.1  对全局组态模式的介绍..................................................................................................... 321
9.6.2.2  dot1x reauthentication...................................................................................................... 321
9.6.2.3  no dot1x reauthentication................................................................................................. 322
9.6.3  接口组态模式中的命令..................................................................................................... 322
9.6.3.1  dot1x port-control ............................................................................................................. 323
9.6.3.2  no dot1x port-control........................................................................................................ 324
10  诊断..............................................................................................................................................325
10.1  诊断.................................................................................................................................. 325
10.1.1  show events config........................................................................................................... 325
10.1.2  show events faults config................................................................................................. 326
10.1.3  show events faults status................................................................................................. 327
10.1.4  show logbook ................................................................................................................... 328
10.1.5  show power-line-state ...................................................................................................... 328
10.1.6  全局组态模式中的命令..................................................................................................... 329
10.1.6.1  events............................................................................................................................... 329
10.1.7  EVENT 组态模式中的命令................................................................................................ 330
10.1.7.1  clear logbook.................................................................................................................... 330
10.1.7.2  add log ............................................................................................................................. 331
10.1.7.3  power ............................................................................................................................... 331
10.1.7.4  no power .......................................................................................................................... 332
10.1.7.5  link.................................................................................................................................... 333
10.1.7.6  no link............................................................................................................................... 334
10.1.7.7  send test mail................................................................................................................... 335
10.2  Syslog 客户端................................................................................................................... 336
10.2.1  show events syslogserver................................................................................................ 336
10.2.2  EVENT 组态模式中的命令................................................................................................ 337
10.2.2.1  syslogserver..................................................................................................................... 337
10.2.2.2  no syslogserver................................................................................................................ 338
10.3  RMON .............................................................................................................................. 339
10.3.1  show rmon........................................................................................................................ 339
10.3.2  全局组态模式中的命令..................................................................................................... 341
10.3.2.1  rmon alarm....................................................................................................................... 341
10.3.2.2  no rmon alarm.................................................................................................................. 343
10.3.2.3  rmon event ....................................................................................................................... 343
10.3.2.4  no rmon events ................................................................................................................ 344
10.3.2.5  set rmon ........................................................................................................................... 345
10.3.3  接口组态模式中的命令..................................................................................................... 346
10.3.3.1  rmon collection stats......................................................................................................... 346
10.3.3.2  no rmon collection stats.................................................................................................... 347
10.3.3.3  rmon collection history...................................................................................................... 348
10.3.3.4  no rmon collection history................................................................................................. 349
10.4  端口镜像............................................................................................................................350
10.4.1 show monitor.....................................................................................................................350
10.4.2  show monitor status ..........................................................................................................351
10.4.3  全局组态模式中的命令......................................................................................................352
10.4.3.1 monitor session destination...............................................................................................352
10.4.3.2  no monitor session destination..........................................................................................353
10.4.3.3 monitor session source.....................................................................................................354
10.4.3.4  no monitor session source................................................................................................356
10.4.3.5  no monitor session............................................................................................................357
10.4.3.6 monitor ..............................................................................................................................358
10.4.3.7  no monitor .........................................................................................................................359
  索引.............................................................................................................................................. 361


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

更多目录内容,请 免费 下载 观看;

说明:所有资源,解压密码一律为工控编程吧网址 gkbc8 com;

下载地址为:  (为增加互动交流,回复后可免费下载)

  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                                






欢迎光临 工控编程吧 (https://www.gkbc8.com/) Powered by Discuz! X3.4