@@ -33,18 +33,18 @@ The following steps (with examples) are used in creating and provisioning a Nexu
33
33
34
34
``` azurecli
35
35
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>}"
48
48
--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
49
49
50
50
```
@@ -57,19 +57,19 @@ The following steps (with examples) are used in creating and provisioning a Nexu
57
57
58
58
``` azurecli
59
59
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"}'
73
73
--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
74
74
75
75
```
@@ -84,12 +84,12 @@ The following steps (with examples) are used in creating and provisioning a Nexu
84
84
85
85
``` azurecli
86
86
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']}]}]"
93
93
--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'}]}]"
94
94
95
95
````
@@ -98,11 +98,11 @@ The following steps (with examples) are used in creating and provisioning a Nexu
98
98
99
99
```azurecli
100
100
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>"
104
104
--configuration-type "File" \
105
- --acls-url "https://ACL-Storage-URL" --default-action "Permit" \
105
+ --acls-url "https://ACL-Storage-URL" --default-action "Permit"
106
106
--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']}]}]"
107
107
108
108
````
@@ -111,15 +111,15 @@ The following steps (with examples) are used in creating and provisioning a Nexu
111
111
112
112
```azurecli
113
113
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"
123
123
--egress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4egressACL"
124
124
125
125
````
@@ -130,9 +130,9 @@ The following steps (with examples) are used in creating and provisioning a Nexu
130
130
131
131
```azurecli
132
132
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>
136
136
--serial-number <NF_DEVICE_SN>
137
137
138
138
````
@@ -141,7 +141,7 @@ The following steps (with examples) are used in creating and provisioning a Nexu
141
141
142
142
```azurecli
143
143
144
- az networkfabric fabric provision --resource-group "<NFResourceGroup>" \
144
+ az networkfabric fabric provision --resource-group "<NFResourceGroup>"
145
145
--resource-name "<NFName>"
146
146
147
147
````
0 commit comments