return CMD_SUCCESS;
}
} else {
if (peer_address_self_check(bgp, &su)) {
vty_out(vty,
"%% Can not configure the local system as neighbor\n");
return CMD_WARNING_CONFIG_FAILED;
ret = peer_remote_as(bgp, &su, NULL, &as, as_type);