Remove-AzExpressRouteCircuitMicrosoftPeeringPrefixConfig
Removes prefix validation properties for an advertised public prefix from the Microsoft peering.
Syntax
Default (Default)
Remove-AzExpressRouteCircuitMicrosoftPeeringPrefixConfig
-ExpressRouteCircuit <PSExpressRouteCircuit>
-PeerAddressType <String>
-Prefix <String>
[-ValidationId <String>]
[-Signature <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Remove-AzExpressRouteCircuitMicrosoftPeeringPrefixConfig cmdlet removes the properties used for validating
the advertised public prefix in Microsoft peering. After running Remove-AzExpressRouteCircuitMicrosoftPeeringPrefixConfig ,
you must call the Set-AzExpressRouteCircuit cmdlet to activate the configuration.
Examples
Example 1: Remove IPv4 Prefix validation config
$ckt = Get-AzExpressRouteCircuit -Name "ExpressRouteARMCircuit" -ResourceGroupName "ExpressRouteResourceGroup"
Remove-AzExpressRouteCircuitMicrosoftPeeringPrefixConfig -ExpressRouteCircuit $ckt -PeerAddressType IPv4 -Prefix "123.1.0.0/24"
Set-AzExpressRouteCircuit -ExpressRouteCircuit $ckt
Example 2: Remove IPv6 Prefix validation config
$ckt = Get-AzExpressRouteCircuit -Name "ExpressRouteARMCircuit" -ResourceGroupName "ExpressRouteResourceGroup"
Remove-AzExpressRouteCircuitMicrosoftPeeringPrefixConfig -ExpressRouteCircuit $ckt -PeerAddressType IPv6 -Prefix "123:1::0/64"
Set-AzExpressRouteCircuit -ExpressRouteCircuit $ckt
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ExpressRouteCircuit
The ExpressRouteCircuit
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-PeerAddressType
PeerAddressType
Parameter properties
Type: String
Default value: None
Accepted values: IPv4, IPv6
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-Prefix
Prefix
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Signature
Signature
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ValidationId
ValidationId
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs