Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F117520953
vtysh_wrapper.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
260 B
Referenced Files
None
Subscribers
None
vtysh_wrapper.sh
View Options
#!/bin/sh
declare
-a
tmp
# FRR uses ospf6 where we use ospfv3, and we use reset over clear for BGP,
# thus alter the commands
tmp
=
$(
echo
$@
|
sed
-e
"s/ospfv3/ospf6/"
|
sed
-e
"s/^reset bgp/clear bgp/"
|
sed
-e
"s/^reset ip bgp/clear ip bgp/"
)
vtysh
-c
"
$tmp
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Sep 26, 1:05 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4284041
Default Alt Text
vtysh_wrapper.sh (260 B)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment