[c-nsp] Best practice - Core vs Access Router

Andy B. globichen at gmail.com
Tue Feb 9 08:45:25 EST 2010


> Are these receive addresses in the router or transit?
>
> sh mls cef lookup x.x.160.112
> sh mls cef lookup x.x.160.112 detail
> <from output A:123>
> sh mls cef adjacency entry 123 detail
>

#show buffers input-interface te9/1 header

Buffer information for Small buffer at 0x50070DC8
  data_area 0x80667C4, refcount 1, next 0x45475F58, flags 0x280
  linktype 7 (IP), enctype 1 (ARPA), encsize 14, rxtype 1
  if_input 0x4646B618 (TenGigabitEthernet9/1), if_output 0x0 (None)
  inputtime 47w4d (elapsed 00:00:09.252)
  outputtime 47w4d (elapsed 00:03:54.772), oqnumber 65535
  datagramstart 0x806683A, datagramsize 62, maximum size 308
  mac_start 0x806683A, addr_start 0x806683A, info_start 0x0
  network_start 0x8066848, transport_start 0x8066878, caller_pc 0x4187C1F0

  source: x.x.224.116, destination: y.y.176.97, id: 0x79FD, ttl: 121,
  TOS: 0 prot: 6, source port 2844, destination port 445

x.x = outside
y.y = server connected to the core

#sh mls cef lookup x.x.224.116

Codes: decap - Decapsulation, + - Push Label
Index  Prefix              Adjacency
298605 x.x.192.0/18     Te9/1           , 0022.5517.0f00

#sh mls cef lookup y.y.176.97

Codes: decap - Decapsulation, + - Push Label
Index  Prefix              Adjacency
20304  y.y.176.0/24    glean
BCS#sh mls cef lookup y.y.176.97 detail

Codes: M - mask entry, V - value entry, A - adjacency index, P - priority bit
       D - full don't switch, m - load balancing modnumber, B - BGP Bucket sel
       V0 - Vlan 0,C0 - don't comp bit 0,V1 - Vlan 1,C1 - don't comp bit 1
       RVTEN - RPF Vlan table enable, RVTSEL - RPF Vlan table select
Format: IPV4_DA - (8 | xtag vpn pi cr recirc tos prefix)
Format: IPV4_SA - (9 | xtag vpn pi cr recirc prefix)
M(20304  ): E | 1 FFF  0 0 0 0   255.255.255.0
V(20304  ): 8 | 1 0    0 0 0 0   y.y.176.0      (A:14     ,P:1,D:0,m:0 ,B:0 )


More information about the cisco-nsp mailing list