Configuring Network Reachability Server on UPF
In order to forward the packets to the next hop IP, it requires the UPF to perform source-based routing and also learn the MAC address of the next hop IP by sending an ARP request to the next hop.
Configuring network reachability allows the UPF to test the network device by sending the ping packets to the destination.
To test and detect network reachability or failure on UPF for IPv4 addresses, use following configuration:
config
context context_name
nw-reachability server server_name [ remote-addr ip_addr ] [ local-addr ip_addr ]
NOTES:
-
nw-reachability server server_name [ remote-addr ip_addr ] [ local-addr ip_addr ] —This CLI adds or deletes a reachability-detect server. The [ local-addr ip_addr specifies the source IP from which the packets are sent and the [ remote-addr ip_addr specifies the destination IP to send the ping packets for detecting network failure or reachability.
Note | UPF supports a maximum of 2000 IPv4 pools and 256 IPv6 pools per VPN network reachability configurations per context. |
To test and detect network reachability or failure on UPF for IPv6 addresses, use the following configuration:
config
context context_name
ip access-list acl_name
{ deny | permit } [ log ] any
exit
nw-reachability server server_name [ remote-addr ip_addr ] [ local-addr ip_addr ]
end if_name
interface if_name
ipv6 address ipv6_address ipv6_mask
bfd interval interval_value min_rx rx_value multiplier multiplier_value
exit
port ethernet slot/port
no shutdown
vlan vlan_tag_ID
no shutdown
bind interface interface_name context_name
end
NOTES:
-
ip access-list acl_name : ip access-list specifies the type of subscriber traffic and the direction (uplink, downlink, or both) traffic is redirected. The ip access-list must be specified in the context in which the subscriber authentication is performed.
-
{ deny | permit } [ log ] any : Indicates the rule, when matched, drops or allows the corresponding packets. [ log ] indicates that all the packets which match the filter are to be logged.
any indicates that all the packets will match the filter regardless of the source and/or the destination.
-
interface if_name : Specifies the interface in which the to enable BFD.
-
ipv6 address ipv6_address ipv6_mask : Specifies the IPv6 address for configuring the static routes.
-
bfd interval interval_value min_rx rx_value multiplier multiplier_value : bfd interval interval_value specifies the transmit interval of control packets in milliseconds as an integer from 50 through 10000. min_rx rx_value specifies the minimum receive interval for control packets in milliseconds as an integer from 50 through 10000. multiplier multiplier_value specifies the value used to compute hold-down time as an integer from 3 through 50.