0% found this document useful (0 votes)
151 views5 pages

Cisco Configuration Overview

This configuration file defines routing and forwarding parameters for an ASBR router. It configures OSPF and BGP routing with MPLS enabled, along with various interfaces, VLANs, and VPN forwarding. VRF ABC is defined with an address family to separate routing tables and forwarding domains.

Uploaded by

Tuấn Việt
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
151 views5 pages

Cisco Configuration Overview

This configuration file defines routing and forwarding parameters for an ASBR router. It configures OSPF and BGP routing with MPLS enabled, along with various interfaces, VLANs, and VPN forwarding. VRF ABC is defined with an address family to separate routing tables and forwarding domains.

Uploaded by

Tuấn Việt
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

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 [Link] [Link] ! interface Loopback100 vrf forwarding ABC ip address [Link] [Link] ! 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 [Link] [Link] ip ospf network point-to-point ip ospf 1201 area 0 mpls ip ! interface Vlan101 ip address [Link] [Link] ! interface Vlan200 mtu 9192 ip address [Link] [Link] ip ospf network point-to-point ip ospf 1201 area 0 mpls ip ! interface Vlan300 vrf forwarding ABC ip address [Link] [Link] ! router ospf 1201 router-id [Link] 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 [Link] [Link] area 0 network [Link] [Link] area 0 ! router bgp 24088 bgp router-id [Link] bgp log-neighbor-changes no bgp default ipv4-unicast neighbor pe peer-group neighbor pe remote-as 24088 neighbor pe update-source Loopback0 neighbor [Link] peer-group pe neighbor [Link] peer-group pe ! address-family ipv4 exit-address-family ! address-family vpnv4 neighbor pe send-community extended neighbor [Link] activate neighbor [Link] 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 [Link] [Link] [Link] ! logging source-interface Vlan101 logging host [Link] ! 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 [Link] 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

You might also like