ESR series service routers.ESR-Series. User manual
To view parameter of the established TCP session:
ESR# sh mpls ldp neighbor 4.4.4.4
Peer LDP ID: 4.4.4.4; Local LDP ID 1.1.1.1
State: Operational
TCP connection: 4.4.4.4:34879 - 1.1.1.1:646
Messages sent/received: 11/11
Uptime: 00:01:05
Peer holdtime: 150
Keepalive interval: 50
LDP discovery sources:
1.1.1.1 -> 4.4.4.4:
Hello interval: 10 seconds
Holdtime: 40 seconds
...
12.4 LDP tag filtering configuration
By default, routers allocate a separate label to each FEC. There are scenarios when it is necessary to allocate
MPLS tags only for certain FECs.
12.4.1 Configuration algorithm
Step Description Command Keys
1 Configure the LDP (see section LDP configuration).
2 Create network type object-group. esr(config)# object-group network
<NAME>
<NAME> – name of a subnet
list being configured, set by the
string of up to 31 characters.
3 Describe the subnets for which labels
will be assigned.
esr(config-object-group-network)#
ip prefix <ADDR/LEN>
<ADDR/LEN> – IP address and
subnet mask, defined as
AAA.BBB.CCC.DDD/EE where
each part AAA-DDD takes
values of [0..255] and EE takes
values of [1..32].
4 In the context of the LDP configuration,
apply the created object-group.
esr(config-ldp)# advertise-labels
<NAME>
<NAME> – name of a subnet
list being configured, set by the
string of up to 31 characters.
Tags will be allocated ONLY to the subnets described in the object-group, regardless of how they
were learned (connected, local, IGP, etc.).
Prefixes must be described in the object-group.
The prefix must have an exact match with the route from the FIB.