Netcore 7801NS User Guide

Netcore
7801NS 三层交换机
CLI 用 户 手 册
(中文版)
Chinese Version
深圳市磊科实业有限公司 
ShenZhen Netcore Industrial LTD
目录
一、前言.......................................................................................................................................................... 8
1.1 CONSOLE 管理................................................................................................................................. 8
1.2 TELNET 管理.................................................................................................................................... 9
二、general commands ....................................................................................................................................11
2.1 enable.............................................................................................................................................. 11
2.1.1 disable ...................................................................................................................................12
2.1.2 clear help ...............................................................................................................................12
2.1.3 show help ...............................................................................................................................13
2.1.4 set help ..................................................................................................................................15
2.1.5 copy config flash.....................................................................................................................18
2.1.6 reboot....................................................................................................................................18
2.1.7 quit........................................................................................................................................18
2.1.8 commit ..................................................................................................................................19
2.1.9 move.....................................................................................................................................19
2.1.10 enable help ...........................................................................................................................20
2.2 show help ........................................................................................................................................25
2.3 set enable password...........................................................................................................................26
2.4 disable help ......................................................................................................................................27
三、set commands...........................................................................................................................................29
3.1 set port commands ............................................................................................................................29
3.1.1 set port enable .........................................................................................................................29
3.1.2 set port disable ........................................................................................................................29
3.1.3 set port duplex ........................................................................................................................30
3.1.3 set port flow-control................................................................................................................30
3.1.4 set port speed..........................................................................................................................31
3.1.5 set port broadcast....................................................................................................................31
3.1.6 set port multicast.....................................................................................................................32
3.1.7 set port destination-lookup-fail..................................................................................................33
3.1.8 set port spantree portcost ..........................................................................................................33
3.1.9 set port spantree portpri............................................................................................................34
3.1.10 set port spantree portfast.........................................................................................................34
3.1.11 set port qos cos ......................................................................................................................35
3.1.12 set port qos trust .................................................................................................................... 35
3.1.13 set port qos cos-rewrite...........................................................................................................36
3.1.14 set port qos dscp-rewrite.........................................................................................................36
3.1.10 set port help ..........................................................................................................................37
3.2 set channel.......................................................................................................................................38
3.3 set vlan commans..............................................................................................................................38
3.3.1 set vlan ..................................................................................................................................38
3.3.2 set vlan name..........................................................................................................................39
3.3.3 set protocol_vlan ipx................................................................................................................40
3.3.4 set vlan help ...........................................................................................................................40
3.4 set trunk...........................................................................................................................................41
3.5 set snmp commands ..........................................................................................................................41
3.5.1 set snmp disable ......................................................................................................................41
3.5.2 set snmp enable .......................................................................................................................42
3.5.2 set snmp community ................................................................................................................ 42
3.5.3 set snmp trap ..........................................................................................................................43
3.5.4 set snmp rmon enable ..............................................................................................................43
3.5.5 set snmp rmon disable ..............................................................................................................44
3.5.6 set snmp help ..........................................................................................................................44
3.6 set arp commands .............................................................................................................................45
3.6.1 set arp....................................................................................................................................45
3.6.2 set arp agingtime .....................................................................................................................45
3.6.3 set arp help .............................................................................................................................46
3.7 set ip route commands .......................................................................................................................47
3.7.1 set ip route..............................................................................................................................47
3.7.2 set ip route vlan.......................................................................................................................47
3.7.3 set ip route help ....................................................................................................................... 48
3.8 set rip commands ..............................................................................................................................48
3.8.1 set ip rip network.....................................................................................................................48
3.8.2 set ip rip aging ........................................................................................................................49
3.8.3 set ip rip update.......................................................................................................................50
3.8.4 set ip rip garbage ..................................................................................................................... 50
3.8.5 set ip rip default -pre.................................................................................................................51
3.8.6 set ip rip split -horizon..............................................................................................................51
3.8.7 set ip rip triggered-updates .......................................................................................................52
3.8.8 set ip rip help ..........................................................................................................................52
3.9 set spantree commands ......................................................................................................................53
3.9.1 set spantree enable ...................................................................................................................53
3.9.2 set spantree disable ..................................................................................................................53
3.9.3 set spantree priority .................................................................................................................54
3.9.4 set spantree hello .....................................................................................................................54
3.9.5 set spantree maxage .................................................................................................................55
3.9.6 set spantree fwddelay...............................................................................................................55
3.9.7 set spantree help ......................................................................................................................56
3.10 set dhcp-relay commands.................................................................................................................56
3.10.1 set dhcp-relay disable .............................................................................................................56
3.10.2 set dhcp-relay enable..............................................................................................................57
3.10.3 set dhcp-relay helper -address..................................................................................................57
3.10.4 set dhcp-relay check disable....................................................................................................58
3.10.5 set dhcp-relay check enable .....................................................................................................58
3.10.6 set dhcp-relay option enable ....................................................................................................59
3.10.6 set dhcp-relay option disable ...................................................................................................59
3.10.7 set dhcp-relay help.................................................................................................................60
3.11 set interface vlan commands .............................................................................................................61
3.11.1 set interface vlan ip ................................................................................................................61
3.11.2 set interface vlan mac ............................................................................................................. 61
3.11.3 set inerface vlan help ..............................................................................................................62
3.12 set igmp-snooping commands ...........................................................................................................62
3.12.1 set igmp-snooping enable .......................................................................................................62
3.12.2 set igmp-snooping disable.......................................................................................................63
3.12.3 set igmp-snooping help ..........................................................................................................63
3.13 set multicast router ..........................................................................................................................64
3.13.2 set multicast router help ..........................................................................................................64
3.14 set system commands ......................................................................................................................65
3.14.1 set system name ....................................................................................................................65
3.14.2 set system contact..................................................................................................................65
3.14.3 set system location.................................................................................................................66
3.14.4 set system mac ......................................................................................................................66
3.14.5 set system help ......................................................................................................................67
3.15 set qos commands ...........................................................................................................................67
3.15.1 set qos policer .......................................................................................................................67
3.15.2 set qos queue type strict..........................................................................................................68
3.15.3 set qos queue weigh ...............................................................................................................68
3.15.4 set qos map cos -dscp-map.......................................................................................................69
3.15.5 set qos map ippre-dscp-map....................................................................................................70
3.15.6 set qos help ...........................................................................................................................71
3.16 set acl commands............................................................................................................................72
3.16.1 set acl mac ............................................................................................................................72
3.16.2 set acl ip ...............................................................................................................................73
3.16.3 set acl icmp...........................................................................................................................74
3.16.4 set acl tcp.............................................................................................................................75
3.16.5 set acl udp ............................................................................................................................76
3.16.6 set acl help............................................................................................................................76
3.17 set security command ......................................................................................................................77
3.17.1 set security filter-mac.............................................................................................................77
3.17.2 set security static -mac ............................................................................................................78
3.17.3 set security mac -aging............................................................................................................78
3.17.4 set security help.....................................................................................................................79
3.18 set capture command .......................................................................................................................79
3.18.1 set capture disable .................................................................................................................. 79
3.18.2 set capture enable ..................................................................................................................80
3.18.3 set capture capture-port..........................................................................................................80
3.18.4 set capture monitored-port ...................................................................................................... 81
3.18.5 set capture help .....................................................................................................................81
3.19 set ip telnet server ...........................................................................................................................82
3.20 set ip http server ..............................................................................................................................82
3.21 set enablepass.................................................................................................................................83
3.22 set password...................................................................................................................................83
3.23 set default.......................................................................................................................................84
四、show commands.......................................................................................................................................85
4.1 show port commands .........................................................................................................................85
4.1.1 show port state........................................................................................................................85
4.1.2 show port counters ..................................................................................................................86
4.1.3 show port broadcast.................................................................................................................87
4.1.4 show port multicast .................................................................................................................88
4.1.5 show port destination-lookup-fail..............................................................................................89
4.1.6 show port spantree...................................................................................................................90
4.1.7 show port qos .........................................................................................................................90
4.1.8 show port help ........................................................................................................................91
4.2 show channel....................................................................................................................................92
4.3 show vlan ........................................................................................................................................93
4.4 show trunk.......................................................................................................................................93
4.5 show snmp commands ....................................................................................................................... 94
4.5.1 show snmp .............................................................................................................................94
4.5.2 show snmp rmon.....................................................................................................................95
4.6 show arp command ...........................................................................................................................95
4.6.1 show arp info..........................................................................................................................95
4.6.2 show arp agingtime..................................................................................................................96
4.6.3 show arp help .........................................................................................................................96
4.7 show ip route....................................................................................................................................97
4.8 show ip rip command ........................................................................................................................98
4.8.1 show ip rip timer .....................................................................................................................98
4.8.2 show ip rip default -pre.............................................................................................................98
4.8.3 show ip rip network-info..........................................................................................................99
4.8.4 show ip rip help ......................................................................................................................99
4.9 show spantree................................................................................................................................. 100
4.10 show dhcp-relay command ............................................................................................................. 101
4.10.1 show dhcp-relay helper -address............................................................................................. 101
4.10.2 show dhcp-relay info............................................................................................................ 102
4.10.3 show dhcp-relay help ........................................................................................................... 102
4.11 show interface............................................................................................................................... 103
4.12 show igmp-snooping...................................................................................................................... 104
4.13 show multicast router..................................................................................................................... 104
4.14 show system................................................................................................................................. 105
4.15 show qos commands ...................................................................................................................... 106
4.15.1 show qos map cos -dscp-map................................................................................................. 106
4.15.2 show qos map ippre-dscp-map .............................................................................................. 106
4.15.3 show qos queue................................................................................................................... 107
4.15.4 show qos policer.................................................................................................................. 108
4.15.5 show qos counter .................................................................................................................108
4.15.6 show qos help ..................................................................................................................... 109
4.16 show acl commands........................................................................................................................110
4.16.1 show acl all..........................................................................................................................110
4.16.2 show acl info........................................................................................................................ 111
4.16.3 show acl type mac ................................................................................................................ 111
4.16.4 show acl type ip....................................................................................................................112
4.16.5 show acl type icmp ...............................................................................................................113
4.16.5 show acl type udp.................................................................................................................113
4.16.7 show acl type tcp..................................................................................................................114
4.16.8 show acl help .......................................................................................................................115
4.17 show security commands.................................................................................................................115
4.17.1 show security static -mac........................................................................................................115
4.17.2 show security filter-mac ........................................................................................................116
4.17.3 show security mac -aging .......................................................................................................117
4.17.4 show security help ................................................................................................................117
4.18 show capture.................................................................................................................................118
4.19 show ip http server .........................................................................................................................118
4.20 show ip telnet server .......................................................................................................................119
4.21 show version .................................................................................................................................119
4.22 show console-info ......................................................................................................................... 120
4.23 show syntax.................................................................................................................................. 121
五、clear commands...................................................................................................................................... 122
5.1 clear port commands ....................................................................................................................... 122
5.1.1 clear port counters ................................................................................................................. 122
5.1.2 clear port cos ........................................................................................................................ 122
5.1.3 clear port spantree portcost .....................................................................................................123
5.1.4 clear port spantree portpri....................................................................................................... 123
5.1.5 clear port broadcast................................................................................................................ 124
5.1.6 clear port multicast................................................................................................................ 124
5.1.7 clear port destination- lookup-fail............................................................................................. 125
5.1.8 clear port help ....................................................................................................................... 125
5.2 clear channel .................................................................................................................................. 126
5.3 clear vlan .......................................................................................................................................127
5.4 clear protocol_vlan ipx .................................................................................................................... 127
5.5 clear trunk...................................................................................................................................... 128
5.6 clear snmp .....................................................................................................................................128
5.6.1 clear snmp community ...........................................................................................................128
5.6.2 clear snmp trap...................................................................................................................... 129
5.6.3 clear snmp help ..................................................................................................................... 129
5.7 clear arp commands .........................................................................................................................130
5.7.1 clear arp............................................................................................................................... 130
5.7.2 clear arp agingtime ................................................................................................................ 131
5.7.3 clear arp help ........................................................................................................................ 131
5.8 clear ip route commands .................................................................................................................. 132
5.8.1 clear ip route......................................................................................................................... 132
5.8.2 clear ip route vlan ..................................................................................................................132
5.8.3 clear ip route help .................................................................................................................. 133
5.9 clear ip rip commands ......................................................................................................................133
5.9.1 clear ip rip timers .................................................................................................................. 133
5.9.2 clear ip rip network................................................................................................................ 134
5.9.3 clear ip rip help ..................................................................................................................... 134
5.10 clear spantree root......................................................................................................................... 135
5.11 clear dhcp-relay helper -address....................................................................................................... 135
5.12 clear interface vlan ip ..................................................................................................................... 136
5.13 clear muliticast router .................................................................................................................... 137
5.14 clear qos commands ...................................................................................................................... 137
5.14.1 clear qos policer .................................................................................................................. 137
5.14.2 clear qos map cos -dscp-map.................................................................................................. 138
5.14.3 clear qos map ippre-dscp-map............................................................................................... 138
5.14.4 clear qos queue weight ......................................................................................................... 139
5.14.5 clear qos help ...................................................................................................................... 139
5.15 clear acl....................................................................................................................................... 140
5.16 clear security commands ................................................................................................................ 140
5.16.1 clear security static -mac ....................................................................................................... 140
5.16.2 clear security filter -mac........................................................................................................ 141
5.16.3 clear security help................................................................................................................ 142
5.17 clear capture................................................................................................................................. 142
六、功能键.................................................................................................................................................. 144
一、前言
1.1 CONSOLE管理
控制台方式是通过 Microsoft Windows 的超级终端对交换机进行管理和配置。这种方式可以方便地通过 PC
的串行口对设备进行管理,由于该方式不依赖于网络连接,所以当出现链路故障时,通常使用这种方式进行检测。 
推荐用户使用 Windows 附带的实用程序【超级终端】来进行控制台配置工作。具体方法是:点击 【开始】
-【程序】-【附件】-【通讯】-【超级终端】。  
第一步:输入新建连接名称,例如 netcore,如图所示: 
第二步:选择 PC 上连接交换机的串行接口,并设置该串行口的通讯属性(波特率,奇偶校验,数据位,停
止位,流控),如图所示: 
提示:出厂时 Netcore  7801NS 三层交换机的 CONSOLE 端口的通讯设置为:波特率
38400,奇偶校验-无,数据位 8 位,停止位1 位,无流控 
提示:出厂时 Netcore  7801NS三层交换机的默认 CONSOLE管理特权密码为“ netcore”。
1.2 TELNET管理
这种管理方法采用 CLI 方式,操作方式类似于控制台方式(CONSOLE),不同的是首先要建立远程连接,并通
过登录认证。由于采用 TCP/IP 协议,这种方式可以实现远程管理。 
用户可以通过 Windows 提供的 TELNET 实用工具来建立远程连接,具体操作:点击 Windows 的菜单导航条
“【开始】-【运行】”,在【打开】框中输入“telnet  192.168.4.1”并确定。 
提示:出厂时交换机的 IP 地址:192.168.4.1。 
如图所示: 
连接成功后,系统要求用户输入用户名和密码登陆交换机的 TELNET 管理页面。如图所示: 
提示:出厂时 Netcore 7801 三层交换机的默认 TELNET 登陆用户名和密码:guest/
guest,进入特权模式的配置密码为“netcore”。
二、general commands
2.1 enable
功能: 
  进入特权管理模式            语法:                enable            描述: 
NA 
          缺省参数: 
NA 
          命令模式: 
Normal 
          例子: 
console> enable  console>(enable) 
          相关命令: 
disable 
2.1.1 disable
          功能: 
退出特权管理模式 
          语法: 
disable 
          描述: 
NA 
          缺省参数: 
NA 
          命令模式: 
Privileged 
          例子: 
console>(enable) disable  console> 
          相关命令: 
enable 
2.1.2 clear help
          功能: 
显示 clear 命令的帮助信息 
          语法: 
clear help 
          描述: 
NA 
          缺省参数: 
NA 
          命令模式: 
Privileged 
          例子: 
console>(enable) clear help  clear acl                           Clear a access control entry        clear arp <IP>                      Clear a arp entry  clear arp agingtime                 Restore arp agingtime to default value  clear capture                       Clear a capture entry  clear channel                       Clear member from channel  clear dhcp-relay helper-address     Clear dhcp relay helper address of                                       vlan interface  clear interface vlan ip             Clear the ip address of vlan                                      interface  clear ip rip network                Disable rip function on a network 
clear ip rip timers                 Restore rip default timers  clear ip route <IP>                 Clear a static route entry  clear ip route vlan                 Clear a vlan route entry  clear multicast router              Clear router port  clear port broadcast                Restore broadcast storm filter mode to                                      default  clear port counters                 Clear port statistics counter  clear port destination-lookup-fail  Restore destination lookup fail storm                                       filter mode to default  clear port multicast                Restore multicast storm filter mode to                                      default  clear port qos cos                  Restore the cos parameters to default                                       value  ----------MORE------------  clear port spantree portcost        Restore spanning tree port cost to                                        default value  clear port spantree portpri         Restore spanning tree port priority to                                      default value  clear protocol_vlan ipx             Clear ipx vlan members  clear qos map cos-dscp-map          Restore cos-dscp map to default value  clear qos map ippre-dscp-map        Restore ippre-dscp map to default value  clear qos policer                   Clear a policing rule for ACL  clear qos queue weight              Restore queue weith to default value  clear security filter-mac           Clear mac filter entry  clear security static-mac           Clear a static mac entry  clear snmp community                Clear snmp community entry  clear snmp trap                     Clear snmp trap management host  clear spantree root                 Restore spanning tree parameters to                                       default value  clear trunk                         Clear trunk port from vlans  clear vlan                          Clear member from vlan  console>(enable) 
          相关命令:
2.1.3 show help
          功能: 
显示 show 命令的帮助信息 
          语法: 
show help 
          描述: 
NA 
缺省参数: 
NA 
          命令模式: 
Normal 
          例子: 
console> show ?  show acl all                        Show access control list simple                                       information  show acl info                       Show a access control entry particular                                      information  show acl type                       Show all choice type  access control                                       entry particular information  show arp agingtime                  Show arp aging time  show arp info                       Show arp table information  show capture                        Show traffic capture information  show channel                        Show channel information  show console                        Show console information  show dhcp-relay helper-address      Show dhcp relay helper address                                       information of vlan interface  show dhcp-relay info                Show dhcp relay information  show igmp-snooping                  Show igmp snooping information  show interface                      Show the ip address information of vlan                                      interface  show ip http server                 Show http server information  show ip rip default-pre             Show rip defult route precedence  show ip rip network-info            Show rip information on networks  show ip rip timers                  Show ip rip timers  ----------MORE------------  show acl all                        Show access control list simple                                       information  show acl info                       Show a access control entry particular                                      information  show acl type                       Show all choice type  access control                                       entry particular information  show arp agingtime                  Show arp aging time  show arp info                       Show arp table information  show capture                        Show traffic capture information  show channel                        Show channel information  show console                        Show console information  show dhcp-relay helper-address      Show dhcp relay helper address                                       information of vlan interface  show dhcp-relay info                Show dhcp relay information  show igmp-snooping                  Show igmp snooping information  show interface                      Show the ip address information of vlan 
                                    interface  show ip http server                 Show http server information  show ip rip default-pre             Show rip defult route precedence  show ip rip network-info            Show rip information on networks  show ip rip timers                  Show ip rip timers  ----------MORE------------  show trunk                          Show trunk information              show version                        Get last software version  show vlan                           Show vlan information  console>(enable) 
          相关命令:
2.1.4 set help
          功能: 
显示 set 命令的帮助信息 
          语法: 
set help 
          描述: 
NA 
          缺省参数: 
NA 
          命令模式: 
Privileged 
          例子: 
console>(eanble) set ?  set acl icmp                        Set a icmp-based access control entry  set acl ip                          Set a ip-based access control entry  set acl mac                         Set a mac-based access control entry  set acl tcp                         Set a tcp-based access control entry  set acl udp                         Set a udp-based access control entry  set arp <IP> <MAC>                  Set a static arp entry  set arp agingtime                   Set arp table aging time  set capture capture-port            Set a port to capture traffic  set capture disable                 Disable flow capture  set capture enable                  Enable flow capture  set capture monitored-port          Set port to be captured traffic  set channel                         Set ports to be channel  set default                         Set system load default parameters  set dhcp-relay check disable        Disable validate relay information                                      in bootreply  set dhcp-relay check enable         Enable validate relay information                                      in bottrelay 
set dhcp-relay enable               Enable dhcp relay function  set dhcp-relay disable              Disable dhcp relay function  set dhcp-relay helper-address       Set dhcp relay helper address of vlan                                       interface  set dhcp-relay option disable       Disable to insert relay                                       information in bootrequest  ----------MORE------------  set dhcp-relay option enable        Enable to insert relay                                                  information in bootrequest  set enable password                 Set the password for the privileged                                      level of the CLI  set igmp-snooping disable           Disable igmp snooping  set igmp-snooping enable            Enable igmp snooping  set interface vlan ip               Set the ip address for vlan interface  set interface vlan mac              Set the mac address for vlan interface  set ip http server disable          Disable http server  set ip http server enable           Enable http server  set ip rip aging                    Set rip route aging timeout value  set ip rip default-pre              Set rip default route precedence  set ip rip garbage                  Set rip route garbage collection                                       timeout value  set ip rip network                  Enable rip function on a network  set ip rip split-horizon            Set ip rip split horizon  set ip rip triggered-updates        Set ip rip triggered updates  set ip rip update                   Set update rip route info time interval  set ip route <ip>                   Set a static route entry  set ip route vlan                   Set a direct route entry  set ip telnet server disable        Disable telnet server  set ip telnet server enable         Enable telnet server  ----------MORE------------  set multicast router                Set multicst router port            set password                        Set system password  set port broadcast                  Set broadcast storm filter mode  set port destination-lookup-fail    Set destination lookup fail storm                                      filter mode  set port disable                    Disable a port  set port duplex                     Set port transmission type  set port enable                     Enable a port  set port flow-control               Set port traffic flowcontrol  set port multicast                  Set multicast storm filter mode  set port qos <port_num> cos <cos>   Set port QoS cos  set port qos <port_num> cos-rewrite Set the cos values for packets                                       out of a port  set port qos <port_num> dscp-rewrite Set the dscp values for packets out 
                                    of a port  set port qos <port_num> trust       Set the trust state of a port  set port spantree <port_num> portco Set spanning tree port cost  set port spantree <port_num> portfa Set spanning tree PortFast-start feature 
set port spantree <port_num> portpr Set spanning tree port priority 
set port speed                      Set port transmission speed  set protocol_vlan ipx               Set ipx vlan members  ----------MORE------------  set qos map cos-dscp-map            Set cos-dscp map                    set qos map ippre-dscp-map          Set ippre-dscp map  set qos policer                     Create a policing rule for ACL  set qos queue type strict           Set qos queue type(strict/wrr)  set qos queue weight                Set queue weight  set security filter-mac             Create a mac filter entry  set security mac-aging              Set MAC aging time  set security static-mac             Create a static mac entry  set snmp community                  Set snmp community string  set snmp disable                    Disable snmp agent  set snmp enable                     Enable snmp agent  set snmp rmon disable               Disable rmon state  set snmp rmon enable                Enable rmon stater  set snmp trap                       Set snmp trap recieve host  set spantree disable                Disable spanning tree  set spantree enable                 Enable spaning tree  set spantree fwddelay               Set the forward delay for the spanning tree  set spantree hello                  Set the hello interval for the spanning tree  set spantree maxage                 Set the max age interval for the spanning  set spantree priority               Set the bridge priority for the spanning                                      tree  set system contact                  Set system contact  ----------MORE------------  set system location                 Set system location                 set system mac                      Set system mac address  set system name                     Set system name  set trunk                           Set vlan trunk port  set vlan <vid> <port_list>          Set vlan members  set vlan <vid> name                 Set a vlan name  console>(enable) 
          相关命令:
2.1.5 copy config flash
          功能:
保存系统配置参数
          语法:
copy config flash
          描述:
NA
          缺省参数:
NA
          命令模式:
Privileged
          例子:
console>(enable) copy config flash console>(enable)
          相关命令:               NA
2.1.6 reboot
          功能:
重新启动
          语法:
reboot
          描述:
NA
          缺省参数:
NA
          命令模式:
Privileged
          例子:
console>(enable) reboot
          相关命令:               NA
2.1.7 quit
          功能: 
退出 console 管理 
          语法: 
quit 
          描述: 
NA 
          缺省参数: 
NA 
          命令模式: 
Privileged 
          例子: 
console>(enable) quit            相关命令:                NA
2.1.8 commit
          功能: 
确认 ACL 生效            语法: 
quit            描述: 
NA            缺省参数: 
NA            命令模式: 
Privileged            例子: 
console>(enable) commit            相关命令:                NA 
2.1.9 move
          功能: 
移动 ACL 条目的位置            语法: 
move acl INT before INT            描述: 
INT:ACL 原来的索引 
INT:移动到某 ACL 索引的前面            缺省参数: 
NA            命令模式: 
Privileged            例子: 
console>(enable) move acl ? 
Usage:move acl <src_index> before <dest_index> 
console>(enable) move acl 3 6 
console>(enable)            相关命令:                NA 
2.1.10 enable help
          功能:
显示 enable 的帮助信息
语法:
          enable help
描述:
          “enable help ”和“?”功能完全相同
缺省参数:     NA
命令模式:     Privileged
例子:     console>(enable) ? 
clear acl                           Clear a access control entry 
clear arp <IP>                      Clear a arp entry 
clear arp agingtime                 Restore arp agingtime to default value 
clear capture                       Clear a capture entry 
clear channel                       Clear member from channel 
clear dhcp-relay helper-address     Clear dhcp relay helper address of  
                                    vlan interface 
clear interface vlan ip             Clear the ip address of vlan 
                                    interface 
clear ip rip network                Disable rip function on a network 
clear ip rip timers                 Restore rip default timers 
clear ip route <IP>                 Clear a static route entry 
clear ip route vlan                 Clear a vlan route entry 
clear multicast router              Clear router port 
clear port broadcast                Restore broadcast storm filter mode to 
----------MORE------------ 
clear port counters                 Clear port statistics counter 
clear port destination-lookup-fail  Restore destination lookup fail storm  
                                    filter mode to default 
clear port multicast                Restore multicast storm filter mode to 
                                    default 
clear port qos cos                  Restore the cos parameters to default  
                                    value 
clear port spantree portcost        Restore spanning tree port cost to   
                                    default value 
clear port spantree portpri         Restore spanning tree port priority to 
                                    default value 
clear protocol_vlan ipx             Clear ipx vlan members 
clear qos map cos-dscp-map          Restore cos-dscp map to default value 
clear qos map ippre-dscp-map        Restore ippre-dscp map to default value 
clear qos policer                   Clear a policing rule for ACL 
clear qos queue weight              Restore queue weith to default value 
clear security filter-mac           Clear mac filter entry 
clear security static-mac           Clear a static mac entry 
clear snmp community                Clear snmp community entry 
clear snmp trap                     Clear snmp trap management host 
clear spantree root                 Restore spanning tree parameters to  
                                    default value 
----------MORE------------ 
clear trunk                         Clear trunk port from vlans        
clear vlan                          Clear member from vlan 
commit                              Commit all the ACL and QoS Config to  
                                    be valid 
copy config flash                   Copy system configuration parameters to 
                                    flash 
del kernel                          Del debug 
disable                             Disable privileged mode 
move acl                            Move a access control entry before others 
reboot                              Reboot system 
set acl icmp                        Set a icmp-based access control entry 
set acl ip                          Set a ip-based access control entry 
set acl mac                         Set a mac-based access control entry 
set acl tcp                         Set a tcp-based access control entry 
set acl udp                         Set a udp-based access control entry 
set arp <IP> <MAC>                  Set a static arp entry 
set arp agingtime                   Set arp table aging time 
set capture capture-port            Set a port to capture traffic 
set capture disable                 Disable flow capture 
set capture enable                  Enable flow capture 
set capture monitored-port          Set port to be captured traffic 
set channel                         Set ports to be channel 
set default                         Set system load default parameters 
----------MORE------------ 
set dhcp-relay check disable        Disable validate relay information 
                                    in bootreply 
set dhcp-relay check enable         Enable validate relay information 
                                    in bottrelay 
set dhcp-relay enable               Enable dhcp relay function 
set dhcp-relay disable              Disable dhcp relay function 
set dhcp-relay helper-address       Set dhcp relay helper address of vlan  
                                    interface 
set dhcp-relay option disable       Disable to insert relay  
                                    information in bootrequest 
set dhcp-relay option enable        Enable to insert relay  
                                    information in bootrequest 
set enable password                 Set the password for the privileged 
                                    level of the CLI 
set igmp-snooping disable           Disable igmp snooping 
set igmp-snooping enable            Enable igmp snooping 
set interface vlan ip               Set the ip address for vlan interface 
set interface vlan mac              Set the mac address for vlan interface 
set ip http server disable          Disable http server 
set ip http server enable           Enable http server 
set ip rip aging                    Set rip route aging timeout value 
set ip rip default-pre              Set rip default route precedence 
set ip rip garbage                  Set rip route garbage collection  
----------MORE------------ 
set ip rip network                  Enable rip function on a network 
set ip rip split-horizon            Set ip rip split horizon 
set ip rip triggered-updates        Set ip rip triggered updates 
set ip rip update                   Set update rip route info time interval 
set ip route <ip>                   Set a static route entry 
set ip route vlan                   Set a direct route entry 
set ip telnet server disable        Disable telnet server 
set ip telnet server enable         Enable telnet server 
set kernel                          Open debug 
set multicast router                Set multicst router port 
set password                        Set system password 
set port broadcast                  Set broadcast storm filter mode 
set port destination-lookup-fail    Set destination lookup fail storm 
                                    filter mode 
set port disable                    Disable a port 
set port duplex                     Set port transmission type 
set port enable                     Enable a port 
set port flow-control               Set port traffic flowcontrol 
set port multicast                  Set multicast storm filter mode 
set port qos <port_num> cos <cos>   Set port QoS cos 
set port qos <port_num> cos-rewrite Set the cos values for packets  
                                    out of a port 
----------MORE------------ 
set port qos <port_num> dscp-rewrite Set the dscp values for packets out 
                                    of a port 
set port qos <port_num> trust       Set the trust state of a port 
set port spantree <port_num> portco Set spanning tree port cost 
set port spantree <port_num> portfa Set spanning tree PortFast-start feature 
set port spantree <port_num> portpr Set spanning tree port priority 
set port speed                      Set port transmission speed 
set protocol_vlan ipx               Set ipx vlan members 
set qos map cos-dscp-map            Set cos-dscp map 
set qos map ippre-dscp-map          Set ippre-dscp map 
set qos policer                     Create a policing rule for ACL 
set qos queue type strict           Set qos queue type(strict/wrr) 
set qos queue weight                Set queue weight 
set security filter-mac             Create a mac filter entry 
set security mac-aging              Set MAC aging time 
set security static-mac             Create a static mac entry 
set snmp community                  Set snmp community string 
set snmp disable                    Disable snmp agent 
set snmp enable                     Enable snmp agent 
set snmp rmon disable               Disable rmon state 
set snmp rmon enable                Enable rmon stater 
----------MORE------------ 
set snmp trap                       Set snmp trap recieve host         
set spantree disable                Disable spanning tree 
set spantree enable                 Enable spaning tree 
set spantree fwddelay               Set the forward delay for the spanning tree 
set spantree hello                  Set the hello interval for the spanning tree 
set spantree maxage                 Set the max age interval for the spanning     
set spantree priority               Set the bridge priority for the spanning 
                                    tree 
set system contact                  Set system contact 
set system location                 Set system location 
set system mac                      Set system mac address 
set system name                     Set system name 
set trunk                           Set vlan trunk port 
set vlan <vid> <port_list>          Set vlan members 
set vlan <vid> name                 Set a vlan name 
show acl all                        Show access control list simple  
                                    information 
show acl info                       Show a access control entry particular 
                                    information 
show acl type                       Show all choice type  access control  
                                    entry particular information 
show arp agingtime                  Show arp aging time 
----------MORE------------ 
show arp info                       Show arp table information         
show capture                        Show traffic capture information 
show channel                        Show channel information 
show console                        Show console information 
show dhcp-relay helper-address      Show dhcp relay helper address  
                                    information of vlan interface 
show dhcp-relay info                Show dhcp relay information 
show igmp-snooping                  Show igmp snooping information 
show interface                      Show the ip address information of vlan 
                                    interface 
show ip http server                 Show http server information 
show ip rip default-pre             Show rip defult route precedence 
show ip rip network-info            Show rip information on networks 
show ip rip timers                  Show ip rip timers 
show ip route                       Show route table information 
show ip telnet server               Show telnet server information 
show multicast router               Show multicast router port information 
show netcore 
show port broadcast                 Show broadcast storm filter information 
show port counters                  Show port counter information 
show port destination-lookup-fail   Show destination lookup fail storm 
                                    filter information 
show port multicast                 Show multicast storm filter information 
----------MORE------------ 
show port qos                       Show qos information on ports      
show port spantree                  Show spantree information on ports 
show port state                     Show port infomation 
show qos counter                    Show qos counter information 
show qos map cos-dscp-map           Show cos-dscp map information 
show qos map ippre-dscp-map         Show ippre-dscp map information 
show qos policer                    Show qos policer information 
show qos queue                      Show qos queue information 
show security filter-mac            Show mac filter entry 
show security mac-aging             Show MAC aging time 
show security static-mac            Show static mac table information 
show snmp                           Show snmp information 
show snmp rmon                      Show snmp rmon state 
show spantree                       Show spanning tree information 
show syntax                         Show basic help infomation 
show system                         Show system information 
show trunk                          Show trunk information 
show version                        Get last software version 
show vlan                           Show vlan information 
    console>(enable) 
相关命令:     NA
2.2 show help
          功能:
显示 show 命令的帮助信息           语法:
show help           描述:
NA
缺省参数:
NA           命令模式:
Normal
          例子:
console> show ? 
show acl all                        Show access control list simple  
                                    information 
show acl info                       Show a access control entry particular 
                                    information 
show acl type                       Show all choice type  access control  
                                    entry particular information 
show arp agingtime                  Show arp aging time 
show arp info                       Show arp table information 
show capture                        Show traffic capture information 
show channel                        Show channel information 
show console                        Show console information 
show dhcp-relay helper-address      Show dhcp relay helper address  
                                    information of vlan interface 
show dhcp-relay info                Show dhcp relay information 
show igmp-snooping                  Show igmp snooping information 
show interface                      Show the ip address information of vlan 
                                    interface 
show ip http server                 Show http server information 
show ip rip default-pre             Show rip defult route precedence 
show ip rip network-info            Show rip information on networks 
show ip rip timers                  Show ip rip timers 
----------MORE------------ 
show acl all                        Show access control list simple  
                                    information 
show acl info                       Show a access control entry particular 
                                    information 
show acl type                       Show all choice type  access control  
                                    entry particular information 
show arp agingtime                  Show arp aging time 
show arp info                       Show arp table information 
show capture                        Show traffic capture information 
show channel                        Show channel information 
show console                        Show console information 
show dhcp-relay helper-address      Show dhcp relay helper address  
                                    information of vlan interface 
show dhcp-relay info                Show dhcp relay information 
show igmp-snooping                  Show igmp snooping information 
show interface                      Show the ip address information of vlan 
                                    interface 
show ip http server                 Show http server information 
show ip rip default-pre             Show rip defult route precedence 
show ip rip network-info            Show rip information on networks 
show ip rip timers                  Show ip rip timers 
----------MORE------------ 
show trunk                          Show trunk information             
show version                        Get last software version 
show vlan                           Show vlan information 
console>(enable)            相关命令:
NA
2.3 set enable password
          功能: 
配置进入特权模式的密码            语法: 
set enable password <old_password> <new_password>            描述: 
STR:旧密码 
STR:新密码            缺省参数: 
NA            命令模式: 
Private            例子: 
console>set enable password old_password new_password 
console>(enable)           相关命令:
NA
2.4 disable help
          功能:
显示 disable 的帮助信息 
语法: 
          help 
描述: 
          “help”和“?”功能完全相同 
缺省参数:      NA  命令模式:      Privileged  例子:      console>help 
enable                              Enable privileged mode 
show acl all                        Show access control list simple  
                                    information 
show acl info                       Show a access control entry particular 
                                    information 
show acl type                       Show all choice type  access control  
                                    entry particular information 
show arp agingtime                  Show arp aging time 
show arp info                       Show arp table information 
show capture                        Show traffic capture information 
show channel                        Show channel information 
show console                        Show console information 
show dhcp-relay helper-address      Show dhcp relay helper address  
                                    information of vlan interface 
show dhcp-relay info                Show dhcp relay information 
show igmp-snooping                  Show igmp snooping information 
show interface                      Show the ip address information of vlan 
                                    interface 
show ip http server                 Show http server information 
show ip rip default-pre             Show rip defult route precedence 
show ip rip network-info            Show rip information on networks 
show ip rip timers                  Show ip rip timers 
----------MORE------------ 
show acl all                        Show access control list simple  
                                    information 
show acl info                       Show a access control entry particular 
                                    information 
show acl type                       Show all choice type  access control  
                                    entry particular information 
show arp agingtime                  Show arp aging time 
show arp info                       Show arp table information 
show capture                        Show traffic capture information 
show channel                        Show channel information 
show console                        Show console information 
show dhcp-relay helper-address      Show dhcp relay helper address  
                                    information of vlan interface 
show dhcp-relay info                Show dhcp relay information 
show igmp-snooping                  Show igmp snooping information 
show interface                      Show the ip address information of vlan 
                                    interface 
show ip http server                 Show http server information 
show ip rip default-pre             Show rip defult route precedence 
show ip rip network-info            Show rip information on networks 
show ip rip timers                  Show ip rip timers 
----------MORE------------ 
show trunk                          Show trunk information             
show version                        Get last software version 
show vlan                           Show vlan information 
    console>  相关命令:     NA
三、set commands
3.1 set port commands
3.1.1 set port enable
功能:
配置端口的管理状态,启用端口
语法:
set port enable INT
描述:
      INT:端口号,<port_num>
缺省参数:
        所有端口都为“enable
命令模式:
        Privileged
例子:         console>(enable) set port disbale ?          Usage:set port [disable|enable] <port_num> 
Paras:port_num(1-18)  console>(enable) set port disbale 3 disable  console>(enable)
          相关命令:
show port state 
3.1.2 set port disable
功能: 
配置端口的管理状态,关闭端口 
语法: 
set port disable INT 
描述:          INT:端口号,<port_num> 
缺省参数:          所有端口都为“enable” 
命令模式: 
              Privileged 
例子:         console>(enable) set port disbale ? 
        Usage:set port [disable|enable] <port_num> 
Paras:port_num(1-18)  console>(enable) set port disbale 3 disable  console>(enable)
          相关命令:
show port state 
3.1.3 set port duplex
功能: 
          配置端口的双工 
语法: 
          set port duplex INT [auto|full|half] 
描述: 
  INT:端口号,<port_num>            auto:配置端口的双工模式为自动协商            full:配置端口的双工模式为全双工            half:配置端口的双工模式为半双工 
缺省参数:      所有端口的双工模式为“auto”  命令模式:      Privileged  例子:      console>(enable) set port duplex ?      Usage:set port duplex <port_num> [auto|full|half] 
Paras:port_num(1-33) 
    console>(enable) set port duplex 4 auto 
console>(enable) 
          相关命令: 
show port state 
3.1.3 set port flow-control
功能:
配置端口的流量控制功能,关闭/启用流量控制功能 
语法: 
          set port flow-control INT [disable|enable|receive|send] 
描述: 
INT:端口号,<port_num> 
disable:关闭端口的流量控制功能 enable:启用端口的流量控制功能
缺省参数:
Loading...
+ 114 hidden pages