Page 3 - Table of content; System Management Configuration
i Table of content 1 Getting Started with the CLI ................................................... 1 1.1 Command Usage Basics ................................................................. 1 1.2 Command-Line Error Messages ...................................................... 7 1.3 Accessing ...
Page 5 - Port interface configuration:
iii 2.49 tracelog add (dhcp-relay | dhcp-snooping | dot1x | gvrp | igmp- snooping | lacp | stp | switch) ......................................................... 26 2.50 tracelog level (critical | high | low ) ................................................. 27 2.51 traceroute IPADDR ................
Page 6 - GARP Configuration:
iv 4.1 name VLANAME ............................................................................ 38 4.2 show vlan [VLANID] ....................................................................... 38 4.3 show vlan name VLANAME ........................................................... 38 4.4 switchpo...
Page 7 - IGMP Snooping Configuration:
v 7.8 clear mac-address-table vlan <1-3000> ........................................ 50 7.9 mac-address-table aging-time <10-1000000> ............................... 50 7.10 mac-address-table multicast MACADDR <1-3000> interface IFLIST .................................................
Page 10 - 3 ACL: Layer 3 Packet Filtering Configuration
viii 13 ACL: Layer 3 Packet Filtering Configuration .................... 92 13.1 access-list (<1-99>|<1300-1999>) (deny|permit) IPADDR MASK [IFNAME] ....................................................................................... 92 13.2 access-list (<1-99>|<1300-1999>...
Page 17 - 6 Policy Map Configuration
xv 15.9 qos egress bandwidth <64-1048576> .......................................... 199 15.10 qos ingress bandwidth <64-1048576> ......................................... 199 16 Policy Map Configuration ................................................. 200 16.1 policy-map POLICYMAP .......
Page 18 - 8 Port based Network Access Control Configuration:
xvi 17.11 spanning-tree forward-time <4-30> .............................................. 21017.12 spanning-tree hello-time <1-10> .................................................. 21017.13 spanning-tree link-type (auto| point-to-point| shared) ...................21117.14 spanning-tree...
Page 19 - 9 Port Security Configuration:
GigaX3124 Layer3 Switch CLI Command Reference xvii 18.12 show dot1x ................................................................................... 22218.13 show dot1x interface IFNAME ..................................................... 22218.14 show dot1x radius .................................
Page 21 - 2 IP Route Configuration:
GigaX3124 Layer3 Switch CLI Command Reference xix 20.33 snmp-server group WORD v3 auth read WORD write WORD notify WORD .......................................................................................... 245 20.34 snmp-server group WORD v3 noauth .......................................... 246...
Page 22 - 3 DHCP RELAY Configuration
GigaX3124 Layer3 Switch CLI Command Reference xx 22.3 ip route A.B.C.D A.B.C.D (A.B.C.D|INTERFACE) <1-255> ......... 260 22.4 ip route A.B.C.D/M (A.B.C.D|INTERFACE) .................................. 260 22.5 ip route A.B.C.D/M (A.B.C.D|INTERFACE) <1-255> ................... 261 22.6 sho...
Page 23 - 5 OSPF related Configuration
GigaX3124 Layer3 Switch CLI Command Reference xxi 24.20 show ip rip status ......................................................................... 272 25 OSPF related Configuration ............................................. 273 25.1 area (A.B.C.D| <0-4294967295>) authentication .............
Page 26 - Getting Started with the CLI; Command Usage Basics
GigaX3124 Layer3 Switch CLI Command Reference 1 1 Getting Started with the CLI This chapter provides information that you should know before using the ASUS GigaX Switch command-line interface (CLI). If you have never used GigaX Switch, take a few minutes to read this chapter before reading the rest ...
Page 30 - Using the No and Default Forms of Commands
GigaX3124 Layer3 Switch CLI Command Reference 5 1.1.3 Abbreviating Commands You can abbreviate commands and keywords to the number of characters that allow a unique abbreviation. For example, you can abbreviate the show command to sh or the show running-config command to sh ru . 1.1.4 Using the No a...
Page 32 - Command-Line Error Messages; Accessing the CLI
GigaX3124 Layer3 Switch CLI Command Reference 7 1.2 Command-Line Error Messages Table 1-2 lists some error messages that you might encounter while using the CLI. Table 1-2: Common CLI Error Messages Error Message Meaning How to Get Help AmbiguousCommand. You did not enter enough characters for your ...
Page 34 - System Management
GigaX3124 Layer3 Switch CLI Command Reference 9 2 System Management Configuration 2.1 archive download-sw /overwrite tftp: URL Syntax archive download-sw /overwrite tftp: URL Parameters URL IP address[:Port]/File name Command Mode Privileged EXEC modeNo/clear Show Default Description Use the archive...
Page 35 - arp timeout SECONDS
GigaX3124 Layer3 Switch CLI Command Reference 10 2.3 arp timeout SECONDS Syntax arp timeout SECONDS Parameters SECONDS <1-86400>, age time in seconds Command Mode Global configuration mode No/clear no arp timeout Show show arp Default 14400 Description To show arp table. Examples ASUS(config)#...
Page 36 - configure terminal
GigaX3124 Layer3 Switch CLI Command Reference 11 No/clear no clock timezone Show show clock Default UTC Description To set time zone Examples ASUS# clock timezone CCT 8 0 2.6 configure terminal Syntax configure terminal Parameters terminal Configuration terminal Command Mode Privileged EXEC modeNo/c...
Page 40 - hostname HOSTNAME
GigaX3124 Layer3 Switch CLI Command Reference 15 Examples ASUS(config)# end 2.16 exit Syntax exit Parameters Command Mode User mode, Privileged EXEC mode, Global configuration mode, Interface mode No/clear ShowDefault Description This command let user exit current mode and down to previous mode. Exa...
Page 43 - show arp host ADDRSS
GigaX3124 Layer3 Switch CLI Command Reference 18 2.24 show arp host ADDRSS Syntax show arp host [ADDRESS] Parameters ADDRESS host Command Mode Privileged EXEC modeNo/clear Show Default Description To show arp table for specified host. Examples ASUS# show arp host 192.192.1.254 ASUS# show arp host 00...
Page 44 - show cpu statistics
GigaX3124 Layer3 Switch CLI Command Reference 19 Description To show clock Examples ASUS# show clock 2.27 show cpu statistics Syntax show cpu statistics Parameters Command Mode Privileged EXEC modeNo/clear clear cpu statistics Show Default Description To show cpu received and transmitted packet stat...
Page 45 - show private led
GigaX3124 Layer3 Switch CLI Command Reference 20 Description To show system monitor information Examples ASUS# show private health 2.30 show private led Syntax show private led Parameters Command Mode Privileged EXEC modeNo/clear Show Default Description To show system led information Examples ASUS#...
Page 47 - show syslog configuration
GigaX3124 Layer3 Switch CLI Command Reference 22 Default Description To show system log messages Examples ASUS# show syslog 2.36 show syslog configuration Syntax show syslog configuration Parameters Command Mode Privileged EXEC modeNo/clear Show Default Description To show system log configuration E...
Page 49 - syslog hostname
GigaX3124 Layer3 Switch CLI Command Reference 24 No/clear Show show syslog configuration Default disableDescription To enable/disable system log protocol Examples ASUS(config)# syslog enable 2.42 syslog facility <0-23> Syntax syslog facility <0-23> Parameters facility Assign message faci...
Page 50 - syslog timestamp
GigaX3124 Layer3 Switch CLI Command Reference 25 2.44 syslog server-ip IPADDR Syntax syslog server-ip IPADDR Parameters IPADDR IP address Command Mode Global configuration mode No/clear no syslog server-ip IPADDR Show show syslog configuration Default Description To configure Syslog server IP addres...
Page 51 - telnet IPADDR PORT
GigaX3124 Layer3 Switch CLI Command Reference 26 2.47 telnet IPADDR Syntax telnet IPADDR Parameters IPADDR IP address of a remote system Command Mode User mode, Privileged EXEC modeNo/clear Show Default Description To telnet a ip address Examples ASUS# telnet 192.192.1.11 2.48 telnet IPADDR PORT Syn...
Page 52 - traceroute IPADDR
GigaX3124 Layer3 Switch CLI Command Reference 27 Show Default disable tracelog Description This command starts the system logging the function. Examples ASUS(config)# tracelog add dot1x 2.50 tracelog level (critical | high | low ) Syntax tracelog level (critical | high | low ) Parameters Command Mod...
Page 53 - user delete USERNAME
GigaX3124 Layer3 Switch CLI Command Reference 28 Command Mode Global configuration mode No/clear user delete USERNAME Show show user Default Description To add a new user account Examples ASUS# user add test test1234 2.53 user delete USERNAME Syntax user delete USERNAME Parameters ACCOUNT user name ...
Page 54 - Port interface configuration:
GigaX3124 Layer3 Switch CLI Command Reference 29 3 Port interface configuration: Type “interface IFNAME” in global configuration mode, then start to configure interface. 3.1 acceptable frame-type (all| discard-all| vlan- tagged-only) Syntax acceptable frame-type (all| discard-all| vlan-tagged-only) ...
Page 55 - description LINE
GigaX3124 Layer3 Switch CLI Command Reference 30 3.3 default-priority <0-7> Syntax default-priority <0-7> Parameters <0-7> Cos priority Command Mode Interface configuration mode No/clear no default-priority Show show running-config Default The default is 0 Description Use the defau...
Page 57 - interface IFNAME
GigaX3124 Layer3 Switch CLI Command Reference 32 3.8 interface IFNAME Syntax interface IFNAME Parameters IFNAME interface’s name Command Mode Global configuration mode No/clear Show show interface IFNAME Default Description This command changes the operation to interface command mode. Examples ASUS(...
Page 61 - show interface IFNAME; show interface status
GigaX3124 Layer3 Switch CLI Command Reference 36 3.18 show interface IFNAME Syntax Show interface IFNAME Parameters IFNAME interface’s name, ex: gi1/0/1 or vlan1 Command Mode Privileged EXEC modeNo/clear Show Default Description This command shows the interface detail status. Examples ASUS# show int...
Page 62 - switchport multicast filter
GigaX3124 Layer3 Switch CLI Command Reference 37 Description Use the command to reset the port to L2 interface from routed port. Examples ASUS(config)# interface gi1/0/1 ASUS(config-if)# switchport 3.21 switchport multicast filter Syntax switchport multicast filter Parameters Command Mode Interface ...
Page 63 - IEEE 802.1Q VLAN Configuration; name VLANAME; show vlan name VLANAME
GigaX3124 Layer3 Switch CLI Command Reference 38 4 IEEE 802.1Q VLAN Configuration 4.1 name VLANAME Syntax name VLANAME Parameters VLANNAME Characters name No/clear no name Command Mode Config-vlan mode Show show vlan [VLANID] Default “VLAN” + “VLANID”, ex: VLAN20 Description Use the name command to ...
Page 65 - VLANLIST
GigaX3124 Layer3 Switch CLI Command Reference 40 4.6 switchport trunk native vlan <1-3000> Syntax switchport trunk native vlan <1-3000> Parameters trunk Set 802.1Q trunk mode for the port native Specify the native VLAN for the port vlan IEEE 802.1Q Virtual Local Area Networks <1-3000&...
Page 66 - vlan VLANLIST
GigaX3124 Layer3 Switch CLI Command Reference 41 Description Use the switchport trunk allowed vlan configuration command on the switch stack or standalone switch to add or remove the allowed VLANs that can receive and send traffic on this interface in tagged format when in trunking mode Example ASUS...
Page 70 - show gvrp
GigaX3124 Layer3 Switch CLI Command Reference 45 Parameters disable Disable GVRP feature globally on the interface enable Enable GVRP feature globally on the interface Command Mode Interface configuration mode No/clear gvrp disable Show show gvrp Default The default is disabled on the interface. Des...
Page 72 - MAC address management; clear mac-address-table dynamic interface
GigaX3124 Layer3 Switch CLI Command Reference 47 7 MAC address management Configuration: 7.1 clear mac-address-table dynamic Syntax clear mac-address-table dynamic Parameters Command Mode Global configuration mode No/clear Show Default Description Use the write configuration command on the switch st...
Page 73 - MACADDR
GigaX3124 Layer3 Switch CLI Command Reference 48 7.3 clear mac-address-table dynamic mac MACADDR Syntax clear mac-address-table dynamic mac MACADDR Parameters MACADDR MAC address xxxx.xxxx.xxxx Command Mode Global configuration mode No/clear Show Default Description Use the write configuration comma...
Page 74 - clear mac-address-table multicast MACADDR
GigaX3124 Layer3 Switch CLI Command Reference 49 7.5 clear mac-address-table interface IFNAME Syntax clear mac-address-table interface IFNAME Parameters IFNAME Interface name Command Mode Global configuration mode No/clear Show Default Description Use the write configuration command on the switch st...
Page 77 - IFNAME
GigaX3124 Layer3 Switch CLI Command Reference 52 7.11 mac-address-table static MACADDR <1-3000> IFNAME Syntax mac-address-table static MACADDR <1-3000> IFNAME Parameters static Create a static unicast MAC address MACADDR MAC address <1-3000> VLAN ID IFNAME Interface name Command Mo...
Page 83 - IGMP Snooping Configuration:; ip igmp querier
GigaX3124 Layer3 Switch CLI Command Reference 58 8 IGMP Snooping Configuration: 8.1 ip igmp querier Syntax ip igmp querier Parameters Command Mode Global configuration mode No/clear no ip igmp querier Show show ip igmp querier Default The default is disable Description This command sets the IGMP que...
Page 84 - ip igmp snooping
GigaX3124 Layer3 Switch CLI Command Reference 59 No/clear no ip igmp querier query-interval Show show ip igmp querier Default The default is 125 seconds. Description This command sets the query-interval of IGMP querier function. Example ASUS(config)# ip igmp querier query-interval 250 8.4 ip igmp qu...
Page 85 - ip igmp snooping report-suppression
GigaX3124 Layer3 Switch CLI Command Reference 60 8.6 ip igmp snooping last-member-query-interval <10-1000> Syntax ip igmp snooping last-member-query-interval <10-1000> Parameters last-member-query-interval The time interval for sending IGMP query since last member leave <10-1000> t...
Page 86 - leave
GigaX3124 Layer3 Switch CLI Command Reference 61 Command Mode Global configuration mode No/clear no ip igmp snooping vlan <1-3000> Show show ip igmp snooping show ip igmp snooping vlan <1-3000> Default The default setting of IGMP snooping on each vlan is enabled after IGMP snooping funct...
Page 87 - show ip igmp snooping
GigaX3124 Layer3 Switch CLI Command Reference 62 mrouter IGMP multicast router configurations interface Specify the multicast router interface IFNAME Interface name Command Mode Global configuration mode No/clear no ip igmp snooping vlan <1-3000> mrouter interface IFNAME Show show ip igmp snoo...
Page 89 - Port Mirroring Configuration:
GigaX3124 Layer3 Switch CLI Command Reference 64 9 Port Mirroring Configuration: 9.1 mirror session <1-2> destination IFNAME Syntax mirror session <1-2> destination IFNAME Parameters IFNAME Interface name Command Mode Global configuration mode No/clear no mirror session <1-2> Show ...
Page 90 - show mirror session
GigaX3124 Layer3 Switch CLI Command Reference 65 9.3 show mirror session Syntax show mirror session Parameters Command Mode Privileged EXEC modeNo/clear Show Default Description To display current mirror session configuration. Example ASUS# show mirror session
Page 91 - 0 Static Link Aggregation:
GigaX3124 Layer3 Switch CLI Command Reference 66 10 Static Link Aggregation: 10.1 aggregation-link group <1-8> IFLIST Syntax Aggregation-link trunk <1-8> IFLIST Parameters <1-8> Trunk Group ID Command Mode Global configuration mode No/clear no aggregation-link group <1-8> sho...
Page 93 - 1 LACP Configuration:; IFLIST
GigaX3124 Layer3 Switch CLI Command Reference 68 11 LACP Configuration: 11.1 lacp aggregation-link group <1-8> (add|set) IFLIST Syntax lacp aggregation-link group <1-8> (add|set) IFLIST Parameters <1-8> GROUPID add Add interfaces to LACP group set Set interfaces for LACP group IFLI...
Page 95 - 2 ACL: Layer 2 Packet Filtering
GigaX3124 Layer3 Switch CLI Command Reference 70 12 ACL: Layer 2 Packet Filtering Configuration 12.1 mac access-list extended ACLNAME Syntax mac access-list extended ACLNAME Parameters access-list named access-list extended extended access-list ACLNAME an access-list name Command Mode Global configu...
Page 117 - 3 ACL: Layer 3 Packet Filtering
GigaX3124 Layer3 Switch CLI Command Reference 92 13 ACL: Layer 3 Packet Filtering Configuration 13.1 access-list (<1-99>|<1300-1999>) (deny|permit) IPADDR MASK [IFNAME] Syntax access-list (<1-99>|<1300-1999>) (deny|permit) IPADDR A.B.C.D [IFNAME] Parameters access-list Add an...
Page 217 - show ip access list
GigaX3124 Layer3 Switch CLI Command Reference 192 13.119 (permit|deny) IPADDR [IFNAME] Syntax (permit|deny) A.B.C.D [IFNAME] Parameters permit Specify packets to forward deny Specify packets to reject. IPADDR Host address [IFNAME] Egress interface name Command Mode IP standard access-list modeNo/cle...
Page 220 - cos policy fifo
GigaX3124 Layer3 Switch CLI Command Reference 195 15 QoS/CoS: 15.1 cos cos-map <0-7> <1-8> Syntax cos cos-map <0-7> <1-8> Parameters <0-7> IEEE 802.1p priority <1-8> Class of Service (CoS) Priority Queue ID Command Mode Global configuration mode No/clear no cos co...
Page 222 - cos policy strict
GigaX3124 Layer3 Switch CLI Command Reference 197 <1-10> weight for cos queue 3 <1-10> weight for cos queue 4 <1-10> weight for cos queue 5 <1-10> weight for cos queue 6 <1-10> weight for cos queue 7 <1-10> weight for cos queue 8 Command Mode Global configuration ...
Page 223 - show cos policy
GigaX3124 Layer3 Switch CLI Command Reference 198 Default Description Show which CoS queue given priority current maps to Example ASUS# show cos cos-map 15.7 show cos policy Syntax show cos policy Parameters Command Mode Privileged EXEC modeNo/clear Show Default Description This command shows the co...
Page 225 - 6 Policy Map Configuration
GigaX3124 Layer3 Switch CLI Command Reference 200 16 Policy Map Configuration 16.1 policy-map POLICYMAP Syntax policy-map POLICYMAP Parameters POLICYMAP Policy map specific name Command Mode Global configuration mode No/clear no policy-map POLICYMAP Show show policy-map [POLICYMAP] Default Descripti...
Page 226 - match ip dscp DSCPLIST
GigaX3124 Layer3 Switch CLI Command Reference 201 Default Description This command is used to configure a traffic classifier match criterion using ACL rule. Examples ASUS(config-pmap-class)# match access-group acl 16.4 match ip dscp DSCPLIST Syntax match ip dscp DSCPLIST Parameters DSCPLIST IP DSCP ...
Page 227 - drop
GigaX3124 Layer3 Switch CLI Command Reference 202 Parameters <64-1048576> Traffic ingress rate in Kbps, <64-102400> for FE ports, <64-1048576> for GE ports <4-512> Traffic burst size in KB, (4|8|16|32|64) for FE ports, (4|8|16|32|64|128|256|512) for GE ports Command Mode Poli...
Page 231 - 7 Spanning Tree Protocol; show spanning-tree mst configuration
GigaX3124 Layer3 Switch CLI Command Reference 206 17 Spanning Tree Protocol Configuration: 17.1 show spanning-tree interface [IFNAME] Syntax show spanning-tree interface [IFNAME] Parameters [IFNAME] Interface name Command Mode Privileged EXEC modeNo/clear Show Default Description To show spanning-tr...
Page 242 - 8 Port based Network Access
GigaX3124 Layer3 Switch CLI Command Reference 217 18 Port based Network Access Control Configuration: 18.1 dot1x guest-vlan <1-3000> Syntax dot1x guest-vlan <1-3000> Parameters <1-3000> valid vlan-id range is from 1 to 3000 Command Mode Interface configuration mode No/clear no dot1...
Page 244 - dot1x re-authenticate interface IFNAME
GigaX3124 Layer3 Switch CLI Command Reference 219 Command Mode Global configuration mode No/clear Show show dot1x radius / show running-config Default Description This command sets the secondary radius server IP, radius key, and radius port for 802.1X configuration. Example ASUS(config)# dot1x radiu...
Page 247 - show dot1x interface IFNAME
GigaX3124 Layer3 Switch CLI Command Reference 222 18.11 dot1x user USERNAME PASSWORD <1-3000> Syntax dot1x user USERNAME PASSWORD <1-3000> Parameters USERNAME User Name PASSWORD User Password <1-3000> VLAN ID Command Mode Global configuration mode No/clear no dot1x user USERNAME Sh...
Page 249 - 9 Port Security Configuration:; show port-security interface IFNAME
GigaX3124 Layer3 Switch CLI Command Reference 224 19 Port Security Configuration: 19.1 show port-security Syntax show port-security Parameters Command Mode Privileged EXEC modeNo/clear Show Default Description To show port-security status of all interfaces. Examples ASUS# show port-security 19.2 sho...
Page 252 - switchport port-security violation
GigaX3124 Layer3 Switch CLI Command Reference 227 19.9 switchport port-security reup Syntax switchport port-security reup Parameters Command Mode Interface configuration mode No/clear Show show port-security [IFNAME] Default Description To reup the interface when it was shutdown by port security Exa...
Page 254 - 0 SNMP Configuration:
GigaX3124 Layer3 Switch CLI Command Reference 229 20 SNMP Configuration: 20.1 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) rising-threshold VALUE...
Page 263 - show snmp-server community network
GigaX3124 Layer3 Switch CLI Command Reference 238 [IFNAME] Interface name Command Mode Privileged EXEC modeNo/clear Show Default Description To show rmon statistics IFNAME status. Examples ASUS# show rmon statistics gi1/0/1 20.17 show snmp-server community Syntax show snmp-server community Parameter...
Page 269 - snmp-server group WORD v3 auth read
GigaX3124 Layer3 Switch CLI Command Reference 244 20.31 snmp-server group WORD v3 auth read WORD Syntax snmp-server group WORD v3 auth read WORD Parameters group Configure a new SNMP group, that maps SNMP users to SNMP group WORD The name of the group v3 Using the SNMPv3 for security mode auth Speci...
Page 270 - snmp-server group WORD v3 auth read
GigaX3124 Layer3 Switch CLI Command Reference 245 write The option that allows you to specify a write view (default none) WORD A string that is the name of the view that enables you to enter and configure the contents of the agent Command Mode Global configuration mode No/clear no snmp-server group ...
Page 271 - WORD
GigaX3124 Layer3 Switch CLI Command Reference 246 No/clear no snmp-server group WORD v3 (noauth|auth|priv) Show show snmp-server group Default None Description Create a new SNMP group and enable authentication. Examples ASUS(config)# snmp-server group g1 v3 auth read r1 write w1 notify n1 20.34 snmp...
Page 272 - WORD write WORD
GigaX3124 Layer3 Switch CLI Command Reference 247 sysView) WORD A string that he name of the view that enables you only to view the contents of the agent Command Mode Global configuration mode No/clear no snmp-server group WORD v3 (noauth|auth|priv) Show show snmp-server group Default None Descripti...
Page 273 - WORD write WORD notify WORD
GigaX3124 Layer3 Switch CLI Command Reference 248 Examples ASUS(config)# snmp-server group g1 v3 noauth read r1 write w1 20.37 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 Parameters group Configure a new S...
Page 274 - snmp-server group WORD v3 priv read
GigaX3124 Layer3 Switch CLI Command Reference 249 20.38 snmp-server group WORD v3 priv Syntax snmp-server group WORD v3 priv Parameters group Configure a new SNMP group, that maps SNMP users to SNMP group WORD The name of the group v3 Using the SNMPv3 for security mode priv Specifies authentication ...
Page 275 - snmp-server group WORD v3 priv read
GigaX3124 Layer3 Switch CLI Command Reference 250 Default None Description Create a new SNMP group and specifies authentication of a packet with encryption Examples ASUS(config)# snmp-server group g1 v3 priv read r1 20.40 snmp-server group WORD v3 priv read WORD write WORD Syntax snmp-server group W...
Page 276 - snmp-server group WORD v3 priv read
GigaX3124 Layer3 Switch CLI Command Reference 251 20.41 snmp-server group WORD v3 priv read WORD write WORD notify WORD Syntax snmp-server group WORD v3 priv read WORD write WORD notify WORD Parameters group Configure a new SNMP group, that maps SNMP users to SNMP group WORD The name of the group v3...
Page 278 - snmp-server user WORD WORD v3 auth
GigaX3124 Layer3 Switch CLI Command Reference 253 Command Mode Global configuration mode No/clear no snmp-server location Show show snmp-server location Default Description This command sets the SNMP location string. Examples ASUS(config)# snmp-server location office 20.45 snmp-server user WORD WORD...
Page 279 - snmp-server user WORD WORD v3 priv
GigaX3124 Layer3 Switch CLI Command Reference 254 v3 User using the v3 security model noauth Specifies no authentication of a packet Command Mode Global configuration mode No/clear no snmp-server user WORD WORD v3 Show show snmp-server user Default None Description Define a user who can access the S...
Page 281 - ntp sync IPADDR; ntp server IPADDR; ntp server IPADDR prefer
GigaX3124 Layer3 Switch CLI Command Reference 256 21 NTP (Network Time Protocol) Configuration: 21.1 ntp sync IPADDR Syntax ntp sync IPADDR Parameters IPADDR NTP server IP address Command Mode Privileged EXEC modeNo/clear show show clock Default Description Use the command to sync system time with s...
Page 283 - show ntp server
GigaX3124 Layer3 Switch CLI Command Reference 258 show show ntp server Default Description Use the command to set a prefer ntp server and protocol version for system to sync time. Example ASUS(config)# ntp server 220.130.158.52 version 4 prefer 21.6 show ntp server Syntax show ntp server Parameters ...
Page 284 - 2 IP Route Configuration:
GigaX3124 Layer3 Switch CLI Command Reference 259 22 IP Route Configuration: 22.1 ip forwarding Syntax ip forwarding Parameters forwarding Enable IP forwarding Command Mode Global configuration mode No/clear no ip forwarding Show show ip forwarding Default IP forwarding is default on Description Thi...
Page 288 - 3 DHCP RELAY Configuration
GigaX3124 Layer3 Switch CLI Command Reference 263 23 DHCP RELAY Configuration 23.1 ip helper-address A.B.C.D Syntax ip helper-address A.B.C.D Parameters A.B.C.D IP address of DHCP server Command Mode Interface configuration mode No/clear no ip helper-address A.B.C.D Show show running-config Default ...
Page 289 - 4 RIP related Configuration
GigaX3124 Layer3 Switch CLI Command Reference 264 24 RIP related Configuration 24.1 default-information originate Syntax default-information originate Parameters originate Distribute a default route Command Mode Config-router mode No/clear no default-information originate Show show running-config De...
Page 290 - ip rip authentication mode text
GigaX3124 Layer3 Switch CLI Command Reference 265 No/clear no distance <1-255> Show show ip rip status Default Default RIP distance is 120. Description Set default RIP distance to specified value. Examples ASUS(config-router)# distance 100 24.4 distance <1-255> A.B.C.D/M Syntax distance ...
Page 291 - ip rip authentication string LINE
GigaX3124 Layer3 Switch CLI Command Reference 266 24.6 ip rip authentication string LINE Syntax ip rip authentication string [STRING] Parameters LINE Authentication string Command Mode Interface configuration mode No/clear no ip rip authentication string Show show running-config Default None Descrip...
Page 298 - 5 OSPF related Configuration; authentication message-digest
GigaX3124 Layer3 Switch CLI Command Reference 273 25 OSPF related Configuration 25.1 area (A.B.C.D| <0-4294967295>) authentication Syntax area (A.B.C.D| <0-4294967295>) authentication Parameters A.B.C.D OSPF area ID in IP address format <0-4294967295> OSPF area ID as a decimal valu...
Page 307 - md5 KEY
GigaX3124 Layer3 Switch CLI Command Reference 282 <0-4294967295> OSPF area ID as a decimal value (ID 0.0.0.2 equals ID 2) virtual-link Configure a virtual link A.B.C.D Router ID of the remote ABR authentication-key Authentication password (key) AUTH_KEY The OSPF password (key) Command Mode Con...
Page 310 - default-information originate always
GigaX3124 Layer3 Switch CLI Command Reference 285 25.21 default-information originate always Syntax default-information originate always Parameters originate Distribute a default route always Always advertise default route Command Mode Config-router mode No/clear no default-information originate Sho...
Page 312 - ip ospf authentication
GigaX3124 Layer3 Switch CLI Command Reference 287 Show show running-config Default Description To set the OSPF administrative intra-area, inter-area or external distance. Examples ASUS(config-router)# distance ospf external 10 ASUS(config-router)# distance ospf intra-area 10 inter-area 10 external 1...
Page 319 - show ip ospf database
GigaX3124 Layer3 Switch CLI Command Reference 294 25.41 router ospf Syntax router ospf Parameters Command Mode Global Configuration mode No/clear no router ospf Show show ip ospf Default Description The router ospf command is necessary to enable OSPF. To disable OSPF, use the no router ospf command....
Page 322 - show ip ospf neighbor
GigaX3124 Layer3 Switch CLI Command Reference 297 No/clear Show Default Description To display OSPF configuration and running status for the specified interface or all interfaces. Examples ASUS# show ip ospf interface vlan2 25.48 show ip ospf neighbor Syntax show ip ospf neighbor Parameters Command ...
Page 324 - 6 VRRP (Virtual Router Redundancy
GigaX3124 Layer3 Switch CLI Command Reference 299 26 VRRP (Virtual Router Redundancy Protocol): 26.1 show standby [IFNAME] Syntax show standby [IFNAME] Parameters [IFNAME] L3 interface name Command Mode Privileged EXEC modeNo/clear Show Default Description To show VRRP running status and configurati...