Command Line Reference
AIDC Intelligent Routing
23 min
aidc intelligent routing view aidc intelligent routing view table 1 aidc intelligent routing view table 1 aidc intelligent routing view command purpose show router type display the type of role the device performs in network show ai network summary display ai network summary configuration show ai network instance { all | instance id } display ai network instance configuration show router type show router type \[command] show router type \[purpose] display the type of role the device performs in network \[view] privileged user view \[use cases] sonic# show router type router type leaf show ai network summary show ai network summary \[command] show ai network summary \[purpose] display ai network summary configuration \[view] privileged user view \[use cases] sonic# show ai network summary ai network info ai network mode static ai network alb enable downlink downlink list 0/0,0/1,0/2,0/3,0/4,0/5,0/6,0/7 use bgp link local true show ai network instance {all| show ai network instance {all| instance id } \[command] show ai network instance { all | instance id } \[purpose] display ai network instance configuration \[parameters] parameter description instance id instance id, range 1 1024 \[view] privileged user view \[use cases] sonic# show ai network instance all ai network instance 10 downlink list 0/12 0/14 downlink mode arp downlink iplist 12 0 0 10,12 0 0 11,13 0 0 10,13 0 0 11,14 0 0 10,14 0 0 11 down to up port map + + + \| down port | up port | +=============+===========+ \| 0/12 | 0/4 | + + + \| 0/13 | 0/5 | + + + \| 0/14 | 0/6 | + + + route table vrf prefix ifname weight local or remote \ vrf 10 12 0 0 10 0/12 local vrf 10 13 0 0 10 0/13 local vrf 10 21 0 2 0/24 vlan5 remote vrf 10 21 0 3 0/24 0/7 7 remote vrf 10 fe80 vlan5 remote neigh table ifname ip neigh mac family extern learn \ 0/12 12 0 0 10 00 10 12 00 00 00 ipv4 false 0/13 13 0 0 10 00 10 12 00 00 02 ipv4 false aidc intelligent routing config aidc intelligent routing config table 2 aidc intelligent routing config table 2 aidc intelligent routing config command purpose router type { leaf | spine} configure the type of role the device performs in the network ai network mode { static | dynamic }\[ alb ] configure the mode of ai network ai network uplink list { interface list | default } configure ai network uplink interface ai network downlink list { interface list | default } configure ai network downlink interface ai network uplink { bgp link local | bgp normal } configure ai network uplink bgp neighbor mode ai network downlink { bgp link local | bgp normal } configure ai network downlink bgp neighbor mode ai network instance instance id configure ai network instance description description configure ai network instance description downlink list { interface list | default } configure the ai network downlink interface downlink mode { arp | bgp } configure ai network downlink routing mode ip list ip list configure ai network downlink ip list in arp mode ethernet interface name ip list configure ai network downlink ip list in bgp mode router type {leaf|spine} router type {leaf|spine} \[command] router type { leaf | spine } \[purpose] configure the type of role the device performs in the network \[view] global configuration view \[notes] default type is leaf \[use cases] sonic# configure sonic(config)# router type spine ai network mode {static|dynamic}\[alb] ai network mode {static|dynamic}\[alb] \[command] ai network mode { static | dynamic }\[ alb ] \[purpose] configure the mode of ai network \[parameters] parameter description alb enable the linkage between intelligent routing and ars \[view] global configuration view \[notes] default mode is static \[use cases] sonic# configure sonic(config)# ai network mode dynamic or sonic# configure sonic(config)# ai network mode dynamic alb ai network uplink list { ai network uplink list { interface list |default} \[command] ai network uplink list { interface list | default } \[purpose] configure ai network uplink interface \[parameters] parameter description interface list list of interfaces, which need to be physical layer 3 ports, can be configured with one or more interfaces(0/0 0/64, 0/128) default using the default configuration, half of the ports above the front panel are uplink ports \[view] global configuration view \[notes] only supported when router type is leaf run command no ai network uplink list to delete ai network uplink interface configuration \[use cases] sonic# configure sonic(config)# ai network uplink list 0/40,0/124 ai network downlink list { ai network downlink list { interface list |default} \[command] ai network downlink list { interface list | default } \[purpose] configure ai network downlink interface \[parameters] parameter description interface list list of interfaces, which need to be physical layer 3 ports, can be configured with one or more interfaces(0/0 0/64, 0/128) default using the default configuration, half of the ports above the front panel are downlink ports \[view] global configuration view \[notes] only supported when router type is spine run command no ai network downlink list to delete ai network downlink interface configuration \[use cases] sonic# configure sonic(config)# ai network downlink list 0/40,0/124 ai network uplink {bgp link local|bgp normal} ai network uplink {bgp link local|bgp normal} \[command] ai network uplink { bgp link local | bgp normal } \[purpose] configure ai network uplink bgp neighbor mode \[parameters] parameter description bgp link local automatically create bgp neighbors with interface link local bgp normal select to manually configure bgp neighbors \[view] global configuration view \[notes] only supported when router type is leaf run command no ai network uplink { bgp link local | bgp normal } to delete ai network uplink bgp neighbor mode configuration \[use cases] sonic# configure sonic(config)# ai network uplink bgp link local ai network downlink {bgp link local|bgp normal} ai network downlink {bgp link local|bgp normal} \[command] ai network downlink { bgp link local | bgp normal } \[purpose] configure ai network downlink bgp neighbor mode \[parameters] parameter description bgp link local automatically create bgp neighbors with interface link local bgp normal select to manually configure bgp neighbors \[view] global configuration view \[notes] only supported when router type is spine run command no ai network downlink { bgp link local | bgp normal } to delete ai network downlink bgp neighbor mode configuration \[use cases] sonic# configure sonic(config)# ai network downlink bgp link local ai network instance instance id ai network instance instance id \[command] ai network instance instance id \[purpose] configure an ai network instance \[parameters] parameter description instance id instance id, range 1 1024 \[view] global configuration view \[notes] only supported when router type is leaf run command no ai network instance instance id to delete ai network instance configuration \[use cases] sonic# configure sonic(config)# ai network instance 10 description description description \[command] description description \[purpose] configure ai network instance description \[parameters] parameter description description description information, in string form \[view] ai network instance configuration view \[notes] run command no description to delete description \[use cases] sonic# configure sonic(config)# ai network instance 10 sonic(config ai network 10)# description test downlink list { downlink list { interface list |default} \[command] downlink list { interface list | default } \[purpose] configure the ai network downlink interface \[parameters] parameter description interface list the interface list can be configured with one or more interfaces; arp mode supports layer 3 physical interfaces (0/0 0/64, 0/128) and vlan interfaces (vlan64, vlan128); bgp mode only supports layer 3 physical interfaces default using the default configuration, bottom half of front panel ports \[view] ai network instance configuration view \[notes] run command no ai network downlink list to delete ai network downlink interface configuration \[use cases] sonic# configure sonic(config)# ai network instance 10 sonic(config ai network 10)# downlink list 0/120,0/244 or sonic(config)# ai network instance 10 sonic(config ai network 10)# downlink list vlan32 downlink mode {arp|bgp} downlink mode {arp|bgp} \[command] downlink mode { arp | bgp } \[purpose] configure ai network downlink routing mode \[parameters] parameter description arp arp mode bgp bgp mode \[view] ai network instance configuration view \[notes] run command no downlink mode { arp | bgp } to delete ai network downlink routing mode configuration \[use cases] sonic# configure sonic(config)# ai network instance 10 sonic(config ai network 10)# downlink mode arp ip list ip list ip list \[command] ip list ip list \[purpose] configure ai network downlink ip address list in arp mode \[parameters] parameter description ip list ip address list, 32 bit only \[view] ai network instance arp mode configuration view \[notes] run command no ip list ip list to delete ai network downlink ip list configuration \[use cases] sonic# configure sonic(config)# ai network instance 10 sonic(config ai network 10)# downlink mode arp sonic(config ai network 10 arp)# ip list 12 0 0 3,24 0 0 3,12 1 0 3 ethernet ethernet interface name ip list \[command] ethernet interface name ip list \[purpose] configure ai network downlink ip list in bgp mode \[parameters] parameter description interface name interface name ip list ip address list \[view] ai network instance bgp mode configuration view \[notes] run command no ethernet interface name ip list to delete ai network downlink ip list configuration \[use cases] sonic# configure sonic(config)# ai network instance 10 sonic(config ai network 10)# downlink mode bgp sonic(config ai network 10 bgp)# ethernet 0/244 24 0 0 1/24,26 0 0 1
