Skip to content

Commit 7684fa3

Browse files
authored
Merge pull request #127368 from modaks/patch-1
Update traffic-manager-subnet-override-cli.md
2 parents 550a6c4 + 02359c3 commit 7684fa3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

articles/traffic-manager/traffic-manager-subnet-override-cli.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,28 @@ az network traffic-manager endpoint update \
6868
--remove subnets \
6969
--type AzureEndpoints
7070
```
71+
### IPv6 Subnet Mapping Examples ###
72+
You can also configure subnet mapping using IPv6 address ranges. Use the --type parameter with IPv6 and specify IPv6 addresses in CIDR or range format.
73+
74+
```azurecli-interactive
75+
### Add an IPv6 Subnet in CIDR Notation ###
76+
az network traffic-manager endpoint update \
77+
--resource-group MyResourceGroup \
78+
--profile-name MyTmProfile \
79+
--endpoint-name MyEndpoint \
80+
--type IPv6 \
81+
--subnets 2001:0db8:1234:5678::/64 \
82+
--endpoint-type ExternalEndpoints
83+
84+
### Add a range of IPs ###
85+
az network traffic-manager endpoint update \
86+
--resource-group MyResourceGroup \
87+
--profile-name MyTmProfile \
88+
--endpoint-name MyEndpoint \
89+
--type IPv6 \
90+
--subnets 2001:0db8:abcd:1234::1-2001:0db8:abcd:1234::ffff \
91+
--endpoint-type ExternalEndpoints
92+
```
7193

7294
## Next Steps
7395

0 commit comments

Comments
 (0)