HP 4800G Series Configuration Manual page 890

24/48 port
Table of Contents

Advertisement

# Redistribute BGP routes into OSPF on Switch B.
[SwitchB] ospf 1
[SwitchB-ospf-1] import-route bgp
[SwitchB-ospf-1] quit
The configuration on Switch C and Switch E is similar to the configuration on Switch B.
5)
Configure MSDP peers
# Configure an MSDP peer on Switch B.
[SwitchB] msdp
[SwitchB-msdp] peer 192.168.1.2 connect-interface vlan-interface 101
[SwitchB-msdp] quit
# Configure an MSDP peer on Switch C.
[SwitchC] msdp
[SwitchC-msdp] peer 192.168.1.1 connect-interface vlan-interface 101
[SwitchC-msdp] peer 192.168.3.2 connect-interface vlan-interface 102
[SwitchC-msdp] quit
# Configure MSDP peers on Switch E.
[SwitchE] msdp
[SwitchE-msdp] peer 192.168.3.1 connect-interface vlan-interface 102
[SwitchE-msdp] quit
6)
Verify the configuration
Carry out the display bgp peer command to view the BGP peering relationships between the switches.
For example:
# View the information about BGP peering relationships on Switch B.
[SwitchB] display bgp peer
BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 1
Peer
V
AS
192.168.1.2
4 200
# View the information about BGP peering relationships on Switch C.
[SwitchC] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 200
Total number of peers : 2
Peer
V
AS
192.168.1.1
4 100
192.168.3.2
4 200
# View the information about BGP peering relationships on Switch E.
MsgRcvd
MsgSent
OutQ PrefRcv Up/Down
24
21
MsgRcvd
MsgSent
OutQ PrefRcv Up/Down
18
16
21
20
1-17
Peers in established state : 1
State
0
6 00:13:09 Established
Peers in established state : 2
State
0
1 00:12:04 Established
0
6 00:12:05 Established

Advertisement

Chapters

Table of Contents
loading

Table of Contents