Skip to content

Commit d5a7cfb

Browse files
authored
Merge pull request #302761 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents f7e96ca + a726185 commit d5a7cfb

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
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

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ To create a Traffic Manager subnet override, you can use Azure PowerShell to add
6969
7070
### Add a range of IPs with a subnet ###
7171
Add-AzTrafficManagerIPAddressRange -TrafficManagerEndpoint $TrafficManagerEndpoint -First "12.13.14.0" -Last "12.13.14.31" -Scope 27
72-
72+
73+
### Add a range of IPv6 IPs ###
74+
Add-AzTrafficManagerIPAddressRange -TrafficManagerEndpoint $TrafficManagerEndpoint -First "2001:0db8:85a3::1" -Last "2001:0db8:85a3::ffff"
75+
7376
```
7477
7578
### Update Endpoint
@@ -109,6 +112,9 @@ Set-AzTrafficManagerEndpoint -TrafficManagerEndpoint $TrafficManagerEndpoint
109112
### Remove a range of IPs with a subnet ###
110113
Remove-AzTrafficManagerIpAddressRange -TrafficManagerEndpoint $TrafficManagerEndpoint -First "12.13.14.0"
111114
115+
### Remove a range of IPv6 IPs ###
116+
Remove-AzTrafficManagerIpAddressRange -TrafficManagerEndpoint $TrafficManagerEndpoint -First "2001:0db8:85a3::1"
117+
112118
```
113119
114120
### Update Endpoint

0 commit comments

Comments
 (0)