diff options
author | Naoto Hanaue <hanaue.naoto@po.ntts.co.jp> | 2015-05-11 16:38:56 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-05-11 23:14:48 +0900 |
commit | 7684e11a49016517a947b2f1cb5d5401cab19d5e (patch) | |
tree | b7ecb5de6dae736572698e81bd84e69de2aa6fa3 /test/scenario_test | |
parent | d33d15baa6d266730b21f11547962f7ef9ddde8e (diff) |
cli: add the commands for the policy of the prefix operation
[show]
% gobgp -u 10.0.255.1 policy prefix
Name Prefix MaskRange
ps0 192.168.0.0/16 16..24
ps1 192.168.20.0/24
192.168.200.0/24
ps2 192.168.20.0/24
ps3 2001:0:10:2::/64 64..128
ps4 2001:0:10:20::/64
2001:0:10:200::/64
ps5 2001:0:10:20::/64
% gobgp -u 10.0.255.1 policy prefix ps1
Address/Mask MaskRange
192.168.20.0/24
192.168.200.0/24
[add]
% gobgp -u 10.0.255.1 policy prefix add ps8 172.16.0.0/16 16..24
% gobgp -u 10.0.255.1 policy prefix add ps8 172.32.0.0/16
[del]
% gobgp -u 10.0.255.1 policy prefix del ps2 192.168.20.0/24
% gobgp -u 10.0.255.1 policy prefix del ps3
% gobgp -u 10.0.255.1 policy prefix del all
Diffstat (limited to 'test/scenario_test')
0 files changed, 0 insertions, 0 deletions