Skip to content

configs for CSG

jsvon edited this page Oct 8, 2024 · 2 revisions
[ sysname CSG mpls lsr-id 1.1.1.1 mpls # mpls ldp # isis 1 network-entity 10.0000.0000.0000.0010.00 # interface GigabitEthernet0/0/0 isis enable 1 mpls mpls ldp # interface GigabitEthernet0/0/1 ip address 10.1.1.1 255.255.255.0 mpls mpls ldp

interface GigabitEthernet0/0/2

interface LoopBack1 ip address 1.1.1.1 255.255.255.255 isis enable 1

bgp 100 peer 1.1.1.1 as-number 100 peer 2.2.2.2 as-number 100 peer 2.2.2.2 connect-interface LoopBack1 peer 3.3.3.3 as-number 100

ipv4-family unicast undo synchronization network 1.1.1.1 255.255.255.255 peer 1.1.1.1 enable peer 1.1.1.1 route-policy policy1 export peer 1.1.1.1 reflect-client peer 1.1.1.1 next-hop-local peer 1.1.1.1 label-route-capability peer 2.2.2.2 enable peer 2.2.2.2 route-policy policy1 export peer 2.2.2.2 label-route-capability peer 3.3.3.3 enable peer 3.3.3.3 route-policy policy1 export peer 3.3.3.3 reflect-client peer 3.3.3.3 next-hop-local peer 3.3.3.3 label-route-capability

ospf 1 area 0.0.0.0 network 1.1.1.1 0.0.0.0 network 10.1.1.0 0.0.0.255

route-policy policy! permit node 1 apply mpls-label

Clone this wiki locally