Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ncp --vendor Cisco --type ASA --format raw <<< "route OUT 172.16.20.0 255.255.255.0 1.1.1.1 1
- route DMZ 172.16.39.0 255.255.255.128 1.1.2.1 1
- route IN 172.16.2.32 255.255.255.240 1.1.3.1 1"
- $VAR1 = [
- {
- 'type' => 'route',
- 'config' => {
- 'destination' => '172.16.20.0/255.255.255.0',
- 'next_hop' => '1.1.1.1',
- 'interface' => 'OUT',
- 'metric' => '1',
- 'track_id' => ''
- }
- },
- {
- 'type' => 'route',
- 'config' => {
- 'destination' => '172.16.39.0/255.255.255.128',
- 'next_hop' => '1.1.2.1',
- 'metric' => '1',
- 'interface' => 'DMZ',
- 'track_id' => ''
- }
- },
- {
- 'config' => {
- 'next_hop' => '1.1.3.1',
- 'interface' => 'IN',
- 'metric' => '1',
- 'destination' => '172.16.2.32/255.255.255.240',
- 'track_id' => ''
- },
- 'type' => 'route'
- }
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement