Configures a peer IP address in a bridge domain. A corresponding pseudowire (PW) interface is created when the peer IP address is configured.
No PW interfaces are configured.
Bridge-domain configuration mode.
The virtual connection identifier (VC ID) must be configured by using the vc-id command prior to configuring the peer IP address to create a PW interface.
The no form of the command deletes the peer IP address configuration and the PW interface that corresponds to the specified peer IP address.
The following are examples of configuration combinations that are allowed:
Note
When a peer is already configured, you cannot add a CoS or load balancing configuration. To configure a CoS value or load-balancing, the peer must be removed by using the no peer command and reconfigured by specifying the required cos or load-balance options.To remove the CoS or load-balance configuration, the peer configuration must be removed by using the no peer command.
The following example shows how to configure a peer IP address (10.12.12.12) for bridge domain 1 with the load-balance option.
device# configure terminal device(config)# bridge-domain 1 device(config-bridge-domain-1)# peer 10.12.12.12 load-balance
The following example shows how to configure a peer IP address (10.12.12.12) for bridge domain 1 specifying two label-switched paths (lsp1 and lsp2).
device# configure terminal device(config)# bridge-domain 1 device(config-bridge-domain-1)# peer 10.12.12.12 lsp lsp1 lsp2
The following example shows how to configure a peer IP address (10.1.1.1) for bridge domain 1 specifying load balancing and four label-switched paths (lsp1, lsp2, lsp3 and lsp4).
device# configure terminal device(config)# bridge-domain 1 device(config-bridge-domain-1)# peer 10.1.1.1 load-balance lsp lsp1 lsp2 lsp3 lsp4
The following example shows the error message that is displayed when you try to configure the load-balance option for an existing peer. The peer configuration must be removed and reconfigured to specify the load-balance option, as shown in the example.
device# configure terminal device(config)# bridge-domain 1 device(config-bridge-domain-1)# peer 15.15.15.15 device(config-bridge-domain-1)# peer 15.15.15.15 load-balance Error: can not configure load-balance on existing peer. device(config-bridge-domain-1)#no peer 15.15.15.15 device(config-bridge-domain-1)# peer 15.15.15.15 load-balance