Transcription of Aruba Switch 基本オペレーション・ガイド
1 ArubaOS-CX 2019/042 3 1/1/1-1/1/48 UTP or SFP+ 1/1/49-1/1/54 QSFP Aruba 8320 4 115,200 bps 8 data bits no parity 1 stop bit No flow control PC 5 CLI / Tabcommand ?command parameter command buffer command buffer show history command history configure terminal config con conft exit CLI end write memory wrm show no 6 #show startup-configstartup-config #show running-configrunning-config #write memoryrunning-config startup-config #erase startup-configstartup-config 8320-2# erase startup-config8320-2#startup-config 7 8320-1(config)# hostname 83208320(config)#8320(config)# hostname 8320_1To be compliant with RFC 1123, the hostname must contain only letters, numbers and hyphens, and must not start or end with a (config)#8320(config)
2 # hostname 8320-Please specify string starting and ending with alphabet or (config)#8320(config)# hostname -8320 Please specify string starting and ending with alphabet or (config)#RFC1123 Note - 32 8 group administrators :Adding user to the administrators group auditors : Adding user to the auditors group operators : Adding user to the operators group8320-1# conft8320-1(config)#8320-1(config)# user admin group administrators passwordEnter password: **Confirm password: **8320-1(config)# end8320-1#9 mgmt vrf ( ) default vrf ( ) mgmt 8320-1# show running-config( )interface mgmtno shutdownipstatic ( )8320-1# show interface mgmtAddress Mode : staticAdmin State : upMac Address : d0:67:26:e2:e1:5bIPv4 address/subnet-mask : gateway IPv4 : address/prefix :IPv6 link local address/prefix: fe80::d267:26ff:fee2:e15b/64 Default gateway IPv6 :Primary Nameserver:Secondary Nameserver:8320-1# 10 ping / traceroute vrfmgmt vrf default vrf # ping vrfmgmtPING ( ) 100(128) bytes of bytes from.
3 Icmp_seq=1 ttl=115 time= ms108 bytes from : icmp_seq=2 ttl=115 time= ms108 bytes from : icmp_seq=3 ttl=115 time= ms108 bytes from : icmp_seq=4 ttl=115 time= ms108 bytes from : icmp_seq=5 ttl=115 time= ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4004msrttmin/avg/max/mdev= ms8320-1#11 show vrf mgmt vrf 8320-1# show vrfVRF Configuration:------------------VRF Name : defaultInterfaces Status-----------------------------1/1/5 down1/1/47 down1/1/48 down1/1/52 downloopback0 upvlan89 upvlan90 upvlan91 up8320-1#12 SSH 8320-1# configure terminal8320-1(config)# sshserver vrfmgmt8320-1(config)# end8320-1# show sshserver vrfmgmtSSH server configuration on VRF mgmt:IP Version : IPv4 and IPv6 SSH Version : Port : 22 Grace Timeout (sec) : 60 Host-keys : ECDSA, ED25519, RSAC iphers.
4 Show sshserverSSH server is not enabled on VRF # SSH vrf vrf 13 TELET 14 show running-config shutdown / routing ( ) 8320-1# conft8320-1(config)# interface 1/1/18320-1(config-if)# interface 1/1/28320-1(config-if)# interface 1/1/3( )8320-1(config-if)# interface 1/1/528320-1(config-if)# interface 1/1/538320-1(config-if)# interface 1/1/548320-1(config-if)#end8320-1#15 16 NTP 8320-1# conft8320-1(config)# clock timezonejapan8320-1(config)# ntpserver (config)# ntpserver (config)# ntpserver (config)# ntpvrfmgmt8320-1(config)# ntpenable8320-1(config)# end8320-1# 1 2 3 VRF ( default)NTP 17 show ntpstatus 8320-1# show ntpstatusNTP Status InformationNTP : EnabledNTP Authentication : DisabledNTP Server Connections : Using the mgmtVRFS ystem time : Tue Apr 16 14:56:18 JST 2019 NTP uptime : 22 hours, 6 minutes, 48 secondsNTP Synchronization InformationNTP Server : at stratum 3 Poll interval : 1024 secondsTime accuracy : Within secondsReference time : Tue Apr 16 2019 14.
5 23 as per Japan8320-1#18 show ntpassociations show clock 8320-1# show ntpassociations------------------------- ---------------------------------------- -----ID NAME REMOTE REF-ID ST LAST POLL REACH----------------------------------- -----------------------------------+ 1 3 325 1024 377* 2 3 509 1024 377+ 3 3 370 1024 377------------------------------------- ---------------------------------8320-1# 8320-1# show clockTue Apr 16 14:57:43 JST 2019 System is configured for timezone: Japan8320-1#19 VLAN 20 VLAN VLAN 8320-1# conf t8320-1(config)# vlan 928320-1(config-vlan-92)# name Test_VLAN8320-1(config-vlan-92)# end8320-1# show vlan------------------------------------ ---------------------------------------- ----------------------------------VLAN Name Status Reason Type Interfaces ---------------------------------------- ---------------------------------------- ------------------------------1 DEFAULT_VLAN_1 down no_member_port default89 UplinkRouting up ok static lag1,lag1190 Downlink_ActivaGW up ok static lag1,lag1291 ServerSW_L2SW up ok static lag1.
6 Lag11-lag1292 Test_VLAN down no_member_port static8320-1#21 VLAN Access VLAN 8320-1# configure terminal8320-1(config)# interface 1/1/58320-1(config-if)# no routing8320-1(config-if)# vlanaccess 928320-1(config-if)# no shut8320-1(config-if)# end8320-1# show vlan------------------------------------ ---------------------------------------- ----------------------------------VLAN Name Status Reason Type Interfaces ---------------------------------------- ---------------------------------------- ------------------------------1 DEFAULT_VLAN_1 down no_member_portdefault89 UplinkRoutingup ok static lag1,lag1190 Downlink_ActivaGWup ok static lag1,lag1291 ServerSW_L2SW up ok static lag1,lag11-lag1292 Test_VLAN down no_member_forwardingstatic 1/1/58320-1#8320-1#show run( )interface 1/1/5no shutdownno routingvlanaccess 92( )
7 8320-1#22 VLAN Trunk VLAN 8320-1# configure terminal8320-1(config)# interface 1/1/68320-1(config-if)# no routing8320-1(config-if)# vlantrunk allowed 928320-1(config-if)# no shut8320-1(config-if)# end8320-1# show vlan------------------------------------ ---------------------------------------- ----------------------------------VLAN Name Status Reason Type Interfaces ---------------------------------------- ---------------------------------------- ------------------------------1 DEFAULT_VLAN_1 down no_member_portdefault89 UplinkRoutingup ok static lag1,lag1190 Downlink_ActivaGWup ok static lag1,lag1291 ServerSW_L2SW up ok static lag1,lag11-lag1292 Test_VLAN down no_member_forwardingstatic 1/1/5-1/1/68320-1#8320-1#show run( )
8 Interface 1/1/6no shutdownno routingvlantrunk native 1vlantrunk allowed 92( )8320-1#23 VLAN VLAN VLAN (shutdown) 8320-1#8320-1# configure8320-1(config)# interface vlan928320-1(config-if-vlan)# ipaddress (config-if-vlan)# end8320-1# 8320-1# show ipinterface( )Interface vlan92 is upAdmin state is upHardware: Ethernet, MAC Address: d0:67:26:e2:c1:9eIP MTU 1500IP Directed Broadcast is DisabledIPv4 address Counters: Rx Disabled, TxDisabled( )8320-1#24 25 static)& Access VLAN 8320-1# configure terminal8320-1(config)# interface 1/1/78320-1(config-if)# lag 208320-1(config-if)# no shutdown8320-1(config-if)# interface 1/1/88320-1(config-if)# lag 208320-1(config-if)# no shutdown8320-1(config-if)# end8320-1#8320-1# configure terminal8320-1(config)# interface lag 208320-1(config-lag-if)# description TestLAG018320-1(config-lag-if)# no routing8320-1(config-lag-if)# vlan access 928320-1(config-lag-if)# no shutdown8320-1(config-lag-if)# end8320-1#26 (LACP) & Trunk VLAN 8320-1# configure terminal8320-1(config)# interface 1/1/98320-1(config-if)
9 # lag 218320-1(config-if)# no shutdown8320-1(config-if)# interface 1/1/108320-1(config-if)# lag 218320-1(config-if)# no shutdown8320-1(config-if)# end8320-1#8320-1# configure terminal8320-1(config)# interface lag 218320-1(config-lag-if)# description TestLAG028320-1(config-lag-if)# no routing8320-1(config-lag-if)# vlan trunk allowed 928320-1(config-lag-if)# lacp mode active8320-1(config-lag-if)# no shutdown8320-1(config-lag-if)# end8320-1#27 8320-1# show lacp aggregates( )Aggregate name : lag20 Interfaces : 1/1/7 1/1/8 Heartbeat rate : N/AHash : l3-src-dstAggregate mode : OffAggregate name : lag21 Interfaces : 1/1/10 1/1/9 Heartbeat rate : SlowHash : l3-src-dstAggregate mode : Active( )8320-1#28 l3-src-dst l2-src-dst lacprate slow 8320-1# configure terminal8320-1(config)# interface lag 208320-1(config-lag-if)# hashl2-src-dst Base the hash on l2-src-dstl3-src-dst Base the hash on l3-src-dst8320-1(config-lag-if)# 8320-1(config-lag-if)# lacpratefast LACP heartbeats are requested at the rate of one per secondslow Default heartbeats rate, which is once every 30 seconds8320-1(config-lag-if)#29 SNMP / SYSLOG 30 SNMP SNMP ( ArubaOS-CX ReadOnly )SNMP/Syslog 8320-1# configure terminal8320-1(config)# snmp-server vrfmgmt8320-1(config)# snmp-server host trap version v2c communityWORD Name of the community, max up to 32 characters (Default.)
10 Public)8320-1(config)# snmp-server host trap version v2c community private8320-1(config)#8320-1# configure terminal8320-1(config)# snmp-server vrfmgmt8320-1(config)# snmp-server community private8320-1(config)#31 Syslog SNMP/Syslog 8320-1# configure terminal8320-1(config)# logging vrfmgmtseverityinfo8320-1(config)# logging facility local78320-1(config)# end8320-1#8320-1(config)# logging vrfmgmtseverityalert Forward syslog messages of severity 'alert(6)' and 'emergency(7)' onlycritForward syslog messages of severity 'critical(5)' and abovedebug Forward syslog messages of severity 'debug(0)' and aboveemergForward syslog messages of severity 'emergency(7)' onlyerr Forward syslog messages of severity 'err(4)' and aboveinfo Forward syslog messages of severity 'info(1)' and above (Default)notice Forward syslog messages of severity 'notice(2)' and abov