This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python show_ip_route.py | |
Prefix Category Nexthop_Address Outgoing_Interface | |
------------------- --------- ------------------- ------------------- | |
10.10.10.0/24 CONNECTED GigabitEthernet0/2 | |
10.10.10.110/32 LOCAL GigabitEthernet0/2 | |
10.10.20.0/24 CONNECTED GigabitEthernet0/0 | |
10.10.20.110/32 LOCAL GigabitEthernet0/0 | |
10.10.30.0/24 CONNECTED GigabitEthernet0/1 | |
10.10.30.110/32 LOCAL GigabitEthernet0/1 | |
192.168.240.0/24 STATIC 10.10.10.254 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Router#show onep status | |
Load for five secs: 8%/0%; one minute: 8%; five minutes: 7% | |
Time source is NTP, 22:58:41.929 JST Fri Apr 4 2014 | |
Status: enabled | |
Version: 0.7.0 | |
Transport: socket; Status: running; Port: 15001; ACL: 10 | |
Transport: tls; Status: running; Port: 15002; localcert: default; client cert validation disabled | |
Transport: tipc; Status: disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Router#show onep status | |
Load for five secs: 5%/0%; one minute: 6%; five minutes: 6% | |
Time source is NTP, 22:44:51.747 JST Sun Apr 6 2014 | |
Status: enabled by: Config | |
Version: 1.2.0 | |
Transport: tls; Status: running; Port: 15002; localcert: TP-self-signed-704414393; client cert validation disabled | |
Certificate Fingerprint SHA1: xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx | |
Transport: tipc; Status: disabled | |
Session Max Limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import onep | |
from onep.element import * | |
from onep.interfaces import * | |
from onep.routing import * | |
from onep.policy import * | |
from onep.core.util import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta http-equiv="x-dns-prefetch-control" content="on"> | |
<link rel="dns-prefetch" href="http://1.local."> | |
<link rel="dns-prefetch" href="http://2.local."> | |
<link rel="dns-prefetch" href="http://3.local."> | |
<link rel="dns-prefetch" href="http://4.local."> | |
<link rel="dns-prefetch" href="http://5.local."> | |
<link rel="dns-prefetch" href="http://6.local."> | |
<link rel="dns-prefetch" href="http://7.local."> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 23 22:12:04 unbound[5003:1] info: 2610:d0:3211::xxxx 3.local. A IN | |
May 23 22:12:04 unbound[5003:0] info: 2610:d0:3211::xxxx 3.local. AAAA IN | |
May 23 22:12:04 unbound[5003:0] info: 2610:d0:3211::xxxx 2.local. A IN | |
May 23 22:12:04 unbound[5003:0] info: 2610:d0:3211::xxxx 2.local. AAAA IN | |
May 23 22:12:04 unbound[5003:0] info: 2610:d0:3211::xxxx 1.local. AAAA IN | |
May 23 22:12:04 unbound[5003:0] info: 2610:d0:3211::xxxx 1.local. A IN | |
May 23 22:12:05 unbound[5003:0] info: xxx.xxx.xxx.xxx 2.local. A IN | |
May 23 22:12:05 unbound[5003:0] info: xxx.xxx.xxx.xxx 2.local. AAAA IN | |
May 23 22:12:05 unbound[5003:0] info: xxx.xxx.xxx.xxx 1.local. A IN | |
May 23 22:12:05 unbound[5003:0] info: xxx.xxx.xxx.xxx 3.local. A IN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 23 22:31:28 unbound[5003:1] info: 2610:d0:3211::xxxx 10.local. AAAA IN | |
May 23 22:31:28 unbound[5003:0] info: 2610:d0:3211::xxxx 10.local. A IN | |
May 23 22:31:28 unbound[5003:0] info: 2610:d0:3211::xxxx 1.local. A IN | |
May 23 22:31:28 unbound[5003:0] info: 2610:d0:3211::xxxx 1.local. AAAA IN | |
May 23 22:31:28 unbound[5003:1] info: 2610:d0:3211::xxxx 100.local. A IN | |
May 23 22:31:28 unbound[5003:1] info: 2610:d0:3211::xxxx 100.local. AAAA IN | |
May 23 22:31:28 unbound[5003:1] info: xxx.xxx.xxx.xxx 1.local. AAAA IN | |
May 23 22:31:29 unbound[5003:0] info: xxx.xxx.xxx.xxx 10.local. AAAA IN | |
May 23 22:31:29 unbound[5003:1] info: xxx.xxx.xxx.xxx 100.local. AAAA IN | |
May 23 22:31:29 unbound[5003:1] info: xxx.xxx.xxx.xxx 1.local. A IN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 23 23:06:26 unbound[5003:1] info: 2610:d0:3211:1::xxxx 1.local. A IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 1.local. AAAA IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 4.local. A IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 4.local. AAAA IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 5.local. A IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 5.local. AAAA IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 2.local. A IN | |
May 23 23:06:32 unbound[5003:1] info: 2610:d0:3211:1::xxxx 2.local. AAAA IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 3.local. A IN | |
May 23 23:06:32 unbound[5003:0] info: 2610:d0:3211:1::xxxx 3.local. AAAA IN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show version | |
Cisco IOS Software, C890 Software (C890-UNIVERSALK9-M), Version 15.4(2)T, RELEASE SOFTWARE (fc1) | |
# | |
# show running-config interface vlan 500 | |
Building configuration... | |
! | |
interface Vlan500 | |
ip address 192.168.1.254 255.255.255.0 | |
ip access-group 2001 in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gw#show running-config interface vlan 500 | |
Load for five secs: 47%/0%; one minute: 9%; five minutes: 7% | |
Time source is NTP, 21:59:00.018 JST Wed Jun 4 2014 | |
Building configuration... | |
Current configuration : 446 bytes | |
! | |
interface Vlan500 | |
ip address 192.168.1.254 255.255.255.0 |