Standard Operating Procedure for Network Devices
Standard Operating Procedure for Network Devices
Prepared by Bhuvan Systems and Networking Team
Geo-porta and !eb G"S Services Group Data Processing# Products# $rchiva and !eb $ppications $rea %DPP$ & !$$' Nationa (emote Sensing )entre "ndian Space (esearch (esearch Organisation *yderabad-+,, ,. /ebruary 0,1.
1
Standard Operating Procedure for Network Devices
Document )ontro Sheet
1
Security )assi2cati on
(estricted
0
Distributio n
B*34$N5 G&!GSG
Document %a' "ssue6
"ssue-
7
(eport Type Type
%b' (evision6
,
SOP Document
+
(eport No
8
Tite ite
Sta Standar ndard d Oper Operat atin ing g Proce ocedur dure for Networ twork king ing Devices ices
)oation
Pages
/igures
Tabes
. 9
Pro:ect
B*34$N
;
$uthor%s' %s'
Bhuvan Systems and Networking Team
1,
$<iation of authors
N(S)
Security =echanism
(eviewed and $pproved by
11
GD# G&!GSG 10
Originating unit
N(S)
Sponsor%s' 1
Name6
Ni
Type6 Type6 17
Date of "nitiation
>>>
1+
Date of Pubication
>>>
0
Standard Operating Procedure for Network Devices
$bstract %with ?eywords'6 This document e@pains e@pains the standard standard operating procedure procedure foowed foowed for Bhuvan Systems and Networking Devices
Tabe T abe of )ontents )ontents 1. Firewalls
1>1> Purpose and Scope 1>0>=ake 1>0>1> "ntroduction "ntroducti on to /irewas /irewas 1>0>0> Bene2ts and (isk using /irewas /irewas 1>>=ode 1>7> Steps to )onnect 1>+>$ow 1>+>$ ow or Deny commands for outside "P restriction 1>8>N$T commands 1>.>$dditiona Guideines and Aimitations 1>9>Other 3sefu commands and Scenarios 1>;>Troubeshooting connectivity through /irewa 2. Routers
List of Figures
Standard Operating Procedure for Network Devices
SOP for operating Network devices
1. Firewall 1.1. Purpose: This standard de2nes the essentia rues regarding the management and maintenance of 2rewas at Bhuvan ce and it appies to a 2rewas controed by Bhuvan Networking Team> 1.2. Scope: These standards cover the con2guration con2guration of Bhuvan ce network 2rewas>
1.3.
ake:
/irewas are an essentia component of information systems security infrastructure> /irewas are de2ned as security systems that contro and restrict both network connectivity and network services> /irewas /irewas estabish a perimeter where access contros are enforced and subseuenty de2ne how a network service is utiiCed> @ampes of services incude /TP %2e transfer protoco' and *TTP %web browsing'> 1>>1> Bene2ts6 •
Bocks many types of outside attacks from reaching your interna network>
•
=ay bock many types of maicious attacks from your interna network to the campus network and5or the "nternet community> community> =onitors and ogs apparent source and origination of such attacks>
•
(educes the amount of vauabe data ost to assauts>
•
$ows for reguation of network tra
•
1>>0> (isks6 •
•
•
•
$ 2rewa can be a singe point of faiure in connectivity con nectivity between the departmenta computing resources and those outside the 2rewa> $ 2rewa can become a performance botteneck between departmenta computing resources and the outside> "nstaing# maintaining# and operating a 2rewa reuires speci2c technica knowedge $nd ski# and may reuire speciaiCed training> /irewa operation imposes organiCationa considerations incuding after hours support# vacation coverage# timeiness and priority of response to probems# and change management>
1>7> odel: !"S!O #S# $$
%$7
Standard Operating Procedure for Network Devices
/ig%1'6 )"S)O $S$ +++,
2g%0'>*ardware description of ports The detais of each port individuay given beow 1>=anagement port 9 >Power indicator AD 0 >@terna )ompact /ash sot ;>Status indicator AD >Seria )onsoe port 1,>$ctive AD 7>Power switch 11>4PN AD + >AD Power indicators 10>/ash AD 8>3SB 0>, interfaces 1>$u@ Port . >Network interfaces %copper Gigabit thernet' 17>Power connector
1>+> "P address6
E > E >E >E
1>8> Steps to connect: Before going to software con2guration# we need to make a Physica hardware con2guration that consist of foowing steps •
To To connect to )isco $S$ 2rewa# and setup initia con2guration# use a &lue serial console ca&le # that came in the package with Four device> )onnect the seria port of consoe cabe to your RS232 '() serial port on your P) and the other end of the cabe %(7+' connect to the console port on the $S$>
+
Standard Operating Procedure for Network Devices
•
•
Open termina emuation program ike *yperTermina# TerraTerm or Putty# and connect to )O= seria port on P) %port shoud be created automaticay from the driver'6
On succesfu connection Fou Fou shoud see $S$ command ine CLI prompt> CLI prompt> On the P) connected to th th $S$# aunch a web browser> browser> "n the $ddress $ddress 2ed# 2ed# enter the foowing %defaut' 3(A6 https6551;0>189>1>15admin and (un start up !iCard
The con2guration consist of foowing commands
1> )on2 )on2gur gure e the the intern interna a interfa interface ce van $n inside 4A$N 1 interface that incudes the thernet ,51 through ,5. switch ports> "f you did not set the "P address in the con*gure factor+,default command# then the 4A$N 1 "P address and mask are 1;0>189>1>1 and 0++>0++>0++>,> $S$+++,%con2g'H interface 4an 1 $S$+++,%con2g-if'H nameif inside $S$+++,%con2g-if'H security-eve 1,,
8
Standard Operating Procedure for Network Devices $S$+++,%con2g-if'H ip address 1;0>189>1>1 0++>0++>0++>, $S$+++,%con2g-if'H no shut
Detaied Step6 S.N O.
Ste p1
!o--and
interface vlan number
Purpose
$dds a 4A$N interface# i nterface# where the number is is between 1 and 7,;,>
hostname%con2g'H To To remove this 4A$N interface and a a associated interface van 1,, con2guration# enter the no interface vlan command> Because this interface aso incudes the interface name con2guration# and the name is used in other commands# those commands are aso removed> Ste p0
%Optiona for the Base icense' no forward interface vlan number
hostname%con2gif'H no forward interface van 1,1
$ows this interface to be the third 4A$N by imiting it from initiating contact to one other 4A$N> The number speci2es speci2es the 4A$N "D to which this 4A$N interface cannot initiate tra!ith the Base icense# you can ony con2gure a third 4A$N if you use this command to imit it> "f you aready have two 4A$N interfaces con2gured with a command# be sure to enter the no forward na-eif command# command on the interface command before the na-eif command third interfaceI the $S$ does not aow three fuy functioning 4A$N interfaces with the Base icense on the $S$ ++,+>
0> )on2g )on2gur ure e the e@terna e@terna interface interface van %connecte %connected d to "nternet' "nternet' $n outside 4A$N 0 interface that incudes the thernet ,5, switch port> 4A $N 0 derives its "P address using D*)P> The defaut route is aso derived from D*)P> $ inside "P addresses are transated when accessing the outside using interface P$T> By defaut# inside users can access the outside# and outside users are prevented from accessing the inside> The D*)P server is enabed on the $S$# so a P) connecting to the 4A$N 1 interface receives an address between 1;0>189>1>0 and 1;0>189>1>0+7> The *TTP server is enabed for $SD= and is accessibe to users on the 1;0>189>1>, network> $S$+++,%con2g'H $S$+++,%con2g'H interface 4an 0 $S$+++,%con2g-if'H $S$+++,%con2g-if'H nameif outside $S$+++,%con2g-if'H $S$+++,%con2g-if'H security-eve , $S$+++,%con2g-if'H $S$+++,%con2g-if'H ip address 0,,>0,,>0,,>1 0++>0++>0++>, $S$+++,%con2g-if'H $S$+++,%con2g-if'H no shut
.
Standard Operating Procedure for Network Devices
> $ss $ssign ign th ther ernet net ,5, to 4an 4an 0 $S$+++,%con2g'H interface thernet,5, $S$+++,%con2g-if'H switchport access van 0 $S$+++,%con2g-if'H no shut
Detaied Step6 S.N o.
!o--and
Purpose
Ste interface Speci2es the switch port you want to con2gure# where port where port is is , p 1 eternet%/ port through .> hostname%con2g 'H interface ethernet,51> Ste To To assign 4A$Ns to this trunk# do one or more of the foowing6 p 0 i> switcport "denti2es one or more 4A$Ns that you can assign to the trunk trunk allowed port# where the vlan_range %with 4A$Ns between 1 and 7,;,' vlan vlan_range can be identi2ed in one of the foowing ways6 hostname%con2g 'H switchport trunk aowed van 1,,-0,,
•
$ singe number %n'
•
$ range %n-@'
•
Separate numbers and ranges by commas# for e@ampe6
+#.-1,#1#7+-1,,Fou +#.-1,#1#7+-1,,Fou can enter spaces instead of commas# but the command is saved to the con2guration with commas> Fou Fou can incude the native 4A$N in this command# but it is not reuiredI the native 4A$N is passed whether it is incuded in this command or not> ii> switcport trunk native vlan vlan_id
$ssigns a native 4A$N to the trunk# where the vlan_id is vlan_id is a singe 4A$N "D between 1 and 7,;,>
Packets Packets on the native 4A$N are not modi2ed when sent over the hostname%con2g trunk> /or e@ampe# if a port has 4A$Ns 0# and 7 assigned to it# -if'H switchport and 4A$N 0 is the native 4A$N# 4A $N# then packets on 4A$N 0 that trunk native egress the port are not modi2ed with an 9,0>1J header> header> /rames van 1, which ingress %enter' this port and have no 9,0>1J header are put into 4A$N 0> ach port can ony have one native 4A$N# b ut every port can have either the same or a diKerent native 4A$N>
9
Standard Operating Procedure for Network Devices Ste switcport p -ode trunk
=akes this switch port a trunk port> To restore this port to access mode# enter the switcport -ode access command>
hostname%con2g -if'H switchport mode trunk Ste %Optional' Optional' p7 switcport protected
Prevents the switch port from communicating with other protected switch ports on the same 4A$N>
Ste (Optional) p+ speed M auto 1% 1%%
Sets the speed> The auto setting is the defaut> "f you set the speed to anything other than auto on Po ports thernet ,58 or ,5.# then )isco "P phones and )isco wireess access points that do not support " 9,0>af wi not be detected and suppied with power>
Fou Fou might want to prevent switch ports from from communicating with each other if the devices on those switch ports are primariy intra-4A$N hostname%con2g accessed from other 4A$Ns# you do not need to aow intra-4A$N -if'H switchport access# and you want to isoate the devices from each other in case of infection or other security breach> /or e@ampe# if you protected have a D=L that hosts three web servers# you can isoate the web servers from each other if you appy the switcport protected command to each switch port> The inside and o utside networks can both communicate with a three web servers# and vice versa# but the web servers cannot communicate with each other>
hostname%con2g -if'H speed 1,, Ste (Optional) p8 duple0 M auto full alf
Sets the dupe@> The auto setting is the defaut> "f you set the dupe@ to anything other than auto on Po ports thernet ,58 or ,5.# then )isco "P phones and )isco wireess access points that do not support " 9,0>af wi not be detected and suppied with power>
hostname%con2g -if'H dupe@ fu Ste no sutdown nabes the switch port> To To disabe the switch port# por t# enter the p. sutdown command> hostname%con2g -if'H no shutdown
;
Standard Operating Procedure for Network Devices
7> nab nabe e the re rest st interf interfaces aces with no shut shut $S$+++,%con2g'H interface thernet,51 $S$+++,%con2g-if'H no shut %Note6 Do the same for thernet,51 to ,5.>'
+> )on2 )on2gur gure e P$ P$T on the outsi outside de interfac interface e ASA5550(config)# global (outside) 1 interface ASA5550(config)# nat (inside) 1 0.0.0.0 0.0.0.0
8> )on )on2gu 2gure re de defau faut t rout route e Defaut route towards the "SP %assume defaut gateway is 0,,>0,,>0,,>0' $S$+++,%con2g'H route outside ,>,>,>, ,>,>,>, 0,,>0,,>0,,>0 1 The above steps are the absoutey necessary steps steps you need to con2gure for making the appiance operationa>
1>.> #llow/den+ co--ands for outside "P restriction: To To monitor permitting permitting or denying network network access perform one of the foowing foowing tasks given beow 1> Show running-con2g running-con2g access-gr access-group oup the interfaces
dispays dispays the current current access access ist bound to
0> hostname%c hostname%con2g' on2g'H H access-ist access-ist O3TS"DO3TS"D-$)A $)A e@tended e@tended permit permit tcp any host 0,;>18+>0,1>10 e www > hostname%c hostname%con2g' on2g'H H access-gr access-group oup O3TS"D-$ O3TS"D-$)A )A in interface interface outside outside 7> The foowing foowing e@ampe e@ampe aows aows a a hosts hosts to communic communicate ate betwee between n the inside inside and and hr networks but ony speci2c hosts to access the outside network hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H hostname%con2g'H
+>
access-ist $NF e@tended e@tended permit ip any any any access-ist O3T e@tended e@tended permit ip host 0,;>189>0,,> 0,;>189>0,,> any access-ist O3T e@tended e@tended permit ip host 0,;>189>0,,>7 0,;>189>0,,>7 any access-group access-group $NF in interface inside access-group access-group $NF in interface interface hr access-group access-group O3T out interface outside
The foowing foowing sampe sampe access ist ist aows common common therTypes originati originating ng on the inside interface6 hostname%con2g'H hostname%con2g'H access-ist T*( ethertype permit ip@ hostname%con2g'H hostname%con2g'H access-ist T*( ethertype permit mps-unicast hostname%con2g'H access-group T*( in interface inside
8> The foowing foowing e@ampe e@ampe aows aows some therT therTypes through through the $S$# but it denies denies a others6 hostname%con2g'H hostname%con2g'H access-ist T*( ethertype permit ,@107 hostname%con2g'H hostname%con2g'H access-ist T*( ethertype permit mps-unicast
1,
Standard Operating Procedure for Network Devices hostname%con2g'H access-group T*( in interface inside hostname%con2g'H hostname%con2g'H access-group T*( in interface outside
.> The The fo foow owin ing g e@a e@amp mpe e denies tra
9> The foowing foowing e@ampe e@ampe uses uses ob:ect ob:ect groups to to permit speci2 speci2c c tra
1>9> N# co--ands: hostname%con2g )# access-list OUTSID OUTSID e!tended permit tcp "ost $$$ "ost $$$ e% &&& •
hostname%con2g'H access-group access-group O3TS"D out o ut interface outside either the hardware hardware interface or the interface : The interface command identi2es either Switch 4irtua "nterface "nterface %4A$N interface' that wi be con2gured> Once in interface con2guration mode# you can assign physica interfaces to switch ports and enabe them %turn them on' or you can assign names and security eves to 4A$N interfaces>
•
security na-eif: The nameif command gives the interface a name and assigns a security eve> Typica names are are outside# inside# or D=L> D=L>
•
•
eves used by appiances appiances to contro trathese Securit+,level6 security eves are numeric vaues ranging from ,-1,,> The ,-1,,> The defaut security eve for an outside outside interface is ,> /or an inside interface# interface# the defaut security eve eve is 1,,> e>g> ciscoasa%con2g-if'H security-eve security-eve +,
"P address: ip address command is used to assign an ip address to 4A$N interface e>g> ciscoasa%con2g-if'H interface van 1 ciscoasa%con2g-if'H ip address 1;0>189>1,8>1
11
Standard Operating Procedure for Network Devices Switc port access: This command assigns a physica interface interface to a ogica %4A$N' interface> This command is not used on the $S$ ++@, appiances> e>g6
•
ciscoasa%con2g-if'H ciscoasa%con2g-if'H interface ethernet ,5, ciscoasa%con2g-if'H ciscoasa%con2g-if'H switchport access van 0 ciscoasa%con2g-if'H ciscoasa%con2g-if'H no shutdown ciscoasa%con2g-if'H ciscoasa%con2g-if'H interface ethernet ,51 ciscoasa%con2g-if'H ciscoasa%con2g-if'H switchport access van 1 ciscoasa%con2g-if'H ciscoasa%con2g-if'H no shutdown
particuar ob:ect wi be based on "P addresses> addresses> The O&ect network : it states that this particuar subnet 1;0>189>1,8>, 0++>0++>0++>, 0++>0++>0++>, command states that net-1;0>189>1,8 net-1;0>189>1,8 wi aKect any "P address beginning with 1;0>189>1,8> ciscoasa%con2g-if'Hob:ect ciscoasa%con2g-if'Hob:ect network net-1;8>189>1,8 net-1;8>189>1,8 ciscoasa%con2g-network-ob:ect'Hsu ciscoasa%con2g-network-ob:ect'Hsubnet bnet 1;0>189>1,8>, 1;0>189>1,8>, 0++>0++>0++>, 0++>0++>0++>,
1>;> $dditiona Guideines and Aimitations6 The foowing guideines and imitations appy to permitting permitting or denying denying network access6 •
•
•
•
•
•
•
•
•
•
/or the $S$ +++, $S$# for ma@imum throughput# be sure to baance your tra "f you are using faiover# do not use this procedure to name interfaces that you are reserving for faiover and Statefu /aiover /aiover communications> "n routed 2rewa mode# set the "P address for a interfaces> "n transparent 2rewa mode# do not set the "P address for each interface# but rather set it for the whoe $S$ or conte@t> The e@ception is for the =anagement ,5, or ,51 management-ony interface# which does not pass through tra By defaut# a "P tra $ccess ists enabe you to either aow tra Fou Fou use access lists to contro network access in both routed and transparent 2rewa modes
/or connectionless protocols# you need to appy the access ist to the source and destination interfaces if you want tra $ways use the access-ist command with the access-group command> To To show the running con*g access,group command dispays the current access ist bound to the interfaces> The clear con*gure access,group command removes a the access ists from the interfaces>
10
Standard Operating Procedure for Network Devices
1>1,> Other usefu commands and scenarios6 *ere are some usefu commands that hep track the packet Row detais at diKerent stages in the process6 •
write -e-or+ 6 Saves the running con2guration to the startup con2guration >
0a-ple:
Saves the running con2guration to the startup con2guration>
hostnameH Note The cop+ running,con*g startup,con*g command is euivaent write to the write -e-or+ command> memory
•
)opying the Startup )on2guration to the (unning )on2guration
!o--and
Purpose
cop+ startup, con*g running, con*g
=erges the startup con2guration with the running con2guration>
reload
(eoads the $S$# which oads the startup con2guration and discards the running con2guration>
clear con*gure all cop+ startup, con*g running, con*g
Aoads the startup con2guration and discards the running con2guration without reuiring a reoad>
4iewing te !on*guration : The foowing commands et you view the running and startup con2gurations> con2gurations> •
!o--and sow running, con*g
Purpose
4iews the running con2guration>
sow running, 4iews the running con2guration of a speci2c command> con*g co--and sow startup, con*g
4iews the startup con2guration>
onitoring interface co--ands :
To To monitor interfaces# enter one of the foowing commands6 !o--and
Purpose
1
Standard Operating Procedure for Network Devices
sow interface
Dispays interface statistics>
sow interface ip &rief
Dispays interface "P addresses and status>
/or ther)hanne# dispays A$)P information such as sow lacp Mc"annel_group_number Mc"annel_group_number tra s+s,id
sow port,cannel c"annel_group_number &rief detail port protocol su--ar+
/or ther)hanne# dispays ther)hanne information in a detaied and one-ine summary form> This command aso dispays the port and portchanne information>
sow port,cannel c"annel_group_number load, &alance as,result Mip ipv5 l6port -ac -i0ed vlan, onl+ parameters parameters
/or ther)hanne# dispays port-channe oadbaance information aong with the hash resut and member interface seected for a given set of parameters>
show run static
Dispays the running status
show arp Dispays the address routing protocos
Show @ta
Dispays the transation>
17
Standard Operating Procedure for Network Devices
1.11. Troubleshooting Connecting through the firewall
/ig%7'> Troubeshooti T roubeshooting ng )onnectivity Through
the /irewa
Router ake: odel: )isco .0,, 4U( Series (outer
1+
Standard Operating Procedure for Network Devices
Software version:
s
"P6 address6 Steps to connect6 1> @@ 0> @@@ 3sefu commands and use case scenarios
"'S/"PS ake: odel: Software version:
18
Standard Operating Procedure for Network Devices
"P6 address6 Steps to connect6 1> @@ 0> @@@ 3sefu commands and use case scenarios
Load &alancer ake: odel: !"S!O #S 671% Software version:
"P6 address6 1.
Standard Operating Procedure for Network Devices
Steps to connect6 1> @@ 0> @@@ 3sefu commands and use case scenarios
Storage con*guration con*guration
19
Standard Operating Procedure for Network Devices
Network diagra-:
1;