Sie sind auf Seite 1von 5

Lab-901-3#show run vrf definition ABC rd 24088:100 !

address-family ipv4 route-target export 24088:100 route-target import 24088:100 exit-address-family ! !card type command needed for slot/vwic-slot 0/0 logging buffered 64000 informational enable password cisco ! no aaa new-model ip cef ! ! ! ! no ipv6 cef ! ! ! ! ! ! ! mpls label protocol ldp mpls ldp session protection mpls ldp label allocate global host-routes mpls ldp discovery targeted-hello accept multilink bundle-name authenticated no l3-over-l2 flush buffers asr901-platf-frr enable ! ! archive log config logging enable spanning-tree mode pvst spanning-tree extend system-id username primeadmin privilege 15 secret 4 MD2TWeNyilUuxNs2hwfaRhKHMorYAXZ9rsCxdB VWTBc ! cdp run ! ! ! ! ! ! ! ! ! ! ! ! ! !

! interface Loopback0 ip address 192.168.100.4 255.255.255.255 ! interface Loopback100 vrf forwarding ABC ip address 123.0.1.1 255.255.255.0 ! interface Loopback200 no ip address ! interface GigabitEthernet0/0 no ip address negotiation auto ! interface GigabitEthernet0/1 no ip address negotiation auto service instance 100 ethernet encapsulation untagged bridge-domain 101 ! ! interface GigabitEthernet0/2 no ip address negotiation auto ! interface GigabitEthernet0/3 no ip address negotiation auto ! interface GigabitEthernet0/4 no ip address negotiation auto ! interface GigabitEthernet0/5 no ip address media-type sfp no negotiation auto service instance 300 ethernet encapsulation untagged bridge-domain 300 ! ! interface GigabitEthernet0/6 no ip address negotiation auto ! interface GigabitEthernet0/7 no ip address negotiation auto ! interface GigabitEthernet0/8 no ip address negotiation auto ! interface GigabitEthernet0/9 no ip address no negotiation auto !

interface GigabitEthernet0/10 mtu 9192 no ip address load-interval 30 carrier-delay msec 0 negotiation auto synchronous mode cdp enable service instance 100 ethernet encapsulation dot1q 100 rewrite ingress tag pop 1 symmetric bridge-domain 100 ! ! interface GigabitEthernet0/11 mtu 9192 no ip address load-interval 30 carrier-delay msec 0 negotiation auto synchronous mode cdp enable service instance 200 ethernet encapsulation dot1q 200 rewrite ingress tag pop 1 symmetric bridge-domain 200 ! ! interface FastEthernet0/0 no ip address ! interface Vlan1 no ip address shutdown ! interface Vlan100 mtu 9192 ip address 172.16.100.10 255.255.255.252 ip ospf network point-to-point ip ospf 1201 area 0 mpls ip ! interface Vlan101 ip address 10.0.101.211 255.255.255.0 ! interface Vlan200 mtu 9192 ip address 172.16.100.13 255.255.255.252 ip ospf network point-to-point ip ospf 1201 area 0 mpls ip ! interface Vlan300 vrf forwarding ABC ip address 10.0.0.1 255.255.255.0 ! router ospf 1201 router-id 192.168.100.4 ispf auto-cost reference-bandwidth 100000

fast-reroute per-prefix enable area 0 prefix-priority low fast-reroute per-prefix enable prefix-priority low fast-reroute per-prefix remote-lfa tunnel mpls-ldp timers throttle spf 50 50 50 timers throttle lsa 50 50 50 timers lsa arrival 10 timers pacing flood 5 passive-interface Loopback0 network 172.16.100.8 0.0.0.3 area 0 network 192.168.100.4 0.0.0.0 area 0 ! router bgp 24088 bgp router-id 192.168.100.4 bgp log-neighbor-changes no bgp default ipv4-unicast neighbor pe peer-group neighbor pe remote-as 24088 neighbor pe update-source Loopback0 neighbor 192.168.0.3 peer-group pe neighbor 192.168.0.4 peer-group pe ! address-family ipv4 exit-address-family ! address-family vpnv4 neighbor pe send-community extended neighbor 192.168.0.3 activate neighbor 192.168.0.4 activate exit-address-family ! address-family ipv4 vrf ABC redistribute connected exit-address-family ! ip forward-protocol nd ! ! no ip http server no ip http secure-server ip route 0.0.0.0 0.0.0.0 10.0.101.1 ! logging source-interface Vlan101 logging host 172.30.1.2 ! snmp-server community Ct1nHTC RO snmp-server community HTCCt1n RW snmp-server trap-source Vlan101 snmp-server enable traps snmp authentication snmp-server enable traps ospf state-change snmp-server enable traps ospf errors snmp-server enable traps ospf retransmit snmp-server enable traps ospf lsa snmp-server enable traps ospf cisco-specific snmp-server enable traps ospf cisco-specific snmp-server enable traps ospf cisco-specific snmp-server enable traps ospf cisco-specific snmp-server enable traps ospf cisco-specific snmp-server enable traps ospf cisco-specific snmp-server enable traps bgp snmp-server enable traps config

linkdown linkup coldstart warmstart

state-change nssa-trans-change state-change shamlink interface state-change shamlink neighbor errors retransmit lsa

snmp-server enable traps ipmulticast snmp-server enable traps mpls ldp snmp-server enable traps syslog snmp-server enable traps entity snmp-server enable traps flash insertion removal snmp-server host 172.30.1.2 version 2c Ct1nHTC snmp ifmib ifindex persist mpls ldp router-id Loopback0 force ! ! control-plane ! environment monitor ! line con 0 line aux 0 transport preferred none transport output lat pad telnet rlogin udptn ssh line vty 0 4 exec-timeout 0 0 password cisco login line vty 5 15 exec-timeout 0 0 password cisco login line vty 16 98 login ! exception crashinfo buffersize 128 ! ! end

Das könnte Ihnen auch gefallen