Entering configuration mode
Users currently editing the configuration:
root terminal d0 (pid 1488) on since 2019-04-01 12:38:43 UTC, idle 00:02:37
[edit]
[edit]
root# show
## Last changed: 2019-04-01 12:46:24 UTC
version 12.1R1.9;
system {
root-authentication {
encrypted-password "$1$XrnazupP$IChYvM93l90W6b0GfMxNn/"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
vlan-tagging;
unit 0 {
vlan-id 10;
family inet {
address 1.1.0.1/30;
}
}
}
}
routing-options {
static {
route 1.1.0.0/24 discard;
route 1.1.1.0/24 discard;
route 1.1.2.0/24 discard;
route 1.1.3.0/24 discard;
}
router-id 1.1.0.1;
}
protocols {
bgp {
local-as 1100;
group TATA {
export TATA_OUT;
peer-as 1100;
neighbor 1.1.0.2;
}
}
}
policy-options {
prefix-list TATA_OUT {
1.1.0.0/24;
1.1.1.0/24;
1.1.3.0/24;
}
policy-statement TATA_OUT {
term 1 {
from {
prefix-list TATA_OUT;
}
then accept;
}
}
}
[edit]
root#
-----------
root# run show route advertising-protocol bgp 1.1.0.2
inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
Prefix Nexthop MED Lclpref AS path
* 1.1.0.0/24 Self 100 I
* 1.1.1.0/24 Self 100 I
* 1.1.3.0/24 Self 100 I
[edit]
No comments:
Post a Comment