Download  Print this page

ASUS GIGAX 2024M Cli Manual

Layer 2 managed switch.
Hide thumbs

Advertisement

GigaX2024B/M
Layer 2 Managed Switch
CLI Manual

Advertisement

   Also See for ASUS GIGAX 2024M

   Related Manuals for ASUS GIGAX 2024M

   Summary of Contents for ASUS GIGAX 2024M

  • Page 1 GigaX2024B/M Layer 2 Managed Switch CLI Manual...
  • Page 2 ASUS; or (2) the serial number of the product is defaced or missing. ASUS provides this manual “as is” without warranty of any kind, either express or implied, including but not limited to the implied warranties or conditions of merchantability or fitness for a particular purpose.
  • Page 3: Table Of Contents

    Table of content CLI Command Modes ..............1 1 IGMP ..................2 ip igmp snooping ................2 ip igmp snooping last-member-query-interval TIMEVALUE ..... 2 ip igmp snooping vlan <1-3000> ............3 1.4 ip igmp snooping vlan <1-3000> immediate-leave ........3 show ip igmp snooping ..............
  • Page 4 show gvrp interface IFNAME ............11 garp join-timer <1-100000000> ............11 garp leaveall-timer <1-100000000> ..........11 4.10 garp leave-timer <1-100000000> ........... 12 4.11 show garp timer IFNAME ............... 12 5. VLAN: ..................13 show vlan name VLANAME ............13 vlan <2-3000> ................13 show vlan [VLANID] ...............
  • Page 5 6.15 show dot1x radius ................23 6.16 show dot1x user ................. 23 7. Mirror ..................23 mirror session <1-8> destination IFNAME ........23 mirror session <1-8> source IFLIST (rx|tx|both)) ......24 show mirror session ............... 24 no mirror session <1-8> source IFLIST ......... 25 8.
  • Page 6 10.4 show mac-address-table aging-time ..........34 10.5 mac-address-table static MACADDR VLANID IFNAME ....34 10.6 mac-address-table multicast MACADDR vlan VLANID interface IFLIST COS_DEST ................ 35 10.7 no mac-address-table multicast MACADDR vlan VLANID interface IFLIST COS_DEST ................ 35 10.8 show mac-address-table multicast ..........36 10.9 show mac-address-table static mac [MAC_ADDR] .......
  • Page 7 10.31 spanning-tree forward-time <4-30> ..........45 10.32 spanning-tree hello time <1-10> ............ 45 10.33 spanning-tree link-type (auto|point-to-point|shared) ...... 46 10.34 spanning-tree max-age <6-40> ............46 10.35 spanning-tree port-priority <0-240> ..........47 10.36 spanning-tree priority <0-61440> ........... 47 10.37 spanning-tree transmission-limit <1-10> ........48 10.38 spanning-tree mode (pvst|rapid-pvst) ..........
  • Page 8 11.4 show snmp-server community network .......... 56 11.5 show snmp-server contact ............. 56 11.6 show snmp-server host ..............56 11.7 show snmp-server location ............57 11.8 show snmp-server trap community ..........57 11.9 snmp-server community trap WORD ..........57 11.10 snmp-server community WORD (ro/rw) network A.B.C.D/MASK ..
  • Page 9 11.31 show snmp-server view ..............72 11.32 show snmp-server group ............... 72 11.33 show snmp-server user ..............72 11.34 snmp-server host A.B.C.D version (1|2) [COMMUNITY] ....73 11.35 no snmp-server community trap ........... 73 11.36 show rmon alarms ................73 11.37 show rmon events ................
  • Page 10 12.3 show mac access-list [ACLNAME] ..........83 12.4 (permit|deny) any any [IFNAME] ........... 83 12.5 (permit|deny) MACADDR MACADDR any [IFNAME] ....83 12.6 (permit|deny) host MACADDR any [IFNAME]........ 84 12.7 (permit|deny) host MACADDR host MACADDR [IFNAME] ... 85 12.8 (permit|deny) MACADDR MACADDR MACADDR MACADDR [IFNAME] ..................
  • Page 11 [IFNAME] ..................97 13.16 (permit|deny) (ip|tcp|udp|icmp) host IPADDR any [IFNAME] ..97 13.17 (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] ..............98 13.18 (permit|deny) icmp host IPADDR any [<1-255>] code [<1-255>] [IFNAME] ..................99 13.19 (permit|deny) (ip|tcp|udp|icmp) host IPADDR host IPADDR [IFNAME] ..................
  • Page 12 13.34 (permit|deny) (ip|tcp|udp|icmp) any IPADDR MASK [IFNAME] ..112 13.35 (permit|deny) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME] ..............113 13.36 (permit|deny) icmp any IPADDR MASK <1-255> code <1-255> [IFNAME] ..................114 13.37 (permit|deny) (tcp|udp) IPADDR MASK IPADDR MASK [eq] [<0-65535>] [IFNAME] ..............115 13.38 (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] IPADDR MASK [IFNAME] ................115...
  • Page 13 13.53 (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] any [IFNAME] ..................127 13.54 (permit|deny) (tcp|udp) host IPADDR any [eq] [<0-65535>] [IFNAME] ..................128 13.55 (permit|deny) icmp IPADDR MASK IPADDR MASK <1-255> [IFNAME] ..................129 13.56 (permit|deny) icmp host IPADDR IPADDR MASK <1-255> [IFNAME] 13.57 (permit|deny) icmp IPADDR MASK host IPADDR <1-255>...
  • Page 14 (ip|tcp|udp|icmp) IPADDR MASK any [IFNAME] ......141 13.74 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] ..13.75 access-list (<100-199>|<2000-2699>) (deny|permit) icmp IPADDR MASK any <0-255> code <0-255> [IFNAME] ......143 13.76 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) any IPADDR MASK [IFNAME] ......144 13.77 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME] ..
  • Page 15 13.90 access-list (<100-199>|<2000-2699>) (deny|permit) icmp host IPADDR host IPADDR <0-255> code <0-255> [IFNAME] ... 158 13.91 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) any host IPADDR [IFNAME] ......159 13.92 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME] ..160 13.93 access-list (<100-199>|<2000-2699>) (deny|permit) icmp any host IPADDR <0-255>...
  • Page 16 13.107 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [IFNAME] ........ 174 13.108 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] host IPADDR [IFNAME] ........175 13.109 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any host IPADDR [eq] [<0-65535>] [IFNAME] ........176 13.110 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) host IPADDR IPADDR MASK [eq] [<0-65535>] [IFNAME] ....
  • Page 17 14. Port Security ..............190 14.1 show port-security ................ 191 14.2 show port-security address [IFNAME] ......... 191 14.3 show port-security interface [IFNAME] ........191 14.4 switch port-security ..............191 14.5 switch port-security aging-time <0-1440> ........192 14.6 switch port-security aging-type (absolute|inactivity) ..... 192 14.7 switch port-security mac-address MACADDR ......
  • Page 18 15.17 mdix ..................... 201 15.18 description .LINE ................201 15.19 line loopback ................202 16. DHCP Client: ..............202 16.1 ip dhcp client ................202 16.2 no ip dhcp client ................202 16.3 ip dhcp client renew ..............203 17. DHCP Snooping: ............... 203 17.1 ip dhcp snooping ................
  • Page 19 GigaX2024B/M L2 Managed Switch CLI Manual 19.9 copy tftp: URL startup-config ............211 19.10 disable ..................212 19.11 enable ..................212 19.12 end ....................212 19.13 exit ....................213 19.14 hostname WORD ................. 213 19.15 list ....................213 19.16 tracelog add (dhcp-snooping|dot1x|gvrp|igmp-snooping|lacp|stp) 214 19.17 tracelog level (critical | high | low ) ..........
  • Page 20 GigaX2024B/M L2 Managed Switch CLI Manual 19.38 syslog server-ip A.B.C.D .............. 221 19.39 syslog severity <0-7> ..............222 19.40 syslog timestamp ................. 222 19.41 telnet WORD ................222 19.42 telnet WORD PORT ..............223 19.43 traceroute WORD ................ 223 19.44 write .....................
  • Page 21: Cli Command Modes

    GigaX2024B/M L2 Managed Switch CLI Manual CLI Command Modes Command Access method Prompt Exit or Access Next mode Mode. User EXEC This is the first level Switch> Exit to enter the EXIT of access.(For the command. To enter switch) Change privileged EXEC mode, terminal settings, enter the enable command.
  • Page 22: Igmp

    Command Mode: Configure terminal mode No/clear: no ip igmp snooping last-member-query-interval Show: show ip igmp snooping Default: The default is 1second Description: This command sets the interval time for the IGMP queries sent by switch. Example: ASUS(config)# ip igmp snooping last-member-query-interval 100...
  • Page 23: Ip Igmp Snooping Vlan <1-3000

    IGMP snooping function is globally enable. Description: This command sets the IGMP snooping function enabled on indicated vlan. Example: ASUS(config)# ip igmp snooping vlan 1 1.4 ip igmp snooping vlan <1-3000> immediate- leave Syntax: ip igmp snooping vlan <1-3000> immediate-leave...
  • Page 24: Show Ip Igmp Snooping

    IGMP snooping function is globally enable. Description: This command sets the IGMP snooping immediate-leave function enabled on indicated vlan. Example: ASUS(config)# ip igmp snooping vlan 1 immediate-leave show ip igmp snooping Syntax: show ip igmp snooping Parameters: snooping Snooping information on all Vlans...
  • Page 25: Lacp

    This command sets the Link Aggregation Control Protocol (LACP) operation add/set for the trunk group ports on the switch stack or on a standalone switch. Example ASUS(config)# lacp aggregation-link group <1-32> (add|set) fa1/0/1-4 lacp aggregation-link group delete IFNAME Syntax lacp aggregation-link group delete IFNAME...
  • Page 26: Lacp System-priority <1-65535

    This command sets the Link Aggregation Control Protocol (LACP) operation add/set or disable for the trunk group ports on the switch stack or on a standalone switch. Example ASUS(config)# lacp aggregation-link group delete fa1/0/1 lacp system-priority <1-65535> Syntax lacp system-priority <1-65535>...
  • Page 27: Static Link Aggregation

    Use the aggregation-link trunk group configuration command on the switch stack or standalone switch to configure trunk aggregation group. Example ASUS(config)#aggregation-link group 1 fa1/0/1-4 aggregation-link group <1-32> load-balance (src-mac |dst-mac |src-dst-mac |src-ip |dst-ip |src- dst-ip) GX2024B GROUPID range is 1-6 Syntax aggregation-link group <1-32>...
  • Page 28: Show Aggregation-link Group [groupid]

    Example ASUS(config)# aggregation-link group 1 load-balance src-mac show aggregation-link group [GROUPID] GX2024B GROUPID range is 1-6 Syntax show aggregation-link group [GROUPID]...
  • Page 29: Gvrp (enable|disable)

    Description Use the clear gvrp statistics configuration command on the switch stack or standalone switch to clear all the GVRP statistics information on one or all interfaces. Example ASUS(config)# clear gvrp statistics fa1/0/1 gvrp (enable|disable) Syntax gvrp (enable|disable) Parameters disable-> Disable GVRP feature globally on theswitch enable ->...
  • Page 30: Gvrp Registration (normal|fixed|forbidden)

    The default is Normal on each interface after the indicated interface gvrp mode is enabled. Description This command sets the gvrp registration type of the indicated interface. Example ASUS(config-if)# gvrp registration fixed show gvrp Syntax show gvrp configuration IFNAME Parameters gvrp...
  • Page 31: Show Gvrp Interface Ifname

    GigaX2024B/M L2 Managed Switch CLI Manual Default Description To show gvrp statistics IFNAME status. Example ASUS# show gvrp statistics fa1/0/1 4.7 show gvrp interface IFNAME Syntax show gvrp interface IFNAME Parameters gvrp General Attribute Registration Protocol [IFNAME] Interface’s name, ex: fastethernet1/0/1 or gigabitethernet1/0/26...
  • Page 32: Garp Leave-timer <1-100000000

    IFNAME Parameters timer the setting timer values (join, leave, and leaveall timer) [IFNAME] Interface’s name, ex: fastethernet1/0/1 or gigabitethernet1/0/26 Command Mode Privileged EXEC mode Default Description To show garp timer IFNAME status. Example ASUS# show garp timer fa1/0/1...
  • Page 33: Vlan

    Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch. Example ASUS#show vlan name VLAN1 vlan <2-3000> Syntax vlan <2-3000> Parameters...
  • Page 34: Name Vlaname

    [VLANID] Default None or depends on ODM customer Description Set access mode characteristics of all interfaces and Set Virtual Example ASUS(config-if)#switchport access vlan 2 switchport mode (access|trunk) Syntax switchport mode (access|trunk) Parameters access the interface in access mode...
  • Page 35: Switchport Trunk Native Vlan <1-3000

    Show show vlan [VLANID] Default None or depends on ODM customer Description Set native vlan of the port Example ASUS(config-if)#switchport trunk native vlan 2 switchport trunk allowed vlan (add|remove) VLANLIST Syntax switchport trunk allowed vlan (add|remove) VLANLIST Parameters trunk trunk characteristics...
  • Page 36: Dot1x Guest-vlan <1-3000

    VLANs that can receive and send traffic on this interface in tagged format when in trunking mode Example ASUS(config-if)# switchport trunk allowed vlan add 2-20 802.1x: 6.1 dot1x guest-vlan <1-3000>...
  • Page 37: Dot1x Port-control (auto|force-authorized| Force-unauthorized)

    Use the dot1x port-control interface configuration command on the switch stack or on a standalone switch to enable manual control of the authorization state of the port. Use the no form of this command to return to the default setting. Example ASUS(config-if)# dot1x port-control auto...
  • Page 38: Dot1x Radius Server A.b.c.d Radius_key [portid]

    / show running-config Default Description This command sets the radius server ip, radius key, and radius port for 802.1X configuration. Example ASUS(config)# dot1x radius server 192.192.1.1 testing 1812 6.5 dot1x radius secondary-server A.B.C.D RADIUS_KEY [PORTID] Syntax dot1x radius secondary-server A.B.C.D RADIUS_KEY [PORTID] Parameters A.B.C.D:...
  • Page 39: Dot1x Re-authenticate Interface [ifname]

    Use the dot1x reauthenticate privileged EXEC command on the switch stack or on a standalone switch to manually initiate a re-authentication of all 802.1X-enabled ports or the specified 802.1X-enabled port. Example ASUS(config)# dot1x re-authenticate interface fa1/0/1 6.7 dot1x reauthentication Syntax dot1x reauthentication...
  • Page 40: Dot1x Timeout (reauth-period| Quiet-period|tx-period| Supp-timeout| Server-timeout) Timevalue

    Use the dot1x system-auth-control global configuration command on the switch stack or on a standalone switch to globally enable 802.1X. Use the no form of this command to return to the default setting. Example ASUS(config)# dot1x system-auth-control 6.9 dot1x timeout (reauth-period| quiet-period|tx- period| supp-timeout| server-timeout) TIMEVALUE Syntax...
  • Page 41: Dot1x Host-mode (multi-host| Single-host)

    GigaX2024B/M L2 Managed Switch CLI Manual server-timeout: 20 seconds Description This command sets the dot1x reauthentication timer. Example ASUS(config-if)# dot1x timeout reauth-period 3600 6.10 dot1x host-mode (multi-host| single-host) Syntax dot1x host-mode (multi-host| single-host) Parameters multi-host: Enable multiple-hosts mode on the switch single-host: Enable single-host mode on the switch...
  • Page 42: Show Dot1x

    No/clear no dot1x username WORD Show show dot1x username Default Description Add user into local radius database. Example ASUS(config)#dot1x user test testing123 1 6.13 show dot1x Syntax show dot1x Parameters dot1x Get IEEE 802.1x information Command Mode Privileged EXEC mode Default...
  • Page 43: Show Dot1x Radius

    GigaX2024B/M L2 Managed Switch CLI Manual Example ASUS#show dot1x interface fa1/0/1 6.15 show dot1x radius Syntax show dot1x radius Parameters radius Remote Access Dial-In User Service Command Mode Privileged EXEC mode Default None or depends on ODM customer Description Use the show dot1x radius privileged EXEC command to display 802.1X Remote Access Dial-In User Service statistics,...
  • Page 44: Mirror Session <1-8> Source Iflist (rx|tx|both))

    No/clear No mirror session <1-8> Default Disable Description To set monitor port in mirror mode Example ASUS(config)# mirror session 1 destination fa1/0/1 mirror session <1-8> source IFLIST (rx|tx|both)) Syntax mirror session <1-8> source IFLIST (rx|tx|both) Parameters IFLIST source interface list ,ex fa1/0/1,fai1/0/3-5,gi1/0/26 both ->...
  • Page 45: No Mirror Session <1-8> Source Iflist

    Default There are some mirroring rules on Switch. Description This command resets the source interfaces’ received or transmitted traffic or both the destination interface. Example ASUS(config)#no mirror session 1 source fa1/0/2-4 QoS/CoS 8.1 cos cos-map PRIORITY QUEUE GX2024B Queue range is 1-4 Syntax cos cos-map <0-7>...
  • Page 46: Cos Policy Wrr-queue Weight <1-10> <1-10> <1-10> <1-10> <1-10> <1-10

    Show show qos wrr-queue weights Default Description This command show the weight for each cos queue Example ASUS(config)#cos policy wrr-queue weight 2 3 4 5 6 7 cos policy strict Syntax cos policy strict Parameters high_first All High before Low...
  • Page 47: Show Cos Policy

    Interface’s name, ex: fa1/0/1 or fa1/0/12 Command Mode Privileged EXEC mode No/clear Show Default None or depends on ODM customer Description This command used to show the Qos bandwidth informational parameter for the outcoming packets. Example ASUS# show qos egress bandwidth fa1/0/1...
  • Page 48: Show Qos Ingress Bandwidth [ifname]

    None or depends on ODM customer Description This command used to show the Qos bandwidth informational parameter for the outcoming packets. Example ASUS# show qos ingress bandwidth fa1/0/1 qos egress bandwidth <1-1000> GX2024B doesn’t support this function. Syntax qos egress bandwidth <1-1000>...
  • Page 49: Qos Ingress Bandwidth <1-1000

    Default None or depends on ODM customer Description This command used to set the Qos bandwidth informational parameter for the outcoming packets. Example ASUS(config-if)# qos ingress bandwidth 20 8.11 no qos ingress bandwidth Syntax no qos ingress bandwidth Parameters ingress...
  • Page 50: Cos Policy Fifo

    Default None or depends on ODM customer Description This command used to disable the Qos bandwidth informational parameter for the outcoming packets. Example ASUS(config-if)#no qos ingress bandwidth 8.12 cos policy fifo Syntax cos policy fifo Parameters Fcfs first come fisrt service Command Mode Configure terminal mode...
  • Page 51: No Storm-control (broadcast|dlf|multicast)

    None or depends on ODM customer Description Use the storm-control configuration command on the switch stack or standalone switch to set the limit rate of the port’s total bandwidth used by broadcast/dlf/multicast. Example ASUS(config-if)# storm-control multicast 4096 9.2 no storm-control (broadcast|dlf|multicast) Syntax no storm-control (broadcast|dlf|multicast) Parameters...
  • Page 52: Show Storm-control (broadcast|dlf|multicast)

    Example ASUS# show storm-control dlf 10. M A C a d d r e s s m a n a g e m e n t Configuration: 10.1 clear mac-address-table dynamic vlan...
  • Page 53: Mac-address-table Aging-time Timevalue

    GigaX2024B/M L2 Managed Switch CLI Manual database. Example ASUS(config)# clear mac-address-table dynamic vlan 1 10.2 mac-address-table aging-time TIMEVALUE Syntax mac-address-table aging-time TIMEVALUE Parameters aging-time the length of time that a dynamic entry remains in the MAC address table TIMEVALUE Aging time in seconds (10~1000000)
  • Page 54: Show Mac-address-table Aging-time

    GigaX2024B/M L2 Managed Switch CLI Manual The real aging-time is the triple of the command input radix number. Example ASUS(config)# no mac-address-table aging-time 10.4 show mac-address-table aging-time Syntax show mac-address-table aging-time Parameters aging-time the length of time that a dynamic entry remains in...
  • Page 55: Mac-address-table Multicast Macaddr Vlan Vlanid Interface Iflist Cos_dest

    Description Use the mac-address-table static configuration command on the switch stack or on a standalone switch to add unicast static addresses to the MAC address table. Example ASUS(config)# mac-address-table static 0000.0000.0001 2 fa1/0/2 10.6 mac-address-table multicast MACADDR vlan VLANID interface IFLIST COS_DEST Syntax...
  • Page 56: Show Mac-address-table Multicast

    Use the no mac-address-table multicast configuration command on the switch stack or on a standalone switch to remove multicast static port to the MAC address table. Example ASUS(config)# no mac-address-table multicast 0100.5e0a.0a0a vlan 1 interface fa1/0/2-5 3 10.8 show mac-address-table multicast Syntax...
  • Page 57: Show Mac-address-table Static Mac [mac_addr]

    None or depends on ODM customer Description Use the show mac-address-table ucast static user EXEC command to display static/dynamic ucast MAC address table entries only. Example ASUS# show mac-address-table static mac 0000.0000.0001 10.10 show mac-address-table static interface [IFNAME] Syntax show mac-address-table static interface [IFNAME] Parameters [IFNAME] Interface’s name...
  • Page 58: Show Mac-address-table Static

    None or depends on ODM customer Description Use the show mac-address-table ucast static user EXEC command to display static ucast MAC address table entries only. Example ASUS# show mac-address-table static 10.13 show mac-address-table Syntax show mac-address-table Parameters Command Mode Privileged EXEC mode...
  • Page 59: Show Mac-address-table Dynamic

    GigaX2024B/M L2 Managed Switch CLI Manual Use the command in privileged EXEC mode to display specific multicast entries. Example ASUS# show mac-address-table multicast 0100.5e0a.0a0a vlan 10.15 show mac-address-table dynamic Syntax show mac-address-table dynamic Parameters Command Mode Privileged EXEC mode Default...
  • Page 60: Show Mac-address-table Dynamic Vlan [vlanid]

    None or depends on ODM customer Description Use the show mac-address-table ucast dynamic user EXEC command to display dynamic ucast MAC address table entries only. Example ASUS# show mac-address-table dynamic mac 0000.0000.0001 10.18 show mac-address-table dynamic vlan [VLANID] Syntax show mac-address-table dynamic vlan [VLANID] Parameters...
  • Page 61: Clear Mac-address-table Dynamic Interface Ifname

    Description Use the write configuration command on the switch stack or standalone switch to clear dynamic L2 MAC addresses in the database. Example ASUS(config)# clear mac-address-table dynamic interface fa1/0/1 10.22 clear mac-address-table dynamic vlan VLANID Syntax clear mac-address-table dynamic vlan VLANID...
  • Page 62: Clear Mac-address-table Interface Ifname

    None or depends on ODM customer Description Use the write configuration command on the switch stack or standalone switch to clear dynamic L2 MAC addresses in the database. Example ASUS(config)# clear mac-address-table dynamic vlan 1 10.23 clear mac-address-table interface IFNAME Syntax clear mac-address-table interface IFNAME Parameters [IFNAME] Interface’s name...
  • Page 63: Clear Mac-address-table Vlan Vlanid

    Description Use the write configuration command on the switch stack or standalone switch to clear dynamic L2 MAC addresses in the database. Example ASUS(config)# clear mac-address-table dynamic vlan 1 Spanning Tree Protocol: 10.26 show spanning-tree summary Syntax show spanning-tree summary...
  • Page 64: Spanning-tree (enable|disable)

    GigaX2024B/M L2 Managed Switch CLI Manual Default Description To show spanning-tree summary. Example ASUS# show spanning-tree interface fa1/0/1 10.28 spanning-tree (enable|disable) Syntax spanning-tree (enable|disable) Parameters disable -> disables the Spanning Tree algorithm globally for the switch enable -> enables the Spanning Tree algorithm...
  • Page 65: Spanning-tree Forward-time <4-30

    Description Use the spanning-tree cost configuration command on the switch stack or standalone switch to set the spanning-tree bridge forward delay time (sec). Example ASUS(config)# spanning-tree forward-time 15 10.32 spanning-tree hello time <1-10> Syntax spanning-tree hello time <1-10> Parameters hello...
  • Page 66: Spanning-tree Link-type (auto|point-to-point|shared)

    2 sec Description Use the spanning-tree cost configuration command on the switch stack or standalone switch to set the hello time to send hello BPDUs. Example ASUS(config)# spanning-tree hello time 2 10.33 spanning-tree link-type (auto|point-to- point|shared) Syntax spanning-tree link-type (auto|point-to-point|shared) Parameters...
  • Page 67: Spanning-tree Port-priority <0-240

    Description Use the spanning-tree max-age configuration command on the switch stack or standalone switch to set the spanning-tree interval (sec) between messages the spanning tree receive. Example ASUS(config)# spanning-tree max-age 20 10.35 spanning-tree port-priority <0-240> Syntax spanning-tree port-priority <0-240> Parameters...
  • Page 68: Spanning-tree Transmission-limit <1-10

    GigaX2024B/M L2 Managed Switch CLI Manual Description Use the spanning-tree priority configuration command on the switch stack or standalone switch to set the spanning-tree switch priority Example ASUS(config)# spanning-tree priority 32768 10.37 spanning-tree transmission-limit <1-10> Syntax spanning-tree transmission-limit <1-10> Parameters transmission-limit...
  • Page 69: Spanning-tree Uplink-fast

    Command Mode Configure terminal mode No/clear No spanning-tree algorithm-timer Show show spanning-tree active Default Description This command sets spanning-tree parameter to default Example ASUS(config)# spanning-tree algorithm-time 10 2 6 10.41 spanning-tree bpdu-guard (enable|disable) Syntax spanning-tree bpdu-guard (enable|disable) Parameters Enable...
  • Page 70: Spanning-tree Mst Max-hops [1-40]

    Show Default None or depends on ODM customer Description MSTP BPDU max passed hop count(default:20hops) Examples ASUS(config)# spanning-tree mst max-hops 20 10.43 no spanning-tree mst max-hops Syntax no spanning-tree mst max-hops Parameters Command Mode configuration terminal mode show Default...
  • Page 71: Show Spanning-tree Mst Configuration

    None or depends on ODM customer Description MSTP Configuration (Region Name/Revision/VID Mapping) Examples ASUS# show spanning-tree mst configuration 10.46 show spanning-tree mst <1-15> Syntax show spanning-tree mst <1-15> Parameters Command Mode Privileged EXEC mode Default None or depends on ODM customer...
  • Page 72: Spanning-tree Mode Mst

    GigaX2024B/M L2 Managed Switch CLI Manual Default None or depends on ODM customer Description MSTP Instance target Port Configuration Examples ASUS# show spanning-tree mst instance 1 interface fa1/0/1 10.48 spanning-tree mode mst Syntax spanning-tree mode mst Parameters Command Mode configuration terminal mode Default...
  • Page 73: Spanning-tree Mst Name [name]

    Spanning-tree mst instance [msti] vlan [vids] Parameters Command Mode Configure terminal mode No/clear no instance [msti] Show Default None or depends on ODM customer Description VLAN(VLAN ID) mst instance Result ASUS(config)# spanning-tree mst instance 2 vlan 3-100 10.54 spanning-tree mst [mstis] cost [value]...
  • Page 74: Spanning-tree Mst [mstis] Port-priority [value]

    [mstis] cost Show Default None or depends on ODM customer Description Setup path cost for a specific port Examples ASUS(config)#interfcae fa1/0/1 ASUS(config-if)#spanning-tree mst 1 cost 2000 10.55 spanning-tree mst [mstis] port-priority [value] Syntax spanning-tree mst [mstis] port-priority [value] Parameters mstis...
  • Page 75: Show Rmon Statistics [ifname]

    <1-8> stack id Command Mode Privileged EXEC mode Default Description To show rmon statistics with specific stack id. Examples ASUS# show rmon statistics stack 1 11.3 show snmp-server community Syntax show snmp-server community Parameters snmp-server the SNMP server community SNMP server community...
  • Page 76: Show Snmp-server Community Network

    SNMP server community network the network bind to this community Command Mode Privileged EXEC mode Default Description To show snmp-server community network. Examples ASUS# show snmp-server community network 11.5 show snmp-server contact Syntax show snmp-server contact Parameters snmp-server the SNMP server contact...
  • Page 77: Show Snmp-server Location

    SNMP server community SNMP server community Command Mode Privileged EXEC mode Default Description To show snmp-server trap community. Examples ASUS# show snmp-server trap community 11.9 snmp-server community trap WORD Syntax snmp-server community trap WORD Parameters community SNMP server community trap for trap use...
  • Page 78: Snmp-server Community Word (ro/rw) Network A.b.c.d/mask

    WORD (ro|rw) network A.B.C.D/ MASK Show show snmp-server community / show running-config Default Public, and the network is 0.0.0.0/0.0.0.0 Description This command create a new community string (max 30 characters). Examples ASUS(config)# snmp-server community public ro network 192.192.1.1/24 11.11 snmp-server contact DWORD...
  • Page 79: Snmp-server Host A.b.c.d

    Default None or depends on ODM customer Description This command sets the SNMP Contact information Examples ASUS(config)# snmp-server contact asus@asus.com.tw 11.12 snmp-server host A.B.C.D Syntax snmp-server host A.B.C.D Parameters host the recipient (host) of a SNMP notification operation A.B.C.D...
  • Page 80: Snmp-server User Word Word V3 Noauth

    Default None Description Define a user who can access the SNMP engine Examples ASUS(config)# snmp-server user test g1 v3 noauth 11.15 snmp-server user WORD WORD v3 auth (md5|sha) WORD Syntax snmp-server user WORD WORD v3 auth (md5|sha) WORD Parameters...
  • Page 81: Snmp-server User Word Word V3 Priv (md5|sha) Word Des Word

    Default None Description Define a user who can access the SNMP engine Examples ASUS(config)# snmp-server user test g1 v3 auth sha 12345678 11.16 snmp-server user WORD WORD v3 priv (md5|sha) WORD des WORD Syntax snmp-server user WORD WORD v3 priv (md5|sha) WORD des...
  • Page 82: Snmp-server Group Word V3 Word

    Default None Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 test 11.18 snmp-server group WORD v3 noauth Syntax snmp-server group WORD v3 noauth Parameters group Configure a new SNMP group, that maps...
  • Page 83: Snmp-server Group Word V3 Noauth Read Word

    Default None Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 noauth read r1 11.20 snmp-server group WORD v3 noauth read WORD write WORD Syntax snmp-server group WORD v3 noauth read WORD write WORD Parameters group...
  • Page 84: Snmp-server Group Word V3 Noauth Read Word Write Word Notify Word

    Default None Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 noauth read r1 write 11.21 snmp-server group WORD v3 noauth read WORD write WORD notify WORD Syntax snmp-server group WORD v3 noauth read WORD write WORD notify WORD...
  • Page 85: Snmp-server Group Word V3 Auth

    Default None Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 noauth read r1 write w1 notify n1 11.22 snmp-server group WORD v3 auth Syntax snmp-server group WORD v3 auth Parameters group...
  • Page 86: Snmp-server Group Word V3 Auth Read Word

    Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 auth read r1 11.24 snmp-server group WORD v3 auth read WORD write WORD Syntax snmp-server group WORD v3 noauth read WORD write WORD...
  • Page 87: Snmp-server Group Word V3 Auth Read Word Write Word Notify Word

    Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 auth read r1 write w1 11.25 snmp-server group WORD v3 auth read WORD write WORD notify WORD Syntax snmp-server group WORD v3 auth read WORD write WORD...
  • Page 88: Snmp-server Group Word V3 Priv

    Default None Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 auth read r1 write w1 notify n1 11.26 snmp-server group WORD v3 priv Syntax snmp-server group WORD v3 priv Parameters group...
  • Page 89: Snmp-server Group Word V3 Priv Read Word

    Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 priv read r1 11.28 snmp-server group WORD v3 priv read WORD write WORD Syntax snmp-server group WORD v3 priv read WORD write WORD...
  • Page 90: Snmp-server Group Word V3 Priv Read Word Write Word Notify Word

    Description Configure a new SNMP group, that maps SNMP users to SNMP users Examples ASUS(config)# snmp-server group g1 v3 priv read r1 write w1 11.29 snmp-server group WORD v3 priv read WORD write WORD notify WORD Syntax snmp-server group WORD v3 priv read WORD write WORD...
  • Page 91: Snmp-server View Word Word (included|excluded)

    Examples ASUS(config)# snmp-server group g1 v3 priv read r1 write w1 notify n1 11.30 s n m p - s e r v e r v i e w W O R D W O R D...
  • Page 92: Show Snmp-server View

    Show the view name which is used to reference the record Command Mode Privileged EXEC mode Default Description Show the view name which is used to reference the record. Examples ASUS# show snmp-server view 11.32 show snmp-server group Syntax show snmp-server group Parameters snmp-server the SNMP server...
  • Page 93: Snmp-server Host A.b.c.d Version (1|2) [community]

    / show running-config Default None or depends on ODM customer Description This command sets the SNMP Contact information Examples ASUS(config)# snmp-server host 192.192.1.11 version 1 abcd 11.35 no snmp-server community trap Syntax No snmp-server community trap Parameters community...
  • Page 94: Show Rmon Events

    GigaX2024B/M L2 Managed Switch CLI Manual Parameters Command Mode Privileged EXEC mode Default Description Displays the RMON alarm table Examples ASUS# show rmon alarms 11.37 show rmon events Syntax show rmon alarms Parameters Command Mode Privileged EXEC mode Default Description...
  • Page 95: Rmon Alarm <1-65536> Oid <1-4294967295> (absolute|delta) Rising-threshold Value <1-65535> Falling-threshold Value [owner]

    No/clear no rmon alarm <1-65536> Default Description To add rmon alarm entry Examples ASUS(config)# rmon alarm 33 1.3.6.1.2.1.16.1.1.1.5.1 10 delta rising-threshold 10000 10 falling-threshold 1000 20 asus 11.40 rmon alarm <1-65536> OID <1-4294967295> (absolute|delta) rising-threshold VALUE <1-65535> falling-threshold VALUE [OWNER] Syntax rmon alarm <1-65536> OID <1-4294967295> (absolute|delta) rising-threshold VALUE <1-65535>...
  • Page 96: Rmon Alarm <1-65536> Oid <1-4294967295> (absolute|delta) Rising- Threshold Value Falling-threshold Value <1-65535> [owner]

    No/clear no rmon alarm <1-65536> Default Description To add rmon alarm entry Examples ASUS(config)# rmon alarm 33 1.3.6.1.2.1.16.1.1.1.5.1 10 delta rising-threshold 10000 10 falling-threshold 1000 asus 11.41 rmon alarm <1-65536> OID <1-4294967295> (absolute|delta) rising-threshold VALUE falling- threshold VALUE <1-65535> [OWNER] Syntax rmon alarm <1-65536> OID <1-4294967295> (absolute|delta) rising-threshold VALUE falling-threshold VALUE <1-65535>...
  • Page 97: Rmon Alarm <1-65536> Oid <1-4294967295> (absolute|delta) Rising- Threshold Value Falling-threshold Value [owner]

    No/clear no rmon alarm <1-65536> Default Description To add rmon alarm entry Examples ASUS(config)# rmon alarm 33 1.3.6.1.2.1.16.1.1.1.5.1 10 delta rising-threshold 10000 falling-threshold 1000 10 asus 11.42 rmon alarm <1-65536> OID <1-4294967295> (absolute|delta) rising-threshold VALUE falling- threshold VALUE [OWNER] Syntax rmon alarm <1-65536> OID <1-4294967295> (absolute|delta)
  • Page 98: Rmon Event <1-65536> Description Name [owner]

    GigaX2024B/M L2 Managed Switch CLI Manual Default Description To add rmon alarm entry Examples ASUS(config)# rmon alarm 33 1.3.6.1.2.1.16.1.1.1.5.1 10 delta rising-threshold 10000 falling-threshold 1000 asus 11.43 rmon event <1-65536> description NAME [OWNER] Syntax rmon event <1-65536> description NAME [OWNER] Parameters <1-65536>...
  • Page 99: Rmon Event <1-65536> Description Name Trap Community [owner]

    Command Mode Configure terminal mode No/clear no rmon evnet <1-65536> Default Description To add RMON event entry Examples ASUS(config)# rmon event 20 description falling-threshold trap public asus 11.46 rmon event <1-65536> description NAME log trap COMMUNITY [OWNER] Syntax rmon event <1-65536> description NAME trap COMMUNITY [OWNER] Parameters <1-65536>...
  • Page 100: Rmon History <1-65536> Ifname [owner]

    GigaX2024B/M L2 Managed Switch CLI Manual Default Description To add RMON event entry Examples ASUS(config)# rmon event 20 description falling-threshold log trap public asus 11.47 rmon history <1-65536> IFNAME [OWNER] Syntax rmon history <1-65536> IFNAME [OWNER] Parameters <1-65536> Specify the RMON group of statistics IFNAME Interface name (e.g.;...
  • Page 101: Rmon History <1-65536> Ifname Interval <1-4294967295> [owner]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config)# rmon history 20 fa1/0/1 buckets 30 asus 11.49 rmon history <1-65536> IFNAME interval <1-4294967295> [OWNER] Syntax rmon history <1-65536> IFNAME interval <1-4294967295> [OWNER] Parameters <1-65536> Specify the RMON group of statistics IFNAME Interface name (e.g.; fastethernet1/0/1)
  • Page 102: Acl : Mac Filter

    Command Mode Configure terminal mode No/clear no rmon history <1-65536> Default Description To add RMON history entry Examples ASUS(config)# rmon history 20 fa1/0/1 buckets 30 interval 30 asus 12. ACL : MAC Filter 12.1 mac access-list extended WORD Syntax mac access-list extended WORD Parameters...
  • Page 103: Show Mac Access-list [aclname]

    GigaX2024B/M L2 Managed Switch CLI Manual display the parameters for an mac access on the switch. Examples ASUS# show mac access-group [fa1/0/1] 12.3 show mac access-list [ACLNAME] Syntax show mac access-list [ACLNAME] Parameters [ACLNAME] ex: mac access list name Command Mode Privileged EXEC mode...
  • Page 104: Permit|deny) Host Macaddr Any [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)# permit 0000.0000.0001 0000.0000.0000 any [fa1/0/1] 12.6 (permit|deny) host MACADDR any [IFNAME] Syntax (permit|deny) host MACADDR any [IFNAME] Parameters permit->...
  • Page 105: Permit|deny) Host Macaddr Host Macaddr [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config)# permit host 0000.0000.0001 any[ fa1/0/2] 12.7 (permit|deny) host MACADDR host MACADDR [IFNAME] Syntax (permit|deny) host MACADDR host MACADDR [IFNAME] Parameters permit-> Specify packets to forward deny-> Specify packets to reject. host A single source host MACADDR Source MAC address xxxx.xxxx.xxxx...
  • Page 106: Permit|deny) Host Macaddr Macaddr Macaddr [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)# permit 0000.0000.0001 0000.0000.0000 0000.0000.0002 0000.0000.0000 [fa1/0/2] 12.9 (permit|deny) host MACADDR MACADDR MACADDR [IFNAME] Syntax (permit|deny) host MACADDR MACADDR MACADDR...
  • Page 107: Permit|deny) Macaddr Macaddr Host Macaddr [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config)# permit host 0000.0000.0001 0000.0000.0002 0000.0000.0000 [fa1/0/2] 12.10 (permit|deny) MACADDR MACADDR host MACADDR [IFNAME] Syntax (permit|deny) MACADDR MACADDR host MACADDR [IFNAME] Parameters permit-> Specify packets to forward deny-> Specify packets to reject. MACADDR Source MAC address xxxx.xxxx.xxxx...
  • Page 108: Permit|deny) Any Macaddr Macaddr [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)# permit any host 0000.0000.0002 [fa1/0/1] 12.12 (permit|deny) any MACADDR MACADDR [IFNAME] Syntax (permit|deny) any MACADDR MACADDR [IFNAME] Parameters permit->...
  • Page 109: Acl: Ip Filter

    [INTERFACE] Default Description This command define an extended MAC access list using a name , and enter access-list configuration mode. Examples ASUS(config-if)# mac access-group abc in 13. ACL: IP Filter 13.1 ip access-list extended (<100-199>|<2000-269 9>|WORD) Syntax ip access-list extended (<100-199>|<2000-2699>|WORD)
  • Page 110: Ip Access-list Standard (<1-99>|<1300-1999>|word)

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config)# ip access-list extended 100 13.2 ip access-list standard (<1-99>|<1300-1999>| WORD) Syntax ip access-list standard (<1-99>|<1300-1999>|WORD) Parameters Global IP configuration subcommands Access-list named access-list standard standard access-list <1-99> -> standard IP access-list number <1300-1999>...
  • Page 111: Show Ip Access List Word

    Description Use the show ip access lists WORD EXEC command to display the parameters for an ip access on the switch. Examples ASUS# show ip access list abc 13.6 show ip access list (<1-99>|<100-199>|<1300- 1999>|<2000-2699>|WORD) Syntax show ip access list (<1-99>|<100-199>|<1300-1999>|<2000-269 9>|WORD)
  • Page 112: Permit|deny) Host Ipaddr [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-std-nacl)#permit host 10.0.0.1 [fa1/0/1] 13.9 (permit|deny) IPADDR MASK [IFNAME] Syntax (permit|deny) IPADDR MASK [IFNAME] Parameters permit-> Specify packets to forward deny->...
  • Page 113: Permit|deny) (ip|tcp|udp|icmp) Any Any [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-std-nacl)#permit 10.0.0.1 0.0.0.0 [fa1/0/1] 13.10 (permit|deny) (ip|tcp|udp|icmp) any any [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) any any [IFNAME] Parameters permit->...
  • Page 114: Permit|deny) (tcp|udp) Any [eq] [<0-65535>] Any [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp any eq 100 any eq 100 [fa1/0/1] 13.12 (permit|deny) icmp any any [<1-255>] code [<1-255>] [IFNAME] Syntax...
  • Page 115: Permit|deny) (ip|tcp|udp|icmp) Ipaddr Mask Any [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit icmp any any 12 code 12 [fa1/0/1] 13.13 (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK any [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK any [IFNAME] Parameters permit->...
  • Page 116: Permit|deny) (tcp|udp) Ipaddr Mask [eq] [<0-65535>] Any [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit ip 10.0.0.1 0.0.0.0 any [fa1/0/1] 13.14 (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME]...
  • Page 117: Permit|deny) Icmp Ipaddr Mask Any <1-255> Code <1-255

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config-ext-acl)#permit tcp 10.0.0.1 0.0.0.0 eq 12 any eq 12 [fa1/0/1] 13.15 (permit|deny) icmp IPADDR MASK any <1-255> code <1-255> [IFNAME] Syntax (permit|deny) icmp IPADDR MASK any [<1-255>] code [<1-255>] [IFNAME] Parameters permit-> Specify packets to forward deny->...
  • Page 118: Permit|deny) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Any [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit ip host 10.0.0.1 any [fa1/0/1] 13.17 (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME]...
  • Page 119: Permit|deny) Icmp Host Ipaddr Any [<1-255>] Code [<1-255>] [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp host 10.0.0.1 eq 6 any eq 65 [fa1/0/1] 13.18 (permit|deny) icmp host IPADDR any [<1-255>] code [<1-255>] [IFNAME] Syntax (permit|deny) icmp host IPADDR any [<1-255>] code [<1-255>]...
  • Page 120: Permit|deny) (ip|tcp|udp|icmp) Host Ipaddr Host Ipaddr [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit icmp host 10.0.0.1 any 12 code 12 [fa1/0/1] 13.19 (permit|deny) (ip|tcp|udp|icmp) host IPADDR host IPADDR [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) host IPADDR host IPADDR...
  • Page 121: Permit|deny) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Host Ipaddr [eq] [<0-65535>] [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp host 10.0.0.1 eq 655 host 10.0.0.2 eq 65 [fa1/0/2] 13.21 (permit|deny) icmp host IPADDR host IPADDR [<1-255>] code [<1-255>] [IFNAME] Syntax (permit|deny) icmp host IPADDR host IPADDR [<1-255>] code...
  • Page 122: Permit|deny) (ip|tcp|udp|icmp) Ipaddr Mask Ipaddr Mask [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit icmp host 10.0.0.1 host 10.0.0.2 2 code 2 [fa1/0/1] 13.22 (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK IPADDR MASK [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK IPADDR MASK...
  • Page 123: Permit|deny) (tcp|udp) Ipaddr Mask [eq] [<0-65535>] Ipaddr Mask [eq] [<0-65535>] [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit ip 10.0.0.1 0.0.0.0 10.0.0.2 0.0.0.0 [fa1/0/1] 13.23 (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp|) IPADDR MASK [eq] [<0-65535>]...
  • Page 124: Permit|deny) Icmp Ipaddr Mask Ipaddr Mask <1-255> Code <1-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp 10.0.0.1 0.0.0.0 eq 2 10.0.0.2 0.0.0.0 eq 3 [fa1/0/1] 13.24 (permit|deny) icmp IPADDR MASK IPADDR MASK <1-255> code <1-255> [IFNAME] Syntax (permit|deny) icmp IPADDR MASK IPADDR MASK <1-255>...
  • Page 125: Permit|deny) (ip|tcp|udp|icmp) Host Ipaddr Ipaddr Mask [ifname]

    (permit|deny) (ip|tcp|udp|icmp) host IPADDR IPADDR MASK [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp host 10.0.0.1 10.0.0.2 0.0.0.0 [fa1/0/2]...
  • Page 126: Permit|deny) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Ipaddr Mask [eq] [<0-65535>] [ifname]

    IPADDR MASK [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp host 10.0.0.1 eq 2 10.0.0.2 0.0.0.0 eq 2 [fa1/0/2]...
  • Page 127: Permit|deny) Icmp Host Ipaddr Ipaddr Mask <1-255> Code <1-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit icmp host 10.0.0.1 10.0.0.2 0.0.0.0 2 code 2 [fa1/0/2] 13.28 (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK host IPADDR [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) IPADDR MASK host IPADDR...
  • Page 128: Permit|deny) (tcp|udp) Ipaddr Mask [eq] [<0-65535>] Host Ipaddr [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp 10.0.0.1 0.0.0.0 host 10.0.0.2 [fa1/0/2] 13.29 (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME]...
  • Page 129: Permit|deny) Icmp Ipaddr Mask Host Ipaddr <1-255> Code <1-255> [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp 10.0.0.1 0.0.0.0 eq 65 host 10.0.0.2 eq 64 [fa1/0/2] 13.30 (permit|deny) icmp IPADDR MASK host IPADDR <1-255> code <1-255> [IFNAME] Syntax (permit|deny) icmp IPADDR MASK host IPADDR <1-255>...
  • Page 130: Permit|deny) (ip|tcp|udp|icmp) Any Host Ipaddr [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit icmp 10.0.0.1 0.0.0.0 host 10.0.0.2 1 code 1 [fa1/0/2] 13.31 (permit|deny) (ip|tcp|udp|icmp) any host IPADDR [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) any host A.B.C.D [IFNAME]...
  • Page 131: Permit|deny) (tcp|udp) Any [eq] [<0-65535>] Host Ipaddr [eq] [<0-65535>] [ifname]

    (permit|deny) (tcp|udp) any [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp any eq 12 host 10.0.0.1 eq 12 [fa1/0/2]...
  • Page 132: Permit|deny) Icmp Any Host Ipaddr <1-255> Code <1-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit icmp any host 10.0.0.1 2 code 2 [fa1/0/2] 13.34 (permit|deny) (ip|tcp|udp|icmp) any IPADDR MASK [IFNAME] Syntax (permit|deny) (ip|tcp|udp|icmp) any IPADDR MASK [IFNAME] Parameters permit->...
  • Page 133: Permit|deny) (tcp|udp) Any [eq] [<0-65535>] Ipaddr Mask [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp any 10.0.0.1 0.0.0.0 [fa1/0/2] 13.35 (permit|deny) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME]...
  • Page 134: Permit|deny) Icmp Any Ipaddr Mask <1-255> Code <1-255> [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp any eq 65 10.0.0.1 0.0.0.0 eq 43 [fa1/0/2] 13.36 (permit|deny) icmp any IPADDR MASK <1-255> code <1-255> [IFNAME] Syntax (permit|deny) icmp any IPADDR MASK <1-255>...
  • Page 135: Permit|deny) (tcp|udp) Ipaddr Mask Ipaddr Mask [eq] [<0-65535>] [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config-ext-acl)# permit icmp any 10.0.0.1 0.0.0.0 2 code 3 [fa1/0/2] 13.37 (permit|deny) (tcp|udp) IPADDR MASK IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp|) IPADDR MASK IPADDR MASK [eq] [<0-65535>] [IFNAME] Parameters permit-> Specify packets to forward deny->...
  • Page 136: Permit|deny) (tcp|udp) Ipaddr A.b.c.d [eq] [<0-65535>] Any [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp 10.0.0.1 0.0.0.0 eq 23 10.0.0.2 0.0.0.0 [fa1/0/1] 13.39 (permit|deny) (tcp|udp) IPADDR A.B.C.D [eq] [<0-65535>] any [IFNAME] Syntax (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] any...
  • Page 137: Permit|deny) (tcp|udp) Ipaddr Mask Any [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp 10.0.0.1 0.0.0.0 eq 22 any [fa1/0/1] 13.40 (permit|deny) (tcp|udp) IPADDR MASK any [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) IPADDR MASK any [eq] [<0-65535>]...
  • Page 138: Permit|deny) (tcp|udp) Ipaddr Mask [eq] [<0-65535>] Host Ipaddr [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp 10.0.0.1 0.0.0.0 any eq 22 [fa1/0/1] 13.41 (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] host IPADDR [IFNAME] Syntax (permit|deny) (tcp|udp) IPADDR MASK [eq] [<0-65535>] host...
  • Page 139: Permit|deny) (tcp|udp) Ipaddr Mask Host Ipaddr [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp 10.0.0.1 0.0.0.0 host 10.0.0.2 eq 2 [fa1/0/1] 13.43 (permit|deny) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [IFNAME] Syntax (permit|deny) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK...
  • Page 140: Permit|deny) (tcp|udp) Any Ipaddr Mask [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp any eq 2 10.0.0.1 0.0.0.0 [fa1/0/1] 13.44 (permit|deny) (tcp|udp) any IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) any IPADDR MASK [eq] [<0-65535>]...
  • Page 141: Permit|deny) (tcp|udp) Any Any [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp any 10.0.0.1 0.0.0.0 eq 2 [fa1/0/1] 13.45 (permit|deny) (tcp|udp) any any [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) any any [eq] [<0-65535>] [IFNAME]...
  • Page 142: Permit|deny) (tcp|udp) Any [eq] [<0-65535>] Any [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config-ext-acl)#permit tcp any any eq 2 [fa1/0/1] 13.46 (permit|deny) (tcp|udp) any [eq] [<0-65535>] any [IFNAME] Syntax (permit|deny) (tcp|udp) any [eq] [<0-65535>] any [IFNAME] Parameters permit-> Specify packets to forward deny-> Specify packets to reject.
  • Page 143: Permit|deny) (tcp|udp) Any Host Ipaddr [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp any eq 2 host 10.0.0.2 [fa1/0/1] 13.48 (permit|deny) (tcp|udp) any host IPADDR [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) any host IPADDR [eq] [<0-65535>]...
  • Page 144: Permit|deny) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Host Ipaddr [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp any host 10.0.0.2 eq 2 [fa1/0/1] 13.49 (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] host IPADDR [IFNAME] Syntax (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] host...
  • Page 145: Permit|deny) (tcp|udp) Host Ipaddr Host Ipaddr [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp host 10.0.0.1 eq 2 host 10.0.0.2 [fa1/0/1] 13.50 (permit|deny) (tcp|udp) host IPADDR host IPADDR [eq] [<0-65535>] [IFNAME]...
  • Page 146: Permit|deny) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Ipaddr Mask [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp host 10.0.0.1 eq 2 10.0.0.2 0.0.0.0 [fa1/0/1] 13.52 (permit|deny) (tcp|udp) host IPADDR IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) host IPADDR IPADDR MASK [eq] [<0-65535>] [IFNAME]...
  • Page 147: Permit|deny) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Any [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp host 10.0.0.1 10.0.0.2 0.0.0.0 eq 2 [fa1/0/1] 13.53 (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] any [IFNAME] Syntax (permit|deny) (tcp|udp) host IPADDR [eq] [<0-65535>] any...
  • Page 148: Permit|deny) (tcp|udp) Host Ipaddr Any [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit tcp host 10.0.0.1 eq 2 any [fa1/0/1] 13.54 (permit|deny) (tcp|udp) host IPADDR any [eq] [<0-65535>] [IFNAME] Syntax (permit|deny) (tcp|udp) host IPADDR any [eq] [<0-65535>]...
  • Page 149: Permit|deny) Icmp Ipaddr Mask Ipaddr Mask <1-255> [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit tcp host 10.0.0.1 any eq 2 [fa1/0/1] 13.55 (permit|deny) icmp IPADDR MASK IPADDR MASK <1-255> [IFNAME] Syntax (permit|deny) icmp IPADDR MASK IPADDR MASK <1-255>...
  • Page 150: Permit|deny) Icmp Ipaddr Mask Host Ipaddr <1-255> [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit icmp host 10.0.0.1 10.0.0.2 0.0.0.0 2 [fa1/0/1] 13.57 (permit|deny) icmp IPADDR MASK host IPADDR <1-255> [IFNAME] Syntax (permit|deny) icmp IPADDR MASK host IPADDR <1-255>...
  • Page 151: Permit|deny) Icmp Any Host Ipaddr <1-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)# permit icmp 10.0.0.1 0.0.0.0 host 10.0.0.2 2 [fa1/0/1] 13.58 (permit|deny) icmp any host IPADDR <1-255> [IFNAME] Syntax (permit|deny) icmp any host IPADDR <1-255>...
  • Page 152: Permit|deny) Icmp Any Ipaddr Mask <1-255> [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config-ext-acl)#permit icmp any host 10.0.0.1 2 [fa1/0/1] 13.59 (permit|deny) icmp any IPADDR MASK <1-255> [IFNAME] Syntax (permit|deny) icmp any IPADDR MASK <1-255> [IFNAME] Parameters permit-> Specify packets to forward deny-> Specify packets to reject.
  • Page 153: Permit|deny) Icmp Ipaddr Mask Any [<1-255>] [ifname]

    (permit|deny) icmp IPADDR MASK any [<1-255>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit icmp 10.0.0.1 0.0.0.0 any 2 [fa1/0/1]...
  • Page 154: Permit|deny) Icmp Host Ipaddr Any [<1-255>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit icmp host 10.0.0.1 any 2 [fa1/0/1] 13.63 (permit|deny) icmp host IPADDR host IPADDR [<1-255>] [IFNAME] Syntax (permit|deny) icmp host A.B.C.D host A.B.C.D [<1-255>]...
  • Page 155: Permit|deny) Ipaddr [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config-ext-acl)#permit icmp host 10.0.0.1 host 10.0.0.2 2 [fa1/0/1] 13.64 (permit|deny) IPADDR [IFNAME] Syntax (permit|deny) A.B.C.D [IFNAME] Parameters permit->...
  • Page 156: Access-list (<1-99>|<100-199>|<1300-1999>|<2000-2699>) Remark .line

    Examples ASUS(config)# access-list 22 remark asus 13.67 a c c e s s - l i s t ( < 1 - 9 9 > | < 1 3 0 0 - 1 9 9 9 > ) (deny|permit) IPADDR MASK [IFNAME] Syntax access-list (<1-99>|<1300-1999>) (deny|permit) IPADDR...
  • Page 157: Access-list (<1-99>|<1300-1999>) (deny|permit) Host Ipaddr

    Examples ASUS(config)# access-list 99 permit 1.1.1.1 0.255.255.0 13.68 a c c e s s - l i s t ( < 1 - 9 9 > | < 1 3 0 0 - 1 9 9 9 > )
  • Page 158: Access-list (<1-99>|<1300-1999>) (deny|permit) Any [ifname]

    Examples ASUS(config)# access-list 99 permit host 1.1.1.1 13.69 a c c e s s - l i s t ( < 1 - 9 9 > | < 1 3 0 0 - 1 9 9 9 > )
  • Page 159: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Ipaddr Mask [eq] [<0-65535>] Ipaddr Mask [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)# access-list 100 permit ip 1.1.1.1 0.0.0.0 1.1.1.3 0.0.0.0 13.71 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>]...
  • Page 160: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Ipaddr Mask Ipaddr Mask <0-255> Code <0-255> [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)# access-list 100 permit tcp 1.1.1.1 0.0.0.0 eq 21 1.1.1.3 0.0.0.0 eq 22 13.72 access-list (<100-199>|<2000-2699>) (deny|permit) icmp IPADDR MASK IPADDR MASK <0-255> code <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp...
  • Page 161: (ip|tcp|udp|icmp) Ipaddr Mask Any [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 1.1.1.1 0.0.0.0 1.1.1.3 0.0.0.0 22 code 3 13.73 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) IPADDR MASK any [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit)
  • Page 162: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 1.1.1.1 0.0.0.0 any 13.74 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 163: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Ipaddr Mask Any <0-255> Code <0-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 eq 23 any eq 22 13.75 access-list (<100-199>|<2000-2699>) (deny|permit) icmp IPADDR MASK any <0-255> code <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp...
  • Page 164: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Any Ipaddr Mask [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 1.1.1.1 0.0.0.0 any 2 code 3 13.76 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) any IPADDR MASK [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit)
  • Page 165: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any [eq] [<0-65535>] Ipaddr Mask [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any 1.1.1.1 0.0.0.0 13.77 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 166: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Any Ipaddr Mask <0-255> Code <0-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any eq 21 1.1.1.1 0.0.0.0 eq 22 13.78 access-list (<100-199>|<2000-2699>) (deny|permit) icmp any IPADDR MASK <0-255> code <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp any...
  • Page 167: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Any Any [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any 1.1.1.1 0.0.0.0 2 code 3 13.79 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) any any [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit)
  • Page 168: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any [eq] [<0-65535>] Any [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any any 13.80 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 169: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Any Any <0-255> Code <0-255> [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any eq 21 any eq 22 13.81 access-list (<100-199>|<2000-2699>) (deny|permit) icmp any any <0-255> code <0-255>...
  • Page 170: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Ipaddr Mask Host Ipaddr [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any any 2 code 3 13.82 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) IPADDR MASK host IPADDR [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit)
  • Page 171: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Ipaddr Mask [eq] [<0-65535>] Host Ipaddr [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 1.1.1.1 0.0.0.0 host 1.1.1.4 13.83 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 172: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Ipaddr Mask Host Ipaddr <0-255> Code <0-255> [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit udp 1.1.1.1 0.0.0.0 eq 21 host 1.1.1.4 eq 22 13.84 access-list (<100-199>|<2000-2699>) (deny|permit) icmp IPADDR MASK host IPADDR <0-255> code <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp...
  • Page 173: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Host Ipaddr Ipaddr Mask [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 1.1.1.1 0.0.0.0 host 1.1.1.4 2 code 3 13.85 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) host IPADDR IPADDR MASK [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit)
  • Page 174: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Ipaddr Mask [eq] [<0-65535>] [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 1.1.1.4 0.0.0.0 13.86 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) host IPADDR [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) host IPADDR [eq] [<0-65535>] IPADDR MASK [eq] [<0-65535>]...
  • Page 175: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Host Ipaddr Ipaddr Mask <0-255> Code <0-255> [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 1.1.1.1 eq 21 1.1.1.4 0.0.0.0 eq 22 13.87 access-list (<100-199>|<2000-2699>) (deny|permit) icmp host IPADDR IPADDR MASK <0-255> code <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp host...
  • Page 176: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Host Ipaddr Host Ipaddr [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 1.1.1.4 0.0.0.0 2 code 3 13.88 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) host IPADDR host...
  • Page 177 GigaX2024B/M L2 Managed Switch CLI Manual permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 host 1.1.1.4 13.89 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) host IPADDR [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 178: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Host Ipaddr Host Ipaddr <0-255> Code <0-255> [ifname]

    This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 eq 21 host 1.1.1.4 eq 21 13.90 access-list (<100-199>|<2000-2699>) (deny|permit) icmp host IPADDR host IPADDR <0-255>...
  • Page 179: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Any Host Ipaddr [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 host 1.1.1.4 3 code 3 13.91 access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) any host IPADDR...
  • Page 180: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any [eq] [<0-65535>] Host Ipaddr [eq] [<0-65535>] [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config)#access-list 100 permit icmp any host 1.1.1.1 13.92 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] host IPADDR [eq] [<0-65535>] [IFNAME]...
  • Page 181: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Any Host Ipaddr <0-255> Code <0-255> [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS(config)#access-list 100 permit tcp any eq 21 host 1.1.1.1 eq 22 13.93 access-list (<100-199>|<2000-2699>) (deny|permit) icmp any host IPADDR <0-255> code <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp any host IPADDR <0-255> code <0-255> [IFNAME]...
  • Page 182: Access-list (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) Host Ipaddr Any [ifname]

    (<100-199>|<2000-2699>) (deny|permit) (ip|tcp|udp|icmp) host IPADDR any [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 any...
  • Page 183: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Any [eq] [<0-65535>] [ifname]

    IPADDR [eq] [<0-65535>] any [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 1.1.1.1 eq 21 any eq 21...
  • Page 184: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Host Ipaddr Any <0-255> Code <0-255> [ifname]

    IPADDR any <0-255> code <0-255> [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 1.1.1.1 any 2 code 2...
  • Page 185: Access-list (<1-99>|<1300-1999>) (deny|permit) Ipaddr [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 88 permit 10.0.0.1 13.98 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK IPADDR MASK eq <0-65535> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR A.B.C.D IPADDR A.B.C.D eq <0-65535>...
  • Page 186: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 1.1.1.4 0.0.0.0 eq 21 13.99 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] IPADDR MASK [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 187: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 eq 21 1.1.1.4 0.0.0.0 13.100 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK any [eq] [<0-65535>] [IFNAME]...
  • Page 188: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 any eq 13.101 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] any [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 189: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 eq 21 13.102 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK [eq] [<0-65535>] host IPADDR [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 190: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Ipaddr Mask Host Ipaddr [eq] [<0-65535>] [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 eq 21 host 1.1.1.4 13.103 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) IPADDR MASK host IPADDR [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 191: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any Ipaddr Mask [eq] [<0-65535>] [ifname]

    Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp 1.1.1.1 0.0.0.0 host 1.1.1.4 eq 21 13.104 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any IPADDR MASK [eq] [<0-65535>] [IFNAME]...
  • Page 192: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any Any [eq] [<0-65535>] [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any 1.1.1.1 0.0.0.0 eq 13.105 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any any [eq] [<0-65535>] [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 193: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any [eq] [<0-65535>] Any [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any any eq 21 13.106 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] any [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 194: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any [eq] [<0-65535>] Ipaddr Mask [ifname]

    GigaX2024B/M L2 Managed Switch CLI Manual Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any eq 21 any 13.107 access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) any [eq] [<0-65535>] IPADDR MASK [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp)
  • Page 195: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any [eq] [<0-65535>] Host Ipaddr [ifname]

    [eq] [<0-65535>] host IPADDR [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any eq 21 host 10.0.0.1...
  • Page 196: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Any Host Ipaddr [eq] [<0-65535>] [ifname]

    IPADDR [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp any host 10.0.0.1 eq 21...
  • Page 197: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr Ipaddr Mask [eq] [<0-65535>] [ifname]

    IPADDR IPADDR MASK [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 10.0.0.1 10.0.0.4 0.0.0.0 eq 21...
  • Page 198: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Ipaddr Mask [ifname]

    IPADDR [eq] [<0-65535>] IPADDR MASK [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 10.0.0.1 eq 21 10.0.0.4 0.0.0.0...
  • Page 199: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr Any [eq] [<0-65535>] [ifname]

    IPADDR any [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 10.0.0.1 any eq 21...
  • Page 200: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Any [ifname]

    IPADDR [eq] [<0-65535>] any [IFNAME] Show Show acces-lists [number|name] Default Pass Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 10.0.0.1 eq 21 any...
  • Page 201: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr [eq] [<0-65535>] Host Ipaddr [ifname]

    IPADDR [eq] [<0-65535>] host IPADDR [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 10.0.0.1 eq 21 host 10.0.0.4...
  • Page 202: Access-list (<100-199>|<2000-2699>) (deny|permit) (tcp|udp) Host Ipaddr Host Ipaddr [eq] [<0-65535>] [ifname]

    IPADDR host IPADDR [eq] [<0-65535>] [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit tcp host 10.0.0.1 host 10.0.0.4 eq 21...
  • Page 203: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Ipaddr Mask Ipaddr Mask <0-255> [ifname]

    IPADDR MASK IPADDR MASK <0-255> [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 10.0.0.1 0.0.0.0 10.0.0.4 0.0.0.0 1...
  • Page 204: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Ipaddr Mask Any <0-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 10.0.0.1 0.0.0.0 any 1 13.118 access-list (<100-199>|<2000-2699>) (deny|permit) icmp any any <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp any...
  • Page 205: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Ipaddr Mask Host Ipaddr <0-255> [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any any 1 13.119 access-list (<100-199>|<2000-2699>) (deny|permit) icmp IPADDR MASK host IPADDR <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp IPADDR MASK host IPADDR <0-255>...
  • Page 206: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Host Ipaddr Ipaddr Mask <0-255> [ifname]

    Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp 10.0.0.1 0.0.0.0 host 10.0.0.4 1 13.120 access-list (<100-199>|<2000-2699>) (deny|permit) icmp host IPADDR IPADDR MASK <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp host...
  • Page 207: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Host Ipaddr Host Ipaddr <0-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 10.0.0.1 10.0.0.4 0.0.0.0 1 13.121 access-list (<100-199>|<2000-2699>) (deny|permit) icmp host IPADDR host IPADDR <0-255>...
  • Page 208 Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp host 10.0.0.1host 10.0.0.4 1 13.122 access-list (<100-199>|<2000-2699>) (deny|permit) icmp any host IPADDR <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp any...
  • Page 209: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Host Ipaddr Any <0-255> [ifname]

    Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any host 10.0.0.1 1 13.123 access-list (<100-199>|<2000-2699>) (deny|permit) icmp host IPADDR any <0-255> [IFNAME] Syntax access-list (<100-199>|<2000-2699>) (deny|permit) icmp host...
  • Page 210: Access-list (<100-199>|<2000-2699>) (deny|permit) Icmp Any Ipaddr Mask <0-255> [ifname]

    IPADDR MASK <0-255> [IFNAME] Show Show acces-lists [number|name] Default Description This command specify one or more conditions denied or permitted to decide if the packet is forwarded or dropped. Examples ASUS(config)#access-list 100 permit icmp any 10.0.0.1 0.0.0.0 14. Port Security...
  • Page 211: Show Port-security

    Interface’s name, ex: fastethernet1/0/1 or gigabitethernet1/0/26 Command Mode Privileged EXEC mode Default Description To show secure addresses of the port. Examples ASUS# show port-security address fa1/0/1 14.3 show port-security interface [IFNAME] Syntax show port-security interface [IFNAME] Parameters [IFNAME] Interface’s name, ex: fastethernet1/0/1 or...
  • Page 212: Switch Port-security Aging-time <0-1440

    To enable port-security aging of the port. Examples ASUS(config-if)# switch port-security aging-time 5 14.6 s w i t c h p o r t - s e c u r i t y a g i n g - t y p e...
  • Page 213: Switch Port-security Maximun <1-132

    Default Default is 1 Description To configure maximun secure mac addresses of the port. Examples ASUS(config-if)# switch port-security maximum 5 14.9 switch port-security reup Syntax switch port-security reup Parameters Command Mode Interface mode No/clear...
  • Page 214: Switch Port-security Violation (protect|restrict|shutdown)

    GigaX2024B/M L2 Managed Switch CLI Manual No/clear No switch port-security shutdown Default Description To configure maximum shutdown time Examples ASUS(config-if)# switch port-security shutdown 30 14.11 switch port-security violation (protect|restrict| shutdown) Syntax switch port-security violation (protect|restrict|shutdown) Parameters protect Protect mode, drop packets when security...
  • Page 215: Show Ingress Filter Ifname

    Default Description To show ingress filtering IFNAME status. Examples ASUS# show ingress filter fa1/0/1 15.3 i p a c c e s s - g r o u p ( < 1 - 1 9 9 > |<1300-2699>|WORD) in Syntax ip access-group (<1-199> |<1300-2699>|WORD) in Parameters <1-199><1300-2699>...
  • Page 216: Show Interface Ifname

    Parameters IFNAME: interface’s name Command Mode Privileged EXEC mode Default Description This command shows the interface detail status. Examples ASUS#show interface fa1/0/1 15.6 show interface status Syntax Show interface status Parameters Command Mode Privileged EXEC mode Default Description This command shows the interface status.
  • Page 217: Interface Vlanvlan-id

    GigaX2024B/M L2 Managed Switch CLI Manual Description This command shows the interface detail status with specific stack . Examples ASUS#show interface stack 1 15.8 interface vlanVLAN-ID Syntax interface vlanVLAN-ID Parameters vlan Select a vlan to configure VLAN-ID Vlan’s id Command Mode Configure terminal mode...
  • Page 218: Duplex (full|half)

    Examples ASUS(config-if)#acceptable frame-type all 15.11 duplex (full|half) Syntax duplex (full|half) Parameters full ->...
  • Page 219: Auto-negotiation

    No/clear No flowcontrol Show show interface IFNAME Default receive on, send on Description This command sets the interface flowcontrol method. Examples ASUS(config-if)# flowcontrol both on 15.13 auto-negotiation Syntax auto-negotiation Parameters Command Mode Interface mode No/clear no auto-negotiation Show show l2_interface IFNAME...
  • Page 220: Shutdown

    Default None or depends on ODM customer Description Use the speed configuration command on the switch stack or standalone switch to set speed status of the port. Examples ASUS(config-if)#speed 100 15.15 shutdown Syntax shutdown Parameters Command Mode Interface configuration No/clear...
  • Page 221: Mdix

    Default None or depends on ODM customer Description Use the default_priority configuration command on the switch stack or standalone switch to set cos priority of the port. Examples ASUS(config-if)# default-priority 3 15.17 mdix Syntax mdix Parameters Command Mode Interface mode...
  • Page 222: Line Loopback

    Parameters Command Mode Interface mode Default Description Start dhcp client Examples ASUS(config-if)#ip dhcp client 16.2 no ip dhcp client Syntax no ip dhcp client Parameters Command Mode Interface mode Default Description Stop dhcp client Examples ASUS(config-if)# no ip dhcp client...
  • Page 223: Ip Dhcp Client Renew

    Parameters Command Mode Interface mode Default Description To get the dhcp ip again Examples ASUS(config-if)# ip dhcp client renew 17. DHCP Snooping: 17.1 ip dhcp snooping Syntax ip dhcp snooping Parameters Command Mode Configure Terminal Mode...
  • Page 224: Ip Dhcp Snooping Trust

    VLAN IDs separated by hyphens, or a range of VLAN IDs separated by entering the starting and ending VLAN IDs separated by a space. Examples ASUS(config)# ip dhcp snooping vlan 1-100 17.3 ip dhcp snooping trust Syntax ip dhcp snooping trust...
  • Page 225: Show Ip Dhcp Snooping Binding

    Command Mode Enable Mode No/clear show Default Description To display logged information, If “binding” is given, snooped DHCP bindings are displayed. Examples ASUS#show ip dhcp snooping binding 18. IP Route: 18.1 ip forwarding Syntax ip forwarding Parameters forwarding Turn on IP forwarding...
  • Page 226: Ip Route A.b.c.d A.b.c.d (a.b.c.d|interface) <1-255

    Command Mode Configure terminal mode No/clear no ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) <1-255> Show show ip route show running-config Default Description This command sets the ip route in this system with distance value for this route. Examples ASUS(config)#ip route 192.192.1.254 255.255.255 10...
  • Page 227: Ip Route A.b.c.d/m (a.b.c.d|interface)

    A.B.C.D/M show running-config Default Description This command sets the ip route in this system Examples ASUS(config)#ip route 192.192.1.254/24 18.5 ip route A.B.C.D/M (A.B.C.D|INTERFACE) <1-255> Syntax ip route A.B.C.D/M (A.B.C.D|INTERFACE) <1-255> Parameters route Establish static routes A.B.C.D/M...
  • Page 228: Show Ip Route Supernets-only

    18.6 show ip route supernets-only Syntax show ip route supernets-only Parameters Command Mode Privileged EXEC mode No/clear Default Description Examples ASUS# show ip route supernets-only 19. System Management: 19.1 show switch GX2024M stacking only Syntax show switch Parameters Command Mode Privileged EXEC mode No/clear...
  • Page 229: Switch <1-8

    Command Mode Privileged EXEC mode No/clear Show Default None or depends on ODM customer Description Show stacking information Examples ASUS# show switch status 19.3 switch <1-8> GX2024M stacking only Syntax switch <1-8> Parameters <1-8> stack id Command Mode Configure terminal mode...
  • Page 230: Archive Download-sw /overwrite Tftp: Image

    Use the archive download-sw /overwrite configuration command on the switch stack or standalone switch to download a new copy of software from a server and overwrite an existing image. Examples ASUS# archive download-sw /overwrite tftp:192.192.1.131/ image.img 19.6 configure terminal Syntax configure terminal...
  • Page 231: Copy Startup-config Tftp: Url

    Default None or depends on ODM customer Description Copy the file in Flash memory to the root directory of the TFTP server. Examples ASUS# copy startup-config tftp: 192.192.1.131 19.9 copy tftp: URL startup-config Syntax copy tftp: URL startup-config Parameters ftp: Copy to tftp: file system...
  • Page 232: Disable

    GigaX2024B/M L2 Managed Switch CLI Manual Examples ASUS# copy tftp: 192.192.1.31 startup-config 19.10 disable Syntax disable Parameters Command Mode Privileged EXEC mode No/clear Show Default Description This command turn off privileged mode and back to user mode Examples ASUS#disable 19.11 enable...
  • Page 233: Exit

    This system’s network name Command Mode Configure terminal mode No/clear No hostname [HOSTNAME] Show show running-config Default The default system’s network name is Switch Description This command sets the system’s network name Examples ASUS(config)#hostname ASUS 19.15 list Syntax list Parameters...
  • Page 234: Tracelog Add (dhcp-snooping|dot1x|gvrp|igmp-snooping|lacp|stp)

    Default Disable tracelog Description This command starts the system logging the function. Examples ASUS(config)#tracelog add dot1x 19.17 tracelog level (critical | high | low ) Syntax tracelog level (critical | high | low ) Parameters Command Mode Configure terminal mode...
  • Page 235: Ping Ip Word

    No/clear Show Default Enable Description This command used to send echo messages to ping destination address or hostname Examples ASUS#ping ip 192.192.1.1 19.19 ping WORD Syntax ping WORD Parameters WORD Ping destination address or hostname Command Mode Privileged EXEC mode No/clear...
  • Page 236: Reboot

    Show Default None or depends on ODM customer Description Use this command to copy a default-config file to replace the current one Examples ASUS# reload default-config file 19.23 show running-config Syntax show running-config Parameters running-config Current operating configuration Command Mode Privileged EXEC mode...
  • Page 237: Show Startup-config

    Default Description To show firmware version. Examples ASUS# show version 19.26 show cable-diagnostic interface [IFNAME] Syntax show cable-diagnostic interface [IFNAME] Parameters IFNAME interface name (e.q.: fastethernet1/0/1) Command Mode Privileged EXEC mode No/clear Default Description To show cable-diagnostic information Examples ASUS# show cable-diagnostic interface...
  • Page 238: Show Private Health

    Syntax show private health Parameters Command Mode Privileged EXEC mode No/clear Default Description To show system monitor information Examples ASUS# show private health 19.28 show private led Syntax show private led Parameters Command Mode Privileged EXEC mode No/clear Default Description...
  • Page 239: Show Uptime

    TIME MONTH DAY YEAR Parameters TIME hh:mm:ss Current Time MONTH <1-12> Month of the year <1-31> Day of the month YEAR <1970-2037> Year Command Mode Privileged EXEC mode No/clear Default Description To set time Examples ASUS# clock set 15:26:02 4 6 2006...
  • Page 240: Show Syslog

    Syntax show syslog configuration Parameters Command Mode Privileged EXEC mode No/clear Default Description To show system log configuration Examples ASUS# show syslog configuration 19.35 syslog (enable|disable) Syntax syslog (enable|disable) Parameters disable Disable syslog protocol enable Enable syslog protocol Command Mode Configure terminal mode...
  • Page 241: Syslog Facility <0-23

    Assign message facility <0-23> Facility code Command Mode Configure terminal mode No/clear Default Description To configure system log Facility code Examples ASUS(config)# syslog facility 3 19.37 syslog hostname Syntax syslog hostname Parameters Command Mode Configure terminal mode No/clear Default Description...
  • Page 242: Syslog Severity <0-7

    <0-7> Parameters <0-7> Severity code Command Mode Configure terminal mode No/clear Default Description Assign message priority Examples ASUS(config)# syslog severity 2 19.40 syslog timestamp Syntax syslog timestamp Parameters Command Mode Configure terminal mode No/clear Default Description Turn on message timestamp...
  • Page 243: Telnet Word Port

    Command Mode User mode, Privileged EXEC mode No/clear Show Default None or depends on ODM customer Description to telnet a ip address Examples ASUS# telnet 192.192.1.11 21 19.43 traceroute WORD Syntax traceroute WORD Parameters WORD Trace route to destination address or hostname...
  • Page 244: Show Arp

    To delete arp table. Examples ASUS#no arp 10.0.0.1 19.47 user add ACCOUNT PASSWORD Syntax user add ACCOUNT PASSWORD Parameters ACCOUNT user name PASSWORD password Command Mode Configure terminal mode Default Description To add a new user account Examples ASUS# user add test test...
  • Page 245: User Delete Username

    USERNAME Parameters ACCOUNT user name Command Mode Privileged EXEC mode Default Description To delete a user account Examples ASUS# user delete test 19.49 show user Syntax show user Parameters ACCOUNT user name Command Mode Privileged EXEC mode Default...

This manual is also suitable for:

Gigax 2024bGigax2024b/m

Comments to this Manuals

Symbols: 0
Latest comments: