Tue Jun 18 07:03:44 UTC 2019 on ttyS0 Linux sonic 4.9.0-8-2-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2015-12-19) x86_64 You are on ____ ___ _ _ _ ____ / ___| / _ \| \ | (_)/ ___| \___ \| | | | \| | | | ___) | |_| | |\ | | |___ |____/ \___/|_| \_|_|\____| -- Software for Open Networking in the Cloud -- Unauthorized access and/or use are prohibited. All access and/or use are subject to monitoring. Help: http://azure.github.io/SONiC/ admin@sonic:~$ 14
COMMAND [ARGS]... SONiC command line - 'config' command Options: --help Show this message and exit. Commands: aaa AAA command line acl ACL-related configuration tasks bgp BGP-related configuration tasks ecn ECN-related configuration tasks interface Interface-related configuration tasks interface_naming_mode Modify interface naming mode for int load Import a previous saved config DB dump (以下略) Usage: show [OPTIONS] COMMAND [ARGS]... SONiC command line - 'show' command Options: -?, -h, --help Show this message and exit. Commands: aaa Show AAA configuration acl Show ACL related information arp Show IP ARP table bgp BGP information clock Show date and time ecn Show ECN configuration environment Show environmentals (voltages, fans, temps interfaces Show details of the network interfaces (以下略) 16
25G x 4のため、Interfaceのsuffixは4ずつ増えている • SONiCでサポートされていないスイッチで実行すると、表示は空っぽ。 $ show interfaces status Interface Lanes Speed MTU Alias Vlan Oper Admin Type Asym PFC ----------- ----------- ------ ----- ------------- ------ ------ ------- --------------- ---------- Ethernet0 1,2,3,4 100G 9100 hundredGigE1 routed up up QSFP28 or later N/A Ethernet4 5,6,7,8 100G 9100 hundredGigE2 routed up up QSFP28 or later N/A Ethernet8 9,10,11,12 N/A 9100 hundredGigE3 routed down up N/A N/A Ethernet12 13,14,15,16 N/A 9100 hundredGigE4 routed down up N/A N/A Ethernet16 17,18,19,20 N/A 9100 hundredGigE5 routed down up N/A N/A Ethernet20 21,22,23,24 N/A 9100 hundredGigE6 routed down up N/A N/A Ethernet24 25,26,27,28 N/A 9100 hundredGigE7 routed down up N/A N/A Ethernet28 29,30,31,32 N/A 9100 hundredGigE8 routed down up N/A N/A Ethernet32 33,34,35,36 N/A 9100 hundredGigE9 routed down up N/A N/A Ethernet36 37,38,39,40 N/A 9100 hundredGigE10 routed down up N/A N/A Ethernet40 41,42,43,44 N/A 9100 hundredGigE11 routed down up N/A N/A (以下略) 18
sonic-edgecore INFO systemd[1]: Started switch state service. Nov 5 17:56:28.117757 sonic-edgecore INFO systemd[1]: Starting SNMP container... Nov 5 17:56:28.118876 sonic-edgecore INFO systemd[1]: Starting TEAMD container... Nov 5 17:56:28.119958 sonic-edgecore INFO systemd[1]: Starting Router advertiser container... Nov 5 17:56:28.126074 sonic-edgecore INFO systemd[1]: Starting BGP container... Nov 5 17:56:28.687299 sonic-edgecore INFO systemd[1]: Starting syncd service... Nov 5 17:56:28.693765 sonic-edgecore NOTICE root: Starting syncd service... Nov 5 17:56:28.698507 sonic-edgecore NOTICE root: Locking /tmp/swss-syncd-lock from syncd service Nov 5 17:56:28.703651 sonic-edgecore NOTICE root: Locked /tmp/swss-syncd-lock (10) from syncd service Nov 5 17:56:28.837214 sonic-edgecore INFO teamd.sh[15787]: Starting existing teamd container with HWSKU Accton-AS7726-32X Nov 5 17:56:28.845826 sonic-edgecore INFO snmp.sh[15785]: Starting existing snmp container with HWSKU Accton-AS7726-32X Nov 5 17:56:28.866916 sonic-edgecore INFO bgp.sh[15799]: Starting existing bgp container with HWSKU Accton-AS7726-32X Nov 5 17:56:28.871208 sonic-edgecore INFO radv.sh[15789]: Starting existing radv container with HWSKU Accton-AS7726-32X
CPUにパケットを送る機能によるもの。 ◦ CPUへのパケット転送許可の制御は Configで可能。COPPの項目を参照。 • ip link set down dev Ethernet0ではフロントパネルポートはdownしない。 ◦ show interfaces statusで確認するとoper upのまま。 ◦ Cumulus Linuxと違い、ipコマンドでのlink操作はできない。 25