AIDC Intelligent Routing
AIDC Intelligent Routing View
Section titled “AIDC Intelligent Routing View”Table 1 AIDC Intelligent Routing View
Command | Purpose |
---|---|
show router-type | Display the type of role the device performs in the 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
Section titled “show router-type”[Command]
show router-type
[Purpose]
Display the type of role the device performs in the network
[View]
Privileged User View
[Use Cases]
sonic# show router-typerouter-type : leaf
show ai-network summary
Section titled “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 summaryAI NETWORK INFO : ai network mode : static ai network alb : enableDOWNLINK : 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|instance-id}
Section titled “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 allAI 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 Localvrf 10 13.0.0.10 0/13 Localvrf 10 21.0.2.0/24 vlan5 Remotevrf 10 21.0.3.0/24 0/7.7 Remotevrf 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 false0/13 13.0.0.10 00:10:12:00:00:02 IPv4 false
AIDC Intelligent Routing Config
Section titled “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}
Section titled “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# configuresonic(config)# router-type spine
ai-network mode {static|dynamic}[alb]
Section titled “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# configuresonic(config)# ai-network mode dynamicorsonic# configuresonic(config)# ai-network mode dynamic alb
ai-network uplink-list {interface-list|default}
Section titled “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 |
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# configuresonic(config)# ai-network uplink-list 0/40,0/124
ai-network downlink-list {interface-list|default}
Section titled “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 |
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# configuresonic(config)# ai-network downlink-list 0/40,0/124
ai-network uplink {bgp-link-local|bgp-normal}
Section titled “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# configuresonic(config)# ai-network uplink bgp-link-local
ai-network downlink {bgp-link-local|bgp-normal}
Section titled “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# configuresonic(config)# ai-network downlink bgp-link-local
ai-network instance instance-id
Section titled “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# configuresonic(config)# ai-network instance 10
description description
Section titled “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# configuresonic(config)# ai-network instance 10sonic(config-ai-network-10)# description test
downlink-list {interface-list|default}
Section titled “downlink-list {interface-list|default}”[Command]
downlink-list {interface-list|default}
[Purpose]
Configure the AI-network downlink interface
[Parameters]
Parameter | Description |
---|---|
interface-list | List of interfaces, which need to be physical Layer 3 ports |
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# configuresonic(config)# ai-network instance 10sonic(config-ai-network-10)# downlink-list 0/120,0/244
downlink-mode {arp|bgp}
Section titled “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# configuresonic(config)# ai-network instance 10sonic(config-ai-network-10)# downlink-mode arp
ip-list ip-list
Section titled “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# configuresonic(config)# ai-network instance 10sonic(config-ai-network-10)# downlink-mode arpsonic(config-ai-network-10-arp)# ip-list 12.0.0.3,24.0.0.3,12.1.0.3
ethernet interface-name ip-list
Section titled “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# configuresonic(config)# ai-network instance 10sonic(config-ai-network-10)# downlink-mode bgpsonic(config-ai-network-10-bgp)# ethernet 0/244 24.0.0.1/24,26.0.0.1