beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 128

background image

3-46

[SwitchC-isis-1] quit

[SwitchC] interface vlan-interface 2

[SwitchC-Vlan-interface2] isis enable 1

[SwitchC-Vlan-interface2] quit

[SwitchC] interface loopback 0

[SwitchC-LoopBack0] isis enable 1

[SwitchC-LoopBack0] quit

Perform the display ip routing-table command on each switch. You can see that all nodes learnt 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 : 8 Routes : 8

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.2.1.0/24 ISIS 15 20 2.1.1.2 Vlan1

3.3.3.3/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 MPLS TE basic capabilities

# Configure Switch A.

[SwitchA] mpls lsr-id 3.3.3.3

[SwitchA] mpls

[SwitchA-mpls] mpls te

[SwitchA-mpls] quit

[SwitchA] interface vlan-interface 1

[SwitchA-Vlan-interface1] mpls

[SwitchA-Vlan-interface1] mpls te

[SwitchA-Vlan-interface1] quit

# Configure Switch B.

[SwitchB] mpls lsr-id 2.2.2.2

[SwitchB] mpls

[SwitchB-mpls] mpls te

[SwitchB-mpls] quit

[SwitchB] interface vlan-interface 1

[SwitchB-Vlan-interface1] mpls

[SwitchB-Vlan-interface1] mpls te

[SwitchB-Vlan-interface1] quit

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] mpls

[SwitchB-Vlan-interface2] mpls te

[SwitchB-Vlan-interface2] quit

# Configure Switch C.

[SwitchC] mpls lsr-id 3.3.3.3

[SwitchC] mpls

[SwitchC-mpls] mpls te

[SwitchC-mpls] quit