Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 154

Advertising
background image

143

Configuration procedure

1.

Assign IP addresses and masks to interfaces (see

Figure 36

) (details not shown)

2.

Configure the IGP protocol

# Enable IS-IS to advertise host routes with LSR IDs as destinations on each node. (details not shown)
Perform the display ip routing-table command on each switch. You can see that all nodes have learned
the host routes of other nodes with LSR IDs as destinations. Take Switch A for example:

<SwitchA> display ip routing-table

Routing Tables: Public

Destinations : 13 Routes : 13

Destination/Mask Proto Pre Cost NextHop Interface

1.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0

2.1.1.0/24 Direct 0 0 2.1.1.1 Vlan1

2.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0

2.2.2.2/32 ISIS 15 10 2.1.1.2 Vlan1

3.1.1.0/24 ISIS 15 20 2.1.1.2 Vlan1

3.2.1.0/24 ISIS 15 20 2.1.1.2 Vlan1

3.3.1.0/24 ISIS 15 30 2.1.1.2 Vlan1

3.3.3.3/32 ISIS 15 20 2.1.1.2 Vlan1

4.1.1.0/24 ISIS 15 30 2.1.1.2 Vlan1

4.4.4.4/32 ISIS 15 30 2.1.1.2 Vlan1

5.5.5.5/32 ISIS 15 20 2.1.1.2 Vlan1

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

3.

Configure basic MPLS TE, and enable RSVP-TE and CSPF.

# Configure Switch A.

[SwitchA] mpls lsr-id 1.1.1.1

[SwitchA] mpls

[SwitchA-mpls] mpls te

[SwitchA-mpls] mpls rsvp-te

[SwitchA-mpls] mpls te cspf

[SwitchA-mpls] quit

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] mpls

[SwitchA-Vlan-interface1] mpls te

[SwitchA-Vlan-interface1] mpls rsvp-te

[SwitchA-Vlan-interface1] quit

# Configure Switch B.

[SwitchB] mpls lsr-id 2.2.2.2

[SwitchB] mpls

[SwitchB-mpls] mpls te

[SwitchB-mpls] mpls rsvp-te

[SwitchB-mpls] mpls te cspf

[SwitchB-mpls] quit

[SwitchB] interface vlan-interface 1

[SwitchB-Vlan-interface1] mpls

[SwitchB-Vlan-interface1] mpls te

Advertising