ocNOS Basic configuration
Full config of VM on GNS3 | |
---|---|
Router1 | |
Router2 | |
VPCs1 | ip 192.168.11.2/24 192.168.11.1 |
VPCs2 | ip 192.168.12.2/24 192.168.12.1 |
IP interface static | link | |
---|---|---|
static ip address interface eth1 ip address 10.1.1.101/31 | ||
IP interface DHCP | ||
dynamic IP address interface eth0 ip address dhcp | ||
management VRF | ||
vrf config ! ip vrf management ! interface eth0 ip vrf forwarding management ip address 192.168.0.167/24 ! | ||
show ip route R3>show ip route vrf management Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area, E - EVPN, v - vrf leaked * - candidate default IP Route Table for VRF "management" C 192.168.0.0/24 is directly connected, eth0, 00:11:11 Gateway of last resort is not set | ||
Enable SSH | link | |
show ssh server (config)# username test role .... (config)# ssh login-attempts 3 | ||
Basic OSPF | link | |
show ip ospf neighbor show ip ospf database ospf Router1#show ip ospf neighbor Total number of full neighbors: 1 OSPF process 1 VRF(default): Neighbor ID Pri State Dead Time Address Interface Instance ID 1.1.1.2 1 Full/Backup 00:00:38 10.10.11.2 eth1 0 Router1#show ip ospf database OSPF Router with ID (1.1.1.1) (Process ID 1 VRF default) Router Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum Link count 1.1.1.1 1.1.1.1 82 0x80000004 0x22c5 1 1.1.1.2 1.1.1.2 78 0x80000004 0x20c4 1 Net Link States (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum 10.10.11.1 1.1.1.1 82 0x80000001 0x53bc Area-Local Opaque-LSA (Area 0.0.0.0) Link ID ADV Router Age Seq# CkSum Opaque ID 1.0.0.1 1.1.1.1 80 0x80000001 0x30f6 1 1.0.0.1 1.1.1.2 81 0x80000001 0x34f0 1 1.0.0.8 1.1.1.1 80 0x80000001 0xdd4d 8 1.0.0.8 1.1.1.2 81 0x80000001 0xf533 8 Router1# | ||
ISIS | ||
LDP | ||
MP-BGP | ||
VRF | ||
commit and save | ||
#Â commit | ||
> copy running-cong starting-config |