MPLS LDP access-list to allow neighbors to form

LDP uses TCP port 646 for adjacency connection and label exchange…
LDP neighbors send hellos to 224.0.0.2 multicast address (all routers on a subnet)…

R0(config-ext-nacl)#do sh ip access-list
Extended IP access list MPLS
10 permit icmp any any
11 permit ip host 1.1.1.1 host 224.0.0.2 (52 matches)
15 permit tcp any eq 646 host 1.1.1.2 (3 matches)
20 deny ip any any (87 matches)

R0(config-ext-nacl)#do sh mpls ldp nei
Peer LDP Ident: 1.1.1.1:0; Local LDP Ident 1.1.1.2:0
TCP connection: 1.1.1.1.646 – 1.1.1.2.18505
State: Oper; Msgs sent/rcvd: 8/8; Downstream
Up time: 00:03:59
LDP discovery sources:
FastEthernet0/0, Src IP addr: 1.1.1.1
Addresses bound to peer LDP Ident:
1.1.1.1

When two LSRs are running LDP and they share one or more links between them, they should
discover each other by means of Hello messages. The second step is for them to establish a session
across a TCP connection. Across this TCP connection, LDP advertises the label mapping
messages between the two LDP peers. These label mapping messages are used to advertise,
change, or retract label bindings. LDP provides the means to notify the LDP neighbor of some
advisory and error messages by sending notification messages.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s