Skip to content

Commit 2d1041e

Browse files
authored
Update concepts-network-fabric-optionA-optionB.md
1 parent 108d1f1 commit 2d1041e

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

articles/operator-nexus/concepts-network-fabric-optionA-optionB.md

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ The following steps (with examples) are used in creating and provisioning a Nexu
3333

3434
```azurecli
3535
36-
az networkfabric fabric create \
37-
--resource-group "<NFResourceGroup>"
38-
--location "<Location>" \
39-
--resource-name "<NFName>" \
40-
--nf-sku "<NFSKU>" \
41-
--fabric-version "x.x.x" \
42-
--nfc-id "/subscriptions/<subscription_id>/resourceGroups/<NFResourceGroup>/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/<NFCName>" \
43-
--fabric-asn 65048 \
44-
--ipv4-prefix x.x.x.x/19 \
45-
--rack-count 4 \
46-
--server-count-per-rack 8 \
47-
--ts-config "{primaryIpv4Prefix:'x.x.0.0/30',secondaryIpv4Prefix:'x.x.x.x/30',username:'****',password:'*****',serialNumber:<TS_SN>}" \
36+
az networkfabric fabric create
37+
--resource-group "<NFResourceGroup>"
38+
--location "<Location>"
39+
--resource-name "<NFName>"
40+
--nf-sku "<NFSKU>"
41+
--fabric-version "x.x.x"
42+
--nfc-id "/subscriptions/<subscription_id>/resourceGroups/<NFResourceGroup>/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/<NFCName>"
43+
--fabric-asn 65048
44+
--ipv4-prefix x.x.x.x/19
45+
--rack-count 4
46+
--server-count-per-rack 8
47+
--ts-config "{primaryIpv4Prefix:'x.x.0.0/30',secondaryIpv4Prefix:'x.x.x.x/30',username:'****',password:'*****',serialNumber:<TS_SN>}"
4848
--managed-network-config "{infrastructureVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'x.x.x.x/31',secondaryIpv4Prefix:'x.x.x.x/31'}},workloadVpnConfiguration:{networkToNetworkInterconnectId:'/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkFabrics/example-fabric/networkToNetworkInterconnects/example-nni',peeringOption:OptionA,optionAProperties:{bfdConfiguration:{multiplier:5,intervalInMilliSeconds:300},mtu:1500,vlanId:520,peerASN:65133,primaryIpv4Prefix:'x.x.x.x/31',secondaryIpv4Prefix:'x.x.x.x/31',primaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127',secondaryIpv6Prefix:'3FFE:FFFF:0:CD30::a0/127'}}}" --debug --no-wait
4949
5050
```
@@ -57,19 +57,19 @@ The following steps (with examples) are used in creating and provisioning a Nexu
5757

5858
```azurecli
5959
60-
az networkfabric fabric create \
61-
--resource-group "<NFResourceGroup>"
62-
--location "<Location>" \
63-
--resource-name "<NFName>" \
64-
--nf-sku "<NFSKU>" \
65-
--fabric-version "x.x.x" \
66-
--nfc-id "/subscriptions/<subscription_id>/resourceGroups/<NFResourceGroup>/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/<NFCName>" \
67-
--fabric-asn 65048 \
68-
--ipv4-prefix "x.x.x.x/19" \
69-
--ipv6-prefix "fd02:0000:7748:0140::/59" \
70-
--rack-count 8 \
71-
--server-count-per-rack 16 \
72-
--ts-config '{"primaryIpv4Prefix": "x.x.x.x/30", "secondaryIpv4Prefix": "x.x.x.x/30", "username": "'$TS_USER'", "password": "'$TS_PASSWORD'", "serialNumber": "<TS_SN>", "primaryIpv6Prefix": "fd00:0:7748:016e::/64", "secondaryIpv6Prefix": "fd00:0:7748:016f::/64"}' \
60+
az networkfabric fabric create
61+
--resource-group "<NFResourceGroup>"
62+
--location "<Location>"
63+
--resource-name "<NFName>"
64+
--nf-sku "<NFSKU>"
65+
--fabric-version "x.x.x"
66+
--nfc-id "/subscriptions/<subscription_id>/resourceGroups/<NFResourceGroup>/providers/Microsoft.ManagedNetworkFabric/networkFabricControllers/<NFCName>"
67+
--fabric-asn 65048
68+
--ipv4-prefix "x.x.x.x/19"
69+
--ipv6-prefix "fd02:0000:7748:0140::/59"
70+
--rack-count 8
71+
--server-count-per-rack 16
72+
--ts-config '{"primaryIpv4Prefix": "x.x.x.x/30", "secondaryIpv4Prefix": "x.x.x.x/30", "username": "'$TS_USER'", "password": "'$TS_PASSWORD'", "serialNumber": "<TS_SN>", "primaryIpv6Prefix": "fd00:0:7748:016e::/64", "secondaryIpv6Prefix": "fd00:0:7748:016f::/64"}'
7373
--managed-network-config '{"infrastructureVpnConfiguration": {"peeringOption": "OptionB", "optionBProperties": {"routeTargets": {"exportIpv4RouteTargets": ["13979:2928504", "13979:106948"], "exportIpv6RouteTargets": ["13979:2928504", "13979:106948"], "importIpv4RouteTargets": ["13979:2928504", "13979:106947"], "importIpv6RouteTargets": ["13979:2928504", "13979:106947"]}}}, "workloadVpnConfiguration": {"peeringOption": "OptionB", "optionBProperties": {"routeTargets": {"exportIpv4RouteTargets": ["13979:2928516"], "exportIpv6RouteTargets": ["13979:2928516"], "importIpv4RouteTargets": ["13979:2928516"], "importIpv6RouteTargets": ["13979:2928516"]}}}}' --debug --no-wait
7474
7575
```
@@ -84,12 +84,12 @@ The following steps (with examples) are used in creating and provisioning a Nexu
8484

8585
```azurecli
8686
87-
az networkfabric acl create --resource-group "<NFResourceGroup>" \
88-
--location "<Location>" \
89-
--resource-name "<example-Ipv4ingressACL>" \
90-
--configuration-type "Inline" \
91-
--default-action "Permit" \
92-
--dynamic-match-configurations "[{ipGroups:[{name:'example-ipGroup',ipAddressType:IPv4,ipPrefixes:['x.x.x.x/20']}],vlanGroups:[{name:'example-vlanGroup',vlans:['20-30']}],portGroups:[{name:'example-portGroup',ports:['100-200']}]}]" \
87+
az networkfabric acl create --resource-group "<NFResourceGroup>"
88+
--location "<Location>"
89+
--resource-name "<example-Ipv4ingressACL>"
90+
--configuration-type "Inline"
91+
--default-action "Permit"
92+
--dynamic-match-configurations "[{ipGroups:[{name:'example-ipGroup',ipAddressType:IPv4,ipPrefixes:['x.x.x.x/20']}],vlanGroups:[{name:'example-vlanGroup',vlans:['20-30']}],portGroups:[{name:'example-portGroup',ports:['100-200']}]}]"
9393
--match-configurations "[{matchConfigurationName:'example-match',sequenceNumber:123,ipAddressType:IPv4,matchConditions:[{etherTypes:['0x1'],fragments:['0xff00-0xffff'],ipLengths:['4094-9214'],ttlValues:[23],dscpMarkings:[32],portCondition:{flags:[established],portType:SourcePort,layer4Protocol:TCP,ports:['1-20']},protocolTypes:[TCP],vlanMatchCondition:{vlans:['20-30'],innerVlans:[30]},ipCondition:{type:SourceIP,prefixType:Prefix,ipPrefixValues:['x.x.x.x/12']}}],actions:[{type:Count,counterName:'example-counter'}]}]"
9494
9595
````
@@ -98,11 +98,11 @@ The following steps (with examples) are used in creating and provisioning a Nexu
9898
9999
```azurecli
100100
101-
az networkfabric acl create --resource-group "<NFResourceGroup>" \
102-
--location "<Location>" \
103-
--resource-name "<example-Ipv4egressACL>" \
101+
az networkfabric acl create --resource-group "<NFResourceGroup>"
102+
--location "<Location>"
103+
--resource-name "<example-Ipv4egressACL>"
104104
--configuration-type "File" \
105-
--acls-url "https://ACL-Storage-URL" --default-action "Permit" \
105+
--acls-url "https://ACL-Storage-URL" --default-action "Permit"
106106
--dynamic-match-configurations "[{ipGroups:[{name:'example-ipGroup',ipAddressType:IPv4,ipPrefixes:['x.x.x.x/20']}],vlanGroups:[{name:'example-vlanGroup',vlans:['20-30']}],portGroups:[{name:'example-portGroup',ports:['100-200']}]}]"
107107
108108
````
@@ -111,15 +111,15 @@ The following steps (with examples) are used in creating and provisioning a Nexu
111111
112112
```azurecli
113113
114-
az networkfabric nni create --resource-group "<NFResourceGroup>" \
115-
--fabric "<NFFabric>" \
116-
--resource-name "<NFNNIName>" \
117-
--nni-type "CE" \
118-
--is-management-type "True" \
119-
--use-option-b "True" \
120-
--layer2-configuration "{interfaces:['/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-interface'],mtu:1500}" \
121-
--option-b-layer3-configuration "{peerASN:28,vlanId:501,primaryIpv4Prefix:'x.x.x.x/30',secondaryIpv4Prefix:'x.x.x.x/30',primaryIpv6Prefix:'10:2:0:124::400/127',secondaryIpv6Prefix:'10:2:0:124::402/127'}" \
122-
--ingress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4ingressACL" \
114+
az networkfabric nni create --resource-group "<NFResourceGroup>"
115+
--fabric "<NFFabric>"
116+
--resource-name "<NFNNIName>"
117+
--nni-type "CE"
118+
--is-management-type "True"
119+
--use-option-b "True"
120+
--layer2-configuration "{interfaces:['/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/networkDevices/example-networkDevice/networkInterfaces/example-interface'],mtu:1500}"
121+
--option-b-layer3-configuration "{peerASN:28,vlanId:501,primaryIpv4Prefix:'x.x.x.x/30',secondaryIpv4Prefix:'x.x.x.x/30',primaryIpv6Prefix:'10:2:0:124::400/127',secondaryIpv6Prefix:'10:2:0:124::402/127'}"
122+
--ingress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4ingressACL"
123123
--egress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4egressACL"
124124
125125
````
@@ -130,9 +130,9 @@ The following steps (with examples) are used in creating and provisioning a Nexu
130130
131131
```azurecli
132132
133-
az networkfabric device update --resource-group "<NFResourceGroup>" \
134-
--resource-name "<Network-Device-Name>" \
135-
--host-name <example-device-hostname> \
133+
az networkfabric device update --resource-group "<NFResourceGroup>"
134+
--resource-name "<Network-Device-Name>"
135+
--host-name <example-device-hostname>
136136
--serial-number <NF_DEVICE_SN>
137137
138138
````
@@ -141,7 +141,7 @@ The following steps (with examples) are used in creating and provisioning a Nexu
141141
142142
```azurecli
143143
144-
az networkfabric fabric provision --resource-group "<NFResourceGroup>" \
144+
az networkfabric fabric provision --resource-group "<NFResourceGroup>"
145145
--resource-name "<NFName>"
146146
147147
````

0 commit comments

Comments
 (0)