Created
June 15, 2017 20:09
-
-
Save dancwilliams/ee6cb4cb6d31f634d51bc20049651a8d to your computer and use it in GitHub Desktop.
VIRL_MGMT_STATIC_DEMO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
************************************************************************** | |
* IOSv is strictly limited to use for evaluation, demonstration and IOS * | |
* education. IOSv is provided as-is and is not supported by Cisco's * | |
* Technical Advisory Center. Any use or disclosure, in whole or in part, * | |
* of the IOSv Software or Documentation to any third party for any * | |
* purposes is expressly prohibited except as otherwise authorized by * | |
* Cisco in writing. * | |
************************************************************************** | |
Router>en | |
Router#conf t | |
Enter configuration commands, one per line. End with CNTL/Z. | |
Router(config)#vrf definition MGMT | |
Router(config-vrf)# | |
Router(config-vrf)#address-family ipv4 | |
Router(config-vrf-af)#exit | |
Router(config-vrf)#exit | |
Router(config)#int g0/0 | |
Router(config-if)#vrf forwarding MGMT | |
Router(config-if)#ip address dhcp | |
Router(config-if)#no shut | |
Router(config-if)#^Z | |
Router# | |
*Jun 15 20:07:30.311: %SYS-5-CONFIG_I: Configured from console by console | |
*Jun 15 20:07:31.744: %LINK-3-UPDOWN: Interface GigabitEthernet0/0, changed state to up | |
*Jun 15 20:07:32.745: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up | |
*Jun 15 20:07:41.436: %DHCP-6-ADDRESS_ASSIGN: Interface GigabitEthernet0/0 assigned DHCP address 172.23.1.10, mask 255.255.255.0, hostname | |
Router#sh ip route vrf MGMT | |
Routing Table: MGMT | |
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP | |
D - EIGRP, EX - EIGRP external, 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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 | |
ia - IS-IS inter area, * - candidate default, U - per-user static route | |
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP | |
a - application route | |
+ - replicated route, % - next hop override, p - overrides from PfR | |
Gateway of last resort is 172.23.1.1 to network 0.0.0.0 | |
S* 0.0.0.0/0 [254/0] via 172.23.1.1 | |
172.23.0.0/16 is variably subnetted, 3 subnets, 2 masks | |
C 172.23.1.0/24 is directly connected, GigabitEthernet0/0 | |
L 172.23.1.10/32 is directly connected, GigabitEthernet0/0 | |
S 172.23.1.50/32 [254/0] via 172.23.1.1, GigabitEthernet0/0 | |
Router#ping vrf MGMT 172.23.1.1 | |
Type escape sequence to abort. | |
Sending 5, 100-byte ICMP Echos to 172.23.1.1, timeout is 2 seconds: | |
!!!!! | |
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/5 ms | |
Router#ping vrf MGMT 4.2.2.2 | |
Type escape sequence to abort. | |
Sending 5, 100-byte ICMP Echos to 4.2.2.2, timeout is 2 seconds: | |
!!!!! | |
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/36/45 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment