CommandReference NET225 ENSAv7
CommandReference NET225 ENSAv7
NET 225
Enterprise Networking,
Security, and Automation
V7
13 March 2020
R1 (config-router)# network 10.1.1.0 0.0.0.3 area 0 *sets network and OSPF area
R1 (config)# end
R1# clear ip ospf process
R1# show ipv6 ospf *shows ospf data such as PID, RID,
SPF, and area
R1# show ipv6 protocols *shows PID, RID, networks,
neighbors, admin distance, etc.…
R1# show ipv6 ospf neighbor *Adjacencies and Neighbor data
R1# show ipv6 ospf interface *summary and status
R1# show ipv6 ospf interface brief *summary and status of ospf
Interfaces
R1# show ipv6 ospf route *shows only ospf routes in routing
Table
R1 (config)# end
R1# clear ipv6 ospf process
**NOTE: Standard ACLs are not part of the NET225 v7 core requirements but have been left in the
document due to ACLs being covered. Core requirements for NET225 v7 is Extended ACLs only.
Example Standard ACL Denying a Specific Host Address While Allowing a Specific Subnet
R1(config)# access-list 1 deny host 192.168.1.10 denies the single host
192.168.1.10 first
R1(config)# access-list 1 permit 192.168.1.0 0.0.0.255 Permits the rest of the
192.168.1.0/24 subnet
R1(config)# interface s0/0/0
R1(config-if)# ip access-group 1 out
Or
R1(config)# access-list 101 deny tcp 192.168.1.0 0.0.0.255 172.16.1.0 0.0.0.255.255 eq 20 R1(config)#
access-list 101 deny tcp 192.168.1.0 0.0.0.255 172.16.1.0 0.0.0.255.255 eq 21
R1(config)# access-list 101 permit ip any any Permits all other traffic
R1(config)# interface g0/0
R1(config-if)# ip access-group 101 in
Removing a Translation
R1(config)# no ip nat inside source static
R1(config)# ip nat inside source static 192.168.1.10 209.165.201.1 209.165.201.1 using actual
interface
Address (Used in above network example) or
R1(config)# ip nat inside source static 192.168.1.10 209.165.201.254 209.165.201.254 using
manually created
IP address
R1(config)# interface s0/0/0
R1(config-if)# ip address 209.165.201.1 255.255.255.240
R1(config-if)# ip nat outside
R1(config)# no access-list 1
R1(config)# access-list 1 permit 192.168.1.0 0.0.0.255
S1#
R1#
Disable CDP
R1(config)# no cdp run
Configuring NTP