Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configuration of one PE:
- A:vRR>config>service# info
- ----------------------------------------------
- customer 1 create
- description "Default customer"
- exit
- customer 30 create
- description "ISEL"
- exit
- vprn 30 customer 30 create
- description "VPRN_ISEL"
- autonomous-system 100
- route-distinguisher 64600:30
- vrf-target target:64600:30
- interface "toCE1" create
- address 10.1.1.0/31
- sap 1/1/4 create
- exit
- exit
- bgp
- group "toCE"
- as-override
- export "MP-BGP_to_CE"
- peer-as 200
- local-address 10.1.1.0
- split-horizon
- neighbor 10.1.1.1
- exit
- exit
- no shutdown
- exit
- no shutdown
- exit
- ----------------------------------------------
- #--------------------------------------------------
- echo "IP Configuration"
- #--------------------------------------------------
- interface "system"
- address 1.1.1.1/32
- no shutdown
- exit
- interface "toR2"
- address 10.0.0.0/31
- port 1/1/1
- no shutdown
- exit
- #--------------------------------------------------
- echo "OSPFv2 Configuration"
- #--------------------------------------------------
- ospf
- area 0.0.0.0
- interface "system"
- no shutdown
- exit
- interface "toR2"
- interface-type point-to-point
- no shutdown
- exit
- exit
- no shutdown
- exit
- #--------------------------------------------------
- echo "MPLS Configuration"
- #--------------------------------------------------
- mpls
- shutdown
- interface "system"
- no shutdown
- exit
- interface "toR2"
- no shutdown
- exit
- exit
- #--------------------------------------------------
- echo "RSVP Configuration"
- #--------------------------------------------------
- rsvp
- shutdown
- interface "system"
- no shutdown
- exit
- interface "toR2"
- no shutdown
- exit
- exit
- #--------------------------------------------------
- echo "MPLS LSP Configuration"
- #--------------------------------------------------
- mpls
- exit
- #--------------------------------------------------
- echo "LDP Configuration"
- #--------------------------------------------------
- ldp
- interface-parameters
- interface "toR2" dual-stack
- ipv4
- no shutdown
- exit
- no shutdown
- exit
- exit
- targeted-session
- exit
- no shutdown
- exit
- #--------------------------------------------------
- echo "Policy Configuration"
- #--------------------------------------------------
- policy-options
- begin
- policy-statement "MP-BGP_to_CE"
- entry 1
- from
- protocol bgp-vpn
- exit
- action accept
- exit
- exit
- exit
- commit
- exit
- #--------------------------------------------------
- echo "BGP Configuration"
- #--------------------------------------------------
- bgp
- group "multi-bgp"
- family vpn-ipv4
- peer-as 64600
- neighbor 3.3.3.3
- local-address 1.1.1.1
- exit
- exit
- group "bmulti-bgpb"
- exit
- no shutdown
- exit
- ----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement