Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61df6df02e | ||
|
|
1e4a53dece | ||
|
|
7b731c0330 | ||
|
|
b217d9f891 | ||
|
|
3ee20247a1 | ||
|
|
6342476312 | ||
|
|
bcb1e3094f | ||
|
|
83d93de5f0 | ||
|
|
092f595742 | ||
|
|
6062084fb9 | ||
|
|
ce7f542df9 | ||
|
|
112320f5bc | ||
|
|
08071570d2 | ||
|
|
a906c1b847 | ||
|
|
e43b99aae9 | ||
|
|
8e73262261 | ||
|
|
d76fa4cd46 | ||
|
|
f1e0aad450 | ||
|
|
3f6c8f8314 | ||
|
|
d371559989 | ||
|
|
1efdaaf26b | ||
|
|
e320121d27 | ||
|
|
9d6c4ea88b | ||
|
|
cf47f5ed1e | ||
|
|
971310b790 | ||
|
|
c4a36239f6 | ||
|
|
9b76a86dc0 | ||
|
|
86a7689d6d |
No files matched your search
@@ -8,10 +8,6 @@ on:
|
|||||||
branches-ignore:
|
branches-ignore:
|
||||||
- develop
|
- develop
|
||||||
- master
|
- master
|
||||||
pull_request:
|
|
||||||
branches-ignore:
|
|
||||||
- develop
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|||||||
@@ -14,9 +14,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- master
|
- master
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
- master
|
|
||||||
# check every 14 days
|
# check every 14 days
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 5,20 * *'
|
- cron: '0 6 5,20 * *'
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
|
||||||
|
# cfg for getting cmd outputs
|
||||||
|
test/unit/fetch_command_output.cfg
|
||||||
|
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
|||||||
@@ -1,13 +1,14 @@
|
|||||||
# Napalm-s350
|
# Napalm-s350
|
||||||
|
|
||||||
NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx, CBS35x).
|
NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG250, SG3xx, SG5xx, CBS35x).
|
||||||
|
|
||||||
## Status
|
## Status
|
||||||
Master: 
|
|
||||||
|
|
||||||
Develop: 
|
Master: [](https://github.com/napalm-automation-community/napalm-s350/actions/workflows/ThoroughTest.yml)
|
||||||
|
|
||||||
PyPi: [](https://github.com/napalm-automation-community/napalm-s350/actions?query=workflow%3A%22Upload+Python+Package+to+PyPi.org%22)
|
Develop: [](https://github.com/napalm-automation-community/napalm-s350/actions/workflows/ThoroughTest.yml)
|
||||||
|
|
||||||
|
PyPi.org: [](https://github.com/napalm-automation-community/napalm-s350/actions/workflows/PublishToPIP.yml)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
@@ -44,58 +45,58 @@ napalm --user USER --password PASSWORD --vendor s350 --debug HOSTNAME
|
|||||||
|
|
||||||
## Supported devices
|
## Supported devices
|
||||||
|
|
||||||
This driver initially targets the Cisco SG350 device though other, similar, devices may
|
This driver initially targets the Cisco SG350 device though other, similar, devices are
|
||||||
be supported.
|
be supported.
|
||||||
|
|
||||||
| function | SG300 | SG500 | SG350 | SG550 | stack SG500 | stack SG550 | CBS350 |
|
| function | SG250 | SG300 | SG500 | SG350 | SG550 | stack SG500 | stack SG550 | CBS350 |
|
||||||
| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
| :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||||
| **Send commands** |
|
| **Send commands** |
|
||||||
| cli | x | x | x | x | x | x | x |
|
| cli | x | x | x | x | x | x | x | x |
|
||||||
| **Config manipulation** |
|
| **Config manipulation** |
|
||||||
|get_config | x | x | x | x | | | x |
|
|get_config | x | x | x | x | x | | | x |
|
||||||
|get_config (filtered) | x | x | x | x | | | x |
|
|get_config (filtered) | x | x | x | x | x | | | x |
|
||||||
|get_config (sanitized) | x | x | x | x | | | x |
|
|get_config (sanitized) | x | x | x | x | x | | | x |
|
||||||
|load_merge_candidate | | | | | | | |
|
|load_merge_candidate | | | | | | | | |
|
||||||
|load_replace_candidate | | | | | | | |
|
|load_replace_candidate | | | | | | | | |
|
||||||
|compare_config | | | | | | | |
|
|compare_config | | | | | | | | |
|
||||||
|commit_config | | | | | | | |
|
|commit_config | | | | | | | | |
|
||||||
|confirm_commit | | | | | | | |
|
|confirm_commit | | | | | | | | |
|
||||||
|has_pending_commit | | | | | | | |
|
|has_pending_commit | | | | | | | | |
|
||||||
|rollback | | | | | | | |
|
|rollback | | | | | | | | |
|
||||||
|discard_config | | | | | | | |
|
|discard_config | | | | | | | | |
|
||||||
|compliance_report | | | | | | | |
|
|compliance_report | | | | | | | | |
|
||||||
|load_template | | | | | | | |
|
|load_template | | | | | | | | |
|
||||||
| **Get information** |
|
| **Get information** |
|
||||||
|get_arp_table | x | x | x | x | | | x |
|
|get_arp_table | x | x | x | x | x | | | x |
|
||||||
|get_arp_table (with vrf) | NS | NS | NS | NS | | | NS |
|
|get_arp_table (with vrf) | NS | NS | NS | NS | NS | | | NS |
|
||||||
|get_bgp_config | | | | | | | |
|
|get_bgp_config | | | | | | | | |
|
||||||
|get_bgp_neighbors | | | | | | | |
|
|get_bgp_neighbors | | | | | | | | |
|
||||||
|get_bgp_neighbors_detail | | | | | | | |
|
|get_bgp_neighbors_detail | | | | | | | | |
|
||||||
|get_environment | | | | | | | |
|
|get_environment | | | | | | | | |
|
||||||
|get_facts | x | x | x | x | | | x |
|
|get_facts | x | x | x | x | x | | | x |
|
||||||
|get_firewall_policies | | | | | | | |
|
|get_firewall_policies | | | | | | | | |
|
||||||
|get_interfaces | x | x | x | x | | | x |
|
|get_interfaces | x | x | x | x | x | | | x |
|
||||||
|get_interfaces_counters | | | | | | | |
|
|get_interfaces_counters | | | | | | | | |
|
||||||
|get_interfaces_ip | x 4 | x 4 | x 4 | x 4 | | | x 4 |
|
|get_interfaces_ip | x 4 | x 4 | x 4 | x 4 | x 4 | | | x 4 |
|
||||||
|get_ipv6_neighbors_table | | | | | | | |
|
|get_ipv6_neighbors_table | | | | | | | | |
|
||||||
|get_lldp_neighbors | x | x | x | x | | | x |
|
|get_lldp_neighbors | x | x | x | x | x | | | x |
|
||||||
|get_lldp_neighbors_detail | x | x | x | x | | | x |
|
|get_lldp_neighbors_detail | x | x | x | x | x | | | x |
|
||||||
|get_mac_address_table | | | | | | | |
|
|get_mac_address_table | | | | | | | | |
|
||||||
|get_network_instances | | | | | | | |
|
|get_network_instances | | | | | | | | |
|
||||||
|get_ntp_peers | | | | | | | |
|
|get_ntp_peers | | | | | | | | |
|
||||||
|get_ntp_servers | x | x | x | x | | | x |
|
|get_ntp_servers | x | x | x | x | x | | | x |
|
||||||
|get_ntp_stats | | | | | | | |
|
|get_ntp_stats | | | | | | | | |
|
||||||
|get_optics | | | | | | | |
|
|get_optics | | | | | | | | |
|
||||||
|get_probes_config | | | | | | | |
|
|get_probes_config | | | | | | | | |
|
||||||
|get_probes_results | | | | | | | |
|
|get_probes_results | | | | | | | | |
|
||||||
|get_route_to | | | | | | | |
|
|get_route_to | | | | | | | | |
|
||||||
|get_snmp_information | | | | | | | |
|
|get_snmp_information | | | | | | | | |
|
||||||
|get_users | | | | | | | |
|
|get_users | | | | | | | | |
|
||||||
|get_vlans | x | x | x | x | | | x |
|
|get_vlans | x | x | x | x | x | | | x |
|
||||||
| **Other actions** |
|
| **Other actions** |
|
||||||
|is_alive | | | | | | | |
|
|is_alive | x | x | x | x | x | x | x | x |
|
||||||
|ping | | | | | | | |
|
|ping | | | | | | | | |
|
||||||
|traceroute | | | | | | | |
|
|traceroute | | | | | | | | |
|
||||||
|
|
||||||
|
|
||||||
NS - not supported - devices do not have support for that feature
|
NS - not supported - devices do not have support for that feature
|
||||||
@@ -105,6 +106,22 @@ NS - not supported - devices do not have support for that feature
|
|||||||
|
|
||||||
To be sure we can support new device we use test files.
|
To be sure we can support new device we use test files.
|
||||||
|
|
||||||
|
### Fetch command output tool
|
||||||
|
There is tool for getting necessary infromatin form running switch
|
||||||
|
```
|
||||||
|
cd test/unit
|
||||||
|
|
||||||
|
# DEVICE_TYPE as PID: in "show inventory" output
|
||||||
|
# INTERFACE an inteface
|
||||||
|
# LLDP_INTERFACE inteface for getting LLDP inforation
|
||||||
|
./fetch_command_output.sh -u USER -p PASSWORD -t DEVICE_TYPE -v s350 \
|
||||||
|
-d SWITCH_IP_or_FQDN -i INTERFACE -l LLDP_INTERFACE
|
||||||
|
```
|
||||||
|
|
||||||
|
Output files from that tool are in "test/unit/command_output/$DEVICE_TYPE"
|
||||||
|
|
||||||
|
### By hand
|
||||||
|
|
||||||
We need text output of those commands, to add new device:
|
We need text output of those commands, to add new device:
|
||||||
```
|
```
|
||||||
show arp
|
show arp
|
||||||
|
|||||||
+36
-46
@@ -33,18 +33,11 @@ from napalm.base.exceptions import (
|
|||||||
ConnectionClosedException,
|
ConnectionClosedException,
|
||||||
)
|
)
|
||||||
from napalm.base.helpers import canonical_interface_name
|
from napalm.base.helpers import canonical_interface_name
|
||||||
|
from napalm.base.netmiko_helpers import netmiko_args
|
||||||
|
|
||||||
import napalm.base.constants as C
|
import napalm.base.constants as C
|
||||||
import napalm.base.canonical_map
|
import napalm.base.canonical_map
|
||||||
|
|
||||||
# make may own base_interfaces for s350
|
|
||||||
s350_base_interfaces = {
|
|
||||||
**napalm.base.canonical_map.base_interfaces,
|
|
||||||
"fa": "FastEthernet",
|
|
||||||
"gi": "GigabitEthernet",
|
|
||||||
"te": "TengigabitEthernet",
|
|
||||||
}
|
|
||||||
|
|
||||||
from typing import List
|
from typing import List
|
||||||
|
|
||||||
|
|
||||||
@@ -65,31 +58,7 @@ class S350Driver(NetworkDriver):
|
|||||||
self._dest_file_system = optional_args.get("dest_file_system", None)
|
self._dest_file_system = optional_args.get("dest_file_system", None)
|
||||||
|
|
||||||
# Netmiko possible arguments
|
# Netmiko possible arguments
|
||||||
netmiko_argument_map = {
|
self.netmiko_optional_args = netmiko_args(optional_args)
|
||||||
"port": None,
|
|
||||||
"secret": "",
|
|
||||||
"verbose": False,
|
|
||||||
"keepalive": 30,
|
|
||||||
"global_delay_factor": 1,
|
|
||||||
"use_keys": False,
|
|
||||||
"key_file": None,
|
|
||||||
"ssh_strict": False,
|
|
||||||
"system_host_keys": False,
|
|
||||||
"alt_host_keys": False,
|
|
||||||
"alt_key_file": "",
|
|
||||||
"ssh_config_file": None,
|
|
||||||
"allow_agent": False,
|
|
||||||
"session_log": None,
|
|
||||||
"read_timeout_override": None,
|
|
||||||
}
|
|
||||||
|
|
||||||
# Allow for passing additional Netmiko arguments
|
|
||||||
self.netmiko_optional_args = {}
|
|
||||||
for k, v in netmiko_argument_map.items():
|
|
||||||
try:
|
|
||||||
self.netmiko_optional_args[k] = optional_args[k]
|
|
||||||
except KeyError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
self.platform = "s350"
|
self.platform = "s350"
|
||||||
self.port = optional_args.get("port", 22)
|
self.port = optional_args.get("port", 22)
|
||||||
@@ -131,11 +100,11 @@ class S350Driver(NetworkDriver):
|
|||||||
try:
|
try:
|
||||||
if isinstance(command, list):
|
if isinstance(command, list):
|
||||||
for cmd in command:
|
for cmd in command:
|
||||||
output = self.device.send_command(cmd)
|
output = self.device.send_command(cmd, read_timeout=self.timeout)
|
||||||
if "% Invalid" not in output:
|
if "% Invalid" not in output:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
output = self.device.send_command(command)
|
output = self.device.send_command(command, read_timeout=self.timeout)
|
||||||
return output.strip()
|
return output.strip()
|
||||||
except (socket.error, EOFError) as e:
|
except (socket.error, EOFError) as e:
|
||||||
raise ConnectionClosedException(str(e))
|
raise ConnectionClosedException(str(e))
|
||||||
@@ -175,7 +144,7 @@ class S350Driver(NetworkDriver):
|
|||||||
else:
|
else:
|
||||||
raise ValueError("Unexpected output: {}".format(line.split()))
|
raise ValueError("Unexpected output: {}".format(line.split()))
|
||||||
|
|
||||||
interface = canonical_interface_name(interface, s350_base_interfaces)
|
interface = canonical_interface_name(interface)
|
||||||
|
|
||||||
entry = {
|
entry = {
|
||||||
"interface": interface,
|
"interface": interface,
|
||||||
@@ -188,7 +157,13 @@ class S350Driver(NetworkDriver):
|
|||||||
|
|
||||||
return arp_table
|
return arp_table
|
||||||
|
|
||||||
def get_config(self, retrieve="all", full=False, sanitized=False):
|
def get_config(
|
||||||
|
self,
|
||||||
|
retrieve="all",
|
||||||
|
full=False,
|
||||||
|
sanitized=False,
|
||||||
|
format: str = "text",
|
||||||
|
):
|
||||||
"""
|
"""
|
||||||
get_config for S350. Since this firmware doesn't support a candidate
|
get_config for S350. Since this firmware doesn't support a candidate
|
||||||
configuration we leave it empty.
|
configuration we leave it empty.
|
||||||
@@ -270,13 +245,28 @@ class S350Driver(NetworkDriver):
|
|||||||
uptime = self._parse_uptime(uptime_str)
|
uptime = self._parse_uptime(uptime_str)
|
||||||
|
|
||||||
# serial_number and model
|
# serial_number and model
|
||||||
|
# take first device
|
||||||
inventory = self._get_facts_parse_inventory(show_inv)["1"]
|
inventory = self._get_facts_parse_inventory(show_inv)["1"]
|
||||||
serial_number = inventory["sn"]
|
serial_number = inventory["sn"]
|
||||||
model = inventory["pid"]
|
model = inventory["pid"]
|
||||||
|
|
||||||
# fqdn
|
# fqdn
|
||||||
domainname = napalm.base.helpers.textfsm_extractor(self, "hosts", show_hosts)[0]
|
# take first domain name
|
||||||
domainname = domainname["domain_name"]
|
domainname = "Unknown"
|
||||||
|
atDTh = False
|
||||||
|
atDT = False
|
||||||
|
for line in show_hosts.splitlines():
|
||||||
|
if line.startswith("Default Domain Table"):
|
||||||
|
atDTh = True
|
||||||
|
continue
|
||||||
|
if atDTh and line.startswith("--------"):
|
||||||
|
atDT = True
|
||||||
|
continue
|
||||||
|
if atDT:
|
||||||
|
fields = line.split(" ")
|
||||||
|
domainname = fields[0]
|
||||||
|
break
|
||||||
|
|
||||||
if domainname == "Domain":
|
if domainname == "Domain":
|
||||||
domainname = "Unknown"
|
domainname = "Unknown"
|
||||||
if domainname != "Unknown" and hostname != "Unknown":
|
if domainname != "Unknown" and hostname != "Unknown":
|
||||||
@@ -294,7 +284,7 @@ class S350Driver(NetworkDriver):
|
|||||||
if not line:
|
if not line:
|
||||||
continue
|
continue
|
||||||
interface = line.split()[0]
|
interface = line.split()[0]
|
||||||
interface = canonical_interface_name(interface, s350_base_interfaces)
|
interface = canonical_interface_name(interface)
|
||||||
|
|
||||||
interfaces.append(str(interface))
|
interfaces.append(str(interface))
|
||||||
|
|
||||||
@@ -474,7 +464,7 @@ class S350Driver(NetworkDriver):
|
|||||||
"mac_address": napalm.base.helpers.mac(mac),
|
"mac_address": napalm.base.helpers.mac(mac),
|
||||||
}
|
}
|
||||||
|
|
||||||
interface = canonical_interface_name(interface, s350_base_interfaces)
|
interface = canonical_interface_name(interface)
|
||||||
|
|
||||||
interfaces[interface] = entry
|
interfaces[interface] = entry
|
||||||
|
|
||||||
@@ -512,7 +502,7 @@ class S350Driver(NetworkDriver):
|
|||||||
ip = netaddr.IPNetwork(cidr)
|
ip = netaddr.IPNetwork(cidr)
|
||||||
family = "ipv{0}".format(ip.version)
|
family = "ipv{0}".format(ip.version)
|
||||||
|
|
||||||
interface = canonical_interface_name(interface, s350_base_interfaces)
|
interface = canonical_interface_name(interface)
|
||||||
|
|
||||||
interfaces[interface] = {family: {str(ip.ip): {"prefix_length": ip.prefixlen}}}
|
interfaces[interface] = {family: {str(ip.ip): {"prefix_length": ip.prefixlen}}}
|
||||||
|
|
||||||
@@ -570,7 +560,7 @@ class S350Driver(NetworkDriver):
|
|||||||
remote_port = line_elems[2]
|
remote_port = line_elems[2]
|
||||||
remote_name = line_elems[3]
|
remote_name = line_elems[3]
|
||||||
|
|
||||||
local_port = canonical_interface_name(local_port, s350_base_interfaces)
|
local_port = canonical_interface_name(local_port)
|
||||||
|
|
||||||
neighbor = {
|
neighbor = {
|
||||||
"hostname": remote_name,
|
"hostname": remote_name,
|
||||||
@@ -624,14 +614,14 @@ class S350Driver(NetworkDriver):
|
|||||||
if interface:
|
if interface:
|
||||||
if interface == local_port:
|
if interface == local_port:
|
||||||
entry = self._get_lldp_neighbors_detail_parse(local_port)
|
entry = self._get_lldp_neighbors_detail_parse(local_port)
|
||||||
local_port = canonical_interface_name(local_port, s350_base_interfaces)
|
local_port = canonical_interface_name(local_port)
|
||||||
details[local_port] = [
|
details[local_port] = [
|
||||||
entry,
|
entry,
|
||||||
]
|
]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
entry = self._get_lldp_neighbors_detail_parse(local_port)
|
entry = self._get_lldp_neighbors_detail_parse(local_port)
|
||||||
local_port = canonical_interface_name(local_port, s350_base_interfaces)
|
local_port = canonical_interface_name(local_port)
|
||||||
details[local_port] = [
|
details[local_port] = [
|
||||||
entry,
|
entry,
|
||||||
]
|
]
|
||||||
@@ -666,7 +656,7 @@ class S350Driver(NetworkDriver):
|
|||||||
elif line.startswith("Capabilities"):
|
elif line.startswith("Capabilities"):
|
||||||
caps = self._get_lldp_neighbors_detail_capabilities_parse(line)
|
caps = self._get_lldp_neighbors_detail_capabilities_parse(line)
|
||||||
|
|
||||||
remote_port_id = canonical_interface_name(remote_port_id, s350_base_interfaces)
|
remote_port_id = canonical_interface_name(remote_port_id)
|
||||||
|
|
||||||
entry = {
|
entry = {
|
||||||
"parent_interface": "N/A",
|
"parent_interface": "N/A",
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
"""napalm.utils package."""
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
Value DOMAIN_NAME ([\w+.]+)
|
|
||||||
|
|
||||||
Start
|
|
||||||
^\s+Domain\s+Source\s+Interface\s+Preference -> Domains
|
|
||||||
^\s+Source\s+Interface\s+Preference\s+Domain -> Domains
|
|
||||||
|
|
||||||
Domains
|
|
||||||
^${DOMAIN_NAME} -> Record End
|
|
||||||
@@ -1,16 +1,14 @@
|
|||||||
napalm<=4.0.0
|
napalm>=4.0.0
|
||||||
netmiko<=4.0.0
|
netmiko>=4.0.0
|
||||||
black<=24.3.0 # CVE-2024-21503
|
black>=24.3.0 # CVE-2024-21503
|
||||||
coveralls
|
coveralls
|
||||||
ddt
|
ddt
|
||||||
flake8-import-order
|
flake8-import-order
|
||||||
# pytest==6.2.5
|
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-json
|
pytest-json
|
||||||
pytest-pythonpath
|
pytest-pythonpath
|
||||||
pylama
|
pylama
|
||||||
# pyflakes==2.4.0 #prevent problems
|
|
||||||
pyflakes
|
pyflakes
|
||||||
mock
|
mock
|
||||||
tox
|
tox
|
||||||
+3
-3
@@ -1,3 +1,3 @@
|
|||||||
napalm<=4.0.0
|
napalm>=4.0.0
|
||||||
netmiko<=4.0.0
|
netmiko>=4.0.0
|
||||||
netaddr<=1.2.1
|
netaddr>=1.2.1
|
||||||
@@ -12,7 +12,7 @@ with open("README.md", "r") as fs:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="napalm-s350",
|
name="napalm-s350",
|
||||||
version="0.4.0",
|
version="0.5.1",
|
||||||
packages=find_packages(exclude=("test*",)),
|
packages=find_packages(exclude=("test*",)),
|
||||||
author="Jasper Lievisse Adriaanse, Petr Klíma, Daniel Bacher",
|
author="Jasper Lievisse Adriaanse, Petr Klíma, Daniel Bacher",
|
||||||
author_email="j@jasper.la, qaxi@seznam.cz, mail@phill93.de",
|
author_email="j@jasper.la, qaxi@seznam.cz, mail@phill93.de",
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Total number of entries: 5
|
||||||
|
|
||||||
|
|
||||||
|
VLAN Interface IP address HW address status
|
||||||
|
--------------------- --------------- ------------------- ---------------
|
||||||
|
vlan 1 gi10 30.70.0.3 00:00:0a:0a:aa:02 dynamic
|
||||||
|
vlan 1 gi10 30.70.0.3 a0:02:aa:aa:fa:aa dynamic
|
||||||
|
vlan 1 gi10 30.70.0.3 a0:02:aa:aa:fa:aa dynamic
|
||||||
|
vlan 1 gi10 30.70.3.33 00:a0:a2:a2:2f:a2 dynamic
|
||||||
|
vlan 1 gi10 30.70.33.3 aa:a2:a2:aa:fa:2a dynamic
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
Name/address lookup is enabled
|
||||||
|
Domain Timeout: 2 seconds
|
||||||
|
Domain Retry: 1 times
|
||||||
|
Domain Polling Interval: 8 seconds
|
||||||
|
|
||||||
|
|
||||||
|
Default Domain Table
|
||||||
|
|
||||||
|
Domain Source Interface Preference
|
||||||
|
-------------------------------------------- ------- --------- ----------
|
||||||
|
Domain name is not configured
|
||||||
|
|
||||||
|
|
||||||
|
Name Server Table
|
||||||
|
|
||||||
|
IP Address Source Interface Preference
|
||||||
|
-------------------------------------------- ------- --------- ----------
|
||||||
|
30.70.3.33 static 1
|
||||||
|
|
||||||
|
|
||||||
|
Cache Table
|
||||||
|
Flags: (STA/DYN, OK/NE/??)
|
||||||
|
STA - Static, DYN - Dynamic
|
||||||
|
OK - Okay, NE - Negative Cache, ?? - No Response
|
||||||
|
|
||||||
|
Remaining
|
||||||
|
Host Addresses Type State TTL
|
||||||
|
------------------------- ------------------------ ---- ------ ----------
|
||||||
|
tftp 30.70.3.33 IPv4 STA,OK
|
||||||
|
ntp.examples.com 30.70.3.33 IPv4 DYN,OK 0003:38:43
|
||||||
|
ntp.examples.com no resolution IPv6 DYN,??
|
||||||
|
ntp.ph.examp.com 30.30.3.33 IPv4 DYN,OK 0003:38:43
|
||||||
|
ntp.ph.examp.com no resolution IPv6 DYN,??
|
||||||
|
pnpserver.qqq.aa no resolution IPv6 DYN,NE 0020:55:13
|
||||||
|
pnpserver.qqq.aa no resolution IPv4 DYN,NE 0020:55:13
|
||||||
|
pingu.examples.com 30.70.3.33 IPv4 DYN,OK 0003:38:43
|
||||||
|
ns-cb-1.examples.com 30.70.3.300 IPv4 DYN,OK 0003:38:43
|
||||||
|
ns-cb-2.examples.com 30.70.3.300 IPv4 DYN,OK 0003:38:43
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
Gathering information...
|
||||||
|
|
||||||
|
Name: gi1
|
||||||
|
Switchport: enable
|
||||||
|
Administrative Mode: access
|
||||||
|
Operational Mode: up
|
||||||
|
Access Mode VLAN: 1
|
||||||
|
Trunking Native Mode VLAN: 1
|
||||||
|
Trunking VLANs: 1,7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
2-6,9,12-29,32-99,101-199,201-479,481-489,492-999,
|
||||||
|
1002-4094 (Inactive)
|
||||||
|
General PVID: 1
|
||||||
|
General VLANs: none
|
||||||
|
General Egress Tagged VLANs: none
|
||||||
|
General Forbidden VLANs: none
|
||||||
|
General Ingress Filtering: enabled
|
||||||
|
General Acceptable Frame Type: all
|
||||||
|
General GVRP status: disabled
|
||||||
|
Customer Mode VLAN: none
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Classification rules:
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
Port Description
|
||||||
|
------- -----------
|
||||||
|
gi1
|
||||||
|
gi2
|
||||||
|
gi3
|
||||||
|
gi4
|
||||||
|
gi5
|
||||||
|
gi6
|
||||||
|
gi7
|
||||||
|
gi8
|
||||||
|
gi9
|
||||||
|
gi10 Trunk to switchkuch-1
|
||||||
|
|
||||||
|
Ch Description
|
||||||
|
------- -----------
|
||||||
|
Po1
|
||||||
|
Po2
|
||||||
|
Po3
|
||||||
|
Po4
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
Flow Link Back Mdix
|
||||||
|
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||||
|
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||||
|
gi1 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi2 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi3 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||||
|
gi4 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi5 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi6 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi7 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi8 1G-Copper Full 100 Enabled Off Up Disabled Off
|
||||||
|
gi9 1G-Combo-C -- -- -- -- Down -- --
|
||||||
|
gi10 1G-Combo-C Full 100 Enabled Off Up Disabled Off
|
||||||
|
|
||||||
|
Flow Link
|
||||||
|
Ch Type Duplex Speed Neg control State
|
||||||
|
-------- ------- ------ ----- -------- ------- -----------
|
||||||
|
Po1 -- -- -- -- -- Not Present
|
||||||
|
Po2 -- -- -- -- -- Not Present
|
||||||
|
Po3 -- -- -- -- -- Not Present
|
||||||
|
Po4 -- -- -- -- -- Not Present
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
NAME: "1" DESCR: "SG250-10P 10-Port Gigabit PoE Smart Switch"
|
||||||
|
PID: SG250-10P-K9 VID: V04 SN: ABC12234XYZ
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
IP Address I/F I/F Status Type Directed Prec Redirect Status
|
||||||
|
admin/oper Broadcast
|
||||||
|
------------------ --------- ---------- ------- --------- ---- -------- ------
|
||||||
|
30.70.0.37/17 vlan 1 UP/UP Static disable No enable Valid
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
Interface Interface IPv6 Link Local MLD Number of
|
||||||
|
State State IPv6 Address Version Global Addresses
|
||||||
|
---------- --------- --------- ------------------------- ------- ----------------
|
||||||
|
vlan 1 up/up enabled fe80::c644:a0ff:fe3b:17d2 2 0
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
Device ID: aa:aa:a0:22:2a:a2
|
||||||
|
Port ID: gi10
|
||||||
|
Capabilities: Bridge, Router
|
||||||
|
System Name: switch-no-2548-1
|
||||||
|
Management address: 30.70.0.37
|
||||||
|
Management address: fe80::c644:a0ff:fe3b:17d2%vlan1
|
||||||
|
|
||||||
|
802.3 Power Via Mdi:
|
||||||
|
MDI Power support Port Class: PSE
|
||||||
|
PSE MDI Power Support: Not supported
|
||||||
|
PSE MDI Power State: Not enabled
|
||||||
|
PSE power pair control ability: Not supported
|
||||||
|
PSE Power Pair: Signal
|
||||||
|
PSE Power class: 1
|
||||||
|
Power Type: Type 2 PD
|
||||||
|
Power Source: Unknown Power Source
|
||||||
|
Power Priority: unknown
|
||||||
|
PSE Allocated Power Value: 0.0
|
||||||
|
|
||||||
|
4-Pair POE supported: No
|
||||||
|
Spare Pair Detection/Classification required: No
|
||||||
|
PD Spare Pair Desired State: Disabled
|
||||||
|
|
||||||
|
|
||||||
|
802.1 PVID: 1
|
||||||
|
802.1 PPVID:
|
||||||
|
802.1 VLAN:
|
||||||
|
802.1 Protocol:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
System capability legend:
|
||||||
|
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||||
|
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||||
|
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||||
|
|
||||||
|
Port Device ID Port ID System Name Capabilities TTL
|
||||||
|
--------- ----------------- ----------------- ----------------- ------------ -----
|
||||||
|
gi3 aa:aa:22:a2:22:2a aa:aa:22:a2:22:2a O 2938
|
||||||
|
gi10 00:2a:aa:a2:2a:20 Fa0/22 switchkuch-1 B 102
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
Device ID: 00:2a:aa:a2:2a:20
|
||||||
|
Port ID: Fa0/22
|
||||||
|
Capabilities: Bridge
|
||||||
|
System Name: switchkuch-1
|
||||||
|
System description: Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
|
||||||
|
Technical Support: http://www.cisco.com/techsupport
|
||||||
|
Copyrigh
|
||||||
|
Port description: FastEthernet0/22
|
||||||
|
Management Address: 30.70.0.33
|
||||||
|
Time To Live: 91
|
||||||
|
|
||||||
|
|
||||||
|
802.3 MAC/PHY Configuration/Status
|
||||||
|
Auto-negotiation support: Supported
|
||||||
|
Auto-negotiation status: Enabled
|
||||||
|
Auto-negotiation Advertised Capabilities: 100BASE-TX full duplex mode, 100BASE-TX half duplex mode, 10BASE-T full duplex mode, 10BASE-T half duplex mode
|
||||||
|
Operational MAU type: 100BaseTXFD
|
||||||
|
|
||||||
|
802.1 PVID: 1
|
||||||
|
802.1 PPVID:
|
||||||
|
802.1 VLAN:
|
||||||
|
802.1 Protocol:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Jumbo frames are enabled
|
||||||
|
Jumbo frames will be enabled after reset
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
@@ -0,0 +1,344 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
|
encrypted ip ssh-client key rsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: RSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: RSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12X/gDrfYHCu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Uw==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted ip ssh-client key dsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: DSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EQTG4SHh6Z
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FNfTUMF6C6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12i4B02/IZGI
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12yX7nY+AOPD
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12pL8r4cXujS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12a6Ut3tCQVy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FsYD/d5xWs
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lzxObeJ7Z1
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mOCGodNRAf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LpzOPWsz6N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1248vEoC1X0n
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SV
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: DSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12cHQnMuaXDn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qvE1vMH5xv
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lc4rWWCO6b
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12TVuouFfgdF
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wj/WAxB4Op
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lSIoIAfpkY
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12RqD0MS/9X5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12m52u4/cBjY
|
||||||
|
qCqdkBI+B+YqB1jT8w==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted crypto key import rsa
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: RSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12HfFN/t6mrn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12leUuQRAE3r
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ph+BMV+zoK
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12owcM8eMQc4
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12j0GdaIYymI
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mBERWZS9yn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FfZ61pGA0E
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nFblQwqlLz
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12NFgqqd/Ovu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12/UyO9GZdrl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Er8rZ3KXd/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12OLlaZgNBmp
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12rf6LnXW9zu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1254f+8C0+RJ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD126zrXbeUmMy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12bzpZs3ULkB
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12/wc1tCCcS1
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12BZPI/Ia/+b
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12WEtqDZEZHR
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12d6P2D2+Lyo
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EXXQVexC6l
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12HiX7SNPQUP
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ru1XZNqfTb
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12vkcGzLNRsy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LnjG1C1TC6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12VJ5QZM7QjA
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12J9hmCQiBBX
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD120IndIWlcr5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ObpNMgjA+5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123Y8m38ZXel
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12iblPSFnmTkUjmn0F66SXkYr9c=
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: RSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12T7spyGafHq
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LZ8NmwUWsX
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128FXj/KyM8Y
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12dVNDDKQ7b7
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1289PePpB2hK
|
||||||
|
wWsR3o31jieUDPuJHiF9ct
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted crypto key import dsa
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: DSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12sJyscnEiqF
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nz8l/mDHr6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12stuvbpxf67
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12fUn1luijBA
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wOfCv2HS8g
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12GFU0/MT5pi
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12RQKxzDD8e3
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127ShMpjuj+A
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD125gcEo/V3bj
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD120CdOvLaMpp
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12VkLQkD8V5E
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12w5
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: DSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12bGalP3WyZb
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12uNBpFHaUM/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1243Gjb39POS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123d1y590sjp
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12l49MjUVJMZ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12v5LMRh17hn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12k7o9FluzLB
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EMHIERXIpn
|
||||||
|
+law1StDs94htBVGduq5
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted crypto certificate 1 import
|
||||||
|
-----BEGIN RSA ENCRYPTED PRIVATE KEY-----
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12PqlROt9PbC
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lW2vL9PIdp
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SCgXBfu2w7
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mtF5wPhRBn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12d/tiwCoUbh
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12A0mFgJW/OH
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FC8GAkNDiT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123VJ2gc5zqj
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DaXI+i1sRC
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127rTLOW2GAH
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XX7rpCPD1l
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128a3GWquAdS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wdjTaOSU2y
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12flkR1VgZE8
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD124hlkl3MyfK
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
-----END RSA PRIVATE KEY-----
|
||||||
|
-----BEGIN RSA PUBLIC KEY-----
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD120lipcLf63E
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129F8Z6WQyVZ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12OR5RC9PeyXAgMBAAE=
|
||||||
|
-----END RSA PUBLIC KEY-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12MAkG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LjYw
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12WhcN
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12A1UE
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12CwwB
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SvHJ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12U92A
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Onhj
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12KnGK
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12B5A/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12jSMG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
.
|
||||||
|
encrypted crypto certificate 2 import
|
||||||
|
-----BEGIN RSA ENCRYPTED PRIVATE KEY-----
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qwoM0cJ1ur
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EWAGogUbim
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ngr2AFknSH
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12br7QMii/P5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12WLR7/S951D
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12i8ND7P1D7q
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1218fUMea+zA
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12+d0a6XJpGq
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12zVcHjtEC1W
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12hCkZzUM/as
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12x3z52g9S9W
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12W1na5HHzNC
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD125ABC+SovX0
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12fvO3F5QqGa
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD126o5mCqPRXU
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
-----END RSA PRIVATE KEY-----
|
||||||
|
-----BEGIN RSA PUBLIC KEY-----
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12YP1syYapXL
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12VbXCsJSAa5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD123MSe/TxVSdAgMBAAE=
|
||||||
|
-----END RSA PUBLIC KEY-----
|
||||||
|
-----BEGIN CERTIFICATE-----
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12MAkG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LjYw
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12WhcN
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12A1UE
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12CwwB
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12QcPE
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12onIQ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12AUCT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12JqOm
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD125Cjl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD121ySf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
-----END CERTIFICATE-----
|
||||||
|
.
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
Clock is synchronized, stratum 2, reference is 30.70.3.33, unicast
|
||||||
|
|
||||||
|
Unicast servers:
|
||||||
|
|
||||||
|
Server : 30.30.3.33
|
||||||
|
Source : Static
|
||||||
|
Stratum : 2
|
||||||
|
Status : up
|
||||||
|
Last Response : 14:45:42.0 CEST Apr 4 2024
|
||||||
|
Offset : 1094.3411020 mSec
|
||||||
|
Delay : 0 mSec
|
||||||
|
|
||||||
|
Server : 30.70.3.33
|
||||||
|
Source : Static
|
||||||
|
Stratum : 2
|
||||||
|
Status : up
|
||||||
|
Last Response : 14:18:57.0 CEST Apr 24 2024
|
||||||
|
Offset : 1088.6150517 mSec
|
||||||
|
Delay : 0 mSec
|
||||||
|
|
||||||
|
Server : ntp.examples.com
|
||||||
|
Source : Static
|
||||||
|
Stratum : 255
|
||||||
|
Status : down
|
||||||
|
Last Response : 00:00:00.0 Jan 1 1900
|
||||||
|
Offset : 0.0000000 mSec
|
||||||
|
Delay : 0 mSec
|
||||||
|
|
||||||
|
Server : ntp.ph.examp.com
|
||||||
|
Source : Static
|
||||||
|
Stratum : 255
|
||||||
|
Status : down
|
||||||
|
Last Response : 00:00:00.0 Jan 1 1900
|
||||||
|
Offset : 0.0000000 mSec
|
||||||
|
Delay : 0 mSec
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Anycast server:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Broadcast:
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
|
encrypted ip ssh-client key rsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: RSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: RSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12X/gDrfYHCu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Uw==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted ip ssh-client key dsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: DSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EQTG4SHh6Z
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FNfTUMF6C6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12i4B02/IZGI
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12yX7nY+AOPD
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12pL8r4cXujS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12a6Ut3tCQVy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FsYD/d5xWs
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lzxObeJ7Z1
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mOCGodNRAf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LpzOPWsz6N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1248vEoC1X0n
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SV
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: DSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12cHQnMuaXDn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qvE1vMH5xv
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lc4rWWCO6b
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12TVuouFfgdF
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wj/WAxB4Op
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lSIoIAfpkY
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12RqD0MS/9X5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12m52u4/cBjY
|
||||||
|
qCqdkBI+B+YqB1jT8w==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
System Description: SG250-10P 10-Port Gigabit PoE Smart Switch
|
||||||
|
System Up Time (days,hour:min:sec): 123,16:39:27
|
||||||
|
System Contact:
|
||||||
|
System Name: switch-no-2548-1
|
||||||
|
System Location: Something;Somewhere;Somestreet;others
|
||||||
|
atnice;0;vratnice
|
||||||
|
System MAC Address: aa:aa:a0:22:2a:a2
|
||||||
|
System Object ID: 2.2.8.4.4.1.9.6.1.97.10.5
|
||||||
|
|
||||||
|
Unit Type
|
||||||
|
---- ----------------------
|
||||||
|
1 SG250-10P
|
||||||
|
|
||||||
|
|
||||||
|
Unit Fans Status
|
||||||
|
---- -------------------------------------
|
||||||
|
1 Fans status is N/A
|
||||||
|
|
||||||
|
Unit Temperature (Celsius) Status
|
||||||
|
---- --------------------- ----------
|
||||||
|
1 65 OK
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Active-image: flash://system/images/sg250_image_tesla_250_2.4.5.71.bin
|
||||||
|
Version: 2.4.5.71
|
||||||
|
MD5 Digest: ABCD1234abcdABCD1234abcdABCD121c
|
||||||
|
Date: 04-Nov-2018
|
||||||
|
Time: 19:46:16
|
||||||
|
Inactive-image: flash://system/images/image1.bin
|
||||||
|
Version: 2.2.8.4
|
||||||
|
MD5 Digest: ABCD1234abcdABCD1234abcdABCD12f1
|
||||||
|
Date: 21-Dec-2016
|
||||||
|
Time: 22:03:09
|
||||||
File renamed without changes.
File renamed without changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,70 @@
|
|||||||
|
# Config file for utility 'fetch_command_output.sh'
|
||||||
|
#
|
||||||
|
# This will help you to make bunch of command output files for napalm drivers unit tests
|
||||||
|
#
|
||||||
|
# There is not any IP, MAC or names obfuscation or anonymizations!
|
||||||
|
# Before using outputs as a unit test files it is recommendet to protect
|
||||||
|
# your privacy information yourself by editing output files.
|
||||||
|
|
||||||
|
# Required variables
|
||||||
|
# $INTERFACE - for detailed interface information
|
||||||
|
# $LLDPINTERFACE - for detailed LLDP information
|
||||||
|
|
||||||
|
# Define empty array of commands
|
||||||
|
COMMANDS=()
|
||||||
|
|
||||||
|
# This is example set of commands for napalm driver 's350' (Cisco SMB)
|
||||||
|
|
||||||
|
# system info
|
||||||
|
COMMANDS+=("show version")
|
||||||
|
COMMANDS+=("show system")
|
||||||
|
COMMANDS+=("show version")
|
||||||
|
COMMANDS+=("show inventory")
|
||||||
|
|
||||||
|
# config commands
|
||||||
|
COMMANDS+=("show startup-config")
|
||||||
|
COMMANDS+=("show running-config")
|
||||||
|
COMMANDS+=("show running-config detailed")
|
||||||
|
|
||||||
|
# interface commands
|
||||||
|
COMMANDS+=("show interfaces status")
|
||||||
|
COMMANDS+=("show interfaces description")
|
||||||
|
COMMANDS+=("show interface switchport $INTERFACE")
|
||||||
|
COMMANDS+=("show ports jumbo-frame")
|
||||||
|
|
||||||
|
# ip commands
|
||||||
|
COMMANDS+=("show hosts")
|
||||||
|
COMMANDS+=("show ip interface")
|
||||||
|
COMMANDS+=("show ipv6 interface brief")
|
||||||
|
COMMANDS+=("show arp")
|
||||||
|
|
||||||
|
# lldp commands
|
||||||
|
COMMANDS+=("show lldp neighbors")
|
||||||
|
COMMANDS+=("show lldp local $LLDPINTERFACE")
|
||||||
|
COMMANDS+=("show lldp neighbors $LLDPINTERFACE")
|
||||||
|
|
||||||
|
# ntp commands
|
||||||
|
COMMANDS+=("show sntp status")
|
||||||
|
|
||||||
|
# !!! keeep replacement the same lenght
|
||||||
|
OBFUSCATE=()
|
||||||
|
# keys and secrets
|
||||||
|
OBFUSCATE+=("[a-f0-9]{40}&&&0123456789abcdef0123456789abcdef01234567")
|
||||||
|
OBFUSCATE+=("[a-zA-Z0-9+/]{30}&&&ABCD1234abcdABCD1234abcdABCD12")
|
||||||
|
# domains
|
||||||
|
OBFUSCATE+=("sw-cb-vratnice-&&&switch-no-2548-")
|
||||||
|
OBFUSCATE+=("sw-cb-&&&switch")
|
||||||
|
OBFUSCATE+=("cb.madeta.cz&&&examples.com")
|
||||||
|
OBFUSCATE+=("madeta.cz&&&examp.com")
|
||||||
|
# names and acronims
|
||||||
|
OBFUSCATE+=("CZ;Ceske Budejovice;Rudolfovska 83;vr&&&Something;Somewhere;Somestreet;others")
|
||||||
|
OBFUSCATE+=("MDT&&&ABC")
|
||||||
|
OBFUSCATE+=("Madeta&&&Abcdef")
|
||||||
|
OBFUSCATE+=("NECOSS&&&Abcdef")
|
||||||
|
OBFUSCATE+=("Atlantis&&&Abcdefgh")
|
||||||
|
OBFUSCATE+=("PSZ21221ECM&&&ABC12234XYZ")
|
||||||
|
# specific repairs for example:
|
||||||
|
# - versions confused with IPs
|
||||||
|
OBFUSCATE+=("3.3.3.73&&&2.4.5.71")
|
||||||
|
OBFUSCATE+=("3.3.7.3&&&2.2.8.4")
|
||||||
|
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# Config file for utility 'fetch_command_output.sh'
|
||||||
|
#
|
||||||
|
# This will help you to make bunch of command output files for napalm drivers unit tests
|
||||||
|
#
|
||||||
|
# There is not any IP, MAC or names obfuscation or anonymizations!
|
||||||
|
# Before using outputs as a unit test files it is recommendet to protect
|
||||||
|
# your privacy information yourself by editing output files.
|
||||||
|
|
||||||
|
# Required variables
|
||||||
|
# $INTERFACE - for detailed interface information
|
||||||
|
# $LLDPINTERFACE - for detailed LLDP information
|
||||||
|
|
||||||
|
# Define empty array of commands
|
||||||
|
COMMANDS=()
|
||||||
|
|
||||||
|
# This is example set of commands for napalm driver 's350' (Cisco SMB)
|
||||||
|
|
||||||
|
# system info
|
||||||
|
COMMANDS+=("show version")
|
||||||
|
COMMANDS+=("show system")
|
||||||
|
COMMANDS+=("show version")
|
||||||
|
COMMANDS+=("show inventory")
|
||||||
|
|
||||||
|
# config commands
|
||||||
|
COMMANDS+=("show startup-config")
|
||||||
|
COMMANDS+=("show running-config")
|
||||||
|
COMMANDS+=("show running-config detailed")
|
||||||
|
|
||||||
|
# interface commands
|
||||||
|
COMMANDS+=("show interfaces status")
|
||||||
|
COMMANDS+=("show interfaces description")
|
||||||
|
COMMANDS+=("show interface switchport $INTERFACE")
|
||||||
|
COMMANDS+=("show ports jumbo-frame")
|
||||||
|
|
||||||
|
# ip commands
|
||||||
|
COMMANDS+=("show hosts")
|
||||||
|
COMMANDS+=("show ip interface")
|
||||||
|
COMMANDS+=("show ipv6 interface brief")
|
||||||
|
COMMANDS+=("show arp")
|
||||||
|
|
||||||
|
# lldp commands
|
||||||
|
COMMANDS+=("show lldp neighbors")
|
||||||
|
COMMANDS+=("show lldp local $LLDPINTERFACE")
|
||||||
|
COMMANDS+=("show lldp neighbors $LLDPINTERFACE")
|
||||||
|
|
||||||
|
# ntp commands
|
||||||
|
COMMANDS+=("show sntp status")
|
||||||
|
|
||||||
|
# Additional obfuscations
|
||||||
|
# format is "SOURCE&&&REPLACEMENT"
|
||||||
|
# !!! keep source and replacement the same lenght
|
||||||
|
OBFUSCATE=()
|
||||||
|
# keys and secrets
|
||||||
|
OBFUSCATE+=("[a-f0-9]{40}&&&0123456789abcdef0123456789abcdef01234567")
|
||||||
|
OBFUSCATE+=("[a-zA-Z0-9+/]{30}&&&ABCD1234abcdABCD1234abcdABCD12")
|
||||||
|
# domains
|
||||||
|
OBFUSCATE+=("somedoma.org&&&examples.com")
|
||||||
|
OBFUSCATE+=("domai.org&&&examp.com")
|
||||||
|
# names and acronims
|
||||||
|
OBFUSCATE+=("SECRET&&&someth")
|
||||||
|
OBFUSCATE+=("IBM&&&ABC")
|
||||||
|
OBFUSCATE+=("Microsoft&&&Abcdefgh")
|
||||||
|
OBFUSCATE+=("PS222221ECM&&&ABC12234XYZ")
|
||||||
|
# specific repairs for example:
|
||||||
|
# - versions confused with IPs
|
||||||
|
OBFUSCATE+=("3.3.3.73&&&2.4.5.71")
|
||||||
|
OBFUSCATE+=("3.3.7.3&&&2.2.8.4")
|
||||||
|
|
||||||
Executable
+235
@@ -0,0 +1,235 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Defaults
|
||||||
|
DEF_FORCE="n"
|
||||||
|
#DEF_METHOD="cli" - nice with --method-kwargs "commands=['show ip interface']"
|
||||||
|
# but output is JSON
|
||||||
|
DEF_METHOD="_send_command"
|
||||||
|
|
||||||
|
# mocked data dir
|
||||||
|
MDDIR="mocked_data"
|
||||||
|
# command output dir
|
||||||
|
CODIR="command_output"
|
||||||
|
# config
|
||||||
|
CMDIN="./$(basename $0 .sh ).cfg"
|
||||||
|
|
||||||
|
GETOPTS=":hu:p:ft:m:i:l:v:d:"
|
||||||
|
function usage() {
|
||||||
|
MSG="usage: $(basename $0) [-h] -u USERNAME -p PASSWORD [-f]\n"
|
||||||
|
MSG+=" [-m METHOD] -i INTERFACE -l LLDP_INTERFACE\n"
|
||||||
|
MSG+=" -t TYPE -v VENDOR -d DEVICE [SINGLE_COMMAND]\n"
|
||||||
|
MSG+="\n"
|
||||||
|
MSG+=" This utility helps to get output of commands from device.\n"
|
||||||
|
MSG+=" Set of commands can be configured in '$CMDIN'\n"
|
||||||
|
MSG+=" Command output is saved to '$CODIR/DEVICE_TYPE/command_out.txt'\n"
|
||||||
|
MSG+=" and by default is not to be overwriten.\n"
|
||||||
|
MSG+="\n"
|
||||||
|
MSG+=" There is not any IP, MAC or names obfuscation or anonymizations!\n"
|
||||||
|
MSG+=" Before using as a unit test files it is recommendet to protect\n"
|
||||||
|
MSG+=" your privacy information yourself by editing output files\n"
|
||||||
|
MSG+=" in '$CODIR/DEVICE_TYPE/command_out.txt'!\n"
|
||||||
|
MSG+="\n"
|
||||||
|
MSG+=" -h - this help\n"
|
||||||
|
MSG+=" -u USERNAME - login username (or env DEVUSERNAME)\n"
|
||||||
|
MSG+=" -p PASSWORD - login password (or env DEVPASSWORD)\n"
|
||||||
|
MSG+=" -f - overwrite already downloaded output files\n"
|
||||||
|
MSG+=" -t TYPE - device type\n"
|
||||||
|
MSG+=" -m METHOD - what method sends command to device (def '$DEF_METHOD')\n"
|
||||||
|
MSG+=" -i INTERFACE - interface for deailed info (see '$CMDIN')\n"
|
||||||
|
MSG+=" -l INTERFACE - interface for deailed lldp info (see '$CMDIN')\n"
|
||||||
|
MSG+=" -v VENDOR - vendor napalm driver\n"
|
||||||
|
MSG+=" -d DEVICE - device to connect\n"
|
||||||
|
|
||||||
|
[[ -n $@ ]] && echo -e "\n### $@ ###\n" >&2
|
||||||
|
|
||||||
|
echo -e "$MSG" >&2
|
||||||
|
exit 127
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Parse options
|
||||||
|
# No run without options
|
||||||
|
if ( ! getopts $GETOPTS opt); then # CLI bez options
|
||||||
|
usage "Options needed !!!"
|
||||||
|
fi
|
||||||
|
OPTIND=1 # reset index
|
||||||
|
|
||||||
|
# Preset defaults
|
||||||
|
FORCE="$DEF_FORCE"
|
||||||
|
METHOD="$DEF_METHOD"
|
||||||
|
|
||||||
|
while getopts $GETOPTS opt; do
|
||||||
|
#echo $opt;
|
||||||
|
|
||||||
|
case "$opt" in
|
||||||
|
'u')
|
||||||
|
DEVUSERNAME=$OPTARG ;;
|
||||||
|
|
||||||
|
'p')
|
||||||
|
DEVPASSWORD=$OPTARG ;;
|
||||||
|
|
||||||
|
't')
|
||||||
|
TYPE=$OPTARG ;;
|
||||||
|
|
||||||
|
'i')
|
||||||
|
INTERFACE=$OPTARG ;;
|
||||||
|
|
||||||
|
'l')
|
||||||
|
LLDPINTERFACE=$OPTARG ;;
|
||||||
|
|
||||||
|
'v')
|
||||||
|
VENDOR=$OPTARG ;;
|
||||||
|
|
||||||
|
'm')
|
||||||
|
METHOD=$OPTARG ;;
|
||||||
|
|
||||||
|
'd')
|
||||||
|
DEVICE=$OPTARG ;;
|
||||||
|
|
||||||
|
'f')
|
||||||
|
FORCE='y' ;;
|
||||||
|
|
||||||
|
'h')
|
||||||
|
usage ;;
|
||||||
|
|
||||||
|
':')
|
||||||
|
usage "Parameter '-$OPTARG' needs value."
|
||||||
|
;;
|
||||||
|
|
||||||
|
'?'|*)
|
||||||
|
usage "Unknown parameter '-$OPTARG' ."
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
# read commands from file
|
||||||
|
[ -f "$CMDIN" ] || usage "File '$CMDIN' does not exists."
|
||||||
|
[ -r "$CMDIN" ] || usage "Can not read file '$CMDIN'."
|
||||||
|
|
||||||
|
[ -z "$INTERFACE" ] && usage "Parameter -i needed"
|
||||||
|
[ -z "$LLDPINTERFACE" ] && usage "Parameter -l needed"
|
||||||
|
|
||||||
|
. "${CMDIN}"
|
||||||
|
|
||||||
|
# Get possible last arg and set it as only command
|
||||||
|
shift $(($OPTIND - 1))
|
||||||
|
[ -z "$1" ] || COMMANDS=("$1")
|
||||||
|
|
||||||
|
[ -z "$DEVUSERNAME" ] && usage "Parameter -u needed"
|
||||||
|
[ -z "$DEVPASSWORD" ] && usage "Parameter -p needed"
|
||||||
|
[ -z "$TYPE" ] && usage "Parameter -t needed"
|
||||||
|
[ -z "$VENDOR" ] && usage "Parameter -v needed"
|
||||||
|
[ -z "$DEVICE" ] && usage "Parameter -d needed"
|
||||||
|
|
||||||
|
# ensure directory structure exists
|
||||||
|
[ -d "$CODIR" ] || usage "Output directory '$CODIR' does not exist."
|
||||||
|
[ -w "$CODIR" ] || usage "Output directory '$CODIR' is not writeable."
|
||||||
|
|
||||||
|
mkdir -p "$CODIR/$TYPE" || usage "Can not make directory '$CODIR/$TYPE'"
|
||||||
|
[ -w "$CODIR/$TYPE" ] || usage "Output directory '$CODIR/$TYPE' is not writeable."
|
||||||
|
|
||||||
|
echo "########## Generate output for type $TYPE ##########"
|
||||||
|
# lets get commands outputs
|
||||||
|
OLDIFS="$IFS"
|
||||||
|
IFS=$'\t\n'
|
||||||
|
for CMD in ${COMMANDS[@]}
|
||||||
|
do
|
||||||
|
IFS="$OLDIFS"
|
||||||
|
|
||||||
|
CMDSTR=${CMD// /_}
|
||||||
|
CMDSTR=${CMDSTR//-/_}
|
||||||
|
CMDSTR=${CMDSTR/\\/_}
|
||||||
|
CMDSTR=${CMDSTR/./_}
|
||||||
|
CMDSTR=${CMDSTR////_}
|
||||||
|
CMDFILE="$CODIR/$TYPE/${CMDSTR}.txt"
|
||||||
|
|
||||||
|
# skip already fetched command outputs
|
||||||
|
if [ -f "$CMDFILE" -a "$FORCE" = "n" ]; then
|
||||||
|
echo "###### Skiping '$CMD'. File '$CMDFILE' exists (force run by -f)"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "## Fetching '$CMD' to '$CMDSTR.txt'"
|
||||||
|
# --debug
|
||||||
|
echo -e "$(napalm --user "$DEVUSERNAME" --password "$DEVPASSWORD" --vendor "$VENDOR" "$DEVICE" call --method-kwargs "command='$CMD'" "$METHOD" | sed 's/^"//;s/"$//;s/\\"/"/g')" > "$CMDFILE"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "#### Preparing obfuscate script"
|
||||||
|
echo "## IP addresses"
|
||||||
|
IPs=$(cat "$CODIR/$TYPE/"*.txt \
|
||||||
|
| sed -rn 's/.*[^0-9\.](([0-9]{1,3}\.){3}[0-9]{1,3})[^0-9\.]*.*/\1/gp' \
|
||||||
|
| sort \
|
||||||
|
| uniq
|
||||||
|
)
|
||||||
|
echo $IPs
|
||||||
|
|
||||||
|
for a in $IPs
|
||||||
|
do
|
||||||
|
oa=${a}
|
||||||
|
oa=${oa//1/3}
|
||||||
|
oa=${oa//2/3}
|
||||||
|
oa=${oa//4/3}
|
||||||
|
oa=${oa//5/3}
|
||||||
|
oa=${oa//6/7}
|
||||||
|
oa=${oa//8/7}
|
||||||
|
oa=${oa//9/7}
|
||||||
|
|
||||||
|
oa=" -e s/$a/$oa/g "
|
||||||
|
|
||||||
|
oIPs="$oIPs$oa "
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "## MAC addresses"
|
||||||
|
MACs=$(cat "$CODIR/$TYPE/"*.txt \
|
||||||
|
| sed -rn -e 's/.*[^0-9\.:a-f-](([[:xdigit:]]{2}[:.-]?){5}[[:xdigit:]]{2})[^0-9\.:a-f-]*.*/\1/gp' \
|
||||||
|
| sort \
|
||||||
|
| uniq
|
||||||
|
)
|
||||||
|
echo $MACs
|
||||||
|
|
||||||
|
for m in $MACs
|
||||||
|
do
|
||||||
|
om=${m}
|
||||||
|
om=${om//1/2}
|
||||||
|
om=${om//3/2}
|
||||||
|
om=${om//6/2}
|
||||||
|
om=${om//8/2}
|
||||||
|
om=${om//b/2}
|
||||||
|
om=${om//e/2}
|
||||||
|
om=${om//4/a}
|
||||||
|
om=${om//5/a}
|
||||||
|
om=${om//7/a}
|
||||||
|
om=${om//9/a}
|
||||||
|
om=${om//c/a}
|
||||||
|
om=${om//d/a}
|
||||||
|
|
||||||
|
om=" -e s/$m/$om/g "
|
||||||
|
|
||||||
|
oMACs="$oMACs$om "
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "## Obfuscate IPs and MACs"
|
||||||
|
echo oIPS=$oIPs
|
||||||
|
echo oMACs=$oMACs
|
||||||
|
set -x
|
||||||
|
sed -r -i $oMACs $oIPs "$CODIR/$TYPE/"*.txt
|
||||||
|
set +x
|
||||||
|
|
||||||
|
echo "## Obfuscate strings from OBFUSCATE config variable"
|
||||||
|
|
||||||
|
for s in "${OBFUSCATE[@]}"
|
||||||
|
do
|
||||||
|
f="${s%%&&&*}"
|
||||||
|
t="${s##*&&&}"
|
||||||
|
oSTR="${oSTR}s/$f/$t/g;"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo $oSTR
|
||||||
|
sed -r -i -e "$oSTR" "$CODIR/$TYPE/"*.txt
|
||||||
|
|
||||||
|
echo "###################################################"
|
||||||
|
echo "## Do not forget obfuscate other output: ##"
|
||||||
|
echo "## passwords, secrets, keys, certificates ##"
|
||||||
|
echo "## descriptions, names and other ... ##"
|
||||||
|
echo "###################################################"
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
[{"interface": "GigabitEthernet10", "mac": "00:00:0A:0A:AA:02", "ip": "30.70.0.3", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "A0:02:AA:AA:FA:AA", "ip": "30.70.0.3", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "A0:02:AA:AA:FA:AA", "ip": "30.70.0.3", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "00:A0:A2:A2:2F:A2", "ip": "30.70.3.33", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "AA:A2:A2:AA:FA:2A", "ip": "30.70.33.3", "age": 0.0}]
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Total number of entries: 5
|
||||||
|
|
||||||
|
|
||||||
|
VLAN Interface IP address HW address status
|
||||||
|
--------------------- --------------- ------------------- ---------------
|
||||||
|
vlan 1 gi10 30.70.0.3 00:00:0a:0a:aa:02 dynamic
|
||||||
|
vlan 1 gi10 30.70.0.3 a0:02:aa:aa:fa:aa dynamic
|
||||||
|
vlan 1 gi10 30.70.0.3 a0:02:aa:aa:fa:aa dynamic
|
||||||
|
vlan 1 gi10 30.70.3.33 00:a0:a2:a2:2f:a2 dynamic
|
||||||
|
vlan 1 gi10 30.70.33.3 aa:a2:a2:aa:fa:2a dynamic
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
[
|
[
|
||||||
{"interface": "vlan 1", "mac": "9C:EB:E8:AA:BB:CC", "ip": "192.168.1.1", "age": 0.0}
|
{"interface": "VLAN1", "mac": "9C:EB:E8:AA:BB:CC", "ip": "192.168.1.1", "age": 0.0}
|
||||||
]
|
]
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
[
|
[
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "00:00:0C:07:AC:01", "ip": "19.51.0.1", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "00:00:0C:07:AC:01", "ip": "19.51.0.1", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "E4:C7:22:FE:E0:43", "ip": "19.51.0.2", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "E4:C7:22:FE:E0:43", "ip": "19.51.0.2", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:15:AA", "ip": "19.51.0.5", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:15:AA", "ip": "19.51.0.5", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:14:6F", "ip": "19.51.0.3", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:14:6F", "ip": "19.51.0.3", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "5C:8A:38:2E:BD:C0", "ip": "19.51.0.1", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "5C:8A:38:2E:BD:C0", "ip": "19.51.0.1", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "5C:8A:38:2E:FD:E0", "ip": "19.51.0.8", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "5C:8A:38:2E:FD:E0", "ip": "19.51.0.8", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "00:50:56:93:19:B7", "ip": "19.51.1.4", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "00:50:56:93:19:B7", "ip": "19.51.1.4", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "00:50:56:92:2F:CB", "ip": "19.51.1.5", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "00:50:56:92:2F:CB", "ip": "19.51.1.5", "age": 0.0},
|
||||||
{"interface": "vlan 852", "mac": "00:50:56:9E:51:F3", "ip": "19.51.1.2", "age": 0.0},
|
{"interface": "VLAN852", "mac": "00:50:56:9E:51:F3", "ip": "19.51.1.2", "age": 0.0},
|
||||||
{"interface": "vlan 852", "mac": "A4:4C:C8:7D:37:03", "ip": "19.51.14.5", "age": 0.0}
|
{"interface": "VLAN852", "mac": "A4:4C:C8:7D:37:03", "ip": "19.51.14.5", "age": 0.0}
|
||||||
]
|
]
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
[
|
[
|
||||||
{"interface": "vlan 202", "mac": "00:15:17:27:9C:4D", "ip": "10.0.3.1", "age": 0.0},
|
{"interface": "VLAN202", "mac": "00:15:17:27:9C:4D", "ip": "10.0.3.1", "age": 0.0},
|
||||||
{"interface": "vlan 202", "mac": "00:50:56:90:23:E8", "ip": "10.0.3.4", "age": 0.0}
|
{"interface": "VLAN202", "mac": "00:50:56:90:23:E8", "ip": "10.0.3.4", "age": 0.0}
|
||||||
]
|
]
|
||||||
@@ -1,61 +1,61 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.1",
|
"ip" : "192.168.0.1",
|
||||||
"mac" : "AB:00:EF:12:34:56"
|
"mac" : "AB:00:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.2",
|
"ip" : "192.168.0.2",
|
||||||
"mac" : "AB:C7:EF:12:34:56"
|
"mac" : "AB:C7:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.65",
|
"ip" : "192.168.0.65",
|
||||||
"mac" : "AB:EA:EF:12:34:56"
|
"mac" : "AB:EA:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.73",
|
"ip" : "192.168.0.73",
|
||||||
"mac" : "AB:EA:EF:12:34:56"
|
"mac" : "AB:EA:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.40",
|
"ip" : "192.168.0.40",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.44",
|
"ip" : "192.168.0.44",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "vlan 1",
|
"interface" : "VLAN1",
|
||||||
"ip" : "192.168.0.4",
|
"ip" : "192.168.0.4",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.49",
|
"ip" : "192.168.0.49",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.2",
|
"ip" : "192.168.0.2",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "vlan 1",
|
"interface" : "VLAN1",
|
||||||
"ip" : "192.168.0.142",
|
"ip" : "192.168.0.142",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
[{"interface": "GigabitEthernet10", "mac": "00:00:0A:0A:AA:02", "ip": "30.70.0.3", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "A0:02:AA:AA:FA:AA", "ip": "30.70.0.3", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "A0:02:AA:AA:FA:AA", "ip": "30.70.0.3", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "00:A0:A2:A2:2F:A2", "ip": "30.70.3.33", "age": 0.0}, {"interface": "GigabitEthernet10", "mac": "AA:A2:A2:AA:FA:2A", "ip": "30.70.33.3", "age": 0.0}]
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Total number of entries: 5
|
||||||
|
|
||||||
|
|
||||||
|
VLAN Interface IP address HW address status
|
||||||
|
--------------------- --------------- ------------------- ---------------
|
||||||
|
vlan 1 gi10 30.70.0.3 00:00:0a:0a:aa:02 dynamic
|
||||||
|
vlan 1 gi10 30.70.0.3 a0:02:aa:aa:fa:aa dynamic
|
||||||
|
vlan 1 gi10 30.70.0.3 a0:02:aa:aa:fa:aa dynamic
|
||||||
|
vlan 1 gi10 30.70.3.33 00:a0:a2:a2:2f:a2 dynamic
|
||||||
|
vlan 1 gi10 30.70.33.3 aa:a2:a2:aa:fa:2a dynamic
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
[
|
[
|
||||||
{"interface": "vlan 1", "mac": "9C:EB:E8:AA:BB:CC", "ip": "192.168.1.1", "age": 0.0}
|
{"interface": "VLAN1", "mac": "9C:EB:E8:AA:BB:CC", "ip": "192.168.1.1", "age": 0.0}
|
||||||
]
|
]
|
||||||
+10
-10
@@ -1,12 +1,12 @@
|
|||||||
[
|
[
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "00:00:0C:07:AC:01", "ip": "19.51.0.1", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "00:00:0C:07:AC:01", "ip": "19.51.0.1", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "E4:C7:22:FE:E0:43", "ip": "19.51.0.2", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "E4:C7:22:FE:E0:43", "ip": "19.51.0.2", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:15:AA", "ip": "19.51.0.5", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:15:AA", "ip": "19.51.0.5", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:14:6F", "ip": "19.51.0.3", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "BC:EA:FA:B4:14:6F", "ip": "19.51.0.3", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "5C:8A:38:2E:BD:C0", "ip": "19.51.0.1", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "5C:8A:38:2E:BD:C0", "ip": "19.51.0.1", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "5C:8A:38:2E:FD:E0", "ip": "19.51.0.8", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "5C:8A:38:2E:FD:E0", "ip": "19.51.0.8", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "00:50:56:93:19:B7", "ip": "19.51.1.4", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "00:50:56:93:19:B7", "ip": "19.51.1.4", "age": 0.0},
|
||||||
{"interface": "TengigabitEthernet1/0/1", "mac": "00:50:56:92:2F:CB", "ip": "19.51.1.5", "age": 0.0},
|
{"interface": "TenGigabitEthernet1/0/1", "mac": "00:50:56:92:2F:CB", "ip": "19.51.1.5", "age": 0.0},
|
||||||
{"interface": "vlan 852", "mac": "00:50:56:9E:51:F3", "ip": "19.51.1.2", "age": 0.0},
|
{"interface": "VLAN852", "mac": "00:50:56:9E:51:F3", "ip": "19.51.1.2", "age": 0.0},
|
||||||
{"interface": "vlan 852", "mac": "A4:4C:C8:7D:37:03", "ip": "19.51.14.5", "age": 0.0}
|
{"interface": "VLAN852", "mac": "A4:4C:C8:7D:37:03", "ip": "19.51.14.5", "age": 0.0}
|
||||||
]
|
]
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
[
|
[
|
||||||
{"interface": "vlan 202", "mac": "00:15:17:27:9C:4D", "ip": "10.0.3.1", "age": 0.0},
|
{"interface": "VLAN202", "mac": "00:15:17:27:9C:4D", "ip": "10.0.3.1", "age": 0.0},
|
||||||
{"interface": "vlan 202", "mac": "00:50:56:90:23:E8", "ip": "10.0.3.4", "age": 0.0}
|
{"interface": "VLAN202", "mac": "00:50:56:90:23:E8", "ip": "10.0.3.4", "age": 0.0}
|
||||||
]
|
]
|
||||||
+10
-10
@@ -1,61 +1,61 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.1",
|
"ip" : "192.168.0.1",
|
||||||
"mac" : "AB:00:EF:12:34:56"
|
"mac" : "AB:00:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.2",
|
"ip" : "192.168.0.2",
|
||||||
"mac" : "AB:C7:EF:12:34:56"
|
"mac" : "AB:C7:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.65",
|
"ip" : "192.168.0.65",
|
||||||
"mac" : "AB:EA:EF:12:34:56"
|
"mac" : "AB:EA:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.73",
|
"ip" : "192.168.0.73",
|
||||||
"mac" : "AB:EA:EF:12:34:56"
|
"mac" : "AB:EA:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.40",
|
"ip" : "192.168.0.40",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.44",
|
"ip" : "192.168.0.44",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "vlan 1",
|
"interface" : "VLAN1",
|
||||||
"ip" : "192.168.0.4",
|
"ip" : "192.168.0.4",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.49",
|
"ip" : "192.168.0.49",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "TengigabitEthernet1/0/4",
|
"interface" : "TenGigabitEthernet1/0/4",
|
||||||
"ip" : "192.168.0.2",
|
"ip" : "192.168.0.2",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"age" : 0.0,
|
"age" : 0.0,
|
||||||
"interface" : "vlan 1",
|
"interface" : "VLAN1",
|
||||||
"ip" : "192.168.0.142",
|
"ip" : "192.168.0.142",
|
||||||
"mac" : "AB:50:EF:12:34:56"
|
"mac" : "AB:50:EF:12:34:56"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{"startup": "\nssd-control-start\nssd config\nssd file passphrase control unrestricted\nno ssd file integrity control\nssd-control-end ABCD1234abcdABCD1234abcdABCD12c0\n!\n!\nunit-type-control-start\nunit-type unit 1 network gi uplink none\nunit-type-control-end\n!\ncdp device-id format hostname\nspanning-tree mode mst\nspanning-tree loopback-guard\nport jumbo-frame\nvlan database\nvlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001\nexit\nvoice vlan id 7\nvoice vlan state disabled\nvoice vlan oui-table add 0001e3 Siemens_AG_phone________\nvoice vlan oui-table add 00036b Cisco_phone_____________\nvoice vlan oui-table add 00096e Avaya___________________\nvoice vlan oui-table add 000fe2 H3C_Aolynk______________\nvoice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone\nvoice vlan oui-table add 00d01e Pingtel_phone___________\nvoice vlan oui-table add 00e075 Polycom/Veritel_phone___\nvoice vlan oui-table add 00e0bb 3Com_phone______________\nno eee enable\nlink-flap prevention disable\nbonjour interface range vlan 1\nhostname switch-no-2548-1\nlogging host 30.70.3.33\nlogging host 30.73.3.30 port 50001\nlogging buffered notifications\nlogging origin-id hostname\nlogging console errors\nno passwords complexity enable\npasswords aging 0\nusername admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15\nusername cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15\nip ssh server\nip ssh password-auth\nip ssh pubkey-auth auto-login\ncrypto key pubkey-chain ssh\nuser-key admin rsa\nkey-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L\nkey-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB\nkey-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav\nkey-string row ABCD1234abcdABCD1234abcdABCD12dS\nkey-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9\nkey-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7\nkey-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF\nkey-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv\nkey-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV\nkey-string row SWtO0EiL2pTczbwxGw==\nexit\nexit\nsnmp-server server\nsnmp-server location \"Something;Somewhere;Somestreet;othersatnice;0;vratnice\"\nsnmp-server community Abcdef rw view DefaultSuper\nclock timezone CET +1\nclock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00\nsntp server 30.30.3.33 poll\nsntp server 30.70.3.33 poll\nsntp server ntp.examples.com poll\nsntp server ntp.ph.examp.com poll\nno sntp server time-a.timefreq.bldrdoc.gov\nno sntp server time-b.timefreq.bldrdoc.gov\nno sntp server time-c.timefreq.bldrdoc.gov\nip name-server 30.70.3.33\nip host tftp 30.70.3.33\n!\ninterface vlan 1\n name default\n ip address 30.70.0.37 333.333.337.0\n no ip address dhcp\n!\ninterface vlan 7\n name VoIP-Phones\n!\ninterface vlan 8\n name INET_DMZ\n!\ninterface vlan 10\n name AD-Clients\n!\ninterface vlan 11\n name VOIP_VoiceTrunk\n!\ninterface vlan 30\n name Alantis_DMZ\n!\ninterface vlan 31\n name Abcdef_DMZ\n!\ninterface vlan 100\n name RAW_Inet_Abcdef\n!\ninterface vlan 200\n name ABC-ADS\n!\ninterface vlan 480\n name ABC-ITMGMT\n!\ninterface vlan 490\n name HOSTNET\n!\ninterface vlan 491\n name TECHNET\n!\ninterface vlan 1000\n name ABC-IT\n!\ninterface vlan 1001\n name CES-MAR\n!\ninterface GigabitEthernet8\n no eee enable\n no eee lldp enable\n power inline priority critical\n!\ninterface GigabitEthernet9\n switchport trunk native vlan none\n!\ninterface GigabitEthernet10\n description \"Trunk to switchkuch-1\"\n!\nexit\nip default-gateway 30.70.0.3\nencrypted ip ssh-client key rsa key-pair\n---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----\nComment: RSA Private Key\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==\n---- END SSH2 PRIVATE KEY ----\n---- BEGIN SSH2 PUBLIC KEY ----\nComment: RSA Public Key\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/\nABCD1234abcdABCD1234abcdABLine truncated
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
|
encrypted ip ssh-client key rsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: RSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: RSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12X/gDrfYHCu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Uw==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted ip ssh-client key dsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: DSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EQTG4SHh6Z
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FNfTUMF6C6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12i4B02/IZGI
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12yX7nY+AOPD
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12pL8r4cXujS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12a6Ut3tCQVy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FsYD/d5xWs
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lzxObeJ7Z1
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mOCGodNRAf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LpzOPWsz6N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1248vEoC1X0n
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SV
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: DSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12cHQnMuaXDn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qvE1vMH5xv
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lc4rWWCO6b
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12TVuouFfgdF
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wj/WAxB4Op
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lSIoIAfpkY
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12RqD0MS/9X5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12m52u4/cBjY
|
||||||
|
qCqdkBI+B+YqB1jT8w==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"startup": "", "running": "", "candidate": ""}
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
|
encrypted ip ssh-client key rsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: RSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: RSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12X/gDrfYHCu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Uw==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted ip ssh-client key dsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: DSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EQTG4SHh6Z
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FNfTUMF6C6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12i4B02/IZGI
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12yX7nY+AOPD
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12pL8r4cXujS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12a6Ut3tCQVy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FsYD/d5xWs
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lzxObeJ7Z1
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mOCGodNRAf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LpzOPWsz6N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1248vEoC1X0n
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SV
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: DSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12cHQnMuaXDn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qvE1vMH5xv
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lc4rWWCO6b
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12TVuouFfgdF
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wj/WAxB4Op
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lSIoIAfpkY
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12RqD0MS/9X5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12m52u4/cBjY
|
||||||
|
qCqdkBI+B+YqB1jT8w==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"startup": "\nssd-control-start\nssd config\nssd file passphrase control unrestricted\nno ssd file integrity control\nssd-control-end ABCD1234abcdABCD1234abcdABCD12c0\n!\n!\nunit-type-control-start\nunit-type unit 1 network gi uplink none\nunit-type-control-end\n!\ncdp device-id format hostname\nspanning-tree mode mst\nspanning-tree loopback-guard\nport jumbo-frame\nvlan database\nvlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001\nexit\nvoice vlan id 7\nvoice vlan state disabled\nvoice vlan oui-table add 0001e3 Siemens_AG_phone________\nvoice vlan oui-table add 00036b Cisco_phone_____________\nvoice vlan oui-table add 00096e Avaya___________________\nvoice vlan oui-table add 000fe2 H3C_Aolynk______________\nvoice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone\nvoice vlan oui-table add 00d01e Pingtel_phone___________\nvoice vlan oui-table add 00e075 Polycom/Veritel_phone___\nvoice vlan oui-table add 00e0bb 3Com_phone______________\nno eee enable\nlink-flap prevention disable\nbonjour interface range vlan 1\nhostname switch-no-2548-1\nlogging host 30.70.3.33\nlogging host 30.73.3.30 port 50001\nlogging buffered notifications\nlogging origin-id hostname\nlogging console errors\nno passwords complexity enable\npasswords aging 0\nusername admin password encrypted <removed> privilege 15\nusername cisco password encrypted <removed> privilege 15\nip ssh server\nip ssh password-auth\nip ssh pubkey-auth auto-login\ncrypto key pubkey-chain ssh\nuser-key admin rsa\nkey-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L\nkey-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB\nkey-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav\nkey-string row ABCD1234abcdABCD1234abcdABCD12dS\nkey-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9\nkey-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7\nkey-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF\nkey-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv\nkey-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV\nkey-string row SWtO0EiL2pTczbwxGw==\nexit\nexit\nsnmp-server server\nsnmp-server location <removed>\nsnmp-server community <removed>\nclock timezone CET +1\nclock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00\nsntp server 30.30.3.33 poll\nsntp server 30.70.3.33 poll\nsntp server ntp.examples.com poll\nsntp server ntp.ph.examp.com poll\nno sntp server time-a.timefreq.bldrdoc.gov\nno sntp server time-b.timefreq.bldrdoc.gov\nno sntp server time-c.timefreq.bldrdoc.gov\nip name-server 30.70.3.33\nip host tftp 30.70.3.33\n!\ninterface vlan 1\n name default\n ip address 30.70.0.37 333.333.337.0\n no ip address dhcp\n!\ninterface vlan 7\n name VoIP-Phones\n!\ninterface vlan 8\n name INET_DMZ\n!\ninterface vlan 10\n name AD-Clients\n!\ninterface vlan 11\n name VOIP_VoiceTrunk\n!\ninterface vlan 30\n name Alantis_DMZ\n!\ninterface vlan 31\n name Abcdef_DMZ\n!\ninterface vlan 100\n name RAW_Inet_Abcdef\n!\ninterface vlan 200\n name ABC-ADS\n!\ninterface vlan 480\n name ABC-ITMGMT\n!\ninterface vlan 490\n name HOSTNET\n!\ninterface vlan 491\n name TECHNET\n!\ninterface vlan 1000\n name ABC-IT\n!\ninterface vlan 1001\n name CES-MAR\n!\ninterface GigabitEthernet8\n no eee enable\n no eee lldp enable\n power inline priority critical\n!\ninterface GigabitEthernet9\n switchport trunk native vlan none\n!\ninterface GigabitEthernet10\n description \"Trunk to switchkuch-1\"\n!\nexit\nip default-gateway 30.70.0.3\nencrypted ip ssh-client key rsa key-pair\n---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----\nComment: RSA Private Key\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==\n---- END SSH2 PRIVATE KEY ----\n---- BEGIN SSH2 PUBLIC KEY ----\nComment: RSA Public Key\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12X/gDrfYHCu\nABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Uw==\n---- END SSH2 PUBLine truncated
|
||||||
@@ -0,0 +1,136 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
config-file-header
|
||||||
|
switch-no-2548-1
|
||||||
|
v2.4.5.71 / RTESLA2.4.5_930_181_144
|
||||||
|
CLI v1.0
|
||||||
|
file SSD indicator encrypted
|
||||||
|
@
|
||||||
|
ssd-control-start
|
||||||
|
ssd config
|
||||||
|
ssd file passphrase control unrestricted
|
||||||
|
no ssd file integrity control
|
||||||
|
ssd-control-end ABCD1234abcdABCD1234abcdABCD12c0
|
||||||
|
!
|
||||||
|
!
|
||||||
|
unit-type-control-start
|
||||||
|
unit-type unit 1 network gi uplink none
|
||||||
|
unit-type-control-end
|
||||||
|
!
|
||||||
|
cdp device-id format hostname
|
||||||
|
spanning-tree mode mst
|
||||||
|
spanning-tree loopback-guard
|
||||||
|
port jumbo-frame
|
||||||
|
vlan database
|
||||||
|
vlan 7-8,10-11,30-31,100,200,480,490-491,1000-1001
|
||||||
|
exit
|
||||||
|
voice vlan id 7
|
||||||
|
voice vlan state disabled
|
||||||
|
voice vlan oui-table add 0001e3 Siemens_AG_phone________
|
||||||
|
voice vlan oui-table add 00036b Cisco_phone_____________
|
||||||
|
voice vlan oui-table add 00096e Avaya___________________
|
||||||
|
voice vlan oui-table add 000fe2 H3C_Aolynk______________
|
||||||
|
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
|
||||||
|
voice vlan oui-table add 00d01e Pingtel_phone___________
|
||||||
|
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
|
||||||
|
voice vlan oui-table add 00e0bb 3Com_phone______________
|
||||||
|
no eee enable
|
||||||
|
link-flap prevention disable
|
||||||
|
bonjour interface range vlan 1
|
||||||
|
hostname switch-no-2548-1
|
||||||
|
logging host 30.70.3.33
|
||||||
|
logging host 30.73.3.30 port 50001
|
||||||
|
logging buffered notifications
|
||||||
|
logging origin-id hostname
|
||||||
|
logging console errors
|
||||||
|
no passwords complexity enable
|
||||||
|
passwords aging 0
|
||||||
|
username admin password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
username cisco password encrypted ABCD1234abcdABCD1234abcdABCD122f0222aa2a privilege 15
|
||||||
|
ip ssh server
|
||||||
|
ip ssh password-auth
|
||||||
|
ip ssh pubkey-auth auto-login
|
||||||
|
crypto key pubkey-chain ssh
|
||||||
|
user-key admin rsa
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12Mdfpc6NU0L
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12IK2g3BQGlB
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12RQDtU8sgav
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12dS
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12clVSXW+VS9
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121yWQ/dirg7
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD126+oTfMZRDF
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD121OnMyls0Cv
|
||||||
|
key-string row ABCD1234abcdABCD1234abcdABCD12xIINJVB3mV
|
||||||
|
key-string row SWtO0EiL2pTczbwxGw==
|
||||||
|
exit
|
||||||
|
exit
|
||||||
|
snmp-server server
|
||||||
|
snmp-server location "Something;Somewhere;Somestreet;othersatnice;0;vratnice"
|
||||||
|
snmp-server community Abcdef rw view DefaultSuper
|
||||||
|
clock timezone CET +1
|
||||||
|
clock summer-time CEST recurring last sun mar 02:00 last sun oct 03:00
|
||||||
|
sntp server 30.30.3.33 poll
|
||||||
|
sntp server 30.70.3.33 poll
|
||||||
|
sntp server ntp.examples.com poll
|
||||||
|
sntp server ntp.ph.examp.com poll
|
||||||
|
no sntp server time-a.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-b.timefreq.bldrdoc.gov
|
||||||
|
no sntp server time-c.timefreq.bldrdoc.gov
|
||||||
|
ip name-server 30.70.3.33
|
||||||
|
ip host tftp 30.70.3.33
|
||||||
|
!
|
||||||
|
interface vlan 1
|
||||||
|
name default
|
||||||
|
ip address 30.70.0.37 333.333.337.0
|
||||||
|
no ip address dhcp
|
||||||
|
!
|
||||||
|
interface vlan 7
|
||||||
|
name VoIP-Phones
|
||||||
|
!
|
||||||
|
interface vlan 8
|
||||||
|
name INET_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 10
|
||||||
|
name AD-Clients
|
||||||
|
!
|
||||||
|
interface vlan 11
|
||||||
|
name VOIP_VoiceTrunk
|
||||||
|
!
|
||||||
|
interface vlan 30
|
||||||
|
name Alantis_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 31
|
||||||
|
name Abcdef_DMZ
|
||||||
|
!
|
||||||
|
interface vlan 100
|
||||||
|
name RAW_Inet_Abcdef
|
||||||
|
!
|
||||||
|
interface vlan 200
|
||||||
|
name ABC-ADS
|
||||||
|
!
|
||||||
|
interface vlan 480
|
||||||
|
name ABC-ITMGMT
|
||||||
|
!
|
||||||
|
interface vlan 490
|
||||||
|
name HOSTNET
|
||||||
|
!
|
||||||
|
interface vlan 491
|
||||||
|
name TECHNET
|
||||||
|
!
|
||||||
|
interface vlan 1000
|
||||||
|
name ABC-IT
|
||||||
|
!
|
||||||
|
interface vlan 1001
|
||||||
|
name CES-MAR
|
||||||
|
!
|
||||||
|
interface GigabitEthernet8
|
||||||
|
no eee enable
|
||||||
|
no eee lldp enable
|
||||||
|
power inline priority critical
|
||||||
|
!
|
||||||
|
interface GigabitEthernet9
|
||||||
|
switchport trunk native vlan none
|
||||||
|
!
|
||||||
|
interface GigabitEthernet10
|
||||||
|
description "Trunk to switchkuch-1"
|
||||||
|
!
|
||||||
|
exit
|
||||||
|
ip default-gateway 30.70.0.3
|
||||||
|
encrypted ip ssh-client key rsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: RSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u/LrfNpsC+
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12nGmfnMiTzL
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123BLQIyiTXh
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD128sfN3HfTcT
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD122JkvT8qdYc
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD127RLGCjKRGg
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12DUHsuYRcp4
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12ecNyEd+yKG
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD129xA6s+kaKr
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD123iQURrQLpf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qaNplfEtQQ
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Fzg1zCmKmm
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12XbJtiivB9P
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qybAVD6G7N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12u+epBMcIsl
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12==
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: RSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LOFaFaMAP/
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12X/gDrfYHCu
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12Uw==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
|
encrypted ip ssh-client key dsa key-pair
|
||||||
|
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
|
||||||
|
Comment: DSA Private Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12EQTG4SHh6Z
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FNfTUMF6C6
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12i4B02/IZGI
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12yX7nY+AOPD
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12pL8r4cXujS
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12a6Ut3tCQVy
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12FsYD/d5xWs
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lzxObeJ7Z1
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12mOCGodNRAf
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12LpzOPWsz6N
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD1248vEoC1X0n
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12SV
|
||||||
|
---- END SSH2 PRIVATE KEY ----
|
||||||
|
---- BEGIN SSH2 PUBLIC KEY ----
|
||||||
|
Comment: DSA Public Key
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12cHQnMuaXDn
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12qvE1vMH5xv
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lc4rWWCO6b
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12TVuouFfgdF
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12wj/WAxB4Op
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12lSIoIAfpkY
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12RqD0MS/9X5
|
||||||
|
ABCD1234abcdABCD1234abcdABCD12ABCD1234abcdABCD1234abcdABCD12m52u4/cBjY
|
||||||
|
qCqdkBI+B+YqB1jT8w==
|
||||||
|
---- END SSH2 PUBLIC KEY ----
|
||||||
|
.
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"fqdn": "Unknown", "hostname": "switch-no-2548-1", "interface_list": ["GigabitEthernet1", "GigabitEthernet2", "GigabitEthernet3", "GigabitEthernet4", "GigabitEthernet5", "GigabitEthernet6", "GigabitEthernet7", "GigabitEthernet8", "GigabitEthernet9", "GigabitEthernet10", "Port-channel1", "Port-channel2", "Port-channel3", "Port-channel4"], "model": "SG250-10P-K9", "os_version": "2.4.5.71", "serial_number": "ABC12234XYZ", "uptime": 10687167.0, "vendor": "Cisco"}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
Name/address lookup is enabled
|
||||||
|
Domain Timeout: 2 seconds
|
||||||
|
Domain Retry: 1 times
|
||||||
|
Domain Polling Interval: 8 seconds
|
||||||
|
|
||||||
|
|
||||||
|
Default Domain Table
|
||||||
|
|
||||||
|
Domain Source Interface Preference
|
||||||
|
-------------------------------------------- ------- --------- ----------
|
||||||
|
Domain name is not configured
|
||||||
|
|
||||||
|
|
||||||
|
Name Server Table
|
||||||
|
|
||||||
|
IP Address Source Interface Preference
|
||||||
|
-------------------------------------------- ------- --------- ----------
|
||||||
|
30.70.3.33 static 1
|
||||||
|
|
||||||
|
|
||||||
|
Cache Table
|
||||||
|
Flags: (STA/DYN, OK/NE/??)
|
||||||
|
STA - Static, DYN - Dynamic
|
||||||
|
OK - Okay, NE - Negative Cache, ?? - No Response
|
||||||
|
|
||||||
|
Remaining
|
||||||
|
Host Addresses Type State TTL
|
||||||
|
------------------------- ------------------------ ---- ------ ----------
|
||||||
|
tftp 30.70.3.33 IPv4 STA,OK
|
||||||
|
ntp.examples.com 30.70.3.33 IPv4 DYN,OK 0003:38:43
|
||||||
|
ntp.examples.com no resolution IPv6 DYN,??
|
||||||
|
ntp.ph.examp.com 30.30.3.33 IPv4 DYN,OK 0003:38:43
|
||||||
|
ntp.ph.examp.com no resolution IPv6 DYN,??
|
||||||
|
pnpserver.qqq.aa no resolution IPv6 DYN,NE 0020:55:13
|
||||||
|
pnpserver.qqq.aa no resolution IPv4 DYN,NE 0020:55:13
|
||||||
|
pingu.examples.com 30.70.3.33 IPv4 DYN,OK 0003:38:43
|
||||||
|
ns-cb-1.examples.com 30.70.3.300 IPv4 DYN,OK 0003:38:43
|
||||||
|
ns-cb-2.examples.com 30.70.3.300 IPv4 DYN,OK 0003:38:43
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
Flow Link Back Mdix
|
||||||
|
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||||
|
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||||
|
gi1 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi2 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi3 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||||
|
gi4 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi5 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi6 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi7 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi8 1G-Copper Full 100 Enabled Off Up Disabled Off
|
||||||
|
gi9 1G-Combo-C -- -- -- -- Down -- --
|
||||||
|
gi10 1G-Combo-C Full 100 Enabled Off Up Disabled Off
|
||||||
|
|
||||||
|
Flow Link
|
||||||
|
Ch Type Duplex Speed Neg control State
|
||||||
|
-------- ------- ------ ----- -------- ------- -----------
|
||||||
|
Po1 -- -- -- -- -- Not Present
|
||||||
|
Po2 -- -- -- -- -- Not Present
|
||||||
|
Po3 -- -- -- -- -- Not Present
|
||||||
|
Po4 -- -- -- -- -- Not Present
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
NAME: "1" DESCR: "SG250-10P 10-Port Gigabit PoE Smart Switch"
|
||||||
|
PID: SG250-10P-K9 VID: V04 SN: ABC12234XYZ
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
System Description: SG250-10P 10-Port Gigabit PoE Smart Switch
|
||||||
|
System Up Time (days,hour:min:sec): 123,16:39:27
|
||||||
|
System Contact:
|
||||||
|
System Name: switch-no-2548-1
|
||||||
|
System Location: Something;Somewhere;Somestreet;others
|
||||||
|
atnice;0;vratnice
|
||||||
|
System MAC Address: aa:aa:a0:22:2a:a2
|
||||||
|
System Object ID: 2.2.8.4.4.1.9.6.1.97.10.5
|
||||||
|
|
||||||
|
Unit Type
|
||||||
|
---- ----------------------
|
||||||
|
1 SG250-10P
|
||||||
|
|
||||||
|
|
||||||
|
Unit Fans Status
|
||||||
|
---- -------------------------------------
|
||||||
|
1 Fans status is N/A
|
||||||
|
|
||||||
|
Unit Temperature (Celsius) Status
|
||||||
|
---- --------------------- ----------
|
||||||
|
1 65 OK
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Active-image: flash://system/images/sg250_image_tesla_250_2.4.5.71.bin
|
||||||
|
Version: 2.4.5.71
|
||||||
|
MD5 Digest: ABCD1234abcdABCD1234abcdABCD121c
|
||||||
|
Date: 04-Nov-2018
|
||||||
|
Time: 19:46:16
|
||||||
|
Inactive-image: flash://system/images/image1.bin
|
||||||
|
Version: 2.2.8.4
|
||||||
|
MD5 Digest: ABCD1234abcdABCD1234abcdABCD12f1
|
||||||
|
Date: 21-Dec-2016
|
||||||
|
Time: 22:03:09
|
||||||
@@ -50,10 +50,10 @@
|
|||||||
"GigabitEthernet1/0/46",
|
"GigabitEthernet1/0/46",
|
||||||
"GigabitEthernet1/0/47",
|
"GigabitEthernet1/0/47",
|
||||||
"GigabitEthernet1/0/48",
|
"GigabitEthernet1/0/48",
|
||||||
"TengigabitEthernet1/0/1",
|
"TenGigabitEthernet1/0/1",
|
||||||
"TengigabitEthernet1/0/2",
|
"TenGigabitEthernet1/0/2",
|
||||||
"TengigabitEthernet1/0/3",
|
"TenGigabitEthernet1/0/3",
|
||||||
"TengigabitEthernet1/0/4",
|
"TenGigabitEthernet1/0/4",
|
||||||
"Port-channel1",
|
"Port-channel1",
|
||||||
"Port-channel2",
|
"Port-channel2",
|
||||||
"Port-channel3",
|
"Port-channel3",
|
||||||
|
|||||||
+4
-4
@@ -50,10 +50,10 @@
|
|||||||
"GigabitEthernet1/0/46",
|
"GigabitEthernet1/0/46",
|
||||||
"GigabitEthernet1/0/47",
|
"GigabitEthernet1/0/47",
|
||||||
"GigabitEthernet1/0/48",
|
"GigabitEthernet1/0/48",
|
||||||
"TengigabitEthernet1/0/1",
|
"TenGigabitEthernet1/0/1",
|
||||||
"TengigabitEthernet1/0/2",
|
"TenGigabitEthernet1/0/2",
|
||||||
"TengigabitEthernet1/0/3",
|
"TenGigabitEthernet1/0/3",
|
||||||
"TengigabitEthernet1/0/4",
|
"TenGigabitEthernet1/0/4",
|
||||||
"Port-channel1",
|
"Port-channel1",
|
||||||
"Port-channel2",
|
"Port-channel2",
|
||||||
"Port-channel3",
|
"Port-channel3",
|
||||||
|
|||||||
@@ -50,10 +50,10 @@
|
|||||||
"GigabitEthernet1/0/46",
|
"GigabitEthernet1/0/46",
|
||||||
"GigabitEthernet1/0/47",
|
"GigabitEthernet1/0/47",
|
||||||
"GigabitEthernet1/0/48",
|
"GigabitEthernet1/0/48",
|
||||||
"TengigabitEthernet1/0/1",
|
"TenGigabitEthernet1/0/1",
|
||||||
"TengigabitEthernet1/0/2",
|
"TenGigabitEthernet1/0/2",
|
||||||
"TengigabitEthernet1/0/3",
|
"TenGigabitEthernet1/0/3",
|
||||||
"TengigabitEthernet1/0/4",
|
"TenGigabitEthernet1/0/4",
|
||||||
"Port-channel1",
|
"Port-channel1",
|
||||||
"Port-channel2",
|
"Port-channel2",
|
||||||
"Port-channel3",
|
"Port-channel3",
|
||||||
|
|||||||
@@ -26,10 +26,10 @@
|
|||||||
"GigabitEthernet1/0/22",
|
"GigabitEthernet1/0/22",
|
||||||
"GigabitEthernet1/0/23",
|
"GigabitEthernet1/0/23",
|
||||||
"GigabitEthernet1/0/24",
|
"GigabitEthernet1/0/24",
|
||||||
"TengigabitEthernet1/0/1",
|
"TenGigabitEthernet1/0/1",
|
||||||
"TengigabitEthernet1/0/2",
|
"TenGigabitEthernet1/0/2",
|
||||||
"TengigabitEthernet1/0/3",
|
"TenGigabitEthernet1/0/3",
|
||||||
"TengigabitEthernet1/0/4",
|
"TenGigabitEthernet1/0/4",
|
||||||
"Port-channel1",
|
"Port-channel1",
|
||||||
"Port-channel2",
|
"Port-channel2",
|
||||||
"Port-channel3",
|
"Port-channel3",
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{"GigabitEthernet1": {"is_up": true, "is_enabled": true, "speed": 10.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet2": {"is_up": true, "is_enabled": true, "speed": 10.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet3": {"is_up": true, "is_enabled": true, "speed": 1000.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet4": {"is_up": true, "is_enabled": true, "speed": 100.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet5": {"is_up": true, "is_enabled": true, "speed": 100.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet6": {"is_up": true, "is_enabled": true, "speed": 100.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet7": {"is_up": true, "is_enabled": true, "speed": 10.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet8": {"is_up": true, "is_enabled": true, "speed": 100.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet9": {"is_up": false, "is_enabled": false, "speed": 0.0, "mtu": 9000, "last_flapped": -1.0, "description": "", "mac_address": "AA:AA:A0:22:2A:A2"}, "GigabitEthernet10": {"is_up": true, "is_enabled": true, "speed": 100.0, "mtu": 9000, "last_flapped": -1.0, "description": "Trunk to switchkuch-1", "mac_address": "AA:AA:A0:22:2A:A2"}}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
Port Description
|
||||||
|
------- -----------
|
||||||
|
gi1
|
||||||
|
gi2
|
||||||
|
gi3
|
||||||
|
gi4
|
||||||
|
gi5
|
||||||
|
gi6
|
||||||
|
gi7
|
||||||
|
gi8
|
||||||
|
gi9
|
||||||
|
gi10 Trunk to switchkuch-1
|
||||||
|
|
||||||
|
Ch Description
|
||||||
|
------- -----------
|
||||||
|
Po1
|
||||||
|
Po2
|
||||||
|
Po3
|
||||||
|
Po4
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
Flow Link Back Mdix
|
||||||
|
Port Type Duplex Speed Neg ctrl State Pressure Mode
|
||||||
|
-------- ------------ ------ ----- -------- ---- ----------- -------- -------
|
||||||
|
gi1 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi2 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi3 1G-Copper Full 1000 Enabled Off Up Disabled Off
|
||||||
|
gi4 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi5 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi6 1G-Copper Full 100 Enabled Off Up Disabled On
|
||||||
|
gi7 1G-Copper Half 10 Enabled Off Up Disabled On
|
||||||
|
gi8 1G-Copper Full 100 Enabled Off Up Disabled Off
|
||||||
|
gi9 1G-Combo-C -- -- -- -- Down -- --
|
||||||
|
gi10 1G-Combo-C Full 100 Enabled Off Up Disabled Off
|
||||||
|
|
||||||
|
Flow Link
|
||||||
|
Ch Type Duplex Speed Neg control State
|
||||||
|
-------- ------- ------ ----- -------- ------- -----------
|
||||||
|
Po1 -- -- -- -- -- Not Present
|
||||||
|
Po2 -- -- -- -- -- Not Present
|
||||||
|
Po3 -- -- -- -- -- Not Present
|
||||||
|
Po4 -- -- -- -- -- Not Present
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
Device ID: aa:aa:a0:22:2a:a2
|
||||||
|
Port ID: gi10
|
||||||
|
Capabilities: Bridge, Router
|
||||||
|
System Name: switch-no-2548-1
|
||||||
|
Management address: 30.70.0.37
|
||||||
|
Management address: fe80::c644:a0ff:fe3b:17d2%vlan1
|
||||||
|
|
||||||
|
802.3 Power Via Mdi:
|
||||||
|
MDI Power support Port Class: PSE
|
||||||
|
PSE MDI Power Support: Not supported
|
||||||
|
PSE MDI Power State: Not enabled
|
||||||
|
PSE power pair control ability: Not supported
|
||||||
|
PSE Power Pair: Signal
|
||||||
|
PSE Power class: 1
|
||||||
|
Power Type: Type 2 PD
|
||||||
|
Power Source: Unknown Power Source
|
||||||
|
Power Priority: unknown
|
||||||
|
PSE Allocated Power Value: 0.0
|
||||||
|
|
||||||
|
4-Pair POE supported: No
|
||||||
|
Spare Pair Detection/Classification required: No
|
||||||
|
PD Spare Pair Desired State: Disabled
|
||||||
|
|
||||||
|
|
||||||
|
802.1 PVID: 1
|
||||||
|
802.1 PPVID:
|
||||||
|
802.1 VLAN:
|
||||||
|
802.1 Protocol:
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
Jumbo frames are enabled
|
||||||
|
Jumbo frames will be enabled after reset
|
||||||
@@ -431,7 +431,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 0
|
"speed" : 0
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/1" : {
|
"TenGigabitEthernet1/0/1" : {
|
||||||
"description" : "T1",
|
"description" : "T1",
|
||||||
"is_enabled" : true,
|
"is_enabled" : true,
|
||||||
"is_up" : true,
|
"is_up" : true,
|
||||||
@@ -440,7 +440,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 1000
|
"speed" : 1000
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/2" : {
|
"TenGigabitEthernet1/0/2" : {
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"is_enabled" : false,
|
"is_enabled" : false,
|
||||||
"is_up" : false,
|
"is_up" : false,
|
||||||
@@ -449,7 +449,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 0
|
"speed" : 0
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/3" : {
|
"TenGigabitEthernet1/0/3" : {
|
||||||
"description" : "T2",
|
"description" : "T2",
|
||||||
"is_enabled" : true,
|
"is_enabled" : true,
|
||||||
"is_up" : true,
|
"is_up" : true,
|
||||||
@@ -458,7 +458,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 1000
|
"speed" : 1000
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/4" : {
|
"TenGigabitEthernet1/0/4" : {
|
||||||
"description" : "T3",
|
"description" : "T3",
|
||||||
"is_enabled" : true,
|
"is_enabled" : true,
|
||||||
"is_up" : true,
|
"is_up" : true,
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 0
|
"speed" : 0
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/1" : {
|
"TenGigabitEthernet1/0/1" : {
|
||||||
"description" : "SW switch-c",
|
"description" : "SW switch-c",
|
||||||
"is_enabled" : true,
|
"is_enabled" : true,
|
||||||
"is_up" : true,
|
"is_up" : true,
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 1000
|
"speed" : 1000
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/2" : {
|
"TenGigabitEthernet1/0/2" : {
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"is_enabled" : false,
|
"is_enabled" : false,
|
||||||
"is_up" : false,
|
"is_up" : false,
|
||||||
@@ -233,7 +233,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 0
|
"speed" : 0
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/3" : {
|
"TenGigabitEthernet1/0/3" : {
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"is_enabled" : false,
|
"is_enabled" : false,
|
||||||
"is_up" : false,
|
"is_up" : false,
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
"mtu" : 9000,
|
"mtu" : 9000,
|
||||||
"speed" : 0
|
"speed" : 0
|
||||||
},
|
},
|
||||||
"TengigabitEthernet1/0/4" : {
|
"TenGigabitEthernet1/0/4" : {
|
||||||
"description" : "SW switch-c",
|
"description" : "SW switch-c",
|
||||||
"is_enabled" : true,
|
"is_enabled" : true,
|
||||||
"is_up" : true,
|
"is_up" : true,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"vlan 10" : { "ipv4" : { "10.1.2.2" : { "prefix_length" : 24 } } },
|
"VLAN10" : { "ipv4" : { "10.1.2.2" : { "prefix_length" : 24 } } },
|
||||||
"vlan 80" : { "ipv4" : { "10.0.0.150" : { "prefix_length" : 24 } } }
|
"VLAN80" : { "ipv4" : { "10.0.0.150" : { "prefix_length" : 24 } } }
|
||||||
}
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"VLAN1": {"ipv4": {"30.70.0.37": {"prefix_length": 17}}}}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
IP Address I/F I/F Status Type Directed Prec Redirect Status
|
||||||
|
admin/oper Broadcast
|
||||||
|
------------------ --------- ---------- ------- --------- ---- -------- ------
|
||||||
|
30.70.0.37/17 vlan 1 UP/UP Static disable No enable Valid
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Active-image: flash://system/images/sg250_image_tesla_250_2.4.5.71.bin
|
||||||
|
Version: 2.4.5.71
|
||||||
|
MD5 Digest: ABCD1234abcdABCD1234abcdABCD121c
|
||||||
|
Date: 04-Nov-2018
|
||||||
|
Time: 19:46:16
|
||||||
|
Inactive-image: flash://system/images/image1.bin
|
||||||
|
Version: 2.2.8.4
|
||||||
|
MD5 Digest: ABCD1234abcdABCD1234abcdABCD12f1
|
||||||
|
Date: 21-Dec-2016
|
||||||
|
Time: 22:03:09
|
||||||
@@ -1 +1 @@
|
|||||||
{ "vlan 1" : { "ipv4" : { "192.168.1.254" : { "prefix_length" : 24 } } } }
|
{ "VLAN1" : { "ipv4" : { "192.168.1.254" : { "prefix_length" : 24 } } } }
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"vlan 1" : { "ipv4" : { "198.51.100.2" : { "prefix_length" : 24 } } },
|
"VLAN1" : { "ipv4" : { "198.51.100.2" : { "prefix_length" : 24 } } },
|
||||||
"vlan 852" : { "ipv4" : { "198.51.100.1" : { "prefix_length" : 16 } } }
|
"VLAN852" : { "ipv4" : { "198.51.100.1" : { "prefix_length" : 16 } } }
|
||||||
}
|
}
|
||||||
@@ -1 +1 @@
|
|||||||
{"vlan 202": {"ipv4": {"10.0.3.5": {"prefix_length": 8}}}}
|
{"VLAN202": {"ipv4": {"10.0.3.5": {"prefix_length": 8}}}}
|
||||||
@@ -1 +1 @@
|
|||||||
{"vlan 1": {"ipv4": {"192.168.0.37": {"prefix_length": 17}}}}
|
{"VLAN1": {"ipv4": {"192.168.0.37": {"prefix_length": 17}}}}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"GigabitEthernet3": [{"hostname": "", "port": "aa:aa:22:a2:22:2a"}], "GigabitEthernet10": [{"hostname": "switchkuch-1", "port": "Fa0/22"}]}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
System capability legend:
|
||||||
|
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||||
|
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||||
|
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||||
|
|
||||||
|
Port Device ID Port ID System Name Capabilities TTL
|
||||||
|
--------- ----------------- ----------------- ----------------- ------------ -----
|
||||||
|
gi3 aa:aa:22:a2:22:2a aa:aa:22:a2:22:2a O 2938
|
||||||
|
gi10 00:2a:aa:a2:2a:20 Fa0/22 switchkuch-1 B 102
|
||||||
+3
-3
@@ -7,15 +7,15 @@
|
|||||||
"hostname" : "",
|
"hostname" : "",
|
||||||
"port" : "34:e6:aa:ff:53:a8"
|
"port" : "34:e6:aa:ff:53:a8"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/1" : [ {
|
"TenGigabitEthernet1/0/1" : [ {
|
||||||
"hostname" : "swzdsadas-vedc",
|
"hostname" : "swzdsadas-vedc",
|
||||||
"port" : "Gi0/23"
|
"port" : "Gi0/23"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/3" : [ {
|
"TenGigabitEthernet1/0/3" : [ {
|
||||||
"hostname" : "sw1dsafdsfsdf.example.net",
|
"hostname" : "sw1dsafdsfsdf.example.net",
|
||||||
"port" : "gi28"
|
"port" : "gi28"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/4" : [ {
|
"TenGigabitEthernet1/0/4" : [ {
|
||||||
"hostname" : "sw2dsdfssddfd",
|
"hostname" : "sw2dsdfssddfd",
|
||||||
"port" : "te1/0/4"
|
"port" : "te1/0/4"
|
||||||
} ]
|
} ]
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
"hostname" : "",
|
"hostname" : "",
|
||||||
"port" : "34:e6:aa:ff:53:a8"
|
"port" : "34:e6:aa:ff:53:a8"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/1" : [ {
|
"TenGigabitEthernet1/0/1" : [ {
|
||||||
"hostname" : "swzdsadas-vedc",
|
"hostname" : "swzdsadas-vedc",
|
||||||
"port" : "Gi0/23"
|
"port" : "Gi0/23"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/3" : [ {
|
"TenGigabitEthernet1/0/3" : [ {
|
||||||
"hostname" : "sw1dsafdsfsdfsdd",
|
"hostname" : "sw1dsafdsfsdfsdd",
|
||||||
"port" : "gi28"
|
"port" : "gi28"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/4" : [ {
|
"TenGigabitEthernet1/0/4" : [ {
|
||||||
"hostname" : "sw2dsdfssddfd",
|
"hostname" : "sw2dsdfssddfd",
|
||||||
"port" : "te1/0/4"
|
"port" : "te1/0/4"
|
||||||
} ]
|
} ]
|
||||||
|
|||||||
@@ -15,11 +15,11 @@
|
|||||||
"hostname" : "ab:48:ef:12:34:56",
|
"hostname" : "ab:48:ef:12:34:56",
|
||||||
"port" : "ab:48:ef:12:34:56"
|
"port" : "ab:48:ef:12:34:56"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/1" : [ {
|
"TenGigabitEthernet1/0/1" : [ {
|
||||||
"hostname" : "switch-c",
|
"hostname" : "switch-c",
|
||||||
"port" : "gi1/0/1"
|
"port" : "gi1/0/1"
|
||||||
} ],
|
} ],
|
||||||
"TengigabitEthernet1/0/4" : [ {
|
"TenGigabitEthernet1/0/4" : [ {
|
||||||
"hostname" : "switch-c.cb.madeta.cz",
|
"hostname" : "switch-c.cb.madeta.cz",
|
||||||
"port" : "Gi1/0/26"
|
"port" : "Gi1/0/26"
|
||||||
} ]
|
} ]
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
{"GigabitEthernet3": [{"parent_interface": "N/A", "remote_port": "FastEthernet0/22", "remote_port_description": "FastEthernet0/22", "remote_chassis_id": "00:2a:aa:a2:2a:20", "remote_system_name": "switchkuch-1", "remote_system_description": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)", "remote_system_capab": ["B"], "remote_system_enable_capab": ["B"]}], "GigabitEthernet10": [{"parent_interface": "N/A", "remote_port": "FastEthernet0/22", "remote_port_description": "FastEthernet0/22", "remote_chassis_id": "00:2a:aa:a2:2a:20", "remote_system_name": "switchkuch-1", "remote_system_description": "Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)", "remote_system_capab": ["B"], "remote_system_enable_capab": ["B"]}]}
|
||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
Device ID: aa:aa:a0:22:2a:a2
|
||||||
|
Port ID: gi10
|
||||||
|
Capabilities: Bridge, Router
|
||||||
|
System Name: switch-no-2548-1
|
||||||
|
Management address: 30.70.0.37
|
||||||
|
Management address: fe80::c644:a0ff:fe3b:17d2%vlan1
|
||||||
|
|
||||||
|
802.3 Power Via Mdi:
|
||||||
|
MDI Power support Port Class: PSE
|
||||||
|
PSE MDI Power Support: Not supported
|
||||||
|
PSE MDI Power State: Not enabled
|
||||||
|
PSE power pair control ability: Not supported
|
||||||
|
PSE Power Pair: Signal
|
||||||
|
PSE Power class: 1
|
||||||
|
Power Type: Type 2 PD
|
||||||
|
Power Source: Unknown Power Source
|
||||||
|
Power Priority: unknown
|
||||||
|
PSE Allocated Power Value: 0.0
|
||||||
|
|
||||||
|
4-Pair POE supported: No
|
||||||
|
Spare Pair Detection/Classification required: No
|
||||||
|
PD Spare Pair Desired State: Disabled
|
||||||
|
|
||||||
|
|
||||||
|
802.1 PVID: 1
|
||||||
|
802.1 PPVID:
|
||||||
|
802.1 VLAN:
|
||||||
|
802.1 Protocol:
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
System capability legend:
|
||||||
|
B - Bridge; R - Router; W - Wlan Access Point; T - telephone;
|
||||||
|
D - DOCSIS Cable Device; H - Host; r - Repeater;
|
||||||
|
TP - Two Ports MAC Relay; S - S-VLAN; C - C-VLAN; O - Other
|
||||||
|
|
||||||
|
Port Device ID Port ID System Name Capabilities TTL
|
||||||
|
--------- ----------------- ----------------- ----------------- ------------ -----
|
||||||
|
gi3 aa:aa:22:a2:22:2a aa:aa:22:a2:22:2a O 2938
|
||||||
|
gi10 00:2a:aa:a2:2a:20 Fa0/22 switchkuch-1 B 102
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
Device ID: 00:2a:aa:a2:2a:20
|
||||||
|
Port ID: Fa0/22
|
||||||
|
Capabilities: Bridge
|
||||||
|
System Name: switchkuch-1
|
||||||
|
System description: Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
|
||||||
|
Technical Support: http://www.cisco.com/techsupport
|
||||||
|
Copyrigh
|
||||||
|
Port description: FastEthernet0/22
|
||||||
|
Management Address: 30.70.0.33
|
||||||
|
Time To Live: 91
|
||||||
|
|
||||||
|
|
||||||
|
802.3 MAC/PHY Configuration/Status
|
||||||
|
Auto-negotiation support: Supported
|
||||||
|
Auto-negotiation status: Enabled
|
||||||
|
Auto-negotiation Advertised Capabilities: 100BASE-TX full duplex mode, 100BASE-TX half duplex mode, 10BASE-T full duplex mode, 10BASE-T half duplex mode
|
||||||
|
Operational MAU type: 100BaseTXFD
|
||||||
|
|
||||||
|
802.1 PVID: 1
|
||||||
|
802.1 PPVID:
|
||||||
|
802.1 VLAN:
|
||||||
|
802.1 Protocol:
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
Device ID: 00:2a:aa:a2:2a:20
|
||||||
|
Port ID: Fa0/22
|
||||||
|
Capabilities: Bridge
|
||||||
|
System Name: switchkuch-1
|
||||||
|
System description: Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE11, RELEASE SOFTWARE (fc3)
|
||||||
|
Technical Support: http://www.cisco.com/techsupport
|
||||||
|
Copyrigh
|
||||||
|
Port description: FastEthernet0/22
|
||||||
|
Management Address: 30.70.0.33
|
||||||
|
Time To Live: 91
|
||||||
|
|
||||||
|
|
||||||
|
802.3 MAC/PHY Configuration/Status
|
||||||
|
Auto-negotiation support: Supported
|
||||||
|
Auto-negotiation status: Enabled
|
||||||
|
Auto-negotiation Advertised Capabilities: 100BASE-TX full duplex mode, 100BASE-TX half duplex mode, 10BASE-T full duplex mode, 10BASE-T half duplex mode
|
||||||
|
Operational MAU type: 100BaseTXFD
|
||||||
|
|
||||||
|
802.1 PVID: 1
|
||||||
|
802.1 PPVID:
|
||||||
|
802.1 VLAN:
|
||||||
|
802.1 Protocol:
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
{ "TengigabitEthernet1/0/4" : [ {
|
{ "TenGigabitEthernet1/0/4" : [ {
|
||||||
"parent_interface" : "N/A",
|
"parent_interface" : "N/A",
|
||||||
"remote_chassis_id" : "ab:a5:ef:12:34:56",
|
"remote_chassis_id" : "ab:a5:ef:12:34:56",
|
||||||
"remote_port" : "GigabitEthernet1/0/26",
|
"remote_port" : "GigabitEthernet1/0/26",
|
||||||
|
|||||||
File renamed without changes.
Loaded 100 of 103 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user