Category Archives: ASR 9k

Invalid number(-96) on ASR 9k

RP/0/RSP0/CPU0:(config-ipv4-acl)#10328 permit ipv4 13.25.3.192 0.0.0.63 any

Invalid number(-96) sent as ASCII value to command-line process from VTY/TTY, refreshing prompt.

when I was pasting in a configuration from a
text file. During editing, somehow the file ended up with invisible
characters that were included when I copied-and-pasted the config into
the router. I had to open it up in a hex editor to see what was
happening. Check any settings you might have in your terminal software
that could be sending characters to the router that it doesn’t
understand.

Soln: manually adding the configuration with copying from txt file.

Advertisements

Bridge Domain Interface (BID)

An Ethernet flow point (EFP) service instance is a logical interface that connects a bridge domain to a physicalport or to an EtherChannel group. An incoming frame is matched against EFP matching criteria on the interface,learned on the matching EFP, and forwarded to one or more EFPs in the bridge domain. If there are no matchingEFPs, the frame is dropped. EFP is the building block for Ethernet Virtual Circuit, bridged EVC hop-by-hop,EoMPLS or VPLS. An EFP can be viewed as switch access port but more powerful as it can manipulate the framesby removing and imposing vlan tags. The following EFP matches incoming dot1q vlan 10, removes the vlan tagand forwards into bridge-domain 10. On egress direction, a frame will be imposed vlan 10 before sending out onthe wire.

The Cisco ASR 903 router does not support sub-interfaces as on the other Cisco platforms but a workaround can be used by pairing an Ethernet flow point (EFP) with a bridge domain interface (BDI).

•BDI is similar to SVI on the switch.
•At least one EFP must be associated with BDI to have line protocol up.
•EFP must make the packet native, one tag or two tags popping may be needed.
•Bridge-domain interface supports routing.
•Symmetric keyworld is required for push or pop operation.

The following shows an example how to create “sub-interface” off the interface of Gigabit Ethernet 0/2/0 on CiscoASR 903 router. The EFP will match encapsulation with vlan tag 10, pop the dot1q header in ingress direction,forward the packet into bridge-domain 10 (think BD as Vlan domain as on the switch)

https://www.cisco.com/c/en/us/td/docs/wireless/asr_900/feature/guides/evc.html
https://www.manualslib.com/manual/576793/Cisco-Asr-903.html?page=9#manual
http://networkerslog.blogspot.com/2012/12/concept-of-bridge-domain-interfaces-bdi.html

Automate Backup Configuration

CISCO ASR 9K

I. How to automatically backup the running configuration?

II. Solution
1. EMM
2. Commit auto save feature
3. Using Config management tools.

https://l.facebook.com/l.php?u=https%3A%2F%2Fsupportforums.cisco.com%2Ft5%2Fxr-os-and-platforms%2Fhow-can-i-do-scheduled-automatic-backups-to-an-ftp-server-in-ios%2Ftd-p%2F2094990&h=ATMoVyICkL-Z1ofujoYph2k5e5-fsnM___3F0tCWiqzJUJ7odLG9D2vIhX913kuQ0VVOMTIF2BDfLJGtOd5Q5i6OoerWK-DLcYJt4Ey080U2DIUnpPRxSt183v4xVkJ5cm46i0YI3EMXA9KwumMmhiuowmO4tc4uohAifBLCL28WW2HrlPgtgodo7k-IqkxAzBBrlo3n5ki2m4wblJjWeTgFaZDzpS918Au54Rj6lJN_VryJzX4EhoIHtwgPdU9Y

Syslog Configuration

IOS XR 5.1.2

! Uses router’s RAM for storing log messages.
#logging buffered 1000000

! Syslog to forward log messages to external syslog servers and set syslog level.
#logging x.x.x.x vrf default severity debugging
#logging x.x.x.x vrf BACKUP severity emergencies

! Specify that syslog packets contain the IP address of a particular interface, regardless of which interface the packet uses to exit the networking device.
# logging source-interface MgmtEth0/RSP0/CPU0/0