are you using VRFs on C? If not it comes down to normal BGP behaviour. And MED in non transitive, thus should be removed when forwarded from C to B.
So I would not expect to see MED on C in an internet scenario.
If you talk about VRFs the MED is transported from PE to PE to allow to transparently transport the IGP metric of a customer. The MED is used in the VRFs during redistribution in and out of the customer IGP.
All routing protocol information received on a a PE-CE link is carried using MPBGP extended communities,
Now the mechanism how non transitive attribute is carried over from one side to another side, is that the received information always gets mapped into and carried in the MPLS cloud into extended communities.
And by default extended communities are transitive communities. and also they are carrying the MED information into extended communities and it gets preserved, and gets into the other side BGP table.
In Summary the intermediate MPLS routers are carrying MED transaprently through extended communities and hence dont touch it.
If router A is in AS100 and B is in AS 100, BGP will reject the route because of dual AS, this is a loop to BGP.
If router A is a CE site and Router B is a CE, then you need to use the AS Override command to get around have the same AS Path.
address-family ipv4 vrf V28:Internet-VPN
neighbor 192.168.202.18 remote-as 65100
neighbor 192.168.202.18 activate
neighbor 192.168.202.18 as-override
Also don't forget the MED is only passed between EBGP peers. If the Peers are in the same AS MED is not passed. To better influence outbound routing use Local Preference to better influence inbound routing use Prepending.
In a normal envirnonment it is carred from eBGP to eBGP, but not iBGP peers.
In MPLS it can be tricky, used on the extended communities. So it can be tricky to work with. If you end goal is to identify routes and make routing decisions on them, use SOO to identify the routes and then use local pref or prepend to influence routing decisions.
The Cisco EPN system incorporates a network architecture designed to consolidate multiples services on a single Multiprotocol Label Switching (MPLS) transport network. This network is designed primarily based on Application Engineered...
Internet security is important with the increasing attacks that are happening every day. Many internet and browsing security solutions exist, but some are not very easy to use or maybe the question is how can I enable them?
Cisco Software Manager Server
This document describes the programmatic interfaces, RESTful APIs, which are supported by Cisco Software Manager Server (CSM Server).
CSM Server supports a set of finite RESTful APIs. The fir...