Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Step

Description

Command

Keys

1

In the context of MPLS parameters configuration, specify the interfaces involved in the MPLS switching process

esr(config-mpls)# forwarding interface { <IF> | <TUN> }

<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces;.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels;.

2

Specify the router-id for LDP (not necessary if transport-address is specified).

esr(config-ldp)# router-id <ID>

<ID> – router identifier, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

3

In the context of the address family ipv4 settings, specify transport-address (not necessary if router-id is specified).

esr(config-ldp-af-ipv4)# transport-address <ADDR>

<ADDR> – defined as AAA.BBB.CCC.DDD where each part takes values of [0..255].

4

In the context of the address family ipv4 settings, specify interfaces for enabling LDP process.

esr(config-ldp-af-ipv4)# interface { <IF> | <TUN> }

<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

5

Enable LDP process.

esr(config-ldp)# enable


6

Enable explicit-null functionality (optional).

esr(config-ldp)# egress-label-type explicit-null


7

In the LDP neighbor configuration mode, set the password with the password command (optional).

esr(config-ldp-neig)# password {<TEXT> | ENCRYPTED-TEXT>}

<CLEAR-TEXT> – password, sets by string of [8..16] characters;

<ENCRYPTED-TEXT> – encrypted password of [8..16] bytes ([16..32] characters) in hexadecimal format (0xYYYY...) or (YYYY...).

The following functionality is also available as part of the LDP configuration:

...

Step

Description

Command

Keys

1

Configure the LDP (see section LDP configuration).

2

Create pw-class in the system and switch to the pw-class configuration mode.

esr(config-l2vpn)# pw-class <WORD>

<WORD> — pw-class name [1..31] characters long.

3

Add a description for pw-class (optional).

esr(config-l2vpn-pw-class)# description <LINE>

<LINE> – description. Set by the string [1..255] characters long.

4

Set the MTU value for the pseudo-wire included in the pw-class (optional).

esr(config-l2vpn-pw-class)# encapsulation
mpls mtu <MTU>

<MTU> — MTU value, takes values in the range of [552..10000]

Default value: 1500.

5

Disable status-tlv messaging (optional).

esr(config-l2vpn-pw-class)# encapsulation
mpls status-tlv disable

Default value: status-tlv enable

6

Create p2p-class in the system and switch to the p2p-class configuration mode.

esr(config-l2vpn)# p2p <NAME>

<NAME> — name of the p2p service, set by the string of up to 31 characters.

7

Specify Attached Circuit interface.

esr(config-l2vpn-p2p)# interface
 { <IF> | <TUN> }

<IF> – an interface's name, specified in the form described in Section Types and naming order of router interfaces;.

<TUN> – the name of the tunnel is specified as described in section Types and naming order of router tunnels.

8

Enable p2p tunnel.

esr(config-l2vpn-p2p)# enable


9

Specify transport mode (optional).

esr(config-l2vpn-p2p)# transport-mode
{ ethenet | vlan }

<ethernet> — mode in which the 802.1Q tag is removed from the header when entering pseudo-wire;

<vlan> — mode in which the 802.1Q tag can be saved when transmitted over pseudo-wire.

Default value: ethernet.

10

Create a pseudo-wire and switch to its parameters configuration mode.

esr(config-l2vpn-p2p)# pw <PW_ID> <LSR_ID>

<PW_ID> — psewdowire identifier, specified in the range [1..4294967295].

<LSR_ID> — identifier of LSR to which pseudo-wire is built, specified as AAA.BBB.CCC.DDD, where each part takes values [0..255].

11

Add a description for pseudo-wire (optional).

esr(config-l2vpn-pw)# description <LINE>

<LINE> – description. Set by the string [1..255] characters long.

12

Set pw-class for pseudo-wire.

esr(config-l2vpn-pw)# pw-class <WORD>

<WORD> — pw-class name [1..31] characters long.

13

Set the LSR address to which the pseudo-wire is set (optional if the neighbor address is the same as the LSR_ID).

esr(config-l2vpn-pw)# neighbor-address <ADDR>

<ADDR> – router IP address, defined as AAA.BBB.CCC.DDD where each part takes values of [0..255]. 

14

Enable pseudo-wire.

esr(config-l2vpn-pw)# enable



If it is necessary to change the default settings for a targeted LDP session, see section Configuring session parameters in targeted-LDP.

...

Step

Description

Command

Keys

1

Configure addressing and one of IGP on all P and PE routers.



2

Configure LDP transport tag distribution.



3

Create VRF.

esr(config)# ip vrf <VRF>

<VRF> – VRF instance name, set by the string of up to 31 characters.

4

Specify route distinguisher for the given VRF.

esr(config-vrf)# rd <RD>

<RD> – Route distinguisher value, specified in one of the following forms:

  • <ASN>:<nn> — where <ASN> may take values [1..65535], nn may take values [1..65535];
  • <ADDR>:<nn> — where <ADDR> specified as AAA.BBB.CCC.DDD/EE, AAA-DDD  may take values [0..255], nn may take values [1..65535];
  • <4ASN>:<nn> — where <4ASN> may take values [1..4294967295], nn may take values [1..65535];

5

Specify route target import for the given VRF.

esr(config-vrf)# route-target import <RT>

<RT> – Route-target value, specified in one of the following forms:

  • <ASN>:<nn> — where <ASN> may take values [1..65535], nn may take values [1..65535];
  • <ADDR>:<nn> — where <ADDR> specified as AAA.BBB.CCC.DDD/EE, AAA-DDD  may take values [0..255], nn may take values [1..65535];
  • <4ASN>:<nn> — where <4ASN> may take values [1..4294967295], nn may take values [1..65535];

6

Specify route target export for the given VRF.

esr(config-vrf)# route-target export <RT>

<RT> – route-target value, specified in one of the following forms:

  • <ASN>:<nn> — where <ASN> may take values [1..65535], nn may take values [1..65535];
  • <ADDR>:<nn> — where <ADDR> specified as AAA.BBB.CCC.DDD/EE, AAA-DDD  may take values [0..255], nn may take values [1..65535];
  • <4ASN>:<nn> — where <4ASN> may take values [1..4294967295], nn may take values [1..65535];

7

Specify the allowed number of routes for this VRF.

esr(config-vrf)# ip protocols <PROTOCOLS> max-routes <VALUE>

<PROTOCOL> – protocol type, may take following values: rip (only in global mode), ospf, isis, bgp;

<VALUE> – amount of routes in the routing table, takes values in the range of:

  • BGP
    • ESR-1000/1200/1500/1511/1700/3100/3200 and WLC-3200 – [1..5000000];
    • ESR-20/21/30/100/200 and WLC-30 – [1..2500000],
    • ESR-10/12V/12VF/14VF/15 and WLC-15 – [1.. 1000000].
  • OSPF and IS-IS
    • ESR-1000/1200/1500/1511/1700/3100/3200 and WLC-3200 – [1..500000];
    • ESR-20/21/30/100/200 and WLC-30 – [1..300000];
    • ESR-10/12V/12VF/14VF/15 and WLC-15 – [1..30000].

8

In the context of address-family VPNv4 BGP configuration, enable extended attribute transfer.

esr(config-bgp-neighbor-af)# send-community extended


...

Примечание

When configuring MTU on a tunnel, consider the following:

  • At least one mpls label will be present when passing through the tunnel. Accounting should include all labels in the stack, for example, explicit null or entropy label; 
  • If MTU of the outgoing interface is exceeded, the packet will be dropped (if GRE traffic match traffic match fragment is disabled);
  • Control world is not supported;
  • DF bit will be set to 1.

Approximate packet structure is given in figure below:

...