beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 194

background image

183

[SwitchA-mpls-ldp-remote-switchc] remote-ip bfd

[SwitchA-mpls-ldp-remote-switchc] quit

[SwitchA] vlan 12

[SwitchA-vlan12] port gigabitethernet 1/0/2

[SwitchA-vlan12] quit

[SwitchA] vlan 13

[SwitchA-vlan13] port gigabitethernet 1/0/1

[SwitchA-vlan13] quit

[SwitchA] interface vlan-interface 12

[SwitchA-Vlan-interface12] mpls

[SwitchA-Vlan-interface12] mpls ldp

[SwitchA-Vlan-interface12] quit

[SwitchA] interface vlan-interface 13

[SwitchA-Vlan-interface13] mpls

[SwitchA-Vlan-interface13] mpls ldp

[SwitchA-Vlan-interface13] quit

# Configure Switch B.

system-view

[SwitchB] mpls lsr-id 2.2.2.9

[SwitchB] mpls

[SwitchB-mpls] quit

[SwitchB] mpls ldp

[SwitchB-mpls-ldp] quit

[SwitchB] mpls ldp remote-peer switcha

[SwitchB-mpls-ldp-remote-switcha] remote-ip 1.1.1.9

[SwitchB-mpls-ldp-remote-switcha] remote-ip bfd

[SwitchB-mpls-ldp-remote-switcha] quit

[SwitchB] vlan 12

[SwitchB-vlan12] port gigabitethernet 1/0/1

[SwitchB-vlan12] quit

[SwitchB] interface vlan-interface 12

[SwitchB-Vlan-interface12] mpls

[SwitchB-Vlan-interface12] mpls ldp

[SwitchB-Vlan-interface12] quit

# Configure Switch C.

system-view

[SwitchC] mpls lsr-id 3.3.3.9

[SwitchC] mpls

[SwitchC-mpls] quit

[SwitchC] mpls ldp

[SwitchC-mpls-ldp] quit

[SwitchC] mpls ldp remote-peer switcha

[SwitchC-mpls-ldp-remote-switcha] remote-ip 1.1.1.9

[SwitchC-mpls-ldp-remote-switcha] remote-ip bfd

[SwitchC-mpls-ldp-remote-switcha] quit

[SwitchC] vlan 13

[SwitchC-vlan13] port gigabitethernet 1/0/1

[SwitchC-vlan13] quit