Egress Peer Engineering Commands
This chapter describes the egress peer engineering (EPE) commands:
egress-engineering
Use this command to enable EPE for the default BGP routing instance and change the mode to EPE configure mode.
Command Syntax
egress-engineering
no egress-engineering
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Examples
R1(config)#router bgp 200
R1(config-router)#egress-engineering
R1(config-router-epe)
R1(config-router)#no egress-engineering
neighbor peer-adj hop-address
Use this command to allocate an EPE peer-adj SID for a EBGP neighbor via a specific interface and advertise the label to the link-state peer.
Command Syntax
neighbor A.B.C.D peer-adj hop-address A.B.C.D
no neighbor A.B.C.D peer-adj hop-address A.B.C.D
Parameters
A.B.C.D
EBGP peer
hop-address
Nexthop address of the specific interface.
Command Mode
EPE configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Examples
R1(config)#router bgp 200
R1(config-router)#neighbor 12.1.1.2 remote-as 100
R1(config-router)#address-family ipv4 unicast
R1(config-router-af)#neighbor 12.1.1.2 activate
R1(config-router)#egress-engineering
R1(config-router-epe)#neighbor 12.1.1.2 peer-node
R1(config-router-epe)#neighbor 12.1.1.2 peer-adj hop-address 12.1.1.2
R1(config-router-epe)#no neighbor 12.1.1.2 peer-adj hop-address 12.1.1.2
neighbor peer-adj hop-address backup
Use this command to allocate EPE backup for Peer-adj SID for a EBGP neighbor and advertise the label to Link-state peer.
Command Syntax
neighbor A.B.C.D peer-adj hop-address A.B.C.D backup backup-type peer-node backup-peer P.Q.R.S
neighbor A.B.C.D peer-adj hop-address A.B.C.D backup backup-type peer-adj backup-peer P.Q.R.S hop-address P.Q.R.S
no neighbor A.B.C.D peer-node backup
Parameters
A.B.C.D
EBGP peer
hop-address
Nexthop address of the specific interface.
backup-type
peer-node and peer-adj
P.Q.R.S
Backup peer for this peer-node sid
Command Mode
EPE configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Examples
R1(config)#router bgp 200
R1(config-router)#neighbor 12.1.1.2 remote-as 100
R1(config-router)#neighbor 13.1.1.2 remote-as 100
R1(config-router)#address-family ipv4 unicast
R1(config-router-af)#neighbor 12.1.1.2 activate
R1(config-router-af)#neighbor 13.1.1.2 activate
R1(config-router)#egress-engineering
R1(config-router-epe)#neighbor 12.1.1.2 peer-node
R1(config-router-epe)#neighbor 13.1.1.2 peer-node
R1(config-router-epe)#neighbor 12.1.1.2 peer-adj hop-address 12.1.1.2
R1(config-router-epe)#neighbor 13.1.1.2 peer-adj hop-address 13.1.1.2
R1(config-router-epe)#neighbor 12.1.1.2 peer-adj hop-address 12.1.1.2 backup backup-type peer-node backup-peer 13.1.1.2
R1(config-router-epe)#no neighbor 12.1.1.2 peer-adj hop-address 12.1.1.2 backup
For Configuring peer-adj as backup:
R1(config-router-epe)#neighbor 12.1.1.2 peer-adj hop-address 12.1.1.2 backup backup-type peer-adj backup-peer 13.1.1.2 hop-address 13.1.1.2
neighbor peer-node
Use this command to allocate EPE peer-node SID for a EBGP neighbor and advertise the label to link-state peer.
Command Syntax
neighbor A.B.C.D peer-node
no neighbor A.B.C.D peer-node
Parameters
A.B.C.D
EBGP peer
Command Mode
EPE configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Examples
R1(config)#router bgp 200
R1(config-router)#neighbor 12.1.1.2 remote-as 100
R1(config-router)#address-family ipv4 unicast
R1(config-router-af)#neighbor 12.1.1.2 activate
R1(config-router)#egress-engineering
R1(config-router-epe)#neighbor 12.1.1.2 peer-node
R1(config-router-epe)#no neighbor 12.1.1.2 peer-node
neighbor peer-node backup
Use this command to allocate an EPE backup for a peer-node SID for an EBGP neighbor and advertise the label to the link-state peer.
Command Syntax
neighbor A.B.C.D peer-node backup backup-type peer-node backup-peer P.Q.R.S
neighbor A.B.C.D peer-node backup backup-type peer-adj backup-peer P.Q.R.S hop-address P.Q.R.S
no neighbor A.B.C.D peer-node backup
Parameters
A.B.C.D
EBGP peer
backup-type
peer-node and peer-adj
P.Q.R.S
Backup peer for this peer-node sid
hop-address
Nexthop address of the specific interface.
Command Mode
EPE configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Examples
R1(config)#router bgp 200
R1(config-router)#neighbor 12.1.1.2 remote-as 100
R1(config-router)#neighbor 13.1.1.2 remote-as 100
R1(config-router)#address-family ipv4 unicast
R1(config-router-af)#neighbor 12.1.1.2 activate
R1(config-router-af)#neighbor 13.1.1.2 activate
R1(config-router)#egress-engineering
R1(config-router-epe)#neighbor 12.1.1.2 peer-node
R1(config-router-epe)#neighbor 13.1.1.2 peer-node
R1(config-router-epe)#neighbor 12.1.1.2 peer-node backup backup-type peer-node backup-peer 13.1.1.2
R1(config-router-epe)#neighbor 13.1.1.2 peer-adj hop-address 13.1.1.2
R1(config-router-epe)#no neighbor 12.1.1.2 peer-node backup
For Configuring peer-adj as backup:
R1(config-router-epe)#neighbor 12.1.1.2 peer-node backup backyp-type peer-adj backup-peer 13.1.1.2 hop-address 13.1.1.2
neighbor peer-set
Use this command to allocate an EPE peer-set SID for a an EBGP neighbor and advertise the label to the link-state peer.
Command Syntax
neighbor A.B.C.D peer-set NAME
no neighbor A.B.C.D peer-set NAME
Parameters
A.B.C.D
EBGP peer
NAME
Peer set name
Command Mode
EPE configure mode
Applicability
This command was introduced in OcNOS version 5.0.
Examples
R1(config)#router bgp 200
R1(config-router)#neighbor 12.1.1.2 remote-as 100
R1(config-router)#neighbor 13.1.1.2 remote-as 100
R1(config-router)#address-family ipv4 unicast
R1(config-router-af)#neighbor 12.1.1.2 activate
R1(config-router-af)#neighbor 13.1.1.2 activate
R1(config-router)#egress-engineering
R1(config-router-epe)#neighbor 12.1.1.2 peer-node
R1(config-router-epe)#neighbor 13.1.1.2 peer-node
R1(config-router-epe)#neighbor 12.1.1.2 peer-set EPE
R1(config-router-epe)#neighbor 13.1.1.2 peer-set EPE
R1(config-router-epe)#no neighbor 12.1.1.2 peer-set EPE